ITK
5.0.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.
Public Types | |
using | ConstPointer = SmartPointer< const Self > |
using | FunctorType = Functor::RGBToLuminance< typename TInputImage::PixelType, typename TOutputImage::PixelType > |
using | Pointer = SmartPointer< Self > |
using | Self = RGBToLuminanceImageFilter |
using | Superclass = UnaryGeneratorImageFilter< TInputImage, TOutputImage > |
Public Types inherited from itk::UnaryGeneratorImageFilter< TInputImage, TOutputImage > | |
using | ConstPointer = SmartPointer< const Self > |
using | ConstRefFunctionType = OutputImagePixelType(const InputImagePixelType &) |
using | InputImagePixelType = typename InputImageType::PixelType |
using | InputImagePointer = typename InputImageType::ConstPointer |
using | InputImageRegionType = typename InputImageType::RegionType |
using | InputImageType = TInputImage |
using | OutputImagePixelType = typename OutputImageType::PixelType |
using | OutputImagePointer = typename OutputImageType::Pointer |
using | OutputImageRegionType = typename OutputImageType::RegionType |
using | OutputImageType = TOutputImage |
using | Pointer = SmartPointer< Self > |
using | Self = UnaryGeneratorImageFilter |
using | Superclass = InPlaceImageFilter< TInputImage, TOutputImage > |
using | ValueFunctionType = OutputImagePixelType(InputImagePixelType) |
Public Types inherited from itk::InPlaceImageFilter< TInputImage, TOutputImage > | |
using | ConstPointer = SmartPointer< const Self > |
using | InputImageConstPointer = typename InputImageType::ConstPointer |
using | InputImagePixelType = typename InputImageType::PixelType |
using | InputImagePointer = typename InputImageType::Pointer |
using | InputImageRegionType = typename InputImageType::RegionType |
using | InputImageType = TInputImage |
using | OutputImagePixelType = typename Superclass::OutputImagePixelType |
using | OutputImagePointer = typename Superclass::OutputImagePointer |
using | OutputImageRegionType = typename Superclass::OutputImageRegionType |
using | OutputImageType = typename Superclass::OutputImageType |
using | Pointer = SmartPointer< Self > |
using | Self = InPlaceImageFilter |
using | Superclass = ImageToImageFilter< TInputImage, TOutputImage > |
Public Types inherited from itk::ImageToImageFilter< TInputImage, TOutputImage > | |
using | ConstPointer = SmartPointer< const Self > |
using | InputImageConstPointer = typename InputImageType::ConstPointer |
using | InputImagePixelType = typename InputImageType::PixelType |
using | InputImagePointer = typename InputImageType::Pointer |
using | InputImageRegionType = typename InputImageType::RegionType |
using | InputImageType = TInputImage |
using | OutputImagePixelType = typename Superclass::OutputImagePixelType |
using | OutputImageRegionType = typename Superclass::OutputImageRegionType |
using | Pointer = SmartPointer< Self > |
using | Self = ImageToImageFilter |
using | Superclass = ImageSource< TOutputImage > |
Public Types inherited from itk::ImageSource< TOutputImage > | |
using | ConstPointer = SmartPointer< const Self > |
using | DataObjectIdentifierType = Superclass::DataObjectIdentifierType |
using | DataObjectPointer = DataObject::Pointer |
using | DataObjectPointerArraySizeType = Superclass::DataObjectPointerArraySizeType |
using | OutputImagePixelType = typename OutputImageType::PixelType |
using | OutputImagePointer = typename OutputImageType::Pointer |
using | OutputImageRegionType = typename OutputImageType::RegionType |
using | OutputImageType = TOutputImage |
using | Pointer = SmartPointer< Self > |
using | Self = ImageSource |
using | Superclass = ProcessObject |
Public Types inherited from itk::ProcessObject | |
using | ConstPointer = SmartPointer< const Self > |
using | DataObjectIdentifierType = DataObject::DataObjectIdentifierType |
using | DataObjectPointer = DataObject::Pointer |
using | DataObjectPointerArray = std::vector< DataObjectPointer > |
using | DataObjectPointerArraySizeType = DataObjectPointerArray::size_type |
using | MultiThreaderType = MultiThreaderBase |
using | NameArray = std::vector< DataObjectIdentifierType > |
using | Pointer = SmartPointer< Self > |
using | Self = ProcessObject |
using | Superclass = Object |
Public Types inherited from itk::Object | |
using | ConstPointer = SmartPointer< const Self > |
using | Pointer = SmartPointer< Self > |
using | Self = Object |
using | Superclass = LightObject |
Public Types inherited from itk::LightObject | |
using | ConstPointer = SmartPointer< const Self > |
using | Pointer = SmartPointer< Self > |
using | Self = LightObject |
Static Public Member Functions | |
static Pointer | New () |
Static Public Member Functions inherited from itk::UnaryGeneratorImageFilter< TInputImage, TOutputImage > | |
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 () |
using itk::RGBToLuminanceImageFilter< TInputImage, TOutputImage >::ConstPointer = SmartPointer< const Self > |
Definition at line 74 of file itkRGBToLuminanceImageFilter.h.
using itk::RGBToLuminanceImageFilter< TInputImage, TOutputImage >::FunctorType = Functor::RGBToLuminance< typename TInputImage::PixelType, typename TOutputImage::PixelType > |
Definition at line 76 of file itkRGBToLuminanceImageFilter.h.
using itk::RGBToLuminanceImageFilter< TInputImage, TOutputImage >::Pointer = SmartPointer< Self > |
Definition at line 73 of file itkRGBToLuminanceImageFilter.h.
using itk::RGBToLuminanceImageFilter< TInputImage, TOutputImage >::Self = RGBToLuminanceImageFilter |
Standard class type aliases.
Definition at line 71 of file itkRGBToLuminanceImageFilter.h.
using itk::RGBToLuminanceImageFilter< TInputImage, TOutputImage >::Superclass = UnaryGeneratorImageFilter< TInputImage, TOutputImage > |
Definition at line 72 of file itkRGBToLuminanceImageFilter.h.
|
inlineprotected |
Definition at line 93 of file itkRGBToLuminanceImageFilter.h.
References itk::UnaryGeneratorImageFilter< TInputImage, TOutputImage >::SetFunctor().
|
overrideprotecteddefault |
|
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::UnaryGeneratorImageFilter< TInputImage, TOutputImage >.
|
virtual |
Runtime information support.
Reimplemented from itk::UnaryGeneratorImageFilter< TInputImage, TOutputImage >.
|
static |
Method for creation through the object factory.