Identify and enumerate all disjoint blobs in a binary image. More...
#include "vil3d_find_blobs.h"
#include <vcl_vector.h>
#include <vcl_cassert.h>
#include <vcl_algorithm.h>
#include <vil3d/vil3d_image_view.h>
Go to the source code of this file.
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.cxx.
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.