Class SegmentedBackground
Object
SegmentedBackground
The background to a segmentation.
- Author:
- Owen Feehan
-
Constructor Summary
ConstructorsConstructorDescriptionSegmentedBackground
(DualScale<Stack> background, StackDisplayer displayer) Creates a newSegmentedBackground
instance. -
Method Summary
Modifier and TypeMethodDescriptionThe background scaled to match the size of the input-image.The background scaled to match the size of the input for model inference.The background image to use for segmentation, when visualizing segmentations.How to convert the background in an image suitable to be displayed.
-
Constructor Details
-
SegmentedBackground
Creates a newSegmentedBackground
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
The background scaled to match the size of the input-image.- Returns:
- the element, at the requested scale.
-
atModelScale
The background scaled to match the size of the input for model inference.- Returns:
- the element, at the requested scale.
-
getBackground
The background image to use for segmentation, when visualizing segmentations. -
getDisplayer
How to convert the background in an image suitable to be displayed.
-