LSSTApplications
18.0.0+106,18.0.0+50,19.0.0,19.0.0+1,19.0.0+10,19.0.0+11,19.0.0+13,19.0.0+17,19.0.0+2,19.0.0-1-g20d9b18+6,19.0.0-1-g425ff20,19.0.0-1-g5549ca4,19.0.0-1-g580fafe+6,19.0.0-1-g6fe20d0+1,19.0.0-1-g7011481+9,19.0.0-1-g8c57eb9+6,19.0.0-1-gb5175dc+11,19.0.0-1-gdc0e4a7+9,19.0.0-1-ge272bc4+6,19.0.0-1-ge3aa853,19.0.0-10-g448f008b,19.0.0-12-g6990b2c,19.0.0-2-g0d9f9cd+11,19.0.0-2-g3d9e4fb2+11,19.0.0-2-g5037de4,19.0.0-2-gb96a1c4+3,19.0.0-2-gd955cfd+15,19.0.0-3-g2d13df8,19.0.0-3-g6f3c7dc,19.0.0-4-g725f80e+11,19.0.0-4-ga671dab3b+1,19.0.0-4-gad373c5+3,19.0.0-5-ga2acb9c+2,19.0.0-5-gfe96e6c+2,w.2020.01
LSSTDataManagementBasePackage
|
The base class for MaskedImageLocators (const and non-const) More...
#include <MaskedImage.h>
Classes | |
class | cached_location_t |
A saved relative position, providing efficient access to neighbouring pixels. More... | |
Public Types | |
typedef boost::tuple< typename ImageLocator::cached_location_t, typename MaskLocator::cached_location_t, typename VarianceLocator::cached_location_t > | IMVCachedLocation |
typedef _x_or_y_iterator< apply_x > | x_iterator |
An x_iterator that provides a view of the xy_locator (i.e. advancing one advances the other) More... | |
typedef _x_or_y_iterator< apply_y > | y_iterator |
A y_iterator that provides a view of the xy_locator (i.e. advancing one advances the other) More... | |
typedef boost::mpl::vector< ImagePixelT, MaskPixelT, VariancePixelT > | PixelTVec |
Public Member Functions | |
MaskedImageLocatorBase (ImageLocator const &img, MaskLocator const &msk, VarianceLocator const &var) | |
Construct a MaskedImageLocator from image/mask/variance locators. More... | |
Pixel | operator* () |
Dereference a locator, returning a Pixel. More... | |
Pixel | operator() (int x, int y) |
Dereference a locator, returning a Pixel offset by (x, y) from the locator. More... | |
Pixel | operator[] (cached_location_t const &cached_loc) |
Dereference a locator, returning a Pixel offset by the amount set when we created the cached_location_t More... | |
x_iterator | x () |
Return an iterator that can be used to move (or dereference) a locator. More... | |
y_iterator | y () |
Return an iterator that can be used to move (or dereference) a locator. More... | |
cached_location_t | cache_location (int x, int y) const |
Create a cached_location_t offset by (x, y) from locator. More... | |
template<typename N > | |
Ref< typename boost::mpl::at< PixelTVec, N >::type >::type | apply_IMV (cached_location_t const &cached_loc) |
template<typename N > | |
Ref< typename boost::mpl::at< PixelTVec, N >::type >::type | apply_IMV () |
template<typename N > | |
Ref< typename boost::mpl::at< PixelTVec, N >::type >::type | apply_IMV (int x, int y) |
Ref< ImagePixelT >::type | image (cached_location_t const &cached_loc) |
Return a reference to the image at the offset set when we created the cached_location_t More... | |
Ref< ImagePixelT >::type | image () |
Return a reference to the image at the current position of the locator. More... | |
Ref< ImagePixelT >::type | image (int x, int y) |
Return a reference to the image offset by (x, y) from the current position of the locator. More... | |
Ref< MaskPixelT >::type | mask (cached_location_t const &cached_loc) |
Return a reference to the mask at the offset set when we created the cached_location_t More... | |
Ref< MaskPixelT >::type | mask () |
Return a reference to the mask at the current position of the locator. More... | |
Ref< MaskPixelT >::type | mask (int x, int y) |
Return a reference to the mask offset by (x, y) from the current position of the locator. More... | |
Ref< VariancePixelT >::type | variance (cached_location_t const &cached_loc) |
Return a reference to the variance at the offset set when we created the cached_location_t More... | |
Ref< VariancePixelT >::type | variance () |
Return a reference to the variance at the current position of the locator. More... | |
Ref< VariancePixelT >::type | variance (int x, int y) |
Return a reference to the variance offset by (x, y) from the current position of the locator. More... | |
bool | operator== (MaskedImageLocatorBase const &rhs) |
Return true iff two locators are equal. More... | |
bool | operator!= (MaskedImageLocatorBase const &rhs) |
Return true iff two locators are not equal. More... | |
bool | operator< (MaskedImageLocatorBase const &rhs) |
Return true iff lhs is less than rhs. More... | |
MaskedImageLocatorBase & | operator+= (pair2I const &p) |
Increment the locator's x and y positions by p More... | |
MaskedImageLocatorBase & | operator+= (detail::difference_type p) |
Increment the locator's x and y positions by p More... | |
IMVLocator const & | getLoc () const |
Protected Attributes | |
IMVLocator | _loc |
The base class for MaskedImageLocators (const and non-const)
Definition at line 261 of file MaskedImage.h.
typedef boost::tuple<typename ImageLocator::cached_location_t, typename MaskLocator::cached_location_t, typename VarianceLocator::cached_location_t> lsst::afw::image::MaskedImage< ImagePixelT, MaskPixelT, VariancePixelT >::MaskedImageLocatorBase< ImageLocator, MaskLocator, VarianceLocator, Ref >::IMVCachedLocation |
Definition at line 353 of file MaskedImage.h.
typedef boost::mpl::vector<ImagePixelT, MaskPixelT, VariancePixelT> lsst::afw::image::MaskedImage< ImagePixelT, MaskPixelT, VariancePixelT >::MaskedImageLocatorBase< ImageLocator, MaskLocator, VarianceLocator, Ref >::PixelTVec |
Definition at line 420 of file MaskedImage.h.
typedef _x_or_y_iterator<apply_x> lsst::afw::image::MaskedImage< ImagePixelT, MaskPixelT, VariancePixelT >::MaskedImageLocatorBase< ImageLocator, MaskLocator, VarianceLocator, Ref >::x_iterator |
An x_iterator that provides a view of the xy_locator (i.e. advancing one advances the other)
Definition at line 355 of file MaskedImage.h.
typedef _x_or_y_iterator<apply_y> lsst::afw::image::MaskedImage< ImagePixelT, MaskPixelT, VariancePixelT >::MaskedImageLocatorBase< ImageLocator, MaskLocator, VarianceLocator, Ref >::y_iterator |
A y_iterator that provides a view of the xy_locator (i.e. advancing one advances the other)
Definition at line 357 of file MaskedImage.h.
|
inline |
Construct a MaskedImageLocator from image/mask/variance locators.
Definition at line 377 of file MaskedImage.h.
|
inline |
Definition at line 423 of file MaskedImage.h.
|
inline |
Definition at line 429 of file MaskedImage.h.
|
inline |
Definition at line 434 of file MaskedImage.h.
|
inline |
Create a cached_location_t offset by (x, y)
from locator.
Definition at line 414 of file MaskedImage.h.
|
inline |
Definition at line 496 of file MaskedImage.h.
|
inline |
Return a reference to the image at the offset set when we created the cached_location_t
Definition at line 441 of file MaskedImage.h.
|
inline |
Return a reference to the image at the current position of the locator.
Definition at line 445 of file MaskedImage.h.
|
inline |
Return a reference to the image offset by (x, y)
from the current position of the locator.
Definition at line 447 of file MaskedImage.h.
|
inline |
Return a reference to the mask at the offset set when we created the cached_location_t
Definition at line 450 of file MaskedImage.h.
|
inline |
Return a reference to the mask at the current position of the locator.
Definition at line 454 of file MaskedImage.h.
|
inline |
Return a reference to the mask offset by (x, y)
from the current position of the locator.
Definition at line 456 of file MaskedImage.h.
|
inline |
Return true iff two locators are not equal.
Definition at line 474 of file MaskedImage.h.
|
inline |
Dereference a locator, returning a Pixel offset by (x, y)
from the locator.
Definition at line 389 of file MaskedImage.h.
|
inline |
Dereference a locator, returning a Pixel.
Definition at line 383 of file MaskedImage.h.
|
inline |
Increment the locator's x
and y
positions by p
Definition at line 481 of file MaskedImage.h.
|
inline |
Increment the locator's x
and y
positions by p
Definition at line 486 of file MaskedImage.h.
|
inline |
Return true iff lhs is less than rhs.
Definition at line 476 of file MaskedImage.h.
|
inline |
Return true iff two locators are equal.
Definition at line 470 of file MaskedImage.h.
|
inline |
Dereference a locator, returning a Pixel offset by the amount set when we created the cached_location_t
Definition at line 396 of file MaskedImage.h.
|
inline |
Return a reference to the variance at the offset set when we created the cached_location_t
Definition at line 459 of file MaskedImage.h.
|
inline |
Return a reference to the variance at the current position of the locator.
Definition at line 463 of file MaskedImage.h.
|
inline |
Return a reference to the variance offset by (x, y)
from the current position of the locator.
Definition at line 465 of file MaskedImage.h.
|
inline |
Return an iterator that can be used to move (or dereference) a locator.
Definition at line 405 of file MaskedImage.h.
|
inline |
Return an iterator that can be used to move (or dereference) a locator.
Definition at line 411 of file MaskedImage.h.
|
protected |
Definition at line 499 of file MaskedImage.h.