public static class FNormalLandmarkModel.Factory extends Object implements LandmarkModelFactory<FImage>
FNormalLandmarkModel
sConstructor 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()
LandmarkModelFactory
LandmarkModel
.createLandmarkModel
in interface LandmarkModelFactory<FImage>
LandmarkModel
public FNormalLandmarkModel createLandmarkModel(float scaleFactor)
LandmarkModelFactory
LandmarkModel
.
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