/external/opencv/cv/src/ |
cvlkpyramid.cpp | 455 double Gxx = 0, Gxy = 0, Gyy = 0, D = 0, minEig = 0; 553 Gxx = Gyy = Gxy = 0; 569 Gxy += ix[x] * iy[x]; 574 D = Gxx * Gyy - Gxy * Gxy; 583 minEig = (Gyy + Gxx - sqrt((Gxx-Gyy)*(Gxx-Gyy) + 4.*Gxy*Gxy))/(2*jsz.height*jsz.width); 591 mx = (float) ((Gyy * bx - Gxy * by) * D); 592 my = (float) ((Gxx * by - Gxy * bx) * D); [all...] |
/packages/apps/Camera/jni/feature_stab/db_vlvm/ |
db_feature_detection.cpp | 215 /*Filter vertically five rows of derivatives of length chunk_width into gxx,gxy,gyy*/ 216 inline void db_gxx_gxy_gyy_row_f(float *gxx,float *gxy,float *gyy,int chunk_width, 258 gxy[c]=Ixy0+Ixy1*4.0f+Ixy2*6.0f+Ixy3*4.0f+Ixy4; 263 /*Filter vertically five rows of derivatives of length 128 into gxx,gxy,gyy*/ 362 /*Filter horizontally the three rows gxx,gxy,gyy into the strength subrow starting at i,j 363 and with width chunk_width. gxx,gxy and gyy are assumed to be four pixels wider than chunk_width 365 inline void db_HarrisStrength_row_f(float **s,float *gxx,float *gxy,float *gyy,int i,int j,int chunk_width) 367 float Gxx,Gxy,Gyy,det,trc; 373 Gxy=gxy[c]+gxy[c+1]*4.0f+gxy[c+2]*6.0f+gxy[c+3]*4.0f+gxy[c+4] 622 float *gxx,*gxy,*gyy; local 665 int *gxx,*gxy,*gyy; local [all...] |
/packages/apps/Gallery2/jni_mosaic/feature_stab/db_vlvm/ |
db_feature_detection.cpp | 215 /*Filter vertically five rows of derivatives of length chunk_width into gxx,gxy,gyy*/ 216 inline void db_gxx_gxy_gyy_row_f(float *gxx,float *gxy,float *gyy,int chunk_width, 258 gxy[c]=Ixy0+Ixy1*4.0f+Ixy2*6.0f+Ixy3*4.0f+Ixy4; 263 /*Filter vertically five rows of derivatives of length 128 into gxx,gxy,gyy*/ 362 /*Filter horizontally the three rows gxx,gxy,gyy into the strength subrow starting at i,j 363 and with width chunk_width. gxx,gxy and gyy are assumed to be four pixels wider than chunk_width 365 inline void db_HarrisStrength_row_f(float **s,float *gxx,float *gxy,float *gyy,int i,int j,int chunk_width) 367 float Gxx,Gxy,Gyy,det,trc; 373 Gxy=gxy[c]+gxy[c+1]*4.0f+gxy[c+2]*6.0f+gxy[c+3]*4.0f+gxy[c+4] 622 float *gxx,*gxy,*gyy; local 665 int *gxx,*gxy,*gyy; local [all...] |
/packages/apps/LegacyCamera/jni/feature_stab/db_vlvm/ |
db_feature_detection.cpp | 215 /*Filter vertically five rows of derivatives of length chunk_width into gxx,gxy,gyy*/ 216 inline void db_gxx_gxy_gyy_row_f(float *gxx,float *gxy,float *gyy,int chunk_width, 258 gxy[c]=Ixy0+Ixy1*4.0f+Ixy2*6.0f+Ixy3*4.0f+Ixy4; 263 /*Filter vertically five rows of derivatives of length 128 into gxx,gxy,gyy*/ 362 /*Filter horizontally the three rows gxx,gxy,gyy into the strength subrow starting at i,j 363 and with width chunk_width. gxx,gxy and gyy are assumed to be four pixels wider than chunk_width 365 inline void db_HarrisStrength_row_f(float **s,float *gxx,float *gxy,float *gyy,int i,int j,int chunk_width) 367 float Gxx,Gxy,Gyy,det,trc; 373 Gxy=gxy[c]+gxy[c+1]*4.0f+gxy[c+2]*6.0f+gxy[c+3]*4.0f+gxy[c+4] 622 float *gxx,*gxy,*gyy; local 665 int *gxx,*gxy,*gyy; local [all...] |