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
Public Types | Public Member Functions | List of all members
lsst::afw::math::ImageImposter< ValueT > Class Template Referencefinal

A vector wrapper to provide a vector with the necessary methods and typedefs to be processed by Statistics as though it were an Image. More...

#include <Statistics.h>

Public Types

typedef std::vector< ValueT >::const_iterator x_iterator
 
typedef std::vector< ValueT >::const_iterator fast_iterator
 
typedef ValueT Pixel
 

Public Member Functions

 ImageImposter (std::vector< ValueT > const &v)
 
 ImageImposter (ImageImposter< ValueT > const &img)
 
x_iterator row_begin (int) const noexcept
 
x_iterator row_end (int) const noexcept
 
int getWidth () const noexcept
 
int getHeight () const noexcept
 
lsst::geom::Extent2I getDimensions () const noexcept
 
bool empty () const noexcept
 

Detailed Description

template<typename ValueT>
class lsst::afw::math::ImageImposter< ValueT >

A vector wrapper to provide a vector with the necessary methods and typedefs to be processed by Statistics as though it were an Image.

Definition at line 436 of file Statistics.h.

Member Typedef Documentation

◆ fast_iterator

template<typename ValueT>
typedef std::vector<ValueT>::const_iterator lsst::afw::math::ImageImposter< ValueT >::fast_iterator

Definition at line 440 of file Statistics.h.

◆ Pixel

template<typename ValueT>
typedef ValueT lsst::afw::math::ImageImposter< ValueT >::Pixel

Definition at line 441 of file Statistics.h.

◆ x_iterator

template<typename ValueT>
typedef std::vector<ValueT>::const_iterator lsst::afw::math::ImageImposter< ValueT >::x_iterator

Definition at line 439 of file Statistics.h.

Constructor & Destructor Documentation

◆ ImageImposter() [1/2]

template<typename ValueT>
lsst::afw::math::ImageImposter< ValueT >::ImageImposter ( std::vector< ValueT > const &  v)
inlineexplicit

Definition at line 445 of file Statistics.h.

445 : _v(v) {}

◆ ImageImposter() [2/2]

template<typename ValueT>
lsst::afw::math::ImageImposter< ValueT >::ImageImposter ( ImageImposter< ValueT > const &  img)
inlineexplicit

Definition at line 446 of file Statistics.h.

446 : _v(img._getVector()) {}

Member Function Documentation

◆ empty()

template<typename ValueT>
bool lsst::afw::math::ImageImposter< ValueT >::empty ( ) const
inlinenoexcept

Definition at line 457 of file Statistics.h.

457 { return _v.empty(); }
T empty(T... args)

◆ getDimensions()

template<typename ValueT>
lsst::geom::Extent2I lsst::afw::math::ImageImposter< ValueT >::getDimensions ( ) const
inlinenoexcept

Definition at line 453 of file Statistics.h.

453  {
455  }
int getHeight() const noexcept
Definition: Statistics.h:452
int getWidth() const noexcept
Definition: Statistics.h:451
Extent< int, 2 > Extent2I
Definition: Extent.h:397

◆ getHeight()

template<typename ValueT>
int lsst::afw::math::ImageImposter< ValueT >::getHeight ( ) const
inlinenoexcept

Definition at line 452 of file Statistics.h.

452 { return 1; }

◆ getWidth()

template<typename ValueT>
int lsst::afw::math::ImageImposter< ValueT >::getWidth ( ) const
inlinenoexcept

Definition at line 451 of file Statistics.h.

451 { return _v.size(); }
T size(T... args)

◆ row_begin()

template<typename ValueT>
x_iterator lsst::afw::math::ImageImposter< ValueT >::row_begin ( int  ) const
inlinenoexcept

Definition at line 449 of file Statistics.h.

449 { return _v.begin(); }
T begin(T... args)

◆ row_end()

template<typename ValueT>
x_iterator lsst::afw::math::ImageImposter< ValueT >::row_end ( int  ) const
inlinenoexcept

Definition at line 450 of file Statistics.h.

450 { return _v.end(); }
T end(T... args)

The documentation for this class was generated from the following file: