Package | Description |
---|---|
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. |
Modifier and Type | Class and Description |
---|---|
class |
AccessObjectMaskSimple
Provides access to the simple-case of a list of
ObjectMask s. |
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.
|
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 . |
Copyright © 2010–2023 Owen Feehan, ETH Zurich, University of Zurich, Hoffmann-La Roche. All rights reserved.