Class MultiScaleObject

Object
MultiScaleObject

public class MultiScaleObject extends Object
An ObjectMask that exists at multiple scales.

Specifically the scales are:

  • the scale associated with the input-image.
  • the scale associated with the segmentation (usually a scaled down version of the above).
Author:
Owen Feehan
  • Constructor Details

    • MultiScaleObject

      public MultiScaleObject(Supplier<ObjectMask> inputScale, Supplier<ObjectMask> modelScale)
      Creates with a separate supplier of an ObjectMask for each respective scale.

      The suppliers will be cached internally, so are guaranteed to be called maximally one time.

      Parameters:
      inputScale - supplies an ObjectMask for the input-scale.
      modelScale - supplies an ObjectMask for the model-scale.
  • Method Details