template<class DstArrayT, class SrcArrayT, class VecPointT, class VecNeighborT, class NeighborsT>
Definition at line 64 of file FuncQueueBased.h. References ArrayCPB(), ArrayCW(), Impala::Core::Geometry::PointZ::mX, and PtrRead(). 00068 { 00069 typedef typename DstArrayT::StorType DstStorT; 00070 typedef typename DstArrayT::ArithType DstArithT; 00071 typedef typename SrcArrayT::StorType SrcStorT; 00072 typedef typename SrcArrayT::ArithType SrcArithT; 00073 00074 vecneighbors.clear(); 00075 int imgsizex = ArrayCW(dst); 00076 int imgsizey = ArrayCW(dst); 00077 for (int i=0; i<neighborCoordinates.size(); i++) 00078 { 00079 Geometry::PointZ p = neighborCoordinates[i]+centralPoint; 00080 int tempx=p.mX, tempy=p.mY; 00081 if (tempx>=0 && tempy>=0 && tempx<imgsizex && tempy<imgsizey) 00082 { 00083 DstStorT* dPtr = ArrayCPB(dst, tempx, tempy); 00084 SrcStorT* sPtr = ArrayCPB(src, tempx, tempy); 00085 NeighborsT neighbors; 00086 neighbors.point=p; 00087 neighbors.arith=PtrRead(dPtr, DstArithT()); 00088 neighbors.img=PtrRead(sPtr, SrcArithT()); 00089 vecneighbors.push_back(neighbors); 00090 } 00091 } 00092 }
Here is the call graph for this function:
|