gs.h File Reference

(Not opened to public) Gaussian selector Implentation More...

#include <stdio.h>
#include <s3types.h>
#include <logmath.h>

Go to the source code of this file.

Classes

struct  gs_s

Typedefs

typedef struct gs_s gs_t

Functions

int32 gs_display (char *file, gs_t *gs)
gs_tgs_read (const char *file, logmath_t *logmath)
int32 gc_compute_closest_cw (gs_t *gs, float32 *feat)
int32 gs_mgau_shortlist (gs_t *gs, int32 m, int32 n, float32 *feat, int32 bst_codeid)

Detailed Description

(Not opened to public) Gaussian selector Implentation

Implementation of Bochierri 93's idea of Gaussian Selection. A pre-computed Gaussian selector map (not distributed in Sphinx 3 but in s3fast.tgz distributed in Arthur Chan's web page) encode the closest neighbors of a given codeword and a given GMM.

In decoding, the closest codeword of the feature is first found and the nearest neighborhood(s) for all GMMs will be retrieved from the Gaussian selector map.

The reason why this file is not opened to the public is because sub-vector quantization supersed this idea conceptually. Although our SVQ implementation do not assume multiple Gaussians to be computed given a sub-stream(sub-vector) codeword is found. It is not difficult to extend the implementation to accomplish that.

Saying this, for implementation symmetry, we should still check in the Gaussian selector implementation in this archive.


Typedef Documentation

typedef struct gs_s gs_t

Function Documentation

int32 gc_compute_closest_cw ( gs_t gs,
float32 *  feat 
)

Choose the closet Gaussian codebook to use

Parameters:
gs gaussain selector
feat feature

Referenced by approx_cont_mgau_ci_eval(), and approx_cont_mgau_frame_eval().

int32 gs_display ( char *  file,
gs_t gs 
)

display the Gaussian selector

Parameters:
file file to display
gs The structure of the gaussian selector
int32 gs_mgau_shortlist ( gs_t gs,
int32  m,
int32  n,
float32 *  feat,
int32  bst_codeid 
)

Find the short list of the Gaussian selector

Parameters:
gs gaussain selector
m mixture index
n number of mixtures
feat feature vector
bst_codeid best code indx
gs_t* gs_read ( const char *  file,
logmath_t *  logmath 
)

Read the Gaussian selector

Parameters:
file a file to display

Generated on 7 Mar 2010 by  doxygen 1.6.1