Home | Develop | Download | Contact
pdsgaussianquantizer.h
1 /*
2  * pdsgaussianquantizer.h
3  *
4  * Copyright 2011 Fernando Pujaico Rivera <fernando.pujaico.rivera@gmail.com>
5  *
6  * This program is free software; you can redistribute it and/or modify
7  * it under the terms of the GNU General Public License as published by
8  * the Free Software Foundation; either version 2 of the License, or
9  * (at your option) any later version.
10  *
11  * This program is distributed in the hope that it will be useful,
12  * but WITHOUT ANY WARRANTY; without even the implied warranty of
13  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14  * GNU General Public License for more details.
15  *
16  * You should have received a copy of the GNU General Public License
17  * along with this program; if not, write to the Free Software
18  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
19  * MA 02110-1301, USA.
20  *
21  */
22 
32 #ifndef __PDSGAUSSIANQUANTIZER_H__
33 #define __PDSGAUSSIANQUANTIZER_H__
34 
35 #ifdef __cplusplus
36 extern "C" {
37 #endif
38 
39 #include <pds/pdsdsglobal.h>
40 #include <stdlib.h>
41 
42 #ifndef TRUE
43  #define TRUE 1
44 #endif
45 
46 #ifndef FALSE
47  #define FALSE 0
48 #endif
49 
72 typedef struct
73 {
88 
90 
106 
107 
118 
119 
131 
132 
144 
145 
154 
159 #ifdef __cplusplus
160 }
161 #endif
162 
163 #endif /* __PDSGAUSSIANQUANTIZER_H__ */
int pds_gaussian_quantizer_get_id(const PdsGaussianQuantizer *Q, PdsDsReal Valor, PdsDsNatural *Id)
Devuelve el índice correspondiente al nivel de cuantización del Valor.
int pds_gaussian_quantizer_get_value(const PdsGaussianQuantizer *Q, PdsDsNatural Id, PdsDsReal *Valor)
Devuelve un valor representativo correspondiente al nivel de cuantización del Id. ...
unsigned int PdsDsNatural
Definition: pdsdsglobal.h:47
PdsGaussianQuantizer * pds_gaussian_quantizer_new(PdsDsReal Media, PdsDsReal Sigma, PdsDsNatural Bits)
Crea una estructura de tipo PdsGaussianQuantizer.
La estructura tipo PdsGaussianQuantizer.
PdsGaussianQuantizer * pds_gaussian_quantizer_new_quantizer(PdsGaussianQuantizer *Q0)
Crea una estructura de tipo PdsGaussianQuantizer como una copia de otra.
float PdsDsReal
Definition: pdsdsglobal.h:42
void pds_gaussian_quantizer_free(PdsGaussianQuantizer *Q)
Libera la memoria correspondiente al cuantizador Q.

Enlaces de interés

HomePage Bazaar Download Bug report Ayuda Developer Feed