Lines Matching refs:gradI
304 CvPoint2D32f gradI,gradT,r; in icvTeleaInpaintFMM() local
352 …gradI.x=(float)((CV_MAT_3COLOR_ELEM(*out,uchar,km,lp+1,color)-CV_MAT_3COLOR_ELEM(*out,uchar,km,lm-… in icvTeleaInpaintFMM()
354 …gradI.x=(float)((CV_MAT_3COLOR_ELEM(*out,uchar,km,lp+1,color)-CV_MAT_3COLOR_ELEM(*out,uchar,km,lm,… in icvTeleaInpaintFMM()
358 …gradI.x=(float)((CV_MAT_3COLOR_ELEM(*out,uchar,km,lp,color)-CV_MAT_3COLOR_ELEM(*out,uchar,km,lm-1,… in icvTeleaInpaintFMM()
360 gradI.x=0; in icvTeleaInpaintFMM()
365 …gradI.y=(float)((CV_MAT_3COLOR_ELEM(*out,uchar,kp+1,lm,color)-CV_MAT_3COLOR_ELEM(*out,uchar,km-1,l… in icvTeleaInpaintFMM()
367 …gradI.y=(float)((CV_MAT_3COLOR_ELEM(*out,uchar,kp+1,lm,color)-CV_MAT_3COLOR_ELEM(*out,uchar,km,lm,… in icvTeleaInpaintFMM()
371 …gradI.y=(float)((CV_MAT_3COLOR_ELEM(*out,uchar,kp,lm,color)-CV_MAT_3COLOR_ELEM(*out,uchar,km-1,lm,… in icvTeleaInpaintFMM()
373 gradI.y=0; in icvTeleaInpaintFMM()
377 Jx -= (float)w * (float)(gradI.x*r.x); in icvTeleaInpaintFMM()
378 Jy -= (float)w * (float)(gradI.y*r.y); in icvTeleaInpaintFMM()
417 CvPoint2D32f gradI,gradT,r; in icvTeleaInpaintFMM() local
465 … gradI.x=(float)((CV_MAT_ELEM(*out,uchar,km,lp+1)-CV_MAT_ELEM(*out,uchar,km,lm-1)))*2.0f; in icvTeleaInpaintFMM()
467 … gradI.x=(float)((CV_MAT_ELEM(*out,uchar,km,lp+1)-CV_MAT_ELEM(*out,uchar,km,lm))); in icvTeleaInpaintFMM()
471 … gradI.x=(float)((CV_MAT_ELEM(*out,uchar,km,lp)-CV_MAT_ELEM(*out,uchar,km,lm-1))); in icvTeleaInpaintFMM()
473 gradI.x=0; in icvTeleaInpaintFMM()
478 … gradI.y=(float)((CV_MAT_ELEM(*out,uchar,kp+1,lm)-CV_MAT_ELEM(*out,uchar,km-1,lm)))*2.0f; in icvTeleaInpaintFMM()
480 … gradI.y=(float)((CV_MAT_ELEM(*out,uchar,kp+1,lm)-CV_MAT_ELEM(*out,uchar,km,lm))); in icvTeleaInpaintFMM()
484 … gradI.y=(float)((CV_MAT_ELEM(*out,uchar,kp,lm)-CV_MAT_ELEM(*out,uchar,km-1,lm))); in icvTeleaInpaintFMM()
486 gradI.y=0; in icvTeleaInpaintFMM()
490 Jx -= (float)w * (float)(gradI.x*r.x); in icvTeleaInpaintFMM()
491 Jy -= (float)w * (float)(gradI.y*r.y); in icvTeleaInpaintFMM()
538 CvPoint2D32f gradI,r; in icvNSInpaintFMM() local
555 …gradI.x=(float)(abs(CV_MAT_3COLOR_ELEM(*out,uchar,kp+1,lm,color)-CV_MAT_3COLOR_ELEM(*out,uchar,kp,… in icvNSInpaintFMM()
558 …gradI.x=(float)(abs(CV_MAT_3COLOR_ELEM(*out,uchar,kp+1,lm,color)-CV_MAT_3COLOR_ELEM(*out,uchar,kp,… in icvNSInpaintFMM()
562 …gradI.x=(float)(abs(CV_MAT_3COLOR_ELEM(*out,uchar,kp,lm,color)-CV_MAT_3COLOR_ELEM(*out,uchar,km-1,… in icvNSInpaintFMM()
564 gradI.x=0; in icvNSInpaintFMM()
569 …gradI.y=(float)(abs(CV_MAT_3COLOR_ELEM(*out,uchar,km,lp+1,color)-CV_MAT_3COLOR_ELEM(*out,uchar,km,… in icvNSInpaintFMM()
572 …gradI.y=(float)(abs(CV_MAT_3COLOR_ELEM(*out,uchar,km,lp+1,color)-CV_MAT_3COLOR_ELEM(*out,uchar,km,… in icvNSInpaintFMM()
576 …gradI.y=(float)(abs(CV_MAT_3COLOR_ELEM(*out,uchar,km,lm,color)-CV_MAT_3COLOR_ELEM(*out,uchar,km,lm… in icvNSInpaintFMM()
578 gradI.y=0; in icvNSInpaintFMM()
582 gradI.x=-gradI.x; in icvNSInpaintFMM()
583 dir=VectorScalMult(r,gradI); in icvNSInpaintFMM()
588 … dir = (float)fabs(VectorScalMult(r,gradI)/sqrt(VectorLength(r)*VectorLength(gradI))); in icvNSInpaintFMM()
629 CvPoint2D32f gradI,r; in icvNSInpaintFMM() local
646 … gradI.x=(float)(abs(CV_MAT_ELEM(*out,uchar,kp+1,lm)-CV_MAT_ELEM(*out,uchar,kp,lm))+ in icvNSInpaintFMM()
649 … gradI.x=(float)(abs(CV_MAT_ELEM(*out,uchar,kp+1,lm)-CV_MAT_ELEM(*out,uchar,kp,lm)))*2.0f; in icvNSInpaintFMM()
653 … gradI.x=(float)(abs(CV_MAT_ELEM(*out,uchar,kp,lm)-CV_MAT_ELEM(*out,uchar,km-1,lm)))*2.0f; in icvNSInpaintFMM()
655 gradI.x=0; in icvNSInpaintFMM()
660 … gradI.y=(float)(abs(CV_MAT_ELEM(*out,uchar,km,lp+1)-CV_MAT_ELEM(*out,uchar,km,lm))+ in icvNSInpaintFMM()
663 … gradI.y=(float)(abs(CV_MAT_ELEM(*out,uchar,km,lp+1)-CV_MAT_ELEM(*out,uchar,km,lm)))*2.0f; in icvNSInpaintFMM()
667 … gradI.y=(float)(abs(CV_MAT_ELEM(*out,uchar,km,lm)-CV_MAT_ELEM(*out,uchar,km,lm-1)))*2.0f; in icvNSInpaintFMM()
669 gradI.y=0; in icvNSInpaintFMM()
673 gradI.x=-gradI.x; in icvNSInpaintFMM()
674 dir=VectorScalMult(r,gradI); in icvNSInpaintFMM()
679 … dir = (float)fabs(VectorScalMult(r,gradI)/sqrt(VectorLength(r)*VectorLength(gradI))); in icvNSInpaintFMM()