-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathAH_RockModel.h
59 lines (44 loc) · 1.14 KB
/
AH_RockModel.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
#ifndef AH_ROCKMODEL
#define AH_ROCKMODEL
/*******************************************************************************
AH_RockModel.h
Author: Andres Huertas - Jet Propulsion Laboratory - Vision Group
History:
01/23/06: A. Huertas. Created.
Usage:
header file to AH_RockModel.c
*****************************************************************************/
#ifdef __cplusplus
extern "C" {
#endif /* __cplusplus */
#define ANDRES 0
#define SHOWMODS 1
#define TRUE 1
#define FALSE 0
#define INSIDE 0
#define OUTSIDE 255
#define NO_INT 0
#define UP 0
#define DOWN 1
#define UP_OR_DOWN 2
#define LEFT 3
#define RIGHT 4
#define LEFT_OR_RIGHT 5
#define NA 6
#define maxPoints 2500
#define maxRocks 5000
#define ELLIPTICAL 1
#define CIRCULAR 2
#define Double_MIN_VALUE 4.9E-324
#define Double_MAX_VALUE 1.7976931348623157E308
#ifndef MAX
#define MAX(a,b) (((a) < (b)) ? (b) : (a))
#endif
#ifndef MIN
#define MIN(a,b) (((a) < (b)) ? (a) : (b))
#endif
int LabelConnectedRegions(unsigned char *B, int rows, int cols, unsigned short *CC, int* numRegions);
#ifdef __cplusplus
}
#endif /* __cplusplus */
#endif /*AH_ROCKMODEL*/