Object

scalismo.statisticalmodel.dataset

ModelMetrics

Related Doc: package dataset

Permalink

object ModelMetrics

Implements utility functions for evaluating the quality of a StatisticalMeshModel

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. ModelMetrics
  2. AnyRef
  3. 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 clone(): AnyRef

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  8. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  9. def generalization(pcaModel: StatisticalMeshModel, dc: DataCollection): Try[Double]

    Permalink

    Returns the generalization metric of the Statistical Mesh Model, that is how well the model can represent unseen data

    Returns the generalization metric of the Statistical Mesh Model, that is how well the model can represent unseen data

    pcaModel

    Statistical Mesh Model to be evaluated

    dc

    test data collection that is in correspondence with the model reference The implementation of this metric is inspired from : Styner, Martin A., et al. "Evaluation of 3D correspondence methods for model building." Information processing in medical imaging. Springer Berlin Heidelberg, 2003. For every mesh in the test data, we project the mesh into the model (that is find the closest shape in the model space to the given mesh) and compute the average mesh distance (see scalismo.mesh.MeshMetrics) between the mesh and the projection. To be able to perform the projection, it is important that the data collection is in correspondence with the model. The returned value is a scala.util.Try containing the average over all test data in case of success, or an Exception otherwise

  10. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  11. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  12. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  13. final def ne(arg0: AnyRef): Boolean

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

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

    Permalink
    Definition Classes
    AnyRef
  16. def specificity(pcaModel: StatisticalMeshModel, data: Iterable[TriangleMesh], nbSamples: Int): Double

    Permalink

    Returns the specificity metric of the Statistical Mesh Model, that is how close the model remains to the category of shapes it is supposed to represent

    Returns the specificity metric of the Statistical Mesh Model, that is how close the model remains to the category of shapes it is supposed to represent

    pcaModel

    model to be evaluated

    data

    test data to verify specificity against

    nbSamples

    number of samples drawn to compute the average The implementation of this metric is inspired from : Styner, Martin A., et al. "Evaluation of 3D correspondence methods for model building." Information processing in medical imaging. Springer Berlin Heidelberg, 2003. The general idea is as follows : 1 - sample a shape from the mesh model 2- compute the average mesh distance (see scalismo.mesh.MeshMetrics) of the sample to all elements of the given sequence of meshes and select the minimum distance These steps are then repeated nbSamples times and the average value is returned.

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  19. final def wait(): Unit

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

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

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

Inherited from AnyRef

Inherited from Any

Ungrouped