ITK
4.9.0
Insight Segmentation and Registration Toolkit
|
#include <itkRGBToLuminanceImageFilter.h>
Converts an RGB image into a grayscale image.
This filters converts an RGB image into a Luminance on by computing pixel-wise a linear combination on the Red, Green and Blue channels. The pixel type of the input image must have a GetLuminance() method. This is the case of the itk::RGBPixel class.
Definition at line 63 of file itkRGBToLuminanceImageFilter.h.
Static Public Member Functions | |
static Pointer | New () |
Static Public Member Functions inherited from itk::UnaryFunctorImageFilter< TInputImage, TOutputImage, Functor::RGBToLuminance< TInputImage::PixelType, TOutputImage::PixelType > > | |
static Pointer | New () |
Static Public Member Functions inherited from itk::Object | |
static bool | GetGlobalWarningDisplay () |
static void | GlobalWarningDisplayOff () |
static void | GlobalWarningDisplayOn () |
static Pointer | New () |
static void | SetGlobalWarningDisplay (bool flag) |
Static Public Member Functions inherited from itk::LightObject | |
static void | BreakOnError () |
static Pointer | New () |
Private Member Functions | |
void | operator= (const Self &) ITK_DELETE_FUNCTION |
RGBToLuminanceImageFilter (const Self &) ITK_DELETE_FUNCTION | |
Additional Inherited Members | |
Static Public Attributes inherited from itk::InPlaceImageFilter< TInputImage, TOutputImage > | |
static const unsigned int | InputImageDimension = TInputImage::ImageDimension |
static const unsigned int | OutputImageDimension = TOutputImage::ImageDimension |
Static Public Attributes inherited from itk::ImageToImageFilter< TInputImage, TOutputImage > | |
static const unsigned int | InputImageDimension = TInputImage::ImageDimension |
static const unsigned int | OutputImageDimension = TOutputImage::ImageDimension |
Static Public Attributes inherited from itk::ImageSource< TOutputImage > | |
static const unsigned int | OutputImageDimension = TOutputImage::ImageDimension |
Protected Types inherited from itk::ImageToImageFilter< TInputImage, TOutputImage > | |
typedef ImageToImageFilterDetail::ImageRegionCopier < itkGetStaticConstMacro(OutputImageDimension), itkGetStaticConstMacro(InputImageDimension) > | InputToOutputRegionCopierType |
typedef ImageToImageFilterDetail::ImageRegionCopier < itkGetStaticConstMacro(InputImageDimension), itkGetStaticConstMacro(OutputImageDimension) > | OutputToInputRegionCopierType |
Static Protected Member Functions inherited from itk::ImageSource< TOutputImage > | |
static const ImageRegionSplitterBase * | GetGlobalDefaultSplitter () |
static ITK_THREAD_RETURN_TYPE | ThreaderCallback (void *arg) |
Protected Attributes inherited from itk::ProcessObject | |
TimeStamp | m_OutputInformationMTime |
bool | m_Updating |
Protected Attributes inherited from itk::LightObject | |
AtomicInt< int > | m_ReferenceCount |
typedef SmartPointer< const Self > itk::RGBToLuminanceImageFilter< TInputImage, TOutputImage >::ConstPointer |
Definition at line 79 of file itkRGBToLuminanceImageFilter.h.
typedef SmartPointer< Self > itk::RGBToLuminanceImageFilter< TInputImage, TOutputImage >::Pointer |
Definition at line 78 of file itkRGBToLuminanceImageFilter.h.
typedef RGBToLuminanceImageFilter itk::RGBToLuminanceImageFilter< TInputImage, TOutputImage >::Self |
Standard class typedefs.
Definition at line 72 of file itkRGBToLuminanceImageFilter.h.
typedef UnaryFunctorImageFilter< TInputImage, TOutputImage, Functor::RGBToLuminance< typename TInputImage::PixelType, typename TOutputImage::PixelType > > itk::RGBToLuminanceImageFilter< TInputImage, TOutputImage >::Superclass |
Definition at line 76 of file itkRGBToLuminanceImageFilter.h.
|
inlineprotected |
Definition at line 96 of file itkRGBToLuminanceImageFilter.h.
|
inlineprotectedvirtual |
Definition at line 97 of file itkRGBToLuminanceImageFilter.h.
|
private |
|
virtual |
Create an object from an instance, potentially deferring to a factory. This method allows you to create an instance of an object that is exactly the same type as the referring object. This is useful in cases where an object has been cast back to a base class.
Reimplemented from itk::Object.
|
virtual |
Runtime information support.
Reimplemented from itk::UnaryFunctorImageFilter< TInputImage, TOutputImage, Functor::RGBToLuminance< TInputImage::PixelType, TOutputImage::PixelType > >.
|
static |
Method for creation through the object factory.
|
private |
itk::RGBToLuminanceImageFilter< TInputImage, TOutputImage >::typedef | ( | Concept::HasNumericTraits< typename TInputImage::PixelType::ComponentType > | ) |
This class requires InputHasNumericTraitsCheck in the form of ( Concept::HasNumericTraits< typename TInputImage::PixelType::ComponentType > )