Class SegmentedBackground
Object
org.anchoranalysis.image.inference.segment.SegmentedBackground
public class SegmentedBackground extends Object
The background to a segmentation.
- Author:
- Owen Feehan
-
Constructor Summary
Constructors Constructor Description SegmentedBackground(DualScale<Stack> background, org.anchoranalysis.image.bean.displayer.StackDisplayer displayer) -
Method Summary
Modifier and Type Method Description StackatInputScale()The background scaled to match the size of the input-image.StackatModelScale()The background scaled to match the size of the input for model inference.DualScale<Stack>getBackground()The background image to use for segmentation, when visualizing segmentations.org.anchoranalysis.image.bean.displayer.StackDisplayergetDisplayer()How to convert the background in an image suitable to be displayed.
-
Constructor Details
-
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
public org.anchoranalysis.image.bean.displayer.StackDisplayer getDisplayer()How to convert the background in an image suitable to be displayed.
-