#include <itkRGBAPixel.h>
Inheritance diagram for itk::RGBAPixel< TComponent >:
This class is templated over the representation used for each component.
The following syntax for assigning an index is allowed/suggested:
RGBAPixel<float> pixel; pixel = 1.0f, 0.0f, .5f, .8; RGBAPixel<char> pixelArray[2]; pixelArray[0] = 255, 255, 255, 230; pixelArray[1] = 255, 255, 244, 255;
Since RGBAPixel is a subclass of Array, you can access its components as: pixel[0], pixel[1], pixel[2], pixel[3]
Definition at line 52 of file itkRGBAPixel.h.
|
Convenience typedefs. Definition at line 66 of file itkRGBAPixel.h. |
|
Define the component type. Definition at line 69 of file itkRGBAPixel.h. |
|
Standard class typedefs. Definition at line 56 of file itkRGBAPixel.h. |
|
Definition at line 57 of file itkRGBAPixel.h. |
|
Default constructor has nothing to do. Definition at line 72 of file itkRGBAPixel.h. |
|
Default constructor has nothing to do. Definition at line 73 of file itkRGBAPixel.h. |
|
Pass-through constructor for the Array base class. Definition at line 78 of file itkRGBAPixel.h. |
|
Pass-through constructor for the Array base class. Definition at line 79 of file itkRGBAPixel.h. |
|
Get the Alpha component. Definition at line 133 of file itkRGBAPixel.h. |
|
Get the Blue component. Definition at line 130 of file itkRGBAPixel.h. |
|
Get the Green component. Definition at line 127 of file itkRGBAPixel.h. |
|
Get Luminance out of RGB |
|
Return the value for the Nth component. Definition at line 91 of file itkRGBAPixel.h. |
|
Return the number of componentsxquery-rep. Definition at line 88 of file itkRGBAPixel.h. |
|
Get the Red component. Definition at line 124 of file itkRGBAPixel.h. |
|
Return the value for the Nth component. Definition at line 95 of file itkRGBAPixel.h. |
|
Length of the pixel. |
|
Dimension of the vector space. |
|
Pass-through assignment operator for the Array base class. |
|
Pass-through assignment operator for the Array base class. |
|
Set the four components. Definition at line 120 of file itkRGBAPixel.h. |
|
Set the Alpha component. Definition at line 117 of file itkRGBAPixel.h. |
|
Set the Blue component. Definition at line 114 of file itkRGBAPixel.h. |
|
Set the Green component. Definition at line 111 of file itkRGBAPixel.h. |
|
Set the Nth component to v. Definition at line 104 of file itkRGBAPixel.h. |
|
Set the Red component. Definition at line 108 of file itkRGBAPixel.h. |