added enums for corner and pixel indexes
This commit is contained in:
parent
7bdbd14a14
commit
4a820d10fe
20
enums.py
Normal file
20
enums.py
Normal file
@ -0,0 +1,20 @@
|
||||
from enum import Enum
|
||||
|
||||
class corner(Enum):
|
||||
cBottomLeft=0
|
||||
cBottomRight=1
|
||||
cTopLeft=2
|
||||
cTopRight=3
|
||||
|
||||
|
||||
class pixel(Enum):
|
||||
pBottomLeft=0
|
||||
pBottom=1
|
||||
pBottomRight=2
|
||||
pLeft=3
|
||||
pCenter=4
|
||||
pRight=5
|
||||
pTopLeft=6
|
||||
pTop=7
|
||||
pTopRight=8
|
||||
|
@ -25,14 +25,14 @@ typedef enum {
|
||||
pRight=5,
|
||||
pTopLeft=6,
|
||||
pTop=7,
|
||||
qTopRight=8
|
||||
pTopRight=8
|
||||
} pixel;
|
||||
|
||||
|
||||
typedef struct {
|
||||
int32_t tot2;
|
||||
int32_t tot3;
|
||||
int8_t c;
|
||||
uint32_t c;
|
||||
} ClusterAnalysis ;
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user