Package | Description |
---|---|
org.anchoranalysis.image.core.object.scale |
Scaling object-collections, or lists of elements with object-representations.
|
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.
|
Copyright © 2010–2023 Owen Feehan, ETH Zurich, University of Zurich, Hoffmann-La Roche. All rights reserved.