ITK
5.2.0
Insight Toolkit
|
#include <itkLabelToRGBImageFilter.h>
Public Types | |
using | ConstPointer = SmartPointer< const Self > |
using | LabelImageType = TLabelImage |
using | LabelPixelType = typename TLabelImage::PixelType |
using | OutputImageType = TOutputImage |
using | OutputPixelType = typename TOutputImage::PixelType |
using | OutputPixelValueType = typename NumericTraits< OutputPixelType >::ValueType |
using | Pointer = SmartPointer< Self > |
using | Self = LabelToRGBImageFilter |
using | Superclass = UnaryFunctorImageFilter< TLabelImage, TOutputImage, Functor::LabelToRGBFunctor< typename TLabelImage::PixelType, typename TOutputImage::PixelType > > |
Public Types inherited from itk::UnaryFunctorImageFilter< TLabelImage, TOutputImage, Functor::LabelToRGBFunctor< TLabelImage::PixelType, TOutputImage::PixelType > > | |
using | ConstPointer = SmartPointer< const Self > |
using | FunctorType = Functor::LabelToRGBFunctor< TLabelImage::PixelType, TOutputImage::PixelType > |
using | InputImagePixelType = typename InputImageType::PixelType |
using | InputImagePointer = typename InputImageType::ConstPointer |
using | InputImageRegionType = typename InputImageType::RegionType |
using | InputImageType = TLabelImage |
using | OutputImagePixelType = typename OutputImageType::PixelType |
using | OutputImagePointer = typename OutputImageType::Pointer |
using | OutputImageRegionType = typename OutputImageType::RegionType |
using | OutputImageType = TOutputImage |
using | Pointer = SmartPointer< Self > |
using | Self = UnaryFunctorImageFilter |
using | Superclass = InPlaceImageFilter< TLabelImage, TOutputImage > |
Public Types inherited from itk::InPlaceImageFilter< TLabelImage, 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 = TLabelImage |
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< TLabelImage, TOutputImage > |
Public Types inherited from itk::ImageToImageFilter< TLabelImage, 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 = TLabelImage |
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 |
Apply a colormap to a label image.
Apply a colormap to a label image. The set of colors is a good selection of distinct colors. The user can choose to use a background value. In that case, a gray pixel with the same intensity than the background label is produced.
This code was contributed in the Insight Journal paper: "The watershed transform in ITK - discussion and new developments" by Beare R., Lehmann G. https://www.insight-journal.org/browse/publication/92
Definition at line 50 of file itkLabelToRGBImageFilter.h.
using itk::LabelToRGBImageFilter< TLabelImage, TOutputImage >::ComponentType = typename OutputPixelType::ComponentType |
Type of the color component
Definition at line 101 of file itkLabelToRGBImageFilter.h.
using itk::LabelToRGBImageFilter< TLabelImage, TOutputImage >::ConstPointer = SmartPointer<const Self> |
Definition at line 62 of file itkLabelToRGBImageFilter.h.
using itk::LabelToRGBImageFilter< TLabelImage, TOutputImage >::LabelImageType = TLabelImage |
Definition at line 70 of file itkLabelToRGBImageFilter.h.
using itk::LabelToRGBImageFilter< TLabelImage, TOutputImage >::LabelPixelType = typename TLabelImage::PixelType |
Definition at line 73 of file itkLabelToRGBImageFilter.h.
using itk::LabelToRGBImageFilter< TLabelImage, TOutputImage >::OutputImageType = TOutputImage |
Definition at line 69 of file itkLabelToRGBImageFilter.h.
using itk::LabelToRGBImageFilter< TLabelImage, TOutputImage >::OutputPixelType = typename TOutputImage::PixelType |
Definition at line 72 of file itkLabelToRGBImageFilter.h.
using itk::LabelToRGBImageFilter< TLabelImage, TOutputImage >::OutputPixelValueType = typename NumericTraits<OutputPixelType>::ValueType |
Definition at line 74 of file itkLabelToRGBImageFilter.h.
using itk::LabelToRGBImageFilter< TLabelImage, TOutputImage >::Pointer = SmartPointer<Self> |
Definition at line 61 of file itkLabelToRGBImageFilter.h.
using itk::LabelToRGBImageFilter< TLabelImage, TOutputImage >::Self = LabelToRGBImageFilter |
Standard class type aliases.
Definition at line 60 of file itkLabelToRGBImageFilter.h.
using itk::LabelToRGBImageFilter< TLabelImage, TOutputImage >::Superclass = UnaryFunctorImageFilter< TLabelImage, TOutputImage, Functor::LabelToRGBFunctor<typename TLabelImage::PixelType, typename TOutputImage::PixelType> > |
Definition at line 67 of file itkLabelToRGBImageFilter.h.
|
protected |
Type of the color component
|
overrideprotecteddefault |
Type of the color component
void itk::LabelToRGBImageFilter< TLabelImage, TOutputImage >::AddColor | ( | ComponentType | r, |
ComponentType | g, | ||
ComponentType | b | ||
) |
Add color to the LUT container
|
overrideprotectedvirtual |
Process to execute before entering the multithreaded section
Reimplemented from itk::ImageSource< TOutputImage >.
|
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::Object.
|
overrideprotectedvirtual |
Type of the color component
Reimplemented from itk::ProcessObject.
|
virtual |
Type of the color component
|
virtual |
Type of the color component
|
virtual |
Runtime information support.
Reimplemented from itk::UnaryFunctorImageFilter< TLabelImage, TOutputImage, Functor::LabelToRGBFunctor< TLabelImage::PixelType, TOutputImage::PixelType > >.
unsigned int itk::LabelToRGBImageFilter< TLabelImage, TOutputImage >::GetNumberOfColors | ( | ) | const |
Get number of colors in the LUT container
|
static |
Method for creation through the object factory.
|
overrideprotectedvirtual |
Print internal ivars
Reimplemented from itk::ImageSource< TOutputImage >.
void itk::LabelToRGBImageFilter< TLabelImage, TOutputImage >::ResetColors | ( | ) |
Empty the color LUT container
|
virtual |
Set/Get the background color in the output image
|
virtual |
Set/Get the background value
|
private |
Type of the color component
Definition at line 123 of file itkLabelToRGBImageFilter.h.
|
private |
Type of the color component
Definition at line 124 of file itkLabelToRGBImageFilter.h.