SuPReMo  0.1.1
Loading...
Searching...
No Matches
SSDImageSimilarity.h
1// ====================================================================================================
2//
3// SuPReMo: Surrogate Parameterised Respiratory Motion Model
4// An implementation of the generalised motion modelling and image registration framework
5//
6// Copyright (c) University College London (UCL). All rights reserved.
7//
8// This software is distributed WITHOUT ANY WARRANTY; without even
9// the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
10// PURPOSE.
11//
12// See LICENSE.txt in the top level directory for details.
13//
14// ====================================================================================================
15
16
17
18
19#pragma once
20
21#include "ImageSimilarity.h"
22
23
27{
28public:
29 typedef float PrecisionType;
30
34
35
39
43 double GetSimilarityMeasureValueForImages( nifti_image* source,
44 nifti_image* reference );
45
60 virtual void GetSimilarityGradientWRTVoxels( nifti_image* referenceImg,
61 nifti_image* sourceImg,
62 nifti_image* similarityGradientWRTVoxelsOutputImage );
63private:
64 double GetSSDValue( nifti_image* referenceImage, nifti_image* sourceImage );
65};
66
67
Definition: ImageSimilarity.h:25
Definition: SSDImageSimilarity.h:27
virtual void GetSimilarityGradientWRTVoxels(nifti_image *referenceImg, nifti_image *sourceImg, nifti_image *similarityGradientWRTVoxelsOutputImage)
Definition: SSDImageSimilarity.cpp:83
SSDImageSimilarity()
Definition: SSDImageSimilarity.cpp:32
double GetSSDValue(nifti_image *referenceImage, nifti_image *sourceImage)
Definition: SSDImageSimilarity.cpp:116
~SSDImageSimilarity()
Definition: SSDImageSimilarity.cpp:41
float PrecisionType
Definition: SSDImageSimilarity.h:29
double GetSimilarityMeasureValueForImages(nifti_image *source, nifti_image *reference)
Definition: SSDImageSimilarity.cpp:50