Class DelphinIDTransform

java.lang.Object
rawDeepLearningClassifier.dlClassification.delphinID.DelphinIDTransform

public class DelphinIDTransform extends Object
Handles transforming whistles or clicks into whichever transform is required by delphinID.
  • Field Details

    • WHISTLE_IMAGE

      public static final int WHISTLE_IMAGE
      Convert whistles to image.
      See Also:
    • WHISTLE_SPECTRUM

      public static final int WHISTLE_SPECTRUM
      Convert whistles to a spectrum.
      See Also:
    • CLICK_IMAGE

      public static final int CLICK_IMAGE
      Convert click group to spectrum
      See Also:
    • CLICK_SPECTRUM

      public static final int CLICK_SPECTRUM
      Convert click group to image.
      See Also:
    • delphinIDTransformType

      public int delphinIDTransformType
      The type of whistle transforms.
    • transformParams

      public Object transformParams
      Parameters for the whistle transform..
  • Constructor Details

    • DelphinIDTransform

      public DelphinIDTransform()
  • Method Details

    • setJSONData

      public boolean setJSONData(org.json.JSONObject jsonObject)
      Set the JSON data.
      Parameters:
      jsonObject - - the json object
      Returns:
      true if JSON was read successfully.
    • setGroupDetectionData

      public void setGroupDetectionData(SegmenterDetectionGroup whistleGroups, org.jamdev.jdl4pam.transforms.DLTransform dlTransform)
      Set the whsitle data.
      Parameters:
      whistleGroups -
      dlTransform -
    • getTransformParams

      public Object getTransformParams()
      Get the transform parameters.
      Returns:
    • getDataType

      public DelphinIDParams.DelphinIDDataType getDataType()