ImFusion SDK 4.3
LC2 Class Reference

#include <ImFusion/Base/LC2.h>

Linear correlation of linear combination (LC2) similarity measure. More...

Detailed Description

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.
 

The documentation for this class was generated from the following file:
Search Tab / S to search, Esc to close