Loading [MathJax]/extensions/tex2jax.js
LSST Applications g04a91732dc+9666464c73,g0fba68d861+d6c6f70ffa,g1fd858c14a+94f68680cf,g208c678f98+1ca806343c,g271391ec13+ac98094cfc,g2c84ff76c0+120a924478,g2c9e612ef2+a92a2e6025,g35bb328faa+fcb1d3bbc8,g4d2262a081+7c332456db,g4e0f332c67+c58e4b632d,g53246c7159+fcb1d3bbc8,g60b5630c4e+a92a2e6025,g67b6fd64d1+9d1b2ab50a,g78460c75b0+2f9a1b4bcd,g786e29fd12+cf7ec2a62a,g7b71ed6315+fcb1d3bbc8,g8852436030+506db7da85,g89139ef638+9d1b2ab50a,g8d6b6b353c+a92a2e6025,g9125e01d80+fcb1d3bbc8,g989de1cb63+9d1b2ab50a,g9f33ca652e+d1749da127,ga2b97cdc51+a92a2e6025,gabe3b4be73+1e0a283bba,gb1101e3267+6ecbd0580e,gb58c049af0+f03b321e39,gb89ab40317+9d1b2ab50a,gb90eeb9370+384e1fc23b,gcf25f946ba+506db7da85,gd315a588df+382ef11c06,gd6cbbdb0b4+75aa4b1db4,gd9a9a58781+fcb1d3bbc8,gde0f65d7ad+9984fb7d9e,ge278dab8ac+c61fbefdff,ge410e46f29+9d1b2ab50a,ge82c20c137+e12a08b75a,gf67bdafdda+9d1b2ab50a,gfd5510ef7b+864ead200a,v29.0.0.rc2
LSST Data Management Base Package
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
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

using x_iterator = typename std::vector<ValueT>::const_iterator
 
using fast_iterator = typename std::vector<ValueT>::const_iterator
 
using Pixel = ValueT
 

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 443 of file Statistics.h.

Member Typedef Documentation

◆ fast_iterator

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

Definition at line 447 of file Statistics.h.

◆ Pixel

template<typename ValueT>
using lsst::afw::math::ImageImposter< ValueT >::Pixel = ValueT

Definition at line 448 of file Statistics.h.

◆ x_iterator

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

Definition at line 446 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 452 of file Statistics.h.

452: _v(v) {}
A vector wrapper to provide a vector with the necessary methods and typedefs to be processed by Stati...
Definition Statistics.h:443

◆ ImageImposter() [2/2]

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

Definition at line 453 of file Statistics.h.

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

Member Function Documentation

◆ empty()

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

Definition at line 464 of file Statistics.h.

464{ return _v.empty(); }

◆ getDimensions()

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

Definition at line 460 of file Statistics.h.

460 {
462 }
int getWidth() const noexcept
Definition Statistics.h:458
int getHeight() const noexcept
Definition Statistics.h:459
Extent< int, 2 > Extent2I
Definition Extent.h:397

◆ getHeight()

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

Definition at line 459 of file Statistics.h.

459{ return 1; }

◆ getWidth()

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

Definition at line 458 of file Statistics.h.

458{ return _v.size(); }

◆ row_begin()

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

Definition at line 456 of file Statistics.h.

456{ return _v.begin(); }

◆ row_end()

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

Definition at line 457 of file Statistics.h.

457{ return _v.end(); }

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