Lines Matching defs:sM
456 CvPoint2D64f cM={0,0}, cm={0,0}, sM={0,0}, sm={0,0};
469 sm.x += fabs(m[i].x - cm.x);
470 sm.y += fabs(m[i].y - cm.y);
471 sM.x += fabs(M[i].x - cM.x);
472 sM.y += fabs(M[i].y - cM.y);
475 sm.x = count/sm.x; sm.y = count/sm.y;
476 sM.x = count/sM.x; sM.y = count/sM.y;
478 double invHnorm[9] = { 1./sm.x, 0, cm.x, 0, 1./sm.y, cm.y, 0, 0, 1 };
479 double Hnorm2[9] = { sM.x, 0, -cM.x*sM.x, 0, sM.y, -cM.y*sM.y, 0, 0, 1 };
486 double x = (m[i].x - cm.x)*sm.x, y = (m[i].y - cm.y)*sm.y;
487 double X = (M[i].x - cM.x)*sM.x, Y = (M[i].y - cM.y)*sM.y;