public static class FNormalLandmarkModel.Factory extends Object implements LandmarkModelFactory<FImage>
FNormalLandmarkModels| Constructor and Description |
|---|
Factory(PointListConnections connections,
FLineSampler sampler,
int numModelSamples,
int numSearchSamples,
float normalLength)
Default constructor.
|
| Modifier and Type | Method and Description |
|---|---|
FNormalLandmarkModel |
createLandmarkModel()
Create a new pre-configured
LandmarkModel. |
FNormalLandmarkModel |
createLandmarkModel(float scaleFactor)
Create a new pre-configured
LandmarkModel. |
public Factory(PointListConnections connections, FLineSampler sampler, int numModelSamples, int numSearchSamples, float normalLength)
connections - connections between points.sampler - sampler for sampling along normalsnumModelSamples - number of samples for the modelnumSearchSamples - number of samples for search; must be bigger than numModelSamplesnormalLength - length of the normal in intrinsic scale unitspublic FNormalLandmarkModel createLandmarkModel()
LandmarkModelFactoryLandmarkModel.createLandmarkModel in interface LandmarkModelFactory<FImage>LandmarkModelpublic FNormalLandmarkModel createLandmarkModel(float scaleFactor)
LandmarkModelFactoryLandmarkModel.
The scaleFactor parameter is used to reduce/increase the
relative size of the search area of the LandmarkModel.createLandmarkModel in interface LandmarkModelFactory<FImage>scaleFactor - the scaleFactorLandmarkModel