SqueezeBrains SDK 1.18
|
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 | blob_min_rot_rect |
For each blob it enables the calculation of the smaller rotated rectangle containing the blob. More... | |
sb_t_blob_distance_mode | blob_distance_mode |
Selection of the algorithm for calculating the distance between blobs. 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. Used only if sb_t_blob_par::merge_distance is greater than or equal to 0. | |
sb_t_range | merge_height |
Range of height after merge, value in pixel. Used only if sb_t_blob_par::merge_distance is greater than or equal to 0. | |
sb_t_range | merge_width |
Range of weight after merge, value in pixel. Used only if sb_t_blob_par::merge_distance is greater than or equal to 0. | |
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.
sb_t_blob_distance_mode sb_t_blob_par::blob_distance_mode |
int sb_t_blob_par::blob_min_rot_rect |
For each blob it enables the calculation of the smaller rotated rectangle containing the blob.
Requires the sb_t_blob_par::blob_rle parameter to be enabled.
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 in a independent 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 |