|
Revision 343, 0.5 kB
(checked in by anthony_rowe, 2 years ago)
|
added ilp functions
|
| Line | |
|---|
| 1 |
#ifndef _CC3_CONNECTED_COMPONET_H_ |
|---|
| 2 |
#define _CC3_CONNECTED_COMPONENT_H_ |
|---|
| 3 |
|
|---|
| 4 |
#include <stdint.h> |
|---|
| 5 |
#include "cc3_ilp.h" |
|---|
| 6 |
|
|---|
| 7 |
#define L4_CONNECTED 0 |
|---|
| 8 |
#define L8_CONNECTED 1 |
|---|
| 9 |
|
|---|
| 10 |
|
|---|
| 11 |
typedef struct { |
|---|
| 12 |
uint8_t max_depth; |
|---|
| 13 |
uint8_t min_blob_size; |
|---|
| 14 |
uint8_t connectivity; |
|---|
| 15 |
} ccr_config_t; |
|---|
| 16 |
|
|---|
| 17 |
ccr_config_t g_cc_conf; |
|---|
| 18 |
|
|---|
| 19 |
|
|---|
| 20 |
|
|---|
| 21 |
int count (cc3_image_t * img, int x, int y, int steps); |
|---|
| 22 |
int reduce (cc3_image_t * img, int x, int y, int steps, int remove); |
|---|
| 23 |
void cc3_connected_component_reduce (cc3_image_t * img, ccr_config_t conf); |
|---|
| 24 |
|
|---|
| 25 |
|
|---|
| 26 |
#endif |
|---|