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

template<class DstArrayT, class SrcArrayT>
void Impala::Core::Array::Trait::QbLabel< DstArrayT, SrcArrayT >::Calculate ( VecNeighborsT vecneighbors  )  [inline]

Definition at line 109 of file QbLabel.h.

References Impala::Core::Array::Trait::QbLabel< DstArrayT, SrcArrayT >::actionsout, Impala::Core::Array::Trait::QbLabel< DstArrayT, SrcArrayT >::Temp::arith, Impala::Core::Array::Trait::QbLabel< DstArrayT, SrcArrayT >::centrum, Impala::Core::Array::Trait::QbLabel< DstArrayT, SrcArrayT >::Temp::img, Impala::Core::Array::Trait::QbLabel< DstArrayT, SrcArrayT >::neighborsout, Impala::Core::Array::Trait::QbLabel< DstArrayT, SrcArrayT >::Temp::point, Impala::Core::Array::Pattern::QUEUE, Impala::Core::Array::Trait::FcvArray< T >::size(), and Impala::Core::Array::Pattern::WRITE.

00110     {
00111         for (int i=0; i<vecneighbors.size(); i++) {
00112             NeighborsT n=vecneighbors[i];
00113             if (n.arith==Element::E0LargeVal<DstArithT>(DstArithT()) &&
00114                 n.img == centrum.img) {
00115                 //roughlyEqual(n.img, centrum.img, tolerance)) {
00116                 Temp val;
00117                 val.arith=centrum.arith;
00118                 val.point=n.point;
00119                 val.img=n.img;
00120                 neighborsout.push_back(val);
00121                 actionsout.push_back(Pattern::WRITE);
00122                 neighborsout.push_back(val);
00123                 actionsout.push_back(Pattern::QUEUE);
00124             }
00125         }
00126     }

Here is the call graph for this function:


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