c

scalismo.registration

MutualInformationMetric

case class MutualInformationMetric[D, A](fixedImage: Field[D, A], fixedImageDomain: DiscreteImageDomain[D], movingImage: DifferentiableField[D, A], transformationSpace: TransformationSpace[D], sampler: Sampler[D], numberOfBins: Int = 30)(implicit evidence$1: NDSpace[D], evidence$2: Scalar[A], rng: Random) extends ImageMetric[D, A] with Product with Serializable

Implementation of the Mutual Information Metric, described in the following paper:

Mattes, David, et al. "PET-CT image registration in the chest using free-form deformations." IEEE transactions on medical imaging 22.1 (2003): 120-128.

fixedImage

The fixed image

fixedImageDomain

The domain of the fixed image. All grid points of the domain are used to compute image characteristics such as e.g. the minimum/maximum value, etc.

movingImage

The moving image

transformationSpace

The transformation space that is used

sampler

The sampler, which samples the points on which the mutual information is computed. For this metric the recommended choice is a random sampler (which combined with a gradient descent algorithm leads to a stochastic gradient descent.

numberOfBins

The number of bins used for the intensity histograms (which approximates the joint distribution)

Linear Supertypes
Serializable, Product, Equals, ImageMetric[D, A], RegistrationMetric[D], AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. MutualInformationMetric
  2. Serializable
  3. Product
  4. Equals
  5. ImageMetric
  6. RegistrationMetric
  7. AnyRef
  8. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new MutualInformationMetric(fixedImage: Field[D, A], fixedImageDomain: DiscreteImageDomain[D], movingImage: DifferentiableField[D, A], transformationSpace: TransformationSpace[D], sampler: Sampler[D], numberOfBins: Int = 30)(implicit arg0: NDSpace[D], arg1: Scalar[A], rng: Random)

    fixedImage

    The fixed image

    fixedImageDomain

    The domain of the fixed image. All grid points of the domain are used to compute image characteristics such as e.g. the minimum/maximum value, etc.

    movingImage

    The moving image

    transformationSpace

    The transformation space that is used

    sampler

    The sampler, which samples the points on which the mutual information is computed. For this metric the recommended choice is a random sampler (which combined with a gradient descent algorithm leads to a stochastic gradient descent.

    numberOfBins

    The number of bins used for the intensity histograms (which approximates the joint distribution)

Type Members

  1. type JointHistogram = (Int, Int) => Double
  2. type JointHistogramDerivative = (Int, Int) => DenseVector[Double]
  3. type MarginalHistogram = (Int) => Double

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. def _computeJointHistogram(parameters: DenseVector[Double], points: Seq[Point[D]]): JointHistogram
  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  7. def derivative(params: DenseVector[Double]): DenseVector[Double]

    Computes the derivate of the Mutual Information for the given parameters

    Computes the derivate of the Mutual Information for the given parameters

    Definition Classes
    MutualInformationMetricRegistrationMetric
  8. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  9. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  10. val fixedImage: Field[D, A]
    Definition Classes
    MutualInformationMetricImageMetric
  11. val fixedImageDomain: DiscreteImageDomain[D]
  12. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  13. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  14. val movingImage: DifferentiableField[D, A]
    Definition Classes
    MutualInformationMetricImageMetric
  15. val ndSpace: NDSpace[D]
  16. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  17. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  18. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  19. val numberOfBins: Int
  20. def productElementNames: Iterator[String]
    Definition Classes
    Product
  21. val sampler: Sampler[D]
  22. val scalar: Scalar[A]
    Definition Classes
    MutualInformationMetricImageMetric
  23. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  24. val transformationSpace: TransformationSpace[D]
  25. def value(params: DenseVector[Double]): Double

    Computes the value of the mutual information for the given parameters

    Computes the value of the mutual information for the given parameters

    Definition Classes
    MutualInformationMetricRegistrationMetric
  26. def valueAndDerivative(params: DenseVector[Double]): ValueAndDerivative

    Computes the value and derivative for the given parameters in one go.

    Computes the value and derivative for the given parameters in one go.

    Definition Classes
    MutualInformationMetricRegistrationMetric
  27. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  28. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  29. 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 ImageMetric[D, A]

Inherited from RegistrationMetric[D]

Inherited from AnyRef

Inherited from Any

Ungrouped