Class AlgorithmPointArea

java.lang.Object
java.lang.Thread
gov.nih.mipav.model.algorithms.AlgorithmBase
gov.nih.mipav.model.algorithms.AlgorithmPointArea
All Implemented Interfaces:
ActionListener, WindowListener, Runnable, EventListener

public class AlgorithmPointArea extends AlgorithmBase
DOCUMENT ME!
  • Field Details

    • averageIntensities

      private float[] averageIntensities
      DOCUMENT ME!
    • doColor

      private boolean doColor
      DOCUMENT ME!
    • image

      private ModelImage image
      source image.
    • 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 Details

    • 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 Details

    • disposeLocal

      public void disposeLocal()
      DOCUMENT ME!
    • getAverageIntensities

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

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

      public void runAlgorithm()
      DOCUMENT ME!
      Specified by:
      runAlgorithm in class AlgorithmBase