|
LSST Applications g00274db5b6+edbf708997,g00d0e8bbd7+edbf708997,g199a45376c+5137f08352,g1fd858c14a+1d4b6db739,g262e1987ae+f4d9505c4f,g29ae962dfc+7156fb1a53,g2cef7863aa+73c82f25e4,g35bb328faa+edbf708997,g3e17d7035e+5b3adc59f5,g3fd5ace14f+852fa6fbcb,g47891489e3+6dc8069a4c,g53246c7159+edbf708997,g64539dfbff+9f17e571f4,g67b6fd64d1+6dc8069a4c,g74acd417e5+ae494d68d9,g786e29fd12+af89c03590,g7ae74a0b1c+a25e60b391,g7aefaa3e3d+536efcc10a,g7cc15d900a+d121454f8d,g87389fa792+a4172ec7da,g89139ef638+6dc8069a4c,g8d7436a09f+28c28d8d6d,g8ea07a8fe4+db21c37724,g92c671f44c+9f17e571f4,g98df359435+b2e6376b13,g99af87f6a8+b0f4ad7b8d,gac66b60396+966efe6077,gb88ae4c679+7dec8f19df,gbaa8f7a6c5+38b34f4976,gbf99507273+edbf708997,gc24b5d6ed1+9f17e571f4,gca7fc764a6+6dc8069a4c,gcc769fe2a4+97d0256649,gd7ef33dd92+6dc8069a4c,gdab6d2f7ff+ae494d68d9,gdbb4c4dda9+9f17e571f4,ge410e46f29+6dc8069a4c,geaed405ab2+e194be0d2b,w.2025.47
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 |
|
inline |
Dereference a locator, returning a Pixel offset by (x, y) from the locator.
Definition at line 384 of file MaskedImage.h.
|
inline |
|
inline |
|
inline |
Increment the locator's x and y positions by p
Definition at line 476 of file MaskedImage.h.
|
inline |
|
inline |
|
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.