template<class DstArrayT, class SrcArrayT>
Watershed from markers. im is the input image mask is the marker image conn is the connectivity (4 or 8) doLabelMask indicates whether the marker images needs to be labeled beforehand This version of watershed does not consider a cost function. See WatershedMarkers2, for a cost-based implementation R. Lotufo and A. Falcao. "The ordered queue and the optimality of the watershed approaches." In Mathematical Morphology and its Application to Image and Signal Processing, pages 341-350, Dordrecht, The Netherlands, 2000. Definition at line 33 of file WatershedMarkers.h. References Impala::Core::Array::Pattern::PatQueueBased(). Referenced by Impala::Application::Im::DoWatershedMarkersVec3UInt8(), and Impala::Core::Test::TestWatershedMarkers::Run(). 00035 { 00036 Trait::QbWatershedMarkers<DstArrayT, SrcArrayT, SrcArrayT> qb(doLabelMask); 00037 Pattern::PatQueueBased(dst, src, mask, qb, conn); 00038 }
Here is the call graph for this function:
|