ITK
6.0.0
Insight Toolkit
|
#include <itkRGBToLuminanceImageAdaptor.h>
Give access to Luminance of a color pixel type.
RGBToLuminancePixelAccessor is templated over an internal type and an external type representation. This class cast the input applies the function to it and cast the result according to the types defined as template parameters. The input pixel type must support the GetLuminance() method. This is the case of the RGBPixel class for example.
Definition at line 42 of file itkRGBToLuminanceImageAdaptor.h.
Public Types | |
using | ExternalType = TExternalType |
using | InternalType = TInternalType |
Static Public Member Functions | |
static TExternalType | Get (const TInternalType &input) |
static void | Set (TInternalType &output, const TExternalType &input) |
using itk::Accessor::RGBToLuminancePixelAccessor< TInternalType, TExternalType >::ExternalType = TExternalType |
External type alias. It defines the external aspect that this class will exhibit.
Definition at line 48 of file itkRGBToLuminanceImageAdaptor.h.
using itk::Accessor::RGBToLuminancePixelAccessor< TInternalType, TExternalType >::InternalType = TInternalType |
Internal type alias. It defines the internal real representation of data.
Definition at line 52 of file itkRGBToLuminanceImageAdaptor.h.
|
inlinestatic |
Definition at line 61 of file itkRGBToLuminanceImageAdaptor.h.
|
inlinestatic |
Definition at line 55 of file itkRGBToLuminanceImageAdaptor.h.