MeanSquaresMetric

scalismo.registration.MeanSquaresMetric
case class MeanSquaresMetric[D, A](fixedImage: Field[D, A], movingImage: DifferentiableField[D, A], transformationSpace: TransformationSpace[D], sampler: Sampler[D])(implicit evidence$1: NDSpace[D], evidence$2: Scalar[A]) extends MeanPointwiseLossMetric[D, A]

The mean squares image to image metric. It is implemented as the squared loss function in terms of the pointwise pixel differences.

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
trait ImageMetric[D, A]
class Object
trait Matchable
class Any
Show all

Members list

Value members

Inherited methods

def derivative(parameters: DenseVector[Double]): DenseVector[Double]

Computes the derivative of the metric at the point given by the parameters.

Computes the derivative of the metric at the point given by the parameters.

Attributes

Inherited from:
MeanPointwiseLossMetric
def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product
def value(parameters: DenseVector[Double]): Double

Computes the metric value for the given parameter vector

Computes the metric value for the given parameter vector

Attributes

Inherited from:
MeanPointwiseLossMetric
override def valueAndDerivative(parameters: DenseVector[Double]): ValueAndDerivative

Computes value and derivative in one go. It should be the same as calling value and takeDerivative separately, but allows for more efficient implementations.

Computes value and derivative in one go. It should be the same as calling value and takeDerivative separately, but allows for more efficient implementations.

Attributes

Definition Classes
Inherited from:
MeanPointwiseLossMetric

Concrete fields

override val ndSpace: NDSpace[D]
val scalar: Scalar[A]