Trait/Object

scalismo.faces.momo

MoMo

Related Docs: object MoMo | package momo

Permalink

trait MoMo extends AnyRef

3D Morphable Model with shape, color and expressions

Linear Supertypes
AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. MoMo
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract def coefficients(sample: VertexColorMesh3D): MoMoCoefficients

    Permalink

    Calculates the parameters of the model representation of the sample.

    Calculates the parameters of the model representation of the sample.

    sample

    the sample (shape and color)

    returns

    the model coefficients

  2. abstract def expressionModel: Option[MoMoExpress]

    Permalink
  3. abstract def hasExpressions: Boolean

    Permalink

    returns true if this model has a non-empty expression part

  4. abstract def instance(coefficients: MoMoCoefficients): VertexColorMesh3D

    Permalink

    Generate model instance described by coefficients.

    Generate model instance described by coefficients.

    coefficients

    model coefficients

    returns

    model instance as mesh with per vertex color

  5. abstract def instanceAtPoint(coefficients: MoMoCoefficients, pid: PointId): (Point[_3D], RGB)

    Permalink

    A fast method to evaluate a model instance at a specific point.

    A fast method to evaluate a model instance at a specific point.

    coefficients

    model coefficients

    pid

    point-id

    returns

    shape and color values at point-id

  6. abstract def mean: VertexColorMesh3D

    Permalink

    Returns the mean VertexColorMesh3D of the model.

    Returns the mean VertexColorMesh3D of the model.

    returns

    the mean

  7. abstract def neutralModel: MoMoBasic

    Permalink

    construct the neutral (identity) model without expressions

  8. abstract def padCoefficients(momoCoeff: MoMoCoefficients): MoMoCoefficients

    Permalink

    pad a coefficient vector if it is too short, basis with single vector

  9. abstract def referenceMesh: TriangleMesh3D

    Permalink

    reference of Morphable Model, defines registration and triangulation

  10. abstract def sample()(implicit rnd: Random): VertexColorMesh3D

    Permalink

    Draw a sample from the model.

    Draw a sample from the model.

    returns

    a sample (shape and color)

  11. abstract def sampleCoefficients()(implicit rnd: Random): MoMoCoefficients

    Permalink

    Draw a set of coefficients from the prior of the statistical model.

    Draw a set of coefficients from the prior of the statistical model.

    returns

    a set of coefficients to generate a random sample.

  12. abstract def withLandmarks(landmarksMap: Map[String, Landmark[_3D]]): MoMo

    Permalink

    Returns the same model but with exchanged or added landmarks.

    Returns the same model but with exchanged or added landmarks.

    landmarksMap

    Map of named landmarks.

    returns

    Same model but with exchanged landmarks.

  13. abstract def zeroCoefficients: MoMoCoefficients

    Permalink

    get a coefficients vector describing the mean, has proper dimensions

Concrete 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 clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate() @throws( ... )
  6. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  7. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  8. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate()
  9. def hasLandmarks: Boolean

    Permalink

    Test if the model has some landmarks.

    Test if the model has some landmarks.

    returns

    true if the model has at least one landmark, false otherwise

  10. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate()
  11. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  12. def landmarkPointId(id: String): Option[PointId]

    Permalink

    Returns the PointId for a given landmark name.

    Returns the PointId for a given landmark name.

    id

    name ot the landmark

    returns

    return the PointId of the landmark

  13. def landmarks: Map[String, Landmark[_3D]]

    Permalink

    all landmarks defined on this model, points on reference mesh

  14. def landmarksWithClosestPointIds: Map[String, PointId]

    Permalink

    get all landmarks expressed thruogh PointIds, use closest point for each landmarks (careful!)

  15. def landmarksWithPointIds: Map[String, Option[PointId]]

    Permalink

    get all landmarks expressed thruogh PointIds

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate()
  18. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate()
  19. def project(sample: VertexColorMesh3D): VertexColorMesh3D

    Permalink

    Projection operator in model space.

    Projection operator in model space.

    sample

    the sample (shape and color)

    returns

    the model reconstruction of the sample

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

    Permalink
    Definition Classes
    AnyRef
  21. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  22. final def wait(arg0: Long, arg1: Int): Unit

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  24. final def wait(): Unit

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

Deprecated Value Members

  1. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @Deprecated @deprecated @throws( classOf[java.lang.Throwable] )
    Deprecated

    (Since version ) see corresponding Javadoc for more information.

Inherited from AnyRef

Inherited from Any

Ungrouped