Package gpl.contour

Class ContourFinder

java.lang.Object
gpl.contour.ContourFinder

public class ContourFinder extends Object
  • Constructor Details

  • Method Details

    • findContours

      public ArrayList<GPLContour> findContours(DetectedPeak newPeak)
      Find a contour, or multiple contours, in a detected peak. Unless there is a fundamental prob with the input data from the peak, this will always return a list even if it's empty. This is needed in case we're storing null contours.
      Parameters:
      newPeak - Peak, contains all information including lists whitened data and original FFT data.
      Returns:
      list of contours (regions rising above threshold)
    • mergeContours

      public ArrayList<GPLContour> mergeContours(ArrayList<GPLContour> contours, ContourMerge contourMerge)
      Optionally merge or discard contours depending on merge option. Note that the contours have already been sorted into size order. If returning many, might be worth resorting back into time order.
      Parameters:
      contours -
      contourMerge -
      Returns: