|
ITK
6.0.0
Insight Toolkit
|
Go to the documentation of this file.
18 #ifndef itkRGBToLuminanceImageFilter_h
19 #define itkRGBToLuminanceImageFilter_h
39 template <
typename TInput,
typename TOutput>
57 return static_cast<TOutput>(A.GetLuminance());
62 template <
typename TInputImage,
typename TOutputImage>
81 #ifdef ITK_USE_CONCEPT_CHECKING
91 #if !defined(ITK_WRAPPING_PARSER)
Implements pixel-wise generic "operation" on one image.
TOutput operator()(const TInput &A) const
typename TInput::ComponentType ComponentType
typename itk::NumericTraits< ComponentType >::RealType RealType
Base class for all process objects that output image data.
RGBToLuminanceImageFilter()
Functor::Add2< typename TInputImage1::PixelType, typename TInputImage2::PixelType, typename TOutputImage::PixelType > FunctorType
bool operator==(const RGBToLuminance &) const
Converts an RGB image into a grayscale image.
#define itkConceptMacro(name, concept)
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....
The base class for all process objects (source, filters, mappers) in the Insight data processing pipe...
ITK_UNEQUAL_OPERATOR_MEMBER_FUNCTION(RGBToLuminance)