Class LabelImageToLabelMapFilter


public class LabelImageToLabelMapFilter extends ImageFilter
convert a labeled image to a label collection image LabelImageToLabelMapFilter converts a label image to a label collection image. The labels are the same in the input and the output 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: BinaryImageToLabelMapFilter , LabelMapToLabelImageFilter itk::simple::LabelImageToLabelMapFilter for the procedural interface itk::LabelImageToLabelMapFilter for the Doxygen on the original ITK class. C++ includes: sitkLabelImageToLabelMapFilter.h
  • Constructor Details

    • LabelImageToLabelMapFilter

      protected LabelImageToLabelMapFilter(long cPtr, boolean cMemoryOwn)
    • LabelImageToLabelMapFilter

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

    • getCPtr

      protected static long getCPtr(LabelImageToLabelMapFilter obj)
    • swigRelease

      protected static long swigRelease(LabelImageToLabelMapFilter obj)
    • finalize

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

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

      public void setBackgroundValue(double BackgroundValue)
      Self& itk::simple::LabelImageToLabelMapFilter::SetBackgroundValue(double BackgroundValue) Set/Get the value used as "background" in the output image. Defaults to NumericTraits<PixelType>::NonpositiveMin() .
    • getBackgroundValue

      public double getBackgroundValue()
      double itk::simple::LabelImageToLabelMapFilter::GetBackgroundValue() const Set/Get the value used as "background" in the output image. Defaults to NumericTraits<PixelType>::NonpositiveMin() .
    • getName

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

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

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