1 | /* ------------------------ */ |
---|
2 | /* --- ecc_generation.h --- */ |
---|
3 | /* ------------------------ */ |
---|
4 | |
---|
5 | #ifndef __ECC_GENERATION_H__ |
---|
6 | #define __ECC_GENERATION_H__ |
---|
7 | |
---|
8 | #ifdef __cplusplus |
---|
9 | #pragma message ("C++") |
---|
10 | extern "C" { |
---|
11 | #endif |
---|
12 | |
---|
13 | void generate_granularity_density_int (uint8 **X, int i0, int i1, int j0, int j1, int granularity, int density, int seed); |
---|
14 | void generate_granularity_density_float(uint8 **X, int i0, int i1, int j0, int j1, int granularity, float density, int seed); |
---|
15 | |
---|
16 | void generate_size_granularity_name (char *name, int size, int granularity, char *filename, int maxlen); |
---|
17 | void generate_granularity_density_name (char *name, int granularity, int density, char *filename, int maxlen); |
---|
18 | void generate_granularity_density_ext_name (char *name, int granularity, int density, char *extension, char *filename, int maxlen); |
---|
19 | |
---|
20 | void generate_size_granularity_density_name (char *name, int size, int granularity, int density, char *filename, int maxlen); |
---|
21 | void generate_size_granularity_density_ext_name(char *name, int size, int granularity, int density, char *extension, char *filename, int maxlen); |
---|
22 | |
---|
23 | void generate_name100(char *name, int granularity, float density, char *filename, int maxlen); |
---|
24 | |
---|
25 | int test_generation(int argc, char* argv[]); |
---|
26 | int test_generation_HGH(int argc, char* argv[]); |
---|
27 | |
---|
28 | int image_analysis_2014(int argc, char* argv[]); // segment, pixel, step, concavity ... |
---|
29 | |
---|
30 | void test_generation_mt(void); |
---|
31 | |
---|
32 | void spirale_simple(uint8 **X, int height, int width); |
---|
33 | void spirale_double(uint8 **X, int height, int width); |
---|
34 | void test_spirale(int argc, char* argv[]); |
---|
35 | |
---|
36 | void image_duplication(int argc, char *argv[]); |
---|
37 | |
---|
38 | #ifdef __cplusplus |
---|
39 | } |
---|
40 | #endif |
---|
41 | |
---|
42 | #endif // __ECC_GENERATION_H__ |
---|