LSST Applications g1653933729+a8ce1bb630,g171997e3ee+76e92115be,g1a997c3884+a8ce1bb630,g28da252d5a+4013ff5194,g2bbee38e9b+d6d0f9f6ae,g2bc492864f+d6d0f9f6ae,g2cdde0e794+ccb74358b7,g3156d2b45e+07302053f8,g347aa1857d+d6d0f9f6ae,g35bb328faa+a8ce1bb630,g3a166c0a6a+d6d0f9f6ae,g3e281a1b8c+130fae20e3,g4005a62e65+17cd334064,g414038480c+c9f68e2a12,g41af890bb2+3e1f62f438,g4e1a3235cc+9db7d56ad0,g7b55021d1b+7b623691d5,g80478fca09+334cc8d2bd,g82479be7b0+b568f6b267,g858d7b2824+37b39d8760,g9125e01d80+a8ce1bb630,ga5288a1d22+11cb34fefe,gae0086650b+a8ce1bb630,gb4ec7eb0ab+37b39d8760,gb58c049af0+d64f4d3760,gc081298178+284e133171,gc28159a63d+d6d0f9f6ae,gcf0d15dbbd+00fe2e0b07,gd6b7c0dfd1+8b62435e69,gda3e153d99+37b39d8760,gda6a2b7d83+00fe2e0b07,gdaeeff99f8+1711a396fd,gdd5a9049c5+23f3b3239a,ge2409df99d+5d9f551a54,ge33fd446bb+37b39d8760,ge79ae78c31+d6d0f9f6ae,gf0baf85859+2dea8344a2,gf5289d68f6+3777f3df5e,w.2024.41
LSST Data Management Base Package
|
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 | |
using | IMVCachedLocation = typename boost::tuple<typename ImageLocator::cached_location_t, typename MaskLocator::cached_location_t, typename VarianceLocator::cached_location_t> |
using | x_iterator = _x_or_y_iterator<apply_x> |
An x_iterator that provides a view of the xy_locator (i.e. advancing one advances the other) | |
using | y_iterator = _x_or_y_iterator<apply_y> |
A y_iterator that provides a view of the xy_locator (i.e. advancing one advances the other) | |
using | PixelTVec = typename boost::mpl::vector<ImagePixelT, MaskPixelT, VariancePixelT> |
Public Member Functions | |
MaskedImageLocatorBase (ImageLocator const &img, MaskLocator const &msk, VarianceLocator const &var) | |
Construct a MaskedImageLocator from image/mask/variance locators. | |
Pixel | operator* () |
Dereference a locator, returning a Pixel. | |
Pixel | operator() (int x, int y) |
Dereference a locator, returning a Pixel offset by (x, y) from the locator. | |
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 | |
x_iterator | x () |
Return an iterator that can be used to move (or dereference) a locator. | |
y_iterator | y () |
Return an iterator that can be used to move (or dereference) a locator. | |
cached_location_t | cache_location (int x, int y) const |
Create a cached_location_t offset by (x, y) from locator. | |
template<typename N > | |
Ref< typenameboost::mpl::at< PixelTVec, N >::type >::type | apply_IMV (cached_location_t const &cached_loc) |
template<typename N > | |
Ref< typenameboost::mpl::at< PixelTVec, N >::type >::type | apply_IMV () |
template<typename N > | |
Ref< typenameboost::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 | |
Ref< ImagePixelT >::type | image () |
Return a reference to the image at the current position of the locator. | |
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. | |
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 | |
Ref< MaskPixelT >::type | mask () |
Return a reference to the mask at the current position of the locator. | |
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. | |
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 | |
Ref< VariancePixelT >::type | variance () |
Return a reference to the variance at the current position of the locator. | |
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. | |
bool | operator== (MaskedImageLocatorBase const &rhs) |
Return true iff two locators are equal. | |
bool | operator!= (MaskedImageLocatorBase const &rhs) |
Return true iff two locators are not equal. | |
bool | operator< (MaskedImageLocatorBase const &rhs) |
Return true iff lhs is less than rhs. | |
MaskedImageLocatorBase & | operator+= (pair2I const &p) |
Increment the locator's x and y positions by p | |
MaskedImageLocatorBase & | operator+= (detail::difference_type p) |
Increment the locator's x and y positions by p | |
IMVLocator const & | getLoc () const |
Protected Attributes | |
IMVLocator | _loc |
The base class for MaskedImageLocators (const and non-const)
Definition at line 259 of file MaskedImage.h.
using lsst::afw::image::MaskedImage< ImagePixelT, MaskPixelT, VariancePixelT >::MaskedImageLocatorBase< ImageLocator, MaskLocator, VarianceLocator, Ref >::IMVCachedLocation = typename boost::tuple<typename ImageLocator::cached_location_t, typename MaskLocator::cached_location_t, typename VarianceLocator::cached_location_t> |
Definition at line 348 of file MaskedImage.h.
using lsst::afw::image::MaskedImage< ImagePixelT, MaskPixelT, VariancePixelT >::MaskedImageLocatorBase< ImageLocator, MaskLocator, VarianceLocator, Ref >::PixelTVec = typename boost::mpl::vector<ImagePixelT, MaskPixelT, VariancePixelT> |
Definition at line 415 of file MaskedImage.h.
using lsst::afw::image::MaskedImage< ImagePixelT, MaskPixelT, VariancePixelT >::MaskedImageLocatorBase< ImageLocator, MaskLocator, VarianceLocator, Ref >::x_iterator = _x_or_y_iterator<apply_x> |
An x_iterator that provides a view of the xy_locator (i.e. advancing one advances the other)
Definition at line 350 of file MaskedImage.h.
using lsst::afw::image::MaskedImage< ImagePixelT, MaskPixelT, VariancePixelT >::MaskedImageLocatorBase< ImageLocator, MaskLocator, VarianceLocator, Ref >::y_iterator = _x_or_y_iterator<apply_y> |
A y_iterator that provides a view of the xy_locator (i.e. advancing one advances the other)
Definition at line 352 of file MaskedImage.h.
|
inline |
Construct a MaskedImageLocator from image/mask/variance locators.
Definition at line 372 of file MaskedImage.h.
|
inline |
Definition at line 424 of file MaskedImage.h.
|
inline |
Definition at line 418 of file MaskedImage.h.
|
inline |
Definition at line 429 of file MaskedImage.h.
|
inline |
Create a cached_location_t offset by (x, y)
from locator.
Definition at line 409 of file MaskedImage.h.
|
inline |
Definition at line 491 of file MaskedImage.h.
|
inline |
Return a reference to the image at the current position of the locator.
Definition at line 440 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 436 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 442 of file MaskedImage.h.
|
inline |
Return a reference to the mask at the current position of the locator.
Definition at line 449 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 445 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 451 of file MaskedImage.h.
|
inline |
Return true iff two locators are not equal.
Definition at line 469 of file MaskedImage.h.
|
inline |
Dereference a locator, returning a Pixel offset by (x, y)
from the locator.
Definition at line 384 of file MaskedImage.h.
|
inline |
|
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 476 of file MaskedImage.h.
|
inline |
Return true iff lhs is less than rhs.
Definition at line 471 of file MaskedImage.h.
|
inline |
Return true iff two locators are equal.
Definition at line 465 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 391 of file MaskedImage.h.
|
inline |
Return a reference to the variance at the current position of the locator.
Definition at line 458 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 454 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 460 of file MaskedImage.h.
|
inline |
Return an iterator that can be used to move (or dereference) a locator.
Definition at line 400 of file MaskedImage.h.
|
inline |
Return an iterator that can be used to move (or dereference) a locator.
Definition at line 406 of file MaskedImage.h.
|
protected |
Definition at line 494 of file MaskedImage.h.