Uses of Class
org.anchoranalysis.spatial.scale.ScaleFactor
Packages that use ScaleFactor
Package
Description
Annotations that use one or more marks to describe entities in an image.
Beans to define entities or operate that consider Euclidian space.
The
Channel
core data-class and related operations
and converters.Classes to describe the size of images or components of images both in voxels and physically.
Suggestions on a size for an image.
An image with only two permissible states.
Scaling object-collections, or lists of elements with object-representations.
Scaling elements with an associated
ObjectMask
either collectively or independently.Inference of machine learning models on images.
Base classes for generators that ultimately write only a bounding-box portion of a
Stack
to the filesystem.Data-structures to store and manipulate image raster-data or voxels.
The fundamental data class that is an
ObjectMask
and related structures.Non-bean classes related to
Mark
s.Mark
s implementing conic sections.Mark
s implementing structures based on points.Implementations of
ScaleCalculator
for calculating
a scaling-factor from dimensions.Non-bean classes pertaining to determining the size of an image.
Axis-aligned bounding-boxes and related operations.
How to much to scale an entity in Cartesian space by.
-
Uses of ScaleFactor in org.anchoranalysis.annotation.mark
Methods in org.anchoranalysis.annotation.mark with parameters of type ScaleFactorModifier and TypeMethodDescriptionvoid
DualMarksAnnotation.scaleXY
(ScaleFactor scaleFactor) Scales the marks in the annotation in X and Y dimensions. -
Uses of ScaleFactor in org.anchoranalysis.image.bean.spatial
Methods in org.anchoranalysis.image.bean.spatial that return ScaleFactorModifier and TypeMethodDescriptionabstract ScaleFactor
ScaleCalculator.calculate
(Optional<Dimensions> dimensionsToBeScaled, Optional<ImageSizeSuggestion> suggestedSize) Calculates a scaling-factor for a source image/entity of particular dimensions. -
Uses of ScaleFactor in org.anchoranalysis.image.core.channel
Methods in org.anchoranalysis.image.core.channel with parameters of type ScaleFactorModifier and TypeMethodDescriptionChannel.scaleXY
(ScaleFactor scaleFactor, VoxelsResizer resizer) Resizes the dimensions of the channel, by scaling the existing size by a factor. -
Uses of ScaleFactor in org.anchoranalysis.image.core.dimensions
Methods in org.anchoranalysis.image.core.dimensions with parameters of type ScaleFactorModifier and TypeMethodDescriptionResolution.scaleXY
(ScaleFactor scaleFactor) Multiplies the X and Y components of the resolution by a factor.Dimensions.scaleXYBy
(ScaleFactor scaleFactor) Scales the X- and Y- dimensions by a scaling-factor. -
Uses of ScaleFactor in org.anchoranalysis.image.core.dimensions.size.suggestion
Methods in org.anchoranalysis.image.core.dimensions.size.suggestion that return ScaleFactorModifier and TypeMethodDescriptionImageSizeSuggestion.calculateScaleFactor
(Optional<Extent> extentToBeScaled) Calculates the scaling factor.Methods in org.anchoranalysis.image.core.dimensions.size.suggestion that return types with arguments of type ScaleFactorModifier and TypeMethodDescriptionImageSizeSuggestion.uniformScaleFactor()
AScaleFactor
, if one exists, that is applied uniformally, independent of theExtent
to be scaled. -
Uses of ScaleFactor in org.anchoranalysis.image.core.mask
Methods in org.anchoranalysis.image.core.mask with parameters of type ScaleFactorModifier and TypeMethodDescriptionMask.scaleXY
(ScaleFactor scaleFactor) Creates a newMask
whose X- and Y- dimensions are scaled byscaleFactor
. -
Uses of ScaleFactor in org.anchoranalysis.image.core.object.scale
Methods in org.anchoranalysis.image.core.object.scale with parameters of type ScaleFactorModifier and TypeMethodDescriptionstatic <T> ScaledElements
<T> Scaler.scaleElements
(List<T> elements, ScaleFactor factor, boolean overlappingObjects, Extent clipTo, AccessObjectMask<T> access) Scales every element in a list collectively, ensuring the results remain inside a particular region.static ScaledElements
<ObjectMask> Scaler.scaleObjects
(ObjectCollection objects, ScaleFactor factor) Scales every object-mask in a collection collectively.static ScaledElements
<ObjectMask> Scaler.scaleObjects
(ObjectCollection objects, ScaleFactor factor, boolean overlappingObjects, Optional<UnaryOperator<ObjectMask>> preOperation, Optional<UnaryOperator<ObjectMask>> postOperation) Scales every object-mask in a collection collectively (if not overlappjng), allowing for additional manipulation before and after scaling.static ScaledElements
<ObjectMask> Scaler.scaleObjects
(ObjectCollection objects, ScaleFactor factor, boolean overlappingObjects, Extent clipTo) Scales every object-mask in a collection collectively, ensuring the results remain inside a particular region.Constructors in org.anchoranalysis.image.core.object.scale with parameters of type ScaleFactorModifierConstructorDescriptionScaledElements
(List<T> elements, ScaleFactor scaleFactor, ObjectScalingMethod scalingMethod, Optional<UnaryOperator<T>> preOperation, Optional<UnaryOperator<T>> postOperation, AccessObjectMask<T> access) Creates elements to be scaled. -
Uses of ScaleFactor in org.anchoranalysis.image.core.object.scale.method
Methods in org.anchoranalysis.image.core.object.scale.method with parameters of type ScaleFactorModifier and TypeMethodDescription<T> Map
<T, T> ObjectScalingMethod.scaleElements
(List<T> elements, ScaleFactor scaleFactor, Optional<UnaryOperator<T>> preOperation, Optional<UnaryOperator<T>> postOperation, AccessObjectMask<T> access) Applies a scaling factor to elements, where each element is associated with a uniqueObjectMask
.default <T> Map
<T, T> ObjectScalingMethod.scaleElements
(List<T> elements, ScaleFactor scaleFactor, AccessObjectMask<T> access) Applies a scaling factor to elements, where each element is associated with a uniqueObjectMask
. -
Uses of ScaleFactor in org.anchoranalysis.image.inference
Methods in org.anchoranalysis.image.inference that return ScaleFactorModifier and TypeMethodDescriptionImageInferenceContext.getScaleFactor()
The inverse of the scaling-factor applied to reduceunscaledDimensions
to the input-matrix used for inference.Methods in org.anchoranalysis.image.inference that return types with arguments of type ScaleFactorModifier and TypeMethodDescriptionfinal 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 ScaleFactorModifierConstructorDescriptionImageInferenceContext
(DualScale<Dimensions> dimensions, ScaleFactor scaleFactor, Optional<List<String>> classLabels, VoxelsResizer resizer, ExecutionTimeRecorder executionTimeRecorder, Logger logger) Creates a newImageInferenceContext
instance. -
Uses of ScaleFactor in org.anchoranalysis.image.io.stack.output.box
Methods in org.anchoranalysis.image.io.stack.output.box with parameters of type ScaleFactorModifier and TypeMethodDescriptionstatic ScaleableBackground
ScaleableBackground.scaleBy
(DisplayStack stack, ScaleFactor scaleFactor, VoxelsResizer resizer) Creates a background from a stack with scaling. -
Uses of ScaleFactor in org.anchoranalysis.image.voxel
Methods in org.anchoranalysis.image.voxel with parameters of type ScaleFactorModifier and TypeMethodDescriptionBoundedVoxels.scale
(ScaleFactor scaleFactor, VoxelsResizer resizer, Optional<Extent> clipTo) Creates a scaled-version (in XY dimensions only) of the current bounding-box. -
Uses of ScaleFactor in org.anchoranalysis.image.voxel.object
Methods in org.anchoranalysis.image.voxel.object with parameters of type ScaleFactorModifier and TypeMethodDescriptionObjectMask.scale
(ScaleFactor factor) Produces a scaled-version of an object-mask.ObjectMask.scale
(ScaleFactor factor, Optional<Extent> clipTo) Produces a scaled-version of an object-mask. -
Uses of ScaleFactor in org.anchoranalysis.mpp.mark
Methods in org.anchoranalysis.mpp.mark with parameters of type ScaleFactorModifier and TypeMethodDescriptionabstract void
Mark.scale
(ScaleFactor scaleFactor) Scales the mark in X and Y dimensions.void
MarkWithPosition.scale
(ScaleFactor scaleFactor) void
MarkCollection.scaleXY
(ScaleFactor scaleFactor) Scales all marks in the collection in X and Y dimensions.Constructor parameters in org.anchoranalysis.mpp.mark with type arguments of type ScaleFactorModifierConstructorDescriptionMarkToObjectConverter
(Optional<ScaleFactor> scaleFactor, Dimensions dimensions) Create for particularDimensions
with a scaling-factor.MarkToObjectConverter
(Optional<ScaleFactor> scaleFactor, Dimensions dimensions, RegionMembershipWithFlags regionMembership, BinaryValuesByte binaryValuesOut) Creates a newMarkToObjectConverter
instance. -
Uses of ScaleFactor in org.anchoranalysis.mpp.mark.conic
Methods in org.anchoranalysis.mpp.mark.conic with parameters of type ScaleFactorModifier and TypeMethodDescriptionvoid
Ellipse.scale
(ScaleFactor scaleFactor) void
Ellipsoid.scale
(ScaleFactor scaleFactor) void
MarkWithPositionAndSingleRadius.scale
(ScaleFactor scaleFactor) Objects are scaled in pre-rotated position. -
Uses of ScaleFactor in org.anchoranalysis.mpp.mark.points
Methods in org.anchoranalysis.mpp.mark.points with parameters of type ScaleFactorModifier and TypeMethodDescriptionvoid
LineSegment.scale
(ScaleFactor scaleFactor) void
PointList.scale
(ScaleFactor scaleFactor) Scales the points in the list by a given scale factor.void
Polygon.scale
(ScaleFactor scaleFactor) void
PolygonCurve.scale
(ScaleFactor scaleFactor) void
RotatableBoundingBox.scale
(ScaleFactor scaleFactor) -
Uses of ScaleFactor in org.anchoranalysis.plugin.image.bean.scale
Methods in org.anchoranalysis.plugin.image.bean.scale that return ScaleFactorModifier and TypeMethodDescriptionConstantScaleFactor.calculate
(Optional<Dimensions> dimensionsToBeScaled, Optional<ImageSizeSuggestion> suggestedSize) FitTo.calculate
(Optional<Dimensions> dimensionsToBeScaled, Optional<ImageSizeSuggestion> suggestedSize) Invert.calculate
(Optional<Dimensions> dimensionsToBeScaled, Optional<ImageSizeSuggestion> suggestedSize) MinimumXYResolution.calculate
(Optional<Dimensions> dimensionsToBeScaled, Optional<ImageSizeSuggestion> suggestedSize) ToDimensions.calculate
(Optional<Dimensions> dimensionsToBeScaled, Optional<ImageSizeSuggestion> suggestedSize) ToSuggested.calculate
(Optional<Dimensions> dimensionsToBeScaled, Optional<ImageSizeSuggestion> suggestedSize) -
Uses of ScaleFactor in org.anchoranalysis.plugin.image.task.size
Methods in org.anchoranalysis.plugin.image.task.size with parameters of type ScaleFactorModifier and TypeMethodDescriptionSizeMapping.scaleXYBy
(ScaleFactor scaleFactor) Scales the XY dimensions the factor. -
Uses of ScaleFactor in org.anchoranalysis.spatial.box
Methods in org.anchoranalysis.spatial.box with parameters of type ScaleFactorModifier and TypeMethodDescriptionBoundingBox.scale
(ScaleFactor scaleFactor) Scales the bounding-box, both the corner-point and the extent.BoundingBox.scale
(ScaleFactor scaleFactor, Extent extentToAssign) Scales the bounding-box corner-point, and assigns a new extent.BoundingBox.scaleClampTo
(ScaleFactor scaleFactor, Extent clampTo) Scales the bounding-box, both the corner-point and the extent - ensuring it remains inside a containing-extent.Extent.scaleXYBy
(ScaleFactor scaleFactor, boolean round) Scales the X- and Y- dimensions by a scaling-factor. -
Uses of ScaleFactor in org.anchoranalysis.spatial.scale
Methods in org.anchoranalysis.spatial.scale that return ScaleFactorModifier and TypeMethodDescriptionScaleFactorInt.asScaleFactor()
Converts to aScaleFactor
that accepts floating-point values.ScaleFactor.invert()
Build a new scale factor where each dimension is set to the reciprocal of its current value.static ScaleFactor
RelativeScaleCalculator.relativeScale
(Extent source, Extent target) Calculates a scaling factor so as to scalesource
totarget
.static ScaleFactor
RelativeScaleCalculator.relativeScale
(Extent source, Extent target, boolean preserveAspectRatio) static ScaleFactor
RelativeScaleCalculator.relativeScalePreserveAspectRatio
(Extent source, Extent target) Calculates a scaling factor so as to maximally scalesource
totarget
- while preserving the aspect ratio.Methods in org.anchoranalysis.spatial.scale with parameters of type ScaleFactorModifier and TypeMethodDescriptionstatic Point3i
Scaler.scale
(ScaleFactor scalingFactor, Point3i point) Scales a point in XY by multiplying each dimension by its corresponding scaling-factor.static Point3i
Scaler.scaleCeil
(ScaleFactor scalingFactor, Point3i point) Scales a point in XY by multiplying each dimension by its corresponding scaling-factor.