I - Concrete type of Image@Reference(author={"Cootes, T. F.","Taylor, C. J."},title="Statistical Models of Appearance for Computer Vision",type=Unpublished,month="October",year="2001",url="http://isbe.man.ac.uk/~bim/Models/app_model.ps.gz") @Reference(type=Inproceedings,author={"Cootes, T F","Taylor, C J","Lanitis, A"},title="Active shape models: Evaluation of a multi-resolution method for improving image search",year="1994",booktitle="Proc British Machine Vision Conference",pages={"327","","336"},url="http://citeseerx.ist.psu.edu/viewdoc/download?doi=10.1.1.141.4937&rep=rep1&type=pdf",editor="Hancock, E",publisher="BMVA Press",volume="1") public class MultiResolutionActiveShapeModel<I extends Image<?,I> & SinglebandImageProcessor.Processable<Float,FImage,I>> extends Object
| Constructor and Description |
|---|
MultiResolutionActiveShapeModel(ActiveShapeModel<I>[] asms)
Construct a
MultiResolutionActiveShapeModel from the
stack of provided ActiveShapeModels. |
| Modifier and Type | Method and Description |
|---|---|
ActiveShapeModel.IterationResult |
fit(I initialImage,
PointList initialShape)
Perform multi-resolution fitting of the initial shape to
the initial image.
|
PointDistributionModel |
getPDM() |
static <I extends Image<?,I> & SinglebandImageProcessor.Processable<Float,FImage,I>> |
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. |
public MultiResolutionActiveShapeModel(ActiveShapeModel<I>[] asms)
MultiResolutionActiveShapeModel from the
stack of provided ActiveShapeModels. The ASMs should
be arranged in order of decreasing resolution.asms - public static <I extends Image<?,I> & SinglebandImageProcessor.Processable<Float,FImage,I>> MultiResolutionActiveShapeModel<I> trainModel(int numLevels, PrincipalComponentAnalysis.ComponentSelector selector, List<IndependentPair<PointList,I>> data, PointDistributionModel.Constraint constraint, LandmarkModelFactory<I> factory)
MultiResolutionActiveShapeModel from the given
data.I - Concrete type of ImagenumLevels - number of levels in the pyramid (scales)selector - a PrincipalComponentAnalysis.ComponentSelector for choosing significant EVsdata - annotated images for trainingconstraint - a PointDistributionModel.Constraint for constraining plausible shapes from the PointDistributionModel.factory - a LandmarkModelFactory for producing models of local appearance around the landmarks.MultiResolutionActiveShapeModel.public ActiveShapeModel.IterationResult fit(I initialImage, PointList initialShape)
initialImage - the initial shape.initialShape - the initial image.public PointDistributionModel getPDM()
PointDistributionModel