![]() |
ImFusion SDK 4.3
|
#include <ImFusion/Base/LC2.h>
Linear correlation of linear combination (LC2) similarity measure. More...
Linear correlation of linear combination (LC2) similarity measure.
Static Public Member Functions | |
static double | compute (int patchSize, const TypedImage< float > *img, TypedImage< float > *imgOut=0, double *weightOut=0) |
Compute the measure with a specified patch size. | |
template<typename T> | |
static TypedImage< float > * | createLC2Aux (TypedImage< float > *moving, TypedImage< T > *fixed) |
Compute combined multi-channel auxiliary image to use for main LC2 method above. | |
Static Protected Member Functions | |
template<typename T, int n> | |
static void | updateLC2 (double *ptrOut, double sgn, int x, int y, const TypedImage< T > &img) |
Helper function for updating the working variables with a sliding-window approach. | |
template<typename T, int n> | |
static double | computeLC2 (int patchSize, const TypedImage< T > &img, TypedImage< T > *imgOut=0, double *weightOut=0) |
Compute linear correlation of linear combination (LC2) in software. | |
template<typename T, int n> | |
static double | computeLC2_3D (int patchSize, const TypedImage< T > &img, TypedImage< T > *imgOut=0, double *weightOut=0) |
Compute linear correlation of linear combination (LC2) in software. | |