Class AlgorithmGrayScaleMorphology2D.intObject

  • Enclosing class:
    AlgorithmGrayScaleMorphology2D

    private class AlgorithmGrayScaleMorphology2D.intObject
    extends java.lang.Object
    Simple class to temporarily store the object's size, ID and seed index value. This class is used by the identifyObjects and deleteObjects methods of AlgorithmMorphology2D class.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      short id  
      int index  
      int size  
    • Constructor Summary

      Constructors 
      Constructor Description
      intObject​(int idx, short objectID, int objectSize)
      Initializes object with supplied parameters.
    • Method Summary

      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • id

        public short id
      • index

        public int index
      • size

        public int size
    • Constructor Detail

      • intObject

        public intObject​(int idx,
                         short objectID,
                         int objectSize)
        Initializes object with supplied parameters.
        Parameters:
        idx - seed index. Index is the location in the image
        objectID - the flood seed having a value >= 0.
        objectSize - the number of voxels in the object