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 );
174 void operator=(const Self &);
182 #ifndef ITK_MANUAL_INSTANTIATION
183 #include "itkScalarToRGBColormapImageFilter.hxx"
virtual void GenerateOutputInformation() override
TOutputImage OutputImageType
OutputImageType::Pointer OutputImagePointer
ScalarToRGBColormapImageFilter Self
SmartPointer< const Self > ConstPointer
virtual void SetColormap(ColormapType *_arg)
void ThreadedGenerateData(const OutputImageRegionType &outputRegionForThread, ThreadIdType threadId) override
ScalarToRGBColormapImageFilter()
Base class for all process objects that output image data.
OutputImageType::PixelType OutputImagePixelType
bool m_UseInputImageExtremaForScaling
SmartPointer< Self > Pointer
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
unsigned int ThreadIdType
Function::ColormapFunction< InputImagePixelType, OutputImagePixelType > ColormapType
InputImageType::ConstPointer InputImagePointer
InputImageType::PixelType InputImagePixelType
void BeforeThreadedGenerateData() override
InputImageType::RegionType InputImageRegionType
virtual void GenerateOutputInformation()
Base class for filters that take an image as input and produce an image as output.
OutputImageType * GetOutput()
Control indentation during Print() invocation.
OutputImageType::RegionType OutputImageRegionType
TOutputImage OutputImageType
virtual ~ScalarToRGBColormapImageFilter()
ColormapType::Pointer m_Colormap
void PrintSelf(std::ostream &os, Indent indent) const override