Packages

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, Product, Equals, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. StatisticalMeshModel
  2. Serializable
  3. Product
  4. Equals
  5. AnyRef
  6. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def changeReference(t: (Point[_3D]) => Point[_3D]): StatisticalMeshModel

    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
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  7. def coefficients(mesh: TriangleMesh[_3D]): DenseVector[Double]

  8. def cov(ptId1: PointId, ptId2: PointId): DenseMatrix[Double]

    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. def decimate(targetNumberOfVertices: Int): StatisticalMeshModel

    Changes the number of vertices on which the model is defined

    Changes the number of vertices on which the model is defined

    targetNumberOfVertices

    The desired number of vertices

    returns

    The new model

  10. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  11. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  12. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  13. val gp: DiscreteLowRankGaussianProcess[_3D, TriangleMesh, EuclideanVector[_3D]]
  14. def instance(c: DenseVector[Double]): TriangleMesh[_3D]

    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

  15. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  16. def marginal(ptIds: IndexedSeq[PointId]): StatisticalMeshModel

    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

  17. lazy val mean: TriangleMesh[_3D]

    The mean shape

  18. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  19. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  20. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  21. def pdf(instanceCoefficients: DenseVector[Double]): Double

    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

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

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

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

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

  24. def productElementNames: Iterator[String]
    Definition Classes
    Product
  25. def project(mesh: TriangleMesh[_3D]): TriangleMesh3D

  26. val rank: Int

  27. val referenceMesh: TriangleMesh[_3D]
  28. def sample()(implicit rand: Random): TriangleMesh3D

    draws a random shape.

    draws a random shape.

    See also

    DiscreteLowRankGaussianProcess.sample

  29. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  30. def transform(rigidTransform: RigidTransformation[_3D]): StatisticalMeshModel

    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.

  31. def truncate(newRank: Int): StatisticalMeshModel

    Returns a reduced rank model, using only the leading basis functions.

  32. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  33. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  34. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Ungrouped