LSSTApplications  10.0-2-g4f67435,11.0.rc2+1,11.0.rc2+12,11.0.rc2+3,11.0.rc2+4,11.0.rc2+5,11.0.rc2+6,11.0.rc2+7,11.0.rc2+8
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