#include <itkRGBPixel.h>
Inheritance diagram for itk::RGBPixel< TComponent >:
This class is templated over the representation used for each component.
The following syntax for assigning an index is allowed/suggested:
RGBPixel<float> pixel; pixel = 1.0f, 0.0f, .5f; RGBPixel<char> pixelArray[2]; pixelArray[0] = 255, 255, 255; pixelArray[1] = 255, 255, 244;
Since RGBPixel is a subclass of Array, you can access its components as: pixel[0], pixel[1], pixel[2]
Definition at line 51 of file itkRGBPixel.h.
|
Convenience typedefs. Definition at line 64 of file itkRGBPixel.h. |
|
Define the component type. Definition at line 67 of file itkRGBPixel.h. |
|
Standard class typedefs. Definition at line 55 of file itkRGBPixel.h. |
|
Definition at line 56 of file itkRGBPixel.h. |
|
The element type stored at each location in the FixedArray. Reimplemented from itk::FixedArray< TComponent, 3 >. Definition at line 68 of file itkRGBPixel.h. |
|
Default constructor has nothing to do. Definition at line 71 of file itkRGBPixel.h. |
|
Default constructor has nothing to do. Definition at line 72 of file itkRGBPixel.h. |
|
Pass-through constructor for the Array base class. Definition at line 76 of file itkRGBPixel.h. |
|
Pass-through constructor for the Array base class. Definition at line 77 of file itkRGBPixel.h. |
|
Get the Blue component. Definition at line 134 of file itkRGBPixel.h. Referenced by itk::BluePixelAccessor< T >::Get(). |
|
Get the Green component. Definition at line 131 of file itkRGBPixel.h. Referenced by itk::GreenPixelAccessor< T >::Get(). |
|
Get Luminance out of RGB |
|
Return the value for the Nth component. Definition at line 98 of file itkRGBPixel.h. |
|
Return the number of components. Definition at line 95 of file itkRGBPixel.h. |
|
Get the Red component. Definition at line 128 of file itkRGBPixel.h. Referenced by itk::RedPixelAccessor< T >::Get(). |
|
Return the value for the Nth component. Definition at line 102 of file itkRGBPixel.h. |
|
Dimension of the vector space. |
|
Dimension of the vector space. |
|
Aritmetic operations between pixels. Return a new RGBPixel. |
|
Aritmetic operations between pixels. Return a new RGBPixel. |
|
Aritmetic operations between pixels. Return a new RGBPixel. |
|
Aritmetic operations between pixels. Return a new RGBPixel. |
|
Aritmetic operations between pixels. Return a new RGBPixel. |
|
Pass-through assignment operator for the Array base class. |
|
Pass-through assignment operator for the Array base class. |
|
Set the three components. Definition at line 124 of file itkRGBPixel.h. Referenced by itk::Function::ComposeRGB< TInput >::operator()(). |
|
Set the Blue component. Definition at line 121 of file itkRGBPixel.h. Referenced by itk::BluePixelAccessor< T >::Set(). |
|
Set the Green component. Definition at line 118 of file itkRGBPixel.h. Referenced by itk::GreenPixelAccessor< T >::Set(). |
|
Set the Nth component to v. Definition at line 111 of file itkRGBPixel.h. |
|
Set the Red component. Definition at line 115 of file itkRGBPixel.h. Referenced by itk::RedPixelAccessor< T >::Set(). |