24 # include <vcl_msvc_warnings.h> 56 std::vector<vil_blob_region>& dest_regions);
65 std::vector<vil_blob_pixel_list>& dest_pixel_lists);
void vil_blob_labels_to_regions(const vil_image_view< unsigned > &src_label, std::vector< vil_blob_region > &dest_regions)
Convert a label image into a list of chorded regions.
vil_blob_connectivity
Specify 4- or 8- neighbour connectivity.
void vil_blob_labels_to_edge_labels(const vil_image_view< unsigned > &src_label, vil_blob_connectivity conn, vil_image_view< unsigned > &dest_label)
Set all non-blob-edge pixels in a blob label image to zero.
void vil_blob_labels_to_pixel_lists(const vil_image_view< unsigned > &src_label, std::vector< vil_blob_pixel_list > &dest_pixel_lists)
Convert a label image into a list of pixel lists.
void vil_blob_labels(const vil_image_view< bool > &src_binary, vil_blob_connectivity conn, vil_image_view< unsigned > &dest_label)
Produce a label image that enumerates all disjoint blobs in a binary image.
A base class reference-counting view of some image data.
std::vector< vil_chord > vil_blob_region
A region is a vector of chords that came from a connected blob.
Object to store information about position of a row of pixels.
std::vector< std::pair< unsigned, unsigned > > vil_blob_pixel_list
A pixel list is a vector of <i,j> pixel positions.