Uses of Class
org.anchoranalysis.image.inference.segment.DualScale
Packages that use DualScale
Package
Description
Inference of machine learning models on images.
Non-beans pertaining to segmentation of images via model inference.
-
Uses of DualScale in org.anchoranalysis.image.inference
Methods in org.anchoranalysis.image.inference that return DualScaleModifier and TypeMethodDescriptionImageInferenceContext.getDimensions()
The size of the image for which we wish to segment, before and after any scaling for model inference.final DualScale
<Optional<ScaleFactor>> ImageInferenceContext.scaleFactorUpscale()
The scaling-factors needed to upscale the model output to match the desired scale.Constructors in org.anchoranalysis.image.inference with parameters of type DualScaleModifierConstructorDescriptionImageInferenceContext
(DualScale<Dimensions> dimensions, ScaleFactor scaleFactor, Optional<List<String>> classLabels, VoxelsResizer resizer, ExecutionTimeRecorder executionTimeRecorder, Logger logger) Creates a newImageInferenceContext
instance. -
Uses of DualScale in org.anchoranalysis.image.inference.segment
Methods in org.anchoranalysis.image.inference.segment that return DualScaleModifier and TypeMethodDescription<S,
U> DualScale <S> DualScale.combine
(DualScale<U> other, BiFunction<T, U, S> combineFunction) Create a derivedDualScale
by combining the respective elements of this instance with another.SegmentedBackground.getBackground()
The background image to use for segmentation, when visualizing segmentations.SegmentedObjects.getObjects()
The segmented-objects, at two different scales.<S> DualScale
<S> Create a derivedDualScale
by applying an identical mapping to each element.Methods in org.anchoranalysis.image.inference.segment with parameters of type DualScaleModifier and TypeMethodDescription<S,
U> DualScale <S> DualScale.combine
(DualScale<U> other, BiFunction<T, U, S> combineFunction) Create a derivedDualScale
by combining the respective elements of this instance with another.static <T> MultiScaleObject
MultiScaleObject.extractFrom
(DualScale<T> dual, Function<T, ObjectMask> extractObject) static <T,
S> MultiScaleObject MultiScaleObject.extractFrom
(DualScale<T> dual1, DualScale<S> dual2, BiFunction<T, S, ObjectMask> extractObject) Constructors in org.anchoranalysis.image.inference.segment with parameters of type DualScaleModifierConstructorDescriptionSegmentedBackground
(DualScale<Stack> background, StackDisplayer displayer) Creates a newSegmentedBackground
instance.