Class/Object

scalismo.statisticalmodel

StatisticalMeshModel

Related Docs: object StatisticalMeshModel | package statisticalmodel

Permalink

case class StatisticalMeshModel extends Product with Serializable

A StatisticalMeshModel is isomorphic to a DiscreteLowRankGaussianProcess. The difference is that while the DiscreteLowRankGaussianProcess models defomation fields, the StatisticalMeshModel applies the deformation fields to a mesh, and warps the mesh with the deformation fields to produce a new mesh.

See also

DiscreteLowRankGaussianProcess

Linear Supertypes
Serializable, Serializable, Product, Equals, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. StatisticalMeshModel
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. AnyRef
  7. Any
  1. Hide All
  2. Show all
Visibility
  1. Public
  2. All

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. def changeReference(t: (Point[_3D]) ⇒ Point[_3D]): StatisticalMeshModel

    Permalink

    Warps the reference mesh with the given transform.

    Warps the reference mesh with the given transform. The space spanned by the model is not affected.

  6. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  7. def coefficients(mesh: TriangleMesh): DenseVector[Float]

    Permalink

  8. def cov(ptId1: PointId, ptId2: PointId): SquareMatrix[_3D]

    Permalink

    The covariance between two points of the mesh with given point id.

    The covariance between two points of the mesh with given point id.

    See also

    DiscreteLowRankGaussianProcess.cov

  9. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  10. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  11. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  12. val gp: DiscreteLowRankGaussianProcess[_3D, _3D]

    Permalink
  13. def instance(c: DenseVector[Float]): TriangleMesh

    Permalink

    returns a shape that corresponds to a linear combination of the basis functions with the given coefficients c.

    returns a shape that corresponds to a linear combination of the basis functions with the given coefficients c.

    See also

    DiscreteLowRankGaussianProcess.instance

  14. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  15. def marginal(ptIds: IndexedSeq[PointId]): StatisticalMeshModel

    Permalink

    Returns a marginal StatisticalMeshModel, modelling deformations only on the chosen points of the reference

    Returns a marginal StatisticalMeshModel, modelling deformations only on the chosen points of the reference

    This method proceeds by clipping the reference mesh to keep only the indicated point identifiers, and then marginalizing the GP over those points. Notice that when clipping, not all indicated point ids will be part of the clipped mesh, as some points may not belong to any cells anymore. Therefore 2 behaviours are supported by this method :

    1- in case some of the indicated pointIds remain after clipping and do form a mesh, a marginal model is returned only for those points 2- in case none of the indicated points remain (they are not meshed), a reference mesh with all indicated point Ids and no cells is constructed and a marginal over this new reference is returned

    See also

    DiscreteLowRankGaussianProcess.marginal

  16. lazy val mean: TriangleMesh

    Permalink

    The mean shape

  17. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  18. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  19. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  20. def pdf(instanceCoefficients: DenseVector[Float]): Double

    Permalink

    returns the probability density for an instance of the model

    returns the probability density for an instance of the model

    instanceCoefficients

    coefficients of the instance in the model. For shapes in correspondence, these can be obtained using the coefficients method

  21. def posterior(trainingData: IndexedSeq[(PointId, Point[_3D], NDimensionalNormalDistribution[_3D])]): StatisticalMeshModel

    Permalink

    Similar to Point[_3D], Double)], but the training data is defined by specifying the target point instead of the displacement vector

  22. def posterior(trainingData: IndexedSeq[(PointId, Point[_3D])], sigma2: Double): StatisticalMeshModel

    Permalink

    Similar to Point[_3D])], sigma2: Double), but the training data is defined by specifying the target point instead of the displacement vector

  23. def project(mesh: TriangleMesh): TriangleMesh

    Permalink

  24. val rank: Int

    Permalink

  25. val referenceMesh: TriangleMesh

    Permalink
  26. def sample: TriangleMesh

    Permalink

    draws a random shape.

    draws a random shape.

    See also

    DiscreteLowRankGaussianProcess.sample

  27. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  28. def transform(rigidTransform: RigidTransformation[_3D]): StatisticalMeshModel

    Permalink

    transform the statistical mesh model using the given rigid transform.

    transform the statistical mesh model using the given rigid transform. The spanned shape space is not affected by this operations.

  29. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  30. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  31. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Ungrouped