LSSTApplications  10.0+286,10.0+36,10.0+46,10.0-2-g4f67435,10.1+152,10.1+37,11.0,11.0+1,11.0-1-g47edd16,11.0-1-g60db491,11.0-1-g7418c06,11.0-2-g04d2804,11.0-2-g68503cd,11.0-2-g818369d,11.0-2-gb8b8ce7
LSSTDataManagementBasePackage
Images

Images

In LSST, 2-dimensional images are represented using a set of templated classes, all of which are ultimately derived from ImageBase:

You can use displaying images to display Images and their Masks.

How to Access Pixels

Image Pixels may be accessed via iterators or locators; the former are simpler if you want single-pixel access, while the latter provide you with access to a pixel's friends and neighbours. The following tutorials are available:

See also Pixel Access Reference Manual. LSST image access is modelled after the boost::gil image interface; see http://www.boost.org/doc/libs/1_48_0/libs/gil/doc/html/giltutorial.html and http://www.boost.org/doc/libs/1_48_0/libs/gil/doc/html/gildesignguide.html

There are also some algorithms analogous to the STL's <algorithm>; see How to use algorithms to manipulate Images.

Masks