Package | Description |
---|---|
org.anchoranalysis.image.inference |
Inference of machine learning models on images.
|
org.anchoranalysis.image.inference.segment |
Non-beans pertaining to segmentation of images via model inference.
|
Modifier and Type | Method and Description |
---|---|
DualScale<Dimensions> |
ImageInferenceContext.getDimensions()
The size of the image for which we wish to segment, before and after any scaling for model
inference.
|
DualScale<Optional<ScaleFactor>> |
ImageInferenceContext.scaleFactorUpscale()
The scaling-factors needed to upscale the model output to match the desired scale.
|
Constructor and Description |
---|
ImageInferenceContext(DualScale<Dimensions> dimensions,
ScaleFactor scaleFactor,
Optional<List<String>> classLabels,
VoxelsResizer resizer,
ExecutionTimeRecorder executionTimeRecorder,
Logger logger) |
Modifier and Type | Method and Description |
---|---|
<S,U> DualScale<S> |
DualScale.combine(DualScale<U> other,
java.util.function.BiFunction<T,U,S> combineFunction)
Create a derived
DualScale by combining the respective elements of this instance with
another. |
DualScale<Stack> |
SegmentedBackground.getBackground()
The background image to use for segmentation, when visualizing segmentations.
|
DualScale<SegmentedObjectsAtScale> |
SegmentedObjects.getObjects()
The segmented-objects, at two different scales.
|
<S> DualScale<S> |
DualScale.map(java.util.function.Function<T,S> mappingFunction)
Create a derived
DualScale by applying an identical mapping to each element. |
Modifier and Type | Method and Description |
---|---|
<S,U> DualScale<S> |
DualScale.combine(DualScale<U> other,
java.util.function.BiFunction<T,U,S> combineFunction)
Create a derived
DualScale by combining the respective elements of this instance with
another. |
static <T,S> MultiScaleObject |
MultiScaleObject.extractFrom(DualScale<T> dual1,
DualScale<S> dual2,
java.util.function.BiFunction<T,S,ObjectMask> extractObject)
|
static <T,S> MultiScaleObject |
MultiScaleObject.extractFrom(DualScale<T> dual1,
DualScale<S> dual2,
java.util.function.BiFunction<T,S,ObjectMask> extractObject)
|
static <T> MultiScaleObject |
MultiScaleObject.extractFrom(DualScale<T> dual,
java.util.function.Function<T,ObjectMask> extractObject)
|
Constructor and Description |
---|
SegmentedBackground(DualScale<Stack> background,
StackDisplayer displayer) |
Copyright © 2010–2023 Owen Feehan, ETH Zurich, University of Zurich, Hoffmann-La Roche. All rights reserved.