Each seed defines a unique label which is propagated to each pixel in the associated region. Regions are isolated by a boundary with a unique (0) label.
Region growth is managed by a priority queue. Neigborhing pixels to each seed are inserted in the queue to get the process started. When a new pixel is added to the region, its unlabeled neighbors are added to the queue.
Modifications
Initial version June 18, 2004
Definition in file brip_watershed.h.
#include <vcl_map.h>
#include <vcl_queue.h>
#include <vbl/vbl_array_2d.h>
#include <vil1/vil1_image.h>
#include <vil1/vil1_memory_image_of.h>
#include <brip/brip_region_pixel.h>
#include <brip/brip_watershed_params.h>
Go to the source code of this file.
Classes | |
| class | brip_watershed |
1.4.4