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

WatershedMarkers.h

Go to the documentation of this file.
00001 #ifndef Impala_Core_Array_WatershedMarkers_h
00002 #define Impala_Core_Array_WatershedMarkers_h
00003 
00004 #include "Core/Array/Pattern/PatQueueBased.h"
00005 #include "Core/Array/Trait/QbWatershedMarkers.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 WatershedMarkers(DstArrayT*& dst, SrcArrayT* src, SrcArrayT* mask, int conn,
00034                  bool doLabelMask)
00035 {
00036     Trait::QbWatershedMarkers<DstArrayT, SrcArrayT, SrcArrayT> qb(doLabelMask);
00037     Pattern::PatQueueBased(dst, src, mask, qb, conn);
00038 }
00039 
00040 } // namespace Array
00041 } // namespace Core
00042 } // namespace Impala
00043 
00044 #endif

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