case class ActiveShapeModel(statisticalModel: StatisticalMeshModel, profiles: Profiles, preprocessor: ImagePreprocessor, featureExtractor: FeatureExtractor) extends Product with Serializable
- Alphabetic
- By Inheritance
- ActiveShapeModel
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new ActiveShapeModel(statisticalModel: StatisticalMeshModel, profiles: Profiles, preprocessor: ImagePreprocessor, featureExtractor: FeatureExtractor)
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##(): Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- val featureExtractor: FeatureExtractor
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- def fit(targetImage: DiscreteImage[_3D, Float], searchPointSampler: SearchPointSampler, iterations: Int, config: FittingConfiguration = FittingConfiguration.Default, startingTransformations: ModelTransformations = noTransformations): Try[FittingResult]
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
- targetImage
target image to fit to.
- searchPointSampler
sampler that defines the strategy where profiles are to be sampled.
- iterations
maximum number of iterations for the fitting.
- config
fitting configuration (thresholds). If omitted, uses FittingConfiguration.Default
- startingTransformations
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)
- returns
fitting result after the given number of iterations
- def fitIterator(targetImage: DiscreteImage[_3D, Float], searchPointSampler: SearchPointSampler, iterations: Int, config: FittingConfiguration = FittingConfiguration.Default, initialTransform: ModelTransformations = noTransformations): Iterator[Try[FittingResult]]
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.
- See also
fit() for a description of the parameters.
- def fitIteratorPreprocessed(image: PreprocessedImage, searchPointSampler: SearchPointSampler, iterations: Int, config: FittingConfiguration = FittingConfiguration.Default, initialTransform: ModelTransformations = noTransformations): Iterator[Try[FittingResult]]
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.
- See also
fit() for a description of the parameters.
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def mean(): ASMSample
Returns the mean mesh of the shape model, along with the mean feature profiles at the profile points
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- val preprocessor: ImagePreprocessor
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- val profiles: Profiles
- def sample()(implicit rand: Random): ASMSample
Returns a random sample mesh from the shape model, along with randomly sampled feature profiles at the profile points
- def sampleFeaturesOnly()(implicit rand: Random): ASMSample
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
- val statisticalModel: StatisticalMeshModel
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def transform(rigidTransformation: RigidTransformation[_3D]): ActiveShapeModel
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
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()