MIRA
Public Member Functions | Protected Attributes | List of all members
ImgPixel< T, 1 > Class Template Reference

specialization of PixelBase class for 1 channel More...

#include <image/ImgPixel.h>

Inheritance diagram for ImgPixel< T, 1 >:
Inheritance graph
[legend]

Public Member Functions

 ImgPixel ()
 The default constructor. More...
 
 ImgPixel (T v0)
 constructor setting the value of the pixel More...
 
operator[] (int i) const
 access to index i of vector More...
 
T & operator[] (int i)
 const access to index i of vector More...
 
operator() (int i) const
 access to index i of vector More...
 
T & operator() (int i)
 const access to index i of vector More...
 
bool operator== (const ImgPixelBase &other) const
 
 operator cv::Scalar () const
 casts internal cv::Vect to cv::Scalar More...
 

Protected Attributes

cv::Vec< T, Channels > v
 

Detailed Description

template<typename T>
class mira::ImgPixel< T, 1 >

specialization of PixelBase class for 1 channel

Constructor & Destructor Documentation

◆ ImgPixel() [1/2]

ImgPixel ( )
inline

The default constructor.

◆ ImgPixel() [2/2]

ImgPixel ( v0)
inline

constructor setting the value of the pixel

Member Function Documentation

◆ operator[]() [1/2]

T operator[] ( int  i) const
inlineinherited

access to index i of vector

◆ operator[]() [2/2]

T& operator[] ( int  i)
inlineinherited

const access to index i of vector

◆ operator()() [1/2]

T operator() ( int  i) const
inlineinherited

access to index i of vector

◆ operator()() [2/2]

T& operator() ( int  i)
inlineinherited

const access to index i of vector

◆ operator==()

bool operator== ( const ImgPixelBase< T, 1 > &  other) const
inlineinherited

◆ operator cv::Scalar()

operator cv::Scalar ( ) const
inlineinherited

casts internal cv::Vect to cv::Scalar

Member Data Documentation

◆ v

cv::Vec<T, Channels> v
protectedinherited

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