![]() |
SB SDK 1.11
|
Defines the parameters for blob analysis. More...
#include <sb.h>
Data Fields | |
unsigned char | lut [256] |
Lut of gray levels used to find the blobs. More... | |
sb_t_range | area |
Range of area, value in pixel. | |
sb_t_range | height |
Range of height, value in pixel. | |
sb_t_range | width |
Range of weight, value in pixel. | |
sb_t_pixel_connection | connection_type |
Pixel connection type. | |
int | blob_rle |
Set to 1 if you want the rle of each blob. More... | |
int | blob_contour |
Set to 1 if you want the contour of each blob. More... | |
int | merge_distance |
Blobs with a distance inferior or equal to the value are merged together. More... | |
sb_t_range | merge_area |
Range of area after merge, value in pixel. | |
sb_t_range | merge_height |
Range of height after merge, value in pixel. | |
sb_t_range | merge_width |
Range of weight after merge, value in pixel. | |
int | keep_deleted |
If different than 0, deleted blobs are kept in the list and marked as deleted. | |
int | verbosity |
Verbosity level. | |
int sb_t_blob_par::blob_contour |
Set to 1 if you want the contour of each blob.
int sb_t_blob_par::blob_rle |
Set to 1 if you want the rle of each blob.
unsigned char sb_t_blob_par::lut[256] |
Lut of gray levels used to find the blobs.
If the value lut[x] is 0, then the corresponding gray level x is not used. If the value lut[x] is greater than 0, then the corresponding gray level x is used. Moreover, a blob is composed of all the pixels that have the same value of the lut. The value of the lut is written in parameter sb_t_blob::lut . The blobs with different value of the lut are manage ina indipendent mode. So using different values of the lut is like doing more blob analysis with the same call of the sb_blobs_detection function.
int sb_t_blob_par::merge_distance |