Biomedical Image Analysis Library
The Biomedical Image Analysis Library is a poweful tool for developers, physicians, researchers, engineers, and so on.
Bial::DistanceFunction< DERIVED > Class Template Referenceabstract

#include <DistanceFunction.hpp>

Collaboration diagram for Bial::DistanceFunction< DERIVED >:
Collaboration graph

Public Member Functions

virtual ~DistanceFunction ()
 Virtual destructor required for virtual classes. More...
 

Static Public Member Functions

template<class D >
static double Distance (const D *src, const size_t dms)
 Returns the distance from origing to src. More...
 
static double Distance (const char *src, const size_t dms)
 
static double Distance (const uchar *src, const size_t dms)
 
static double Distance (const short *src, const size_t dms)
 
static double Distance (const int *src, const size_t dms)
 
static double Distance (const uint *src, const size_t dms)
 
static double Distance (const ulint *src, const size_t dms)
 
static double Distance (const llint *src, const size_t dms)
 
static double Distance (const ullint *src, const size_t dms)
 
static double Distance (const float *src, const size_t dms)
 
static double Distance (const double *src, const size_t dms)
 
template<class D >
static double Distance (const D *src, const D *tgt, const size_t dms)
 Returns the distance from src to tgt. More...
 
static double Distance (const char *src, const char *tgt, const size_t dms)
 
static double Distance (const uchar *src, const uchar *tgt, const size_t dms)
 
static double Distance (const short *src, const short *tgt, const size_t dms)
 
static double Distance (const int *src, const int *tgt, const size_t dms)
 
static double Distance (const uint *src, const uint *tgt, const size_t dms)
 
static double Distance (const ulint *src, const ulint *tgt, const size_t dms)
 
static double Distance (const llint *src, const llint *tgt, const size_t dms)
 
static double Distance (const ullint *src, const ullint *tgt, const size_t dms)
 
static double Distance (const float *src, const float *tgt, const size_t dms)
 
static double Distance (const double *src, const double *tgt, const size_t dms)
 

Detailed Description

template<class DERIVED>
class Bial::DistanceFunction< DERIVED >

Definition at line 19 of file DistanceFunction.hpp.

Constructor & Destructor Documentation

template<class DERIVED>
virtual Bial::DistanceFunction< DERIVED >::~DistanceFunction ( )
inlinevirtual

Virtual destructor required for virtual classes.

Date
2013/Jul/07
Parameters
none.
Returns
none.
Warning
none.

Definition at line 41 of file DistanceFunction.hpp.

Member Function Documentation

template<class DERIVED>
template<class D >
static double Bial::DistanceFunction< DERIVED >::Distance ( const D *  src,
const size_t  dms 
)
inlinestatic

Returns the distance from origing to src.

Date
2013/Jul/07
Parameters
srcSource array.
dmsNumber of dimensions
Returns
Distace from origing to src.
Warning
none.

Definition at line 53 of file DistanceFunction.hpp.

template<class DERIVED>
static double Bial::DistanceFunction< DERIVED >::Distance ( const char *  src,
const size_t  dms 
)
inlinestatic

Definition at line 56 of file DistanceFunction.hpp.

template<class DERIVED>
static double Bial::DistanceFunction< DERIVED >::Distance ( const uchar src,
const size_t  dms 
)
inlinestatic

Definition at line 59 of file DistanceFunction.hpp.

template<class DERIVED>
static double Bial::DistanceFunction< DERIVED >::Distance ( const short *  src,
const size_t  dms 
)
inlinestatic

Definition at line 62 of file DistanceFunction.hpp.

template<class DERIVED>
static double Bial::DistanceFunction< DERIVED >::Distance ( const int *  src,
const size_t  dms 
)
inlinestatic

Definition at line 70 of file DistanceFunction.hpp.

template<class DERIVED>
static double Bial::DistanceFunction< DERIVED >::Distance ( const uint src,
const size_t  dms 
)
inlinestatic

Definition at line 73 of file DistanceFunction.hpp.

template<class DERIVED>
static double Bial::DistanceFunction< DERIVED >::Distance ( const ulint src,
const size_t  dms 
)
inlinestatic

Definition at line 81 of file DistanceFunction.hpp.

template<class DERIVED>
static double Bial::DistanceFunction< DERIVED >::Distance ( const llint src,
const size_t  dms 
)
inlinestatic

Definition at line 84 of file DistanceFunction.hpp.

template<class DERIVED>
static double Bial::DistanceFunction< DERIVED >::Distance ( const ullint src,
const size_t  dms 
)
inlinestatic

Definition at line 87 of file DistanceFunction.hpp.

template<class DERIVED>
static double Bial::DistanceFunction< DERIVED >::Distance ( const float *  src,
const size_t  dms 
)
inlinestatic

Definition at line 90 of file DistanceFunction.hpp.

template<class DERIVED>
static double Bial::DistanceFunction< DERIVED >::Distance ( const double *  src,
const size_t  dms 
)
inlinestatic

Definition at line 93 of file DistanceFunction.hpp.

template<class DERIVED>
template<class D >
static double Bial::DistanceFunction< DERIVED >::Distance ( const D *  src,
const D *  tgt,
const size_t  dms 
)
inlinestatic

Returns the distance from src to tgt.

Date
2013/Jul/07
Parameters
srcSource array.
tgtTarget array.
dmsNumber of dimensions
Returns
Distace from src to tgt.
Warning
src and tgt must have the same size. Not checked!

Definition at line 107 of file DistanceFunction.hpp.

template<class DERIVED>
static double Bial::DistanceFunction< DERIVED >::Distance ( const char *  src,
const char *  tgt,
const size_t  dms 
)
inlinestatic

Definition at line 110 of file DistanceFunction.hpp.

template<class DERIVED>
static double Bial::DistanceFunction< DERIVED >::Distance ( const uchar src,
const uchar tgt,
const size_t  dms 
)
inlinestatic

Definition at line 113 of file DistanceFunction.hpp.

template<class DERIVED>
static double Bial::DistanceFunction< DERIVED >::Distance ( const short *  src,
const short *  tgt,
const size_t  dms 
)
inlinestatic

Definition at line 116 of file DistanceFunction.hpp.

template<class DERIVED>
static double Bial::DistanceFunction< DERIVED >::Distance ( const int *  src,
const int *  tgt,
const size_t  dms 
)
inlinestatic

Definition at line 124 of file DistanceFunction.hpp.

template<class DERIVED>
static double Bial::DistanceFunction< DERIVED >::Distance ( const uint src,
const uint tgt,
const size_t  dms 
)
inlinestatic

Definition at line 127 of file DistanceFunction.hpp.

template<class DERIVED>
static double Bial::DistanceFunction< DERIVED >::Distance ( const ulint src,
const ulint tgt,
const size_t  dms 
)
inlinestatic

Definition at line 135 of file DistanceFunction.hpp.

template<class DERIVED>
static double Bial::DistanceFunction< DERIVED >::Distance ( const llint src,
const llint tgt,
const size_t  dms 
)
inlinestatic

Definition at line 138 of file DistanceFunction.hpp.

template<class DERIVED>
static double Bial::DistanceFunction< DERIVED >::Distance ( const ullint src,
const ullint tgt,
const size_t  dms 
)
inlinestatic

Definition at line 141 of file DistanceFunction.hpp.

template<class DERIVED>
static double Bial::DistanceFunction< DERIVED >::Distance ( const float *  src,
const float *  tgt,
const size_t  dms 
)
inlinestatic

Definition at line 144 of file DistanceFunction.hpp.

template<class DERIVED>
static double Bial::DistanceFunction< DERIVED >::Distance ( const double *  src,
const double *  tgt,
const size_t  dms 
)
inlinestatic

Definition at line 147 of file DistanceFunction.hpp.


The documentation for this class was generated from the following file: