18 #ifndef itkScalarToRGBColormapImageFilter_h
19 #define itkScalarToRGBColormapImageFilter_h
76 template<
typename TInputImage,
typename TOutputImage >
112 typedef enum { Red, Green, Blue, Grey, Hot, Cool, Spring,
Summer,
113 Autumn,
Winter, Copper, Jet, HSV, OverUnder } ColormapEnumType;
115 void SetColormap(ColormapEnumType);
120 itkSetMacro(UseInputImageExtremaForScaling,
bool);
121 itkGetConstMacro(UseInputImageExtremaForScaling,
bool);
122 itkBooleanMacro(UseInputImageExtremaForScaling);
129 void PrintSelf(std::ostream & os,
Indent indent)
const ITK_OVERRIDE;
135 Superclass::GenerateOutputInformation();
143 if ( output->GetNumberOfComponentsPerPixel() != 3 )
145 output->SetNumberOfComponentsPerPixel( 3 );
161 void ThreadedGenerateData(
const OutputImageRegionType & outputRegionForThread,
165 void BeforeThreadedGenerateData() ITK_OVERRIDE;
173 bool m_UseInputImageExtremaForScaling;
177 #ifndef ITK_MANUAL_INSTANTIATION
178 #include "itkScalarToRGBColormapImageFilter.hxx"
virtual void GenerateOutputInformation() override
TOutputImage OutputImageType
OutputImageType::Pointer OutputImagePointer
ScalarToRGBColormapImageFilter Self
SmartPointer< const Self > ConstPointer
virtual ~ScalarToRGBColormapImageFilter() override
Base class for all process objects that output image data.
OutputImageType::PixelType OutputImagePixelType
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
InputImageType::PixelType InputImagePixelType
InputImageType::RegionType InputImageRegionType
Base class for filters that take an image as input and produce an image as output.
Control indentation during Print() invocation.
OutputImageType::RegionType OutputImageRegionType
TOutputImage OutputImageType