Functions
contrib/mul/vil3d/algo/vil3d_find_blobs.cxx File Reference

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.

Detailed Description

Identify and enumerate all disjoint blobs in a binary image.

Author:
Ian Scott, Kevin de Souza

Definition in file vil3d_find_blobs.cxx.


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.