20 #ifndef MIRTK_SumOfSquaredIntensityDifferences_H 21 #define MIRTK_SumOfSquaredIntensityDifferences_H 23 #include "mirtk/ImageSimilarity.h" 40 mirtkReadOnlyAttributeMacro(
double, MinTargetIntensity);
43 mirtkReadOnlyAttributeMacro(
double, MaxTargetIntensity);
46 mirtkReadOnlyAttributeMacro(
double, MinSourceIntensity);
49 mirtkReadOnlyAttributeMacro(
double, MaxSourceIntensity);
52 mirtkReadOnlyAttributeMacro(
double, MaxSqDiff);
55 mirtkReadOnlyAttributeMacro(
double, SumSqDiff);
58 mirtkReadOnlyAttributeMacro(
int, NumberOfForegroundVoxels);
86 virtual void Update(
bool =
true);
115 #endif // MIRTK_SumOfSquaredIntensityDifferences_H virtual void Initialize()
Initialize similarity measure.
SumOfSquaredIntensityDifferences(const char *="")
Constructor.
virtual bool NonParametricGradient(const RegisteredImage *, GradientImageType *)
Evaluate non-parametric similarity gradient w.r.t the given image.
virtual double Evaluate()
Evaluate similarity of images.
virtual void Include(const blocked_range3d< int > &)
virtual void Exclude(const blocked_range3d< int > &)
Sum of squared differences.
SumOfSquaredIntensityDifferences & operator=(const SumOfSquaredIntensityDifferences &)
Assignment operator.
~SumOfSquaredIntensityDifferences()
Destructor.
virtual void Update(bool=true)
Update moving input image(s) and internal state of similarity measure.