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

template<class DstArrayT, class Src1ArrayT, class Src2ArrayT>
bool Impala::Core::Array::Trait::QbWatershed< DstArrayT, Src1ArrayT, Src2ArrayT >::WantAnotherLoop (  )  [inline]

Definition at line 97 of file QbWatershed.h.

References Impala::Core::Array::Pattern::ArrayCPB(), Impala::Core::Array::Trait::QbWatershed< DstArrayT, Src1ArrayT, Src2ArrayT >::distImage, Impala::Core::Array::Trait::QbWatershed< DstArrayT, Src1ArrayT, Src2ArrayT >::exportDistIm, Impala::Core::Array::Pattern::Array2D< T >::getDim(), Impala::Core::Array::Trait::QbWatershed< DstArrayT, Src1ArrayT, Src2ArrayT >::h, and Impala::Core::Array::Trait::QbWatershed< DstArrayT, Src1ArrayT, Src2ArrayT >::hmax.

00098     { 
00099         h++; 
00100         if (h<=hmax) 
00101             return true; 
00102         else {
00103             //exports distImage if that was required by the user
00104             if (exportDistIm) {
00105                 for (int y=0 ; y<distImage.getDim(1) ; y++)
00106                     for (int x=0 ; x<distImage.getDim(0) ; x++)
00107                         *Pattern::ArrayCPB(exportDistIm, x, y) = distImage(x, y);
00108             }
00109             return false;
00110         }
00111     }

Here is the call graph for this function:


Generated on Fri Mar 19 11:04:50 2010 for ImpalaSrc by  doxygen 1.5.1