Identify and enumerate all disjoint blobs in a binary image. More...
#include <vil3d/vil3d_fwd.h>
Go to the source code of this file.
Enumerations | |
enum | vil3d_find_blob_connectivity { vil3d_find_blob_connectivity_6_conn, vil3d_find_blob_connectivity_26_conn } |
Specify 6- or 26- neighbour connectivity. More... | |
Functions | |
void | vil3d_find_blobs (const vil3d_image_view< bool > &src, vil3d_find_blob_connectivity conn, vil3d_image_view< unsigned > &dst) |
Identify and enumerate all disjoint blobs in a binary image. |
Identify and enumerate all disjoint blobs in a binary image.
Definition in file vil3d_find_blobs.h.
Specify 6- or 26- neighbour connectivity.
Definition at line 17 of file vil3d_find_blobs.h.
void vil3d_find_blobs | ( | const vil3d_image_view< bool > & | src, |
vil3d_find_blob_connectivity | conn, | ||
vil3d_image_view< unsigned > & | dst | ||
) |
Identify and enumerate all disjoint blobs in a binary image.
src | Input binary image, where false=background, true=foreground. |
dst | Output int image; 0=background, and 1...n are labels for each disjoint blob. |
Definition at line 85 of file vil3d_find_blobs.cxx.