Macros | |
| #define | CVC_BLOB_BLACK_TO_FEATURE 0 |
| The black areas in the binarized image are treated as features. | |
| #define | CVC_BLOB_BORDER_ALL 0xF |
| Filter for objects which touch any border. | |
| #define | CVC_BLOB_BORDER_BOTTOM 0x8 |
| Filter for objects which touch the bottom border. | |
| #define | CVC_BLOB_BORDER_LEFT 0x4 |
| Filter for objects which touch the left border. | |
| #define | CVC_BLOB_BORDER_NONE 0x0 |
| Turns the filter off. | |
| #define | CVC_BLOB_BORDER_RIGHT 0x1 |
| Filter for objects which touch the right border. | |
| #define | CVC_BLOB_BORDER_TOP 0x2 |
| Filter for objects which touch the top border. | |
| #define | CVC_BLOB_EXTRACT_ALL 0x17 |
| All parameters are calculated including storage of the streaks (this is the default setting). | |
| #define | CVC_BLOB_EXTRACT_BBOX 0x0 |
| The bounding box is calculated. | |
| #define | CVC_BLOB_EXTRACT_CENTER 0x1 |
| The centre of the object is calculated. | |
| #define | CVC_BLOB_EXTRACT_CONVEX (0x2|0x1) |
| The convex perimeter is calculated. | |
| #define | CVC_BLOB_EXTRACT_MEASUREMENT 0x7 |
| All parameters are calculated except storage of the streaks. | |
| #define | CVC_BLOB_EXTRACT_MOMENTS 0x1 |
| The moment of inertia is calculated. | |
| #define | CVC_BLOB_EXTRACT_NONE 0x0 |
| Only the blob size and the bounding box are extracted. | |
| #define | CVC_BLOB_EXTRACT_PERIMETER 0x4 |
| Perimeter of the blob. | |
| #define | CVC_BLOB_EXTRACT_PIXDATA (0x10|0x2) |
| The streaks belonging to a blob are stored separately and can be used further with the BlobGetResultImage function. | |
| #define | CVC_BLOB_EXTRACT_SIZE 0x0 |
| Size (area) of the blob. | |
| #define | CVC_BLOB_SORT_DISTANCE 4 |
| Sorted blob list by distance to point (see lx and ly in BlobSetSortMode). | |
| #define | CVC_BLOB_SORT_FALLING 0 |
| Sort in ascending order. | |
| #define | CVC_BLOB_SORT_POSX 2 |
| Sorted blob list by x position. | |
| #define | CVC_BLOB_SORT_POSY 3 |
| Sorted blob list by y position. | |
| #define | CVC_BLOB_SORT_RISING 1 |
| Sort in descending order. | |
| #define | CVC_BLOB_SORT_SIZE 1 |
| Sorted blob list by size. | |
| #define | CVC_BLOB_SORT_UNSORTED 0 |
| Unsorted blob list. | |
| #define | CVC_BLOB_WHITE_TO_FEATURE 1 |
| The white areas in the binarized image are treated as features. | |
| #define CVC_BLOB_BLACK_TO_FEATURE 0 |
| #define CVC_BLOB_BORDER_ALL 0xF |
| #define CVC_BLOB_BORDER_BOTTOM 0x8 |
| #define CVC_BLOB_BORDER_LEFT 0x4 |
| #define CVC_BLOB_BORDER_RIGHT 0x1 |
| #define CVC_BLOB_BORDER_TOP 0x2 |
| #define CVC_BLOB_EXTRACT_ALL 0x17 |
| #define CVC_BLOB_EXTRACT_BBOX 0x0 |
| #define CVC_BLOB_EXTRACT_CENTER 0x1 |
| #define CVC_BLOB_EXTRACT_CONVEX (0x2|0x1) |
| #define CVC_BLOB_EXTRACT_MEASUREMENT 0x7 |
| #define CVC_BLOB_EXTRACT_NONE 0x0 |
| #define CVC_BLOB_EXTRACT_PIXDATA (0x10|0x2) |
The streaks belonging to a blob are stored separately and can be used further with the BlobGetResultImage function.
| #define CVC_BLOB_EXTRACT_SIZE 0x0 |
| #define CVC_BLOB_SORT_DISTANCE 4 |