Class AlgorithmPointArea

  • All Implemented Interfaces:
    java.awt.event.ActionListener, java.awt.event.WindowListener, java.lang.Runnable, java.util.EventListener

    public class AlgorithmPointArea
    extends AlgorithmBase
    DOCUMENT ME!
    • Field Detail

      • averageIntensities

        private float[] averageIntensities
        DOCUMENT ME!
      • doColor

        private boolean doColor
        DOCUMENT ME!
      • leftSpace

        private boolean leftSpace
        if x is an even number, use the extra space on left half (otherwise right).
      • rgbAverageIntensities

        private float[][] rgbAverageIntensities
        DOCUMENT ME!
      • threshold

        private float threshold
        DOCUMENT ME!
      • topSpace

        private boolean topSpace
        if y is an even number, use the extra space on the top half (otherwise bottom).
      • useThreshold

        private boolean useThreshold
        DOCUMENT ME!
      • xLocation

        private int xLocation
        x value of the origin.
      • xSpace

        private int xSpace
        number of pixels in x direction.
      • yLocation

        private int yLocation
        y value of the origin.
      • ySpace

        private int ySpace
        number of pixels in y direction.
    • Constructor Detail

      • AlgorithmPointArea

        public AlgorithmPointArea​(ModelImage srcImage,
                                  int xLoc,
                                  int yLoc,
                                  int xSpace,
                                  int ySpace,
                                  boolean leftSpace,
                                  boolean topSpace,
                                  boolean useThreshold,
                                  float threshold)
        Creates a new AlgorithmPointArea object.
        Parameters:
        srcImage - DOCUMENT ME!
        xLoc - DOCUMENT ME!
        yLoc - DOCUMENT ME!
        xSpace - DOCUMENT ME!
        ySpace - DOCUMENT ME!
        leftSpace - DOCUMENT ME!
        topSpace - DOCUMENT ME!
        useThreshold - DOCUMENT ME!
        threshold - DOCUMENT ME!
    • Method Detail

      • disposeLocal

        public void disposeLocal()
        DOCUMENT ME!
      • getAverageIntensities

        public float[] getAverageIntensities()
        DOCUMENT ME!
        Returns:
        DOCUMENT ME!
      • getRGBAverageIntensities

        public float[][] getRGBAverageIntensities()
        DOCUMENT ME!
        Returns:
        DOCUMENT ME!