source: soft/giet_vm/applications/rosenfeld/include/histogramNR.h @ 776

Last change on this file since 776 was 772, checked in by meunier, 9 years ago
  • Ajout de l'application rosenfeld
  • Changement du nom du flag O_CREATE en O_CREAT
File size: 937 bytes
RevLine 
[772]1/* --------------------- */
2/* --- histogramNR.h --- */
3/* --------------------- */
4
5/*
6 * Copyright (c) 2011 Lionel Lacassagne, all rights reserved
7 * University Paris Sud 11
8 */
9
10#ifndef __HISTOGRAM_NR_H__
11#define __HISTOGRAM_NR_H__
12
13#ifdef __cplusplus
14extern "C" {
15#endif
16
17uint32* alloc_ui32histogram(           int i0, int i1);
18void     free_ui32histogram(uint32* H, int i0, int i1);
19
20void    zero_ui32histogram(uint32 *H, int i0, int i1);
21void display_ui32histogram(uint32 *H, int i0, int i1, char *format, char *name);
22   
23void ui32histogram_ui8matrix(uint8 **X, int i0, int i1, int j0, int j1, uint32 *H);
24
25void ui32histogram_equalize_ui8matrix(uint8 **X, int i0, int i1, int j0, int j1, uint8 **Y);
26
27int calc_otsu_threshold_ui8matrix (uint8 **X, int i0, int i1, int j0, int j1);
28int calc_otsu_threshold_ui32vector(uint32 *H, int i0, int i1); 
29
30#ifdef __cplusplus
31}
32#endif
33
34#endif // __LUT_NR_H__
Note: See TracBrowser for help on using the repository browser.