Home || Architecture || Video Search || Visual Search || Scripts || Applications || Important Messages || OGL || Src

WatershedMarkers2.h

Go to the documentation of this file.
00001 #ifndef Impala_Core_Array_WatershedMarkers2_h
00002 #define Impala_Core_Array_WatershedMarkers2_h
00003 
00004 #include "Core/Array/Pattern/PatQueueBased.h"
00005 #include "Core/Array/Trait/QbWatershedMarkers2.h"
00006 
00007 namespace Impala
00008 {
00009 namespace Core
00010 {
00011 namespace Array
00012 {
00013 
00014 
00031 template<class DstArrayT, class SrcArrayT>
00032 inline void
00033 WatershedMarkers2(DstArrayT*& dst, SrcArrayT* src, SrcArrayT* mask, int conn,
00034                   bool doLabelMask, int costMethod)
00035 {
00036     Trait::QbWatershedMarkers2<DstArrayT, SrcArrayT, SrcArrayT>
00037         qb(src->CW(), src->CH(), doLabelMask, costMethod);
00038     Pattern::PatQueueBased(dst, src, mask, qb, conn);
00039 }
00040 
00041 } // namespace Array
00042 } // namespace Core
00043 } // namespace Impala
00044 
00045 #endif

Generated on Fri Mar 19 09:31:03 2010 for ImpalaSrc by  doxygen 1.5.1