Package | Description |
---|---|
org.openimaj.image.model.asm | |
org.openimaj.math.geometry.shape |
Modifier and Type | Method and Description |
---|---|
static <I extends Image<?,I> & SinglebandImageProcessor.Processable<Float,FImage,I>> |
MultiResolutionActiveShapeModel.trainModel(int numLevels,
PrincipalComponentAnalysis.ComponentSelector selector,
List<IndependentPair<PointList,I>> data,
PointDistributionModel.Constraint constraint,
LandmarkModelFactory<I> factory)
Train a new
MultiResolutionActiveShapeModel from the given
data. |
static <I extends Image<?,I>> |
ActiveShapeModel.trainModel(PrincipalComponentAnalysis.ComponentSelector selector,
List<IndependentPair<PointList,I>> data,
PointDistributionModel.Constraint constraint,
LandmarkModelFactory<I> factory)
Train a new
ActiveShapeModel using the given data and parameters. |
Modifier and Type | Class and Description |
---|---|
static class |
PointDistributionModel.BoxConstraint
A constraint that ensures that each individual element of the scaling
vector is within +/- x standard deviations of the model.
|
static class |
PointDistributionModel.EllipsoidConstraint
Constrain the scaling vector to a hyper-ellipsoid.
|
static class |
PointDistributionModel.NullConstraint
A constraint that does nothing.
|
Modifier and Type | Field and Description |
---|---|
protected PointDistributionModel.Constraint |
PointDistributionModel.constraint |
Constructor and Description |
---|
PointDistributionModel(PointDistributionModel.Constraint constraint,
List<PointList> data)
Construct a
PointDistributionModel from the given data and
PointDistributionModel.Constraint . |