Class SuppressNonMaximum<T extends InferenceModel>

Type Parameters:
T - model-type

public class SuppressNonMaximum<T extends InferenceModel> extends SegmentStackIntoObjectsPooled<T>
Applies a segmentation procedure followed by non-maximum suppression.
Author:
Owen Feehan
  • Constructor Details

    • SuppressNonMaximum

      public SuppressNonMaximum(SegmentStackIntoObjectsPooled<T> segment)
      Creates with a particular segmentation algorithm as an input.
      Parameters:
      segment - the segmentation algorithm to use, before applying non-maximum suppression.
    • SuppressNonMaximum

      public SuppressNonMaximum()
    • SuppressNonMaximum

      public SuppressNonMaximum(SegmentStackIntoObjectsPooled<T> segment, ReduceElements<ObjectMask> reduce, boolean separateEachLabel)
      Creates a new SuppressNonMaximum instance.
      Parameters:
      segment - The segmentation algorithm that is applied as an input to non-maximum suppression.
      reduce - The algorithm for reducing the number of object-masks.
      separateEachLabel - If true, each label is reduced separately. if false, all labels are reduced together.
  • Method Details