public class SplitContourAtSaddlePoints extends ObjectCollectionProviderUnary
Specifically, smoothing spline interpolation is performed along the contour and splits occur at saddle points.
Each contour is represented by an input object.
Constructor and Description |
---|
SplitContourAtSaddlePoints() |
Modifier and Type | Method and Description |
---|---|
ObjectCollection |
createFromObjects(ObjectCollection objects)
Creates a
ObjectCollection given the entity provided by the delegate. |
int |
getMinNumberPoints()
If a contour has less than this number of points, we don't split it, and return it as-is
|
int |
getNumberLoopPoints() |
double |
getSmoothingFactor() |
void |
setMinNumberPoints(int minNumberPoints)
If a contour has less than this number of points, we don't split it, and return it as-is
|
void |
setNumberLoopPoints(int numberLoopPoints) |
void |
setSmoothingFactor(double smoothingFactor) |
get, getObjects, setObjects
getInitialization, getLogger, getPropertyInitializer, initialize, initializeRecursive, initRecursiveWithInitializer, isInitialized, onInitialization
checkMisconfigured, describeBean, describeChildren, duplicateBean, fields, findFieldsOfClass, getBeanName, getLocalPath, localise, toString
public ObjectCollection createFromObjects(ObjectCollection objects) throws ProvisionFailedException
ObjectCollectionProviderUnary
ObjectCollection
given the entity provided by the delegate.createFromObjects
in class ObjectCollectionProviderUnary
objects
- the entity provided by the delegate.ObjectCollection
that is returned by the provider.ProvisionFailedException
- if the provider cannot complete successfully.public double getSmoothingFactor()
public void setSmoothingFactor(double smoothingFactor)
public int getNumberLoopPoints()
public void setNumberLoopPoints(int numberLoopPoints)
public int getMinNumberPoints()
public void setMinNumberPoints(int minNumberPoints)
Copyright © 2010–2023 Owen Feehan, ETH Zurich, University of Zurich, Hoffmann-La Roche. All rights reserved.