18 #ifndef __itkScalarToRGBColormapImageFilter_h
19 #define __itkScalarToRGBColormapImageFilter_h
76 template<
typename TInputImage,
typename TOutputImage >
126 itkSetMacro(UseInputImageExtremaForScaling,
bool);
127 itkGetConstMacro(UseInputImageExtremaForScaling,
bool);
128 itkBooleanMacro(UseInputImageExtremaForScaling);
149 if ( output->GetNumberOfComponentsPerPixel() != 3 )
151 output->SetNumberOfComponentsPerPixel( 3 );
182 #ifndef ITK_MANUAL_INSTANTIATION
183 #include "itkScalarToRGBColormapImageFilter.hxx"
TOutputImage OutputImageType
OutputImageType::Pointer OutputImagePointer
ScalarToRGBColormapImageFilter Self
SmartPointer< const Self > ConstPointer
virtual void SetColormap(ColormapType *_arg)
void operator=(const Self &)
ScalarToRGBColormapImageFilter()
Base class for all process objects that output image data.
OutputImageType::PixelType OutputImagePixelType
bool m_UseInputImageExtremaForScaling
SmartPointer< Self > Pointer
OutputImageType * GetOutput(void)
Function object which maps a scalar value into an RGB colormap value.
ImageToImageFilter< TInputImage, TOutputImage > Superclass
Implements pixel-wise intensity->rgb mapping operation on one image.
TInputImage InputImageType
OutputImageType::PixelType OutputImagePixelType
Function::ColormapFunction< InputImagePixelType, OutputImagePixelType > ColormapType
InputImageType::ConstPointer InputImagePointer
InputImageType::PixelType InputImagePixelType
InputImageType::RegionType InputImageRegionType
virtual void GenerateOutputInformation()
Base class for filters that take an image as input and produce an image as output.
void ThreadedGenerateData(const OutputImageRegionType &outputRegionForThread, ThreadIdType threadId)
Control indentation during Print() invocation.
OutputImageType::RegionType OutputImageRegionType
TOutputImage OutputImageType
virtual void GenerateOutputInformation()
virtual ~ScalarToRGBColormapImageFilter()
void PrintSelf(std::ostream &os, Indent indent) const
ColormapType::Pointer m_Colormap
unsigned int ThreadIdType
void BeforeThreadedGenerateData()