Lines Matching defs:img

38     float **img,*aim,*p;
53 img=new float* [h];
57 img[i]=aim+aw*i+1;
60 return(img);
63 void db_FreeStrengthImage_f(float *im,float **img,int h)
66 delete [] img;
69 /*Compute derivatives Ix,Iy for a subrow of img with upper left (i,j) and width chunk_width
71 inline void db_IxIyRow_f(float *Ix,float *Iy,const float * const *img,int i,int j,int chunk_width)
77 Ix[c]=img[i][j+c-1]-img[i][j+c+1];
78 Iy[c]=img[i-1][j+c]-img[i+1][j+c];
82 /*Compute derivatives Ix,Iy for a subrow of img with upper left (i,j) and width 128
84 inline void db_IxIyRow_u(int *dxx,const unsigned char * const *img,int i,int j,int nc)
89 r1=img[i-1]+j; r2=img[i]+j; r3=img[i+1]+j;
206 Ix=(img[i][j+c-1]-img[i][j+c+1])>>1;
207 Iy=(img[i-1][j+c]-img[i+1][j+c])>>1;
613 /*Compute the Harris corner strength of the chunk [left,top,right,bottom] of img and
616 inline void db_HarrisStrengthChunk_f(float **s,const float * const *img,int left,int top,int right,int bottom,
637 for(i=top-2;i<top+2;i++) db_IxIyRow_f(Ix[i%5],Iy[i%5],img,i,left-2,chunk_width_p4);
643 db_IxIyRow_f(Ix[(i+2)%5],Iy[(i+2)%5],img,(i+2),left-2,chunk_width_p4);
655 /*Compute the Harris corner strength of the chunk [left,top,left+123,bottom] of img and
659 inline void db_HarrisStrengthChunk_u(float **s,const unsigned char * const *img,int left,int top,int bottom,
679 for(i=top-2;i<top+2;i++) db_IxIyRow_u(Ixx[i%5],img,i,left-2,nc);
685 db_IxIyRow_u(Ixx[(i+2)%5],img,(i+2),left-2,nc);
696 /*Compute Harris corner strength of img. Strength is returned for the region
700 void db_HarrisStrength_f(float **s,const float * const *img,int w,int h,
715 db_HarrisStrengthChunk_f(s,img,x,3,right,h-4,temp);
719 /*Compute Harris corner strength of img. Strength is returned for the region
724 void db_HarrisStrength_u(float **s, const unsigned char * const *img,int w,int h,
742 db_HarrisStrengthChunk_u(s,img,x,3,h-4,temp,nc);
1054 /*Find maximum value of img in the region starting at (left,top)
1055 and with width w and height h. img[left] should be 16 byte aligned*/
1056 float db_MaxImage_Aligned16_f(float **img,int left,int top,int w,int h)
1064 max_val=img[top][left];
1068 val=db_Max_Aligned16_f(img[i]+left,w);
1629 void db_CornerDetector_f::DetectCorners(const float * const *img,double *x_coord,double *y_coord,int *nr_corners) const
1633 db_HarrisStrength_f(m_strength,img,m_w,m_h,m_temp_f,m_cw);
1727 void db_CornerDetector_u::DetectCorners(const unsigned char * const *img,double *x_coord,double *y_coord,int *nr_corners,
1732 db_HarrisStrength_u(m_strength,img,m_w,m_h,m_temp_i);