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