Class SegmentedBackground

Object
SegmentedBackground

public class SegmentedBackground extends Object
The background to a segmentation.
Author:
Owen Feehan
  • Constructor Details

    • SegmentedBackground

      public SegmentedBackground(DualScale<Stack> background, StackDisplayer displayer)
      Creates a new SegmentedBackground instance.
      Parameters:
      background - The background image to use for segmentation, when visualizing segmentations.
      displayer - How to convert the background in an image suitable to be displayed.
  • Method Details

    • atInputScale

      public Stack atInputScale()
      The background scaled to match the size of the input-image.
      Returns:
      the element, at the requested scale.
    • atModelScale

      public Stack atModelScale()
      The background scaled to match the size of the input for model inference.
      Returns:
      the element, at the requested scale.
    • getBackground

      public DualScale<Stack> getBackground()
      The background image to use for segmentation, when visualizing segmentations.
    • getDisplayer

      public StackDisplayer getDisplayer()
      How to convert the background in an image suitable to be displayed.