Class LabelMapToRGBImageFilter


public class LabelMapToRGBImageFilter extends ImageFilter
Convert a LabelMap to a colored image. Gaetan Lehmann. Biologie du Developpement et de la Reproduction, INRA de Jouy-en-Josas, France. This implementation was taken from the Insight Journal paper: https://www.insight-journal.org/browse/publication/176 See: LabelToRGBImageFilter , LabelToRGBFunctor LabelMapOverlayImageFilter , LabelMapToBinaryImageFilter , LabelMapMaskImageFilter itk::simple::LabelMapToRGB for the procedural interface itk::LabelMapToRGBImageFilter for the Doxygen on the original ITK class. C++ includes: sitkLabelMapToRGBImageFilter.h
  • Constructor Details

    • LabelMapToRGBImageFilter

      protected LabelMapToRGBImageFilter(long cPtr, boolean cMemoryOwn)
    • LabelMapToRGBImageFilter

      public LabelMapToRGBImageFilter()
      itk::simple::LabelMapToRGBImageFilter::LabelMapToRGBImageFilter() Default Constructor that takes no arguments and initializes default parameters
  • Method Details

    • getCPtr

      protected static long getCPtr(LabelMapToRGBImageFilter obj)
    • swigRelease

      protected static long swigRelease(LabelMapToRGBImageFilter obj)
    • finalize

      protected void finalize()
      Overrides:
      finalize in class ImageFilter
    • delete

      public void delete()
      virtual itk::simple::LabelMapToRGBImageFilter::~LabelMapToRGBImageFilter() Destructor
      Overrides:
      delete in class ImageFilter
    • setColormap

      public void setColormap(VectorUInt8 Colormap)
      Self& itk::simple::LabelMapToRGBImageFilter::SetColormap(std::vector< uint8_t > Colormap)
    • getColormap

      public VectorUInt8 getColormap()
      std::vector<uint8_t> itk::simple::LabelMapToRGBImageFilter::GetColormap() const
    • getName

      public String getName()
      std::string itk::simple::LabelMapToRGBImageFilter::GetName() const Name of this class
      Overrides:
      getName in class ProcessObject
    • toString

      public String toString()
      std::string itk::simple::LabelMapToRGBImageFilter::ToString() const Print ourselves out
      Overrides:
      toString in class ProcessObject
    • execute

      public Image execute(Image image1)
      Image itk::simple::LabelMapToRGBImageFilter::Execute(const Image &image1) Execute the filter on the input image