Biomedical Image Analysis Library
The Biomedical Image Analysis Library is a poweful tool for developers, physicians, researchers, engineers, and so on.
Bial::DFIDE Class Reference

#include <DFIDE.hpp>

Collaboration diagram for Bial::DFIDE:
Collaboration graph

Static Public Member Functions

template<template< class D > class C, class D >
static double Distance (const C< D > &src, const size_t orig, const size_t dms)
 Compute the distances. These are the used IDE that can run in verbose mode for code debuging. More...
 
template<template< class D > class C>
static double Distance (const C< char > &src, const size_t orig, const size_t dms)
 
template<template< class D > class C>
static double Distance (const C< uchar > &src, const size_t orig, const size_t dms)
 
template<template< class D > class C>
static double Distance (const C< short > &src, const size_t orig, const size_t dms)
 
template<template< class D > class C>
static double Distance (const C< int > &src, const size_t orig, const size_t dms)
 
template<template< class D > class C>
static double Distance (const C< uint > &src, const size_t orig, const size_t dms)
 
template<template< class D > class C>
static double Distance (const C< ulint > &src, const size_t orig, const size_t dms)
 
template<template< class D > class C>
static double Distance (const C< llint > &src, const size_t orig, const size_t dms)
 
template<template< class D > class C>
static double Distance (const C< ullint > &src, const size_t orig, const size_t dms)
 
template<template< class D > class C>
static double Distance (const C< float > &src, const size_t orig, const size_t dms)
 
template<template< class D > class C>
static double Distance (const C< double > &src, const size_t orig, const size_t dms)
 
template<template< class D > class C, class D >
static double Distance (const C< D > &src, const size_t src_orig, const size_t tgt_orig, const size_t dms)
 Compute the distances. These are the used IDE that can run in verbose mode for code debuging. More...
 
template<template< class D > class C>
static double Distance (const C< char > &src, const size_t src_orig, const size_t tgt_orig, const size_t dms)
 
template<template< class D > class C>
static double Distance (const C< uchar > &src, const size_t src_orig, const size_t tgt_orig, const size_t dms)
 
template<template< class D > class C>
static double Distance (const C< short > &src, const size_t src_orig, const size_t tgt_orig, const size_t dms)
 
template<template< class D > class C>
static double Distance (const C< int > &src, const size_t src_orig, const size_t tgt_orig, const size_t dms)
 
template<template< class D > class C>
static double Distance (const C< uint > &src, const size_t src_orig, const size_t tgt_orig, const size_t dms)
 
template<template< class D > class C>
static double Distance (const C< ulint > &src, const size_t src_orig, const size_t tgt_orig, const size_t dms)
 
template<template< class D > class C>
static double Distance (const C< llint > &src, const size_t src_orig, const size_t tgt_orig, const size_t dms)
 
template<template< class D > class C>
static double Distance (const C< ullint > &src, const size_t src_orig, const size_t tgt_orig, const size_t dms)
 
template<template< class D > class C>
static double Distance (const C< float > &src, const size_t src_orig, const size_t tgt_orig, const size_t dms)
 
template<template< class D > class C>
static double Distance (const C< double > &src, const size_t src_orig, const size_t tgt_orig, const size_t dms)
 
template<template< class D > class C, class D >
static double Distance (const C< D > &src, const C< D > &tgt, const size_t src_orig, const size_t tgt_orig, const size_t dms)
 Compute the distances. These are the used IDE that can run in verbose mode for code debuging. More...
 
template<template< class D > class C>
static double Distance (const C< char > &src, const C< char > &tgt, const size_t src_orig, const size_t tgt_orig, const size_t dms)
 
template<template< class D > class C>
static double Distance (const C< uchar > &src, const C< uchar > &tgt, const size_t src_orig, const size_t tgt_orig, const size_t dms)
 
template<template< class D > class C>
static double Distance (const C< short > &src, const C< short > &tgt, const size_t src_orig, const size_t tgt_orig, const size_t dms)
 
template<template< class D > class C>
static double Distance (const C< int > &src, const C< int > &tgt, const size_t src_orig, const size_t tgt_orig, const size_t dms)
 
template<template< class D > class C>
static double Distance (const C< uint > &src, const C< uint > &tgt, const size_t src_orig, const size_t tgt_orig, const size_t dms)
 
template<template< class D > class C>
static double Distance (const C< ulint > &src, const C< ulint > &tgt, const size_t src_orig, const size_t tgt_orig, const size_t dms)
 
template<template< class D > class C>
static double Distance (const C< llint > &src, const C< llint > &tgt, const size_t src_orig, const size_t tgt_orig, const size_t dms)
 
template<template< class D > class C>
static double Distance (const C< ullint > &src, const C< ullint > &tgt, const size_t src_orig, const size_t tgt_orig, const size_t dms)
 
template<template< class D > class C>
static double Distance (const C< float > &src, const C< float > &tgt, const size_t src_orig, const size_t tgt_orig, const size_t dms)
 
template<template< class D > class C>
static double Distance (const C< double > &src, const C< double > &tgt, const size_t src_orig, const size_t tgt_orig, const size_t dms)
 
static void SetEuclideanDistanceFunction ()
 Functions to change current distance function. More...
 
static void SetPreEuclideanDistanceFunction (size_t maximum_distance)
 
static void SetSquareEuclideanDistanceFunction ()
 
static void SetCityBlockDistanceFunction ()
 
static void SetChessBoardDistanceFunction ()
 

Static Public Attributes

static DistanceFunctionType distance_function_type
 
static double(* CharDistancePtr )(const char *src, const size_t dms)
 
static double(* CharDistancePtrTgt )(const char *src, const char *tgt, const size_t dms)
 
static double(* UCharDistancePtr )(const uchar *src, const size_t dms)
 
static double(* UCharDistancePtrTgt )(const uchar *src, const uchar *tgt, const size_t dms)
 
static double(* ShortDistancePtr )(const short *src, const size_t dms)
 
static double(* ShortDistancePtrTgt )(const short *src, const short *tgt, const size_t dms)
 
static double(* IntDistancePtr )(const int *src, const size_t dms)
 
static double(* IntDistancePtrTgt )(const int *src, const int *tgt, const size_t dms)
 
static double(* UIntDistancePtr )(const uint *src, const size_t dms)
 
static double(* UIntDistancePtrTgt )(const uint *src, const uint *tgt, const size_t dms)
 
static double(* ULongDistancePtr )(const ulint *src, const size_t dms)
 
static double(* ULongDistancePtrTgt )(const ulint *src, const ulint *tgt, const size_t dms)
 
static double(* LLongDistancePtr )(const llint *src, const size_t dms)
 
static double(* LLongDistancePtrTgt )(const llint *src, const llint *tgt, const size_t dms)
 
static double(* ULLongDistancePtr )(const ullint *src, const size_t dms)
 
static double(* ULLongDistancePtrTgt )(const ullint *src, const ullint *tgt, const size_t dms)
 
static double(* FloatDistancePtr )(const float *src, const size_t dms)
 
static double(* FloatDistancePtrTgt )(const float *src, const float *tgt, const size_t dms)
 
static double(* DoubleDistancePtr )(const double *src, const size_t dms)
 
static double(* DoubleDistancePtrTgt )(const double *src, const double *tgt, const size_t dms)
 

Detailed Description

Definition at line 28 of file DFIDE.hpp.

Member Function Documentation

template<template< class D > class C, class D >
static double Bial::DFIDE::Distance ( const C< D > &  src,
const size_t  orig,
const size_t  dms 
)
static

Compute the distances. These are the used IDE that can run in verbose mode for code debuging.

Date
2013/Oct/12
Parameters
srcSource countainer.
origInitial element in src container.
dmsNumber of dimensions
Returns
Distace from src to origing.
Warning
none.
template<template< class D > class C>
static double Bial::DFIDE::Distance ( const C< char > &  src,
const size_t  orig,
const size_t  dms 
)
static
template<template< class D > class C>
static double Bial::DFIDE::Distance ( const C< uchar > &  src,
const size_t  orig,
const size_t  dms 
)
static
template<template< class D > class C>
static double Bial::DFIDE::Distance ( const C< short > &  src,
const size_t  orig,
const size_t  dms 
)
static
template<template< class D > class C>
static double Bial::DFIDE::Distance ( const C< int > &  src,
const size_t  orig,
const size_t  dms 
)
static
template<template< class D > class C>
static double Bial::DFIDE::Distance ( const C< uint > &  src,
const size_t  orig,
const size_t  dms 
)
static
template<template< class D > class C>
static double Bial::DFIDE::Distance ( const C< ulint > &  src,
const size_t  orig,
const size_t  dms 
)
static
template<template< class D > class C>
static double Bial::DFIDE::Distance ( const C< llint > &  src,
const size_t  orig,
const size_t  dms 
)
static
template<template< class D > class C>
static double Bial::DFIDE::Distance ( const C< ullint > &  src,
const size_t  orig,
const size_t  dms 
)
static
template<template< class D > class C>
static double Bial::DFIDE::Distance ( const C< float > &  src,
const size_t  orig,
const size_t  dms 
)
static
template<template< class D > class C>
static double Bial::DFIDE::Distance ( const C< double > &  src,
const size_t  orig,
const size_t  dms 
)
static
template<template< class D > class C, class D >
static double Bial::DFIDE::Distance ( const C< D > &  src,
const size_t  src_orig,
const size_t  tgt_orig,
const size_t  dms 
)
static

Compute the distances. These are the used IDE that can run in verbose mode for code debuging.

Date
2013/Oct/12
Parameters
srcSource countainer.
src_origInitial element in src container.
tgt_origInitial element in tgt container.
dmsNumber of dimensions
Returns
Distace from src to tgt.
Warning
none.
template<template< class D > class C>
static double Bial::DFIDE::Distance ( const C< char > &  src,
const size_t  src_orig,
const size_t  tgt_orig,
const size_t  dms 
)
static
template<template< class D > class C>
static double Bial::DFIDE::Distance ( const C< uchar > &  src,
const size_t  src_orig,
const size_t  tgt_orig,
const size_t  dms 
)
static
template<template< class D > class C>
static double Bial::DFIDE::Distance ( const C< short > &  src,
const size_t  src_orig,
const size_t  tgt_orig,
const size_t  dms 
)
static
template<template< class D > class C>
static double Bial::DFIDE::Distance ( const C< int > &  src,
const size_t  src_orig,
const size_t  tgt_orig,
const size_t  dms 
)
static
template<template< class D > class C>
static double Bial::DFIDE::Distance ( const C< uint > &  src,
const size_t  src_orig,
const size_t  tgt_orig,
const size_t  dms 
)
static
template<template< class D > class C>
static double Bial::DFIDE::Distance ( const C< ulint > &  src,
const size_t  src_orig,
const size_t  tgt_orig,
const size_t  dms 
)
static
template<template< class D > class C>
static double Bial::DFIDE::Distance ( const C< llint > &  src,
const size_t  src_orig,
const size_t  tgt_orig,
const size_t  dms 
)
static
template<template< class D > class C>
static double Bial::DFIDE::Distance ( const C< ullint > &  src,
const size_t  src_orig,
const size_t  tgt_orig,
const size_t  dms 
)
static
template<template< class D > class C>
static double Bial::DFIDE::Distance ( const C< float > &  src,
const size_t  src_orig,
const size_t  tgt_orig,
const size_t  dms 
)
static
template<template< class D > class C>
static double Bial::DFIDE::Distance ( const C< double > &  src,
const size_t  src_orig,
const size_t  tgt_orig,
const size_t  dms 
)
static
template<template< class D > class C, class D >
static double Bial::DFIDE::Distance ( const C< D > &  src,
const C< D > &  tgt,
const size_t  src_orig,
const size_t  tgt_orig,
const size_t  dms 
)
static

Compute the distances. These are the used IDE that can run in verbose mode for code debuging.

Date
2013/Oct/12
Parameters
srcSource countainer.
tgtTarget countainer.
src_origInitial element in src container.
tgt_origInitial element in tgt container.
dmsNumber of dimensions
Returns
Distace from src to tgt.
Warning
none.
template<template< class D > class C>
static double Bial::DFIDE::Distance ( const C< char > &  src,
const C< char > &  tgt,
const size_t  src_orig,
const size_t  tgt_orig,
const size_t  dms 
)
static
template<template< class D > class C>
static double Bial::DFIDE::Distance ( const C< uchar > &  src,
const C< uchar > &  tgt,
const size_t  src_orig,
const size_t  tgt_orig,
const size_t  dms 
)
static
template<template< class D > class C>
static double Bial::DFIDE::Distance ( const C< short > &  src,
const C< short > &  tgt,
const size_t  src_orig,
const size_t  tgt_orig,
const size_t  dms 
)
static
template<template< class D > class C>
static double Bial::DFIDE::Distance ( const C< int > &  src,
const C< int > &  tgt,
const size_t  src_orig,
const size_t  tgt_orig,
const size_t  dms 
)
static
template<template< class D > class C>
static double Bial::DFIDE::Distance ( const C< uint > &  src,
const C< uint > &  tgt,
const size_t  src_orig,
const size_t  tgt_orig,
const size_t  dms 
)
static
template<template< class D > class C>
static double Bial::DFIDE::Distance ( const C< ulint > &  src,
const C< ulint > &  tgt,
const size_t  src_orig,
const size_t  tgt_orig,
const size_t  dms 
)
static
template<template< class D > class C>
static double Bial::DFIDE::Distance ( const C< llint > &  src,
const C< llint > &  tgt,
const size_t  src_orig,
const size_t  tgt_orig,
const size_t  dms 
)
static
template<template< class D > class C>
static double Bial::DFIDE::Distance ( const C< ullint > &  src,
const C< ullint > &  tgt,
const size_t  src_orig,
const size_t  tgt_orig,
const size_t  dms 
)
static
template<template< class D > class C>
static double Bial::DFIDE::Distance ( const C< float > &  src,
const C< float > &  tgt,
const size_t  src_orig,
const size_t  tgt_orig,
const size_t  dms 
)
static
template<template< class D > class C>
static double Bial::DFIDE::Distance ( const C< double > &  src,
const C< double > &  tgt,
const size_t  src_orig,
const size_t  tgt_orig,
const size_t  dms 
)
static
static void Bial::DFIDE::SetChessBoardDistanceFunction ( )
static
static void Bial::DFIDE::SetCityBlockDistanceFunction ( )
static
static void Bial::DFIDE::SetEuclideanDistanceFunction ( )
static

Functions to change current distance function.

Date
2015/Mar/10
Parameters
maximum_distanceMaximum accessed distance for pre computed euclidean distance.
Returns
none.
Warning
src and tgt must have the same size. Not checked!
static void Bial::DFIDE::SetPreEuclideanDistanceFunction ( size_t  maximum_distance)
static
static void Bial::DFIDE::SetSquareEuclideanDistanceFunction ( )
static

Member Data Documentation

double( * Bial::DFIDE::CharDistancePtr) (const char *src, const size_t dms)
static

Definition at line 33 of file DFIDE.hpp.

double( * Bial::DFIDE::CharDistancePtrTgt) (const char *src, const char *tgt, const size_t dms)
static

Definition at line 34 of file DFIDE.hpp.

DistanceFunctionType Bial::DFIDE::distance_function_type
static

Definition at line 32 of file DFIDE.hpp.

double( * Bial::DFIDE::DoubleDistancePtr) (const double *src, const size_t dms)
static

Definition at line 60 of file DFIDE.hpp.

double( * Bial::DFIDE::DoubleDistancePtrTgt) (const double *src, const double *tgt, const size_t dms)
static

Definition at line 61 of file DFIDE.hpp.

double( * Bial::DFIDE::FloatDistancePtr) (const float *src, const size_t dms)
static

Definition at line 58 of file DFIDE.hpp.

double( * Bial::DFIDE::FloatDistancePtrTgt) (const float *src, const float *tgt, const size_t dms)
static

Definition at line 59 of file DFIDE.hpp.

double( * Bial::DFIDE::IntDistancePtr) (const int *src, const size_t dms)
static

Definition at line 44 of file DFIDE.hpp.

double( * Bial::DFIDE::IntDistancePtrTgt) (const int *src, const int *tgt, const size_t dms)
static

Definition at line 45 of file DFIDE.hpp.

double( * Bial::DFIDE::LLongDistancePtr) (const llint *src, const size_t dms)
static

Definition at line 54 of file DFIDE.hpp.

double( * Bial::DFIDE::LLongDistancePtrTgt) (const llint *src, const llint *tgt, const size_t dms)
static

Definition at line 55 of file DFIDE.hpp.

double( * Bial::DFIDE::ShortDistancePtr) (const short *src, const size_t dms)
static

Definition at line 37 of file DFIDE.hpp.

double( * Bial::DFIDE::ShortDistancePtrTgt) (const short *src, const short *tgt, const size_t dms)
static

Definition at line 38 of file DFIDE.hpp.

double( * Bial::DFIDE::UCharDistancePtr) (const uchar *src, const size_t dms)
static

Definition at line 35 of file DFIDE.hpp.

double( * Bial::DFIDE::UCharDistancePtrTgt) (const uchar *src, const uchar *tgt, const size_t dms)
static

Definition at line 36 of file DFIDE.hpp.

double( * Bial::DFIDE::UIntDistancePtr) (const uint *src, const size_t dms)
static

Definition at line 46 of file DFIDE.hpp.

double( * Bial::DFIDE::UIntDistancePtrTgt) (const uint *src, const uint *tgt, const size_t dms)
static

Definition at line 47 of file DFIDE.hpp.

double( * Bial::DFIDE::ULLongDistancePtr) (const ullint *src, const size_t dms)
static

Definition at line 56 of file DFIDE.hpp.

double( * Bial::DFIDE::ULLongDistancePtrTgt) (const ullint *src, const ullint *tgt, const size_t dms)
static

Definition at line 57 of file DFIDE.hpp.

double( * Bial::DFIDE::ULongDistancePtr) (const ulint *src, const size_t dms)
static

Definition at line 52 of file DFIDE.hpp.

double( * Bial::DFIDE::ULongDistancePtrTgt) (const ulint *src, const ulint *tgt, const size_t dms)
static

Definition at line 53 of file DFIDE.hpp.


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