18 #ifndef itkScalarToRGBColormapImageFilter_h
19 #define itkScalarToRGBColormapImageFilter_h
76 template<
typename TInputImage,
typename TOutputImage >
114 typedef enum { Red, Green, Blue, Grey, Hot, Cool, Spring,
Summer,
115 Autumn,
Winter, Copper, Jet, HSV, OverUnder } ColormapEnumType;
117 void SetColormap(ColormapEnumType);
122 itkSetMacro(UseInputImageExtremaForScaling,
bool);
123 itkGetConstMacro(UseInputImageExtremaForScaling,
bool);
124 itkBooleanMacro(UseInputImageExtremaForScaling);
131 void PrintSelf(std::ostream & os,
Indent indent)
const override;
137 Superclass::GenerateOutputInformation();
145 if ( output->GetNumberOfComponentsPerPixel() != 3 )
147 output->SetNumberOfComponentsPerPixel( 3 );
163 void DynamicThreadedGenerateData(
const OutputImageRegionType & outputRegionForThread)
override;
166 void BeforeThreadedGenerateData()
override;
176 #ifndef ITK_MANUAL_INSTANTIATION
177 #include "itkScalarToRGBColormapImageFilter.hxx"
typename OutputImageType::Pointer OutputImagePointer
The base class for all process objects (source, filters, mappers) in the Insight data processing pipe...
Base class for all process objects that output image data.
TInputImage InputImageType
bool m_UseInputImageExtremaForScaling
typename OutputImageType::PixelType OutputImagePixelType
Function object which maps a scalar value into an RGB colormap value.
typename InputImageType::PixelType InputImagePixelType
Implements pixel-wise intensity->rgb mapping operation on one image.
typename InputImageType::Pointer InputImagePointer
typename OutputImageType::RegionType OutputImageRegionType
TOutputImage OutputImageType
typename InputImageType::RegionType InputImageRegionType
void GenerateOutputInformation() override
Base class for filters that take an image as input and produce an image as output.
Control indentation during Print() invocation.
ImageBaseType::RegionType RegionType
ColormapType::Pointer m_Colormap