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

template<class DstArrayT, class SrcArrayT, class QbT>
void Impala::Core::Array::Pattern::PatQueueBased ( DstArrayT *&  dst,
SrcArrayT *  src,
QbT &  qb,
int  connectivity = 8,
int  radiusSqr = -1 
) [inline]

Definition at line 50 of file PatQueueBased.h.

References FuncQueueBasedDispatch(), PX_COUT, PX_ENDL, PxArrayForceNonDistributed(), and PxRunParallel().

Referenced by Impala::Core::Array::GeodesicDistanceTransform(), Impala::Core::Array::Label(), Impala::Core::Array::LabelOld(), Impala::Core::Array::Watershed(), Impala::Core::Array::WatershedMarkers(), and Impala::Core::Array::WatershedMarkers2().

00052 {
00053     if (dst == 0)
00054         dst = ArrayClone<DstArrayT>(src);
00055 
00056 #ifdef PX_HORUS_USED
00057     if (!PxRunParallel()) {                         // run sequential
00058 #endif
00059         FuncQueueBasedDispatch(dst, src,
00060                                qb, connectivity, radiusSqr);
00061 
00062 #ifdef PX_HORUS_USED
00063     } else {                                        // run parallel
00064         PX_COUT << "NOTE: PatQueueBased NOT PARALLELIZED YET!"
00065                 << PX_ENDL;
00066         PxArrayForceNonDistributed(src);
00067         PxArrayForceNonDistributed(dst);
00068         FuncQueueBasedDispatch(dst, src,
00069                                qb, connectivity, radiusSqr);
00070     }
00071 #endif
00072 }

Here is the call graph for this function:


Generated on Fri Mar 19 11:02:16 2010 for ImpalaSrc by  doxygen 1.5.1