Class RelativeThresholdDetector

java.lang.Object
tritechgemini.detect.RelativeThresholdDetector
All Implemented Interfaces:
RegionDetector

public class RelativeThresholdDetector extends Object implements RegionDetector
Start of some other detector ideas, but they ain't going to work very well.
Author:
Doug Gillespie
  • Constructor Details

    • RelativeThresholdDetector

      public RelativeThresholdDetector()
  • Method Details

    • setMinObjectSize

      public void setMinObjectSize(double minObjectSize)
      Specified by:
      setMinObjectSize in interface RegionDetector
      Parameters:
      minObjectSize - the minObjectSize to set
    • setMaxObjectSize

      public void setMaxObjectSize(double maxObjectSize)
      Specified by:
      setMaxObjectSize in interface RegionDetector
      Parameters:
      maxObjectSize - the maxObjectSize to set
    • detectRegions

      public ArrayList<DetectedRegion> detectRegions(SonarImageRecordI rawGeminiRecord, SonarImageRecordI denoisedRecord, int thHigh, int thLow, int nConnect)
      Description copied from interface: RegionDetector
      Search for regions using the raw data within the record
      Specified by:
      detectRegions in interface RegionDetector
      Parameters:
      rawGeminiRecord - Raw data record
      denoisedRecord - Data with background removed.
      thHigh - higher threshold
      thLow - lower threshold
      Returns: