Perform an ASM fitting for the given target image.
Perform an ASM fitting for the given target image.
This is logically equivalent to calling fitIterator(...).last
target image to fit to.
sampler that defines the strategy where profiles are to be sampled.
maximum number of iterations for the fitting.
fitting configuration (thresholds). If omitted, uses FittingConfiguration.Default
initial transformations to apply to the statistical model. If omitted, no transformations are applied (i.e. the fitting starts from the mean shape, with no rigid transformation)
fitting result after the given number of iterations
Perform iterative ASM fitting for the given target image.
Perform iterative ASM fitting for the given target image. This is essentially the same as the fit method, except that it returns the full iterator, so every step can be examined.
fit() for a description of the parameters.
Perform iterative ASM fitting for the given preprocessed image.
Perform iterative ASM fitting for the given preprocessed image. This is essentially the same as the fitIterator method, except that it uses the already preprocessed image.
fit() for a description of the parameters.
Returns the mean mesh of the shape model, along with the mean feature profiles at the profile points
Returns a random sample mesh from the shape model, along with randomly sampled feature profiles at the profile points
Utility function that allows to randomly sample different feature profiles, while keeping the profile points Meant to allow to easily inspect/debug the feature distribution
Returns an Active Shape Model where both the statistical shape Model and the profile points distributions are correctly transformed according to the provided rigid transformation