Enumerations | Functions
contrib/mul/vil3d/algo/vil3d_find_blobs.h File Reference

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.

Detailed Description

Identify and enumerate all disjoint blobs in a binary image.

Author:
Ian Scott, Kevin de Souza

Definition in file vil3d_find_blobs.h.


Enumeration Type Documentation

Specify 6- or 26- neighbour connectivity.

Enumerator:
vil3d_find_blob_connectivity_6_conn 
vil3d_find_blob_connectivity_26_conn 

Definition at line 17 of file vil3d_find_blobs.h.


Function Documentation

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.

Parameters:
srcInput binary image, where false=background, true=foreground.
Return values:
dstOutput int image; 0=background, and 1...n are labels for each disjoint blob.

Definition at line 85 of file vil3d_find_blobs.cxx.