public class SegmentedBackground extends Object
Constructor and Description |
---|
SegmentedBackground(DualScale<Stack> background,
StackDisplayer displayer) |
Modifier and Type | Method and Description |
---|---|
Stack |
atInputScale()
The background scaled to match the size of the input-image.
|
Stack |
atModelScale()
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.
|
StackDisplayer |
getDisplayer()
How to convert the background in an image suitable to be displayed.
|
public SegmentedBackground(DualScale<Stack> background, StackDisplayer displayer)
public Stack atInputScale()
public Stack atModelScale()
public DualScale<Stack> getBackground()
public StackDisplayer getDisplayer()
Copyright © 2010–2023 Owen Feehan, ETH Zurich, University of Zurich, Hoffmann-La Roche. All rights reserved.