SPRAAK
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Groups Pages
Data Structures | Macros | Typedefs | Functions | Variables
API_LowLvl::lib::exemplar
+ Collaboration diagram for API_LowLvl::lib::exemplar:

Data Structures

struct  SprDtwTraceEl
 
struct  SprKnnDtwInfo
 
struct  SprKnnDtwHeapEl
 
struct  SprKnnDtwHeap
 
struct  SprKnnDtwData
 
struct  SprExemplarWI
 word level info More...
 
struct  SprExemplarTI
 template level info More...
 
union  _Union1_EXEMPLAR_IO_
 
struct  SprExemplarLst
 
struct  SprExemplarLbl
 label info read from the segmentation file More...
 
struct  SprDtwFeatures
 
struct  SprDtwSensitivity
 

Macros

#define SPR_KNN_DTW_DATA_EMPTY
 

Typedefs

typedef float(* SprDtwFunc )(const float *tst, size_t nfr_tst, const float *ref, size_t nfr_ref, size_t vlen, const float ndc)
 
typedef float(* SprDtwFuncBT )(const float *tst, size_t nfr_tst, const float *ref, size_t nfr_ref, size_t vlen, const float ndc, SprMPool *restrict mpool_bt)
 
typedef int(* SprCalcKnnFunc )(SprKnnDtwHeap *restrict heap, const SprKnnDtwData *data, size_t f0, size_t f1, const SprExemplarLst *seg_lst, SprMPool *restrict mpool_bt)
 

Functions

SprDtwSensitivityread_sensitivity_mvg (const char *fname, float sdf)
 
void * spr_exemplar_read_data (SprDtwFeatures *dst, const char *fname, size_t ctx, const char *fname_sd, const float sdf, unsigned int nthread)
 
SprExemplarLblspr_exemplar_lbl_free (SprExemplarLbl *lbl_info)
 
SprExemplarLblspr_exemplar_lbl_read (const char *fname, size_t ctx, const char *wprefix)
 

Variables

SprCalcKnnFunc spr_dtw_knn_func []
 

Detailed Description

Macro Definition Documentation

#define SPR_KNN_DTW_DATA_EMPTY

Typedef Documentation

typedef float(* SprDtwFunc)(const float *tst, size_t nfr_tst, const float *ref, size_t nfr_ref, size_t vlen, const float ndc)
typedef float(* SprDtwFuncBT)(const float *tst, size_t nfr_tst, const float *ref, size_t nfr_ref, size_t vlen, const float ndc, SprMPool *restrict mpool_bt)
typedef int(* SprCalcKnnFunc)(SprKnnDtwHeap *restrict heap, const SprKnnDtwData *data, size_t f0, size_t f1, const SprExemplarLst *seg_lst, SprMPool *restrict mpool_bt)

Function Documentation

SprDtwSensitivity* read_sensitivity_mvg ( const char *  fname,
float  sdf 
)
void* spr_exemplar_read_data ( SprDtwFeatures dst,
const char *  fname,
size_t  ctx,
const char *  fname_sd,
const float  sdf,
unsigned int  nthread 
)
SprExemplarLbl* spr_exemplar_lbl_free ( SprExemplarLbl lbl_info)
SprExemplarLbl* spr_exemplar_lbl_read ( const char *  fname,
size_t  ctx,
const char *  wprefix 
)

Read the template label info. If wprefix is not NULL, words are load as templates as well (using wprefix as prefix string).

Variable Documentation

SprCalcKnnFunc spr_dtw_knn_func[]