LSSTApplications  20.0.0
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