Package | Description |
---|---|
org.anchoranalysis.annotation.mark |
Annotations that use one or more marks to describe entities in an image.
|
org.anchoranalysis.image.bean.spatial |
Beans to define entities or operate that consider Euclidian space.
|
org.anchoranalysis.image.core.channel |
The
Channel core data-class and related operations
and converters. |
org.anchoranalysis.image.core.dimensions |
Classes to describe the size of images or components of images both in voxels and physically.
|
org.anchoranalysis.image.core.dimensions.size.suggestion |
Suggestions on a size for an image.
|
org.anchoranalysis.image.core.mask |
An image with only two permissible states.
|
org.anchoranalysis.image.core.object.scale |
Scaling object-collections, or lists of elements with object-representations.
|
org.anchoranalysis.image.core.object.scale.method |
Scaling elements with an associated
ObjectMask
either collectively or independently. |
org.anchoranalysis.image.inference |
Inference of machine learning models on images.
|
org.anchoranalysis.image.io.stack.output.box |
Base classes for generators that ultimately write only a bounding-box portion of a
Stack to the filesystem. |
org.anchoranalysis.image.voxel |
Data-structures to store and manipulate image raster-data or voxels.
|
org.anchoranalysis.image.voxel.object |
The fundamental data class that is an
ObjectMask
and related structures. |
org.anchoranalysis.mpp.mark |
Non-bean classes related to
Mark s. |
org.anchoranalysis.mpp.mark.conic |
Mark s implementing conic sections. |
org.anchoranalysis.mpp.mark.points |
Mark s implementing structures based on points. |
org.anchoranalysis.plugin.image.bean.scale |
Implementations of
ScaleCalculator for calculating
a scaling-factor from dimensions. |
org.anchoranalysis.plugin.image.task.size |
Non-bean classes pertaining to determining the size of an image.
|
org.anchoranalysis.spatial.box |
Axis-aligned bounding-boxes and related operations.
|
org.anchoranalysis.spatial.scale |
How to much to scale an entity in Cartesian space by.
|
Modifier and Type | Method and Description |
---|---|
void |
DualMarksAnnotation.scaleXY(ScaleFactor scaleFactor)
Scales the marks in the annotation in X and Y dimensions.
|
Modifier and Type | Method and Description |
---|---|
abstract ScaleFactor |
ScaleCalculator.calculate(Optional<Dimensions> dimensionsToBeScaled,
Optional<ImageSizeSuggestion> suggestedSize)
Calculates a scaling-factor for a source image/entity of particular dimensions.
|
Modifier and Type | Method and Description |
---|---|
Channel |
Channel.scaleXY(ScaleFactor scaleFactor,
VoxelsResizer resizer)
Resizes the dimensions of the channel, by scaling the existing size by a factor.
|
Modifier and Type | Method and Description |
---|---|
Resolution |
Resolution.scaleXY(ScaleFactor scaleFactor)
Multiplies the X and Y components of the resolution by a factor.
|
Dimensions |
Dimensions.scaleXYBy(ScaleFactor scaleFactor)
Scales the X- and Y- dimensions by a scaling-factor.
|
Modifier and Type | Method and Description |
---|---|
ScaleFactor |
ImageSizeSuggestion.calculateScaleFactor(Optional<Extent> extentToBeScaled)
Calculates the scaling factor.
|
Modifier and Type | Method and Description |
---|---|
Optional<ScaleFactor> |
ImageSizeSuggestion.uniformScaleFactor()
A
ScaleFactor , if one exists, that is applied uniformally, independent of the
Extent to be scaled. |
Modifier and Type | Method and Description |
---|---|
Mask |
Mask.scaleXY(ScaleFactor scaleFactor)
Creates a new
Mask whose X- and Y- dimensions are scaled by scaleFactor . |
Modifier and Type | Method and Description |
---|---|
static <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,
Extent clipTo)
Scales every object-mask in a collection collectively, ensuring the results remain
inside a particular region.
|
static ScaledElements<ObjectMask> |
Scaler.scaleObjects(ObjectCollection objects,
ScaleFactor factor,
boolean overlappingObjects,
Optional<java.util.function.UnaryOperator<ObjectMask>> preOperation,
Optional<java.util.function.UnaryOperator<ObjectMask>> postOperation)
Scales every object-mask in a collection collectively (if not overlappjng), allowing
for additional manipulation before and after scaling.
|
Constructor and Description |
---|
ScaledElements(List<T> elements,
ScaleFactor scaleFactor,
ObjectScalingMethod scalingMethod,
Optional<java.util.function.UnaryOperator<T>> preOperation,
Optional<java.util.function.UnaryOperator<T>> postOperation,
AccessObjectMask<T> access)
Creates elements to be scaled.
|
Modifier and Type | Method and Description |
---|---|
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 unique
ObjectMask . |
<T> Map<T,T> |
ObjectScalingMethod.scaleElements(List<T> elements,
ScaleFactor scaleFactor,
Optional<java.util.function.UnaryOperator<T>> preOperation,
Optional<java.util.function.UnaryOperator<T>> postOperation,
AccessObjectMask<T> access)
Applies a scaling factor to elements, where each element is associated with a unique
ObjectMask . |
Modifier and Type | Method and Description |
---|---|
ScaleFactor |
ImageInferenceContext.getScaleFactor()
The inverse of the scaling-factor applied to reduce
unscaledDimensions to the
input-matrix used for inference. |
Modifier and Type | Method and Description |
---|---|
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 |
---|---|
static ScaleableBackground |
ScaleableBackground.scaleBy(DisplayStack stack,
ScaleFactor scaleFactor,
VoxelsResizer resizer)
Creates a background from a stack with scaling.
|
Modifier and Type | Method and Description |
---|---|
BoundedVoxels<T> |
BoundedVoxels.scale(ScaleFactor scaleFactor,
VoxelsResizer resizer,
Optional<Extent> clipTo)
Creates a scaled-version (in XY dimensions only) of the current bounding-box.
|
Modifier and Type | Method and Description |
---|---|
ObjectMask |
ObjectMask.scale(ScaleFactor factor)
Produces a scaled-version of an object-mask.
|
ObjectMask |
ObjectMask.scale(ScaleFactor factor,
Optional<Extent> clipTo)
Produces a scaled-version of an object-mask.
|
Modifier and Type | Method and Description |
---|---|
abstract void |
Mark.scale(ScaleFactor scaleFactor)
Scales the mark in X and Y dimensions.
|
void |
MarkWithPosition.scale(ScaleFactor scaleFactor) |
void |
MarkCollection.scaleXY(ScaleFactor scaleFactor)
Scales the mark in X and Y dimensions.
|
Constructor and Description |
---|
MarkToObjectConverter(Optional<ScaleFactor> scaleFactor,
Dimensions dimensions)
Create for particular
Dimensions with a scaling-factor. |
MarkToObjectConverter(Optional<ScaleFactor> scaleFactor,
Dimensions dimensions,
RegionMembershipWithFlags regionMembership,
BinaryValuesByte binaryValuesOut) |
Modifier and Type | Method and Description |
---|---|
void |
MarkWithPositionAndSingleRadius.scale(ScaleFactor scaleFactor)
Objects are scaled in pre-rotated position.
|
void |
Ellipsoid.scale(ScaleFactor scaleFactor) |
void |
Ellipse.scale(ScaleFactor scaleFactor) |
Modifier and Type | Method and Description |
---|---|
void |
PointList.scale(ScaleFactor scaleFactor) |
void |
RotatableBoundingBox.scale(ScaleFactor scaleFactor) |
void |
PolygonCurve.scale(ScaleFactor scaleFactor) |
void |
Polygon.scale(ScaleFactor scaleFactor) |
void |
LineSegment.scale(ScaleFactor scaleFactor) |
Modifier and Type | Method and Description |
---|---|
ScaleFactor |
FitTo.calculate(Optional<Dimensions> dimensionsToBeScaled,
Optional<ImageSizeSuggestion> suggestedSize) |
ScaleFactor |
ToDimensions.calculate(Optional<Dimensions> dimensionsToBeScaled,
Optional<ImageSizeSuggestion> suggestedSize) |
ScaleFactor |
ConstantScaleFactor.calculate(Optional<Dimensions> dimensionsToBeScaled,
Optional<ImageSizeSuggestion> suggestedSize) |
ScaleFactor |
ToSuggested.calculate(Optional<Dimensions> dimensionsToBeScaled,
Optional<ImageSizeSuggestion> suggestedSize) |
ScaleFactor |
Invert.calculate(Optional<Dimensions> dimensionsToBeScaled,
Optional<ImageSizeSuggestion> suggestedSize) |
ScaleFactor |
MinimumXYResolution.calculate(Optional<Dimensions> dimensionsToBeScaled,
Optional<ImageSizeSuggestion> suggestedSize) |
Modifier and Type | Method and Description |
---|---|
SizeMapping |
SizeMapping.scaleXYBy(ScaleFactor scaleFactor)
Scales the XY dimensions the factor.
|
Modifier and Type | Method and Description |
---|---|
BoundingBox |
BoundingBox.scale(ScaleFactor scaleFactor)
Scales the bounding-box, both the corner-point and the extent.
|
BoundingBox |
BoundingBox.scale(ScaleFactor scaleFactor,
Extent extentToAssign)
Scales the bounding-box corner-point, and assigns a new extent.
|
BoundingBox |
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 |
Extent.scaleXYBy(ScaleFactor scaleFactor,
boolean round)
Scales the X- and Y- dimensions by a scaling-factor.
|
Modifier and Type | Method and Description |
---|---|
ScaleFactor |
ScaleFactorInt.asScaleFactor()
Converts to a
ScaleFactor that accepts floating-point values. |
ScaleFactor |
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 scale
source to target . |
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 scale
source to target -
while preserving the aspect ratio. |
Modifier and Type | Method and Description |
---|---|
static 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.
|
Copyright © 2010–2023 Owen Feehan, ETH Zurich, University of Zurich, Hoffmann-La Roche. All rights reserved.