
#include <Image/PixelsTypes.H>
Inheritance diagram for PixRGB< T >:


Definition at line 581 of file PixelsTypes.H.
Public Member Functions | |
| PixRGB () | |
| ~PixRGB () | |
| PixRGB (const T val) | |
| template<class T2> | |
| PixRGB (const T2 val) | |
| template<class T2> | |
| PixRGB (const PixRGB< T2 > &A) | |
| template<class T2> | |
| PixRGB (const PixHSV< T2 > &A) | |
| template<class T2> | |
| PixRGB (const PixXYZ< T2 > &A) | |
| template<class T2> | |
| PixRGB (const PixLab< T2 > &A) | |
| template<class T2> | |
| PixRGB (const PixJpegYUV< T2 > &A) | |
| template<class T2> | |
| PixRGB (const PixVideoYUV< T2 > &A) | |
| template<class T2> | |
| PixRGB (const PixYIQ< T2 > &A) | |
| template<class T2> | |
| PixRGB (const PixHSL< T2 > &A) | |
| template<class T2> | |
| PixRGB (const PixH2SV1< T2 > &A) | |
| template<class T2> | |
| PixRGB (const PixH2SV2< T2 > &A) | |
| template<class T2> | |
| PixRGB (const PixHyper< T2, 3 > &A) | |
| PixRGB (const PixRGB< T > &pix) | |
| construct pixel from another. Defined here for tech reasons | |
| PixRGB (const T redval, const T greenval, const T blueval) | |
| Construct an RGB pixel with given values red, green, blue. | |
| template<class T2, class T3, class T4> | |
| PixRGB (const T2 redval, const T3 greenval, const T4 blueval) | |
| Construct from given values, clamping & convertPixing as needed. | |
| void | getRGB (T &r, T &g, T &b) const |
| T | red () const |
| Access red channel. | |
| T | green () const |
| Access green channel. | |
| T | blue () const |
| Access blue channel. | |
| template<class T2> | |
| void | setRed (const T2 redval) |
| Set red channel value, clamping & convertPixing as necessary. | |
| template<class T2> | |
| void | setGreen (const T2 greenval) |
| Set green channel value, clamping & convertPixing as necessary. | |
| template<class T2> | |
| void | setBlue (const T2 blueval) |
| Set blue channel value, clamping & convertPixing as necessary. | |
| template<class T2, class T3, class T4> | |
| void | set (const T2 redval, const T3 greenval, const T4 blueval) |
| Set all channel values, clamping & convertPixing as necessary. | |
| T | luminance () const |
| Compute luminance as (r + g + b) / 3. | |
| void | setHSV (const T h1, const T h2, const T s, const T v) |
| special methods added for backwards compat. | |
| void | getHSV (T &h1, T &h2, T &s, T &v) const |
| special methods added for backwards compat. | |
Static Public Attributes | |
| static const enum PixType | pType = PixTypeRGB |
| static const size_t | myDim = 3 |
|
||||||||||
|
construct pixel from another. Defined here for tech reasons
Definition at line 1632 of file PixelsTypes.H. |
|
||||||||||||||||||||
|
Construct an RGB pixel with given values red, green, blue.
Definition at line 1637 of file PixelsTypes.H. References Pixels< T, 3 >::p. |
|
||||||||||||||||||||||||
|
Construct from given values, clamping & convertPixing as needed.
Definition at line 1644 of file PixelsTypes.H. References Pixels< T, 3 >::p. |
|
|||||||||
|
Access blue channel.
Definition at line 1664 of file PixelsTypes.H. References Pixels< T, 3 >::p. Referenced by convertToString(), SDLdisplay::displayVideoOverlay_image(), downscaleFancy(), element_wise_max(), element_wise_min(), lobot::get_conf(), LPTFoveator::getLPT(), SDLdisplay::getUint32color(), FourierFeatureExtractor::illustrate(), main(), normalizeRGB(), omniDenebulize(), and RGBtoCIE(). |
|
||||||||||||||||||||||||
|
special methods added for backwards compat.
Definition at line 1708 of file PixelsTypes.H. References Pixels< T, 4 >::p. Referenced by featureClusterVision< FLOAT >::fCVgetImageBaseStats(), segmentImage::getHSVvalue(), main(), and segmentImage2::SIgetHSVvalue(). |
|
|||||||||
|
Access green channel.
Definition at line 1658 of file PixelsTypes.H. References Pixels< T, 3 >::p. Referenced by convertToString(), SDLdisplay::displayVideoOverlay_image(), downscaleFancy(), element_wise_max(), element_wise_min(), lobot::get_conf(), LPTFoveator::getLPT(), SDLdisplay::getUint32color(), FourierFeatureExtractor::illustrate(), main(), normalizeRGB(), omniDenebulize(), and RGBtoCIE(). |
|
|||||||||
|
Compute luminance as (r + g + b) / 3.
Definition at line 1700 of file PixelsTypes.H. References Pixels< T, 3 >::p. |
|
|||||||||
|
Access red channel.
Definition at line 1652 of file PixelsTypes.H. References Pixels< T, 3 >::p. Referenced by convertToString(), SDLdisplay::displayVideoOverlay_image(), downscaleFancy(), element_wise_max(), element_wise_min(), lobot::get_conf(), LPTFoveator::getLPT(), SDLdisplay::getUint32color(), FourierFeatureExtractor::illustrate(), main(), normalizeRGB(), omniDenebulize(), and RGBtoCIE(). |
|
||||||||||||||||||||||||
|
Set all channel values, clamping & convertPixing as necessary.
Definition at line 1692 of file PixelsTypes.H. References Pixels< T, 3 >::p. Referenced by convertFromString(), ImageSpring< T >::getClusteredImage(), StimAnalyzer::StimAnalyzer(), and StimMaker::StimMaker(). |
|
||||||||||||||
|
Set blue channel value, clamping & convertPixing as necessary.
Definition at line 1685 of file PixelsTypes.H. References Pixels< T, 3 >::p. Referenced by CINNICstatsRun::colorTable(), convertFromString(), findColorIndex::FACgetColor12(), main(), overlayStain(), and Pixels_xx_constructors_xx_1(). |
|
||||||||||||||
|
Set green channel value, clamping & convertPixing as necessary.
Definition at line 1678 of file PixelsTypes.H. References Pixels< T, 3 >::p. Referenced by CINNICstatsRun::colorTable(), convertFromString(), findColorIndex::FACgetColor12(), main(), overlayStain(), and Pixels_xx_constructors_xx_1(). |
|
||||||||||||||||||||||||
|
special methods added for backwards compat.
Definition at line 1719 of file PixelsTypes.H. |
|
||||||||||||||
|
Set red channel value, clamping & convertPixing as necessary.
Definition at line 1671 of file PixelsTypes.H. References Pixels< T, 3 >::p. Referenced by CINNICstatsRun::colorTable(), convertFromString(), findColorIndex::FACgetColor12(), main(), overlayStain(), and Pixels_xx_constructors_xx_1(). |
1.4.4