Lines Matching refs:gradI
306 CvPoint2D32f gradI,gradT,r; in icvTeleaInpaintFMM() local
354 …gradI.x=(float)((CV_MAT_3COLOR_ELEM(*out,uchar,km,lp+1,color)-CV_MAT_3COLOR_ELEM(*out,uchar,km,lm-… in icvTeleaInpaintFMM()
356 …gradI.x=(float)((CV_MAT_3COLOR_ELEM(*out,uchar,km,lp+1,color)-CV_MAT_3COLOR_ELEM(*out,uchar,km,lm,… in icvTeleaInpaintFMM()
360 …gradI.x=(float)((CV_MAT_3COLOR_ELEM(*out,uchar,km,lp,color)-CV_MAT_3COLOR_ELEM(*out,uchar,km,lm-1,… in icvTeleaInpaintFMM()
362 gradI.x=0; in icvTeleaInpaintFMM()
367 …gradI.y=(float)((CV_MAT_3COLOR_ELEM(*out,uchar,kp+1,lm,color)-CV_MAT_3COLOR_ELEM(*out,uchar,km-1,l… in icvTeleaInpaintFMM()
369 …gradI.y=(float)((CV_MAT_3COLOR_ELEM(*out,uchar,kp+1,lm,color)-CV_MAT_3COLOR_ELEM(*out,uchar,km,lm,… in icvTeleaInpaintFMM()
373 …gradI.y=(float)((CV_MAT_3COLOR_ELEM(*out,uchar,kp,lm,color)-CV_MAT_3COLOR_ELEM(*out,uchar,km-1,lm,… in icvTeleaInpaintFMM()
375 gradI.y=0; in icvTeleaInpaintFMM()
379 Jx -= (float)w * (float)(gradI.x*r.x); in icvTeleaInpaintFMM()
380 Jy -= (float)w * (float)(gradI.y*r.y); in icvTeleaInpaintFMM()
418 CvPoint2D32f gradI,gradT,r; in icvTeleaInpaintFMM() local
466 … gradI.x=(float)((CV_MAT_ELEM(*out,uchar,km,lp+1)-CV_MAT_ELEM(*out,uchar,km,lm-1)))*2.0f; in icvTeleaInpaintFMM()
468 … gradI.x=(float)((CV_MAT_ELEM(*out,uchar,km,lp+1)-CV_MAT_ELEM(*out,uchar,km,lm))); in icvTeleaInpaintFMM()
472 … gradI.x=(float)((CV_MAT_ELEM(*out,uchar,km,lp)-CV_MAT_ELEM(*out,uchar,km,lm-1))); in icvTeleaInpaintFMM()
474 gradI.x=0; in icvTeleaInpaintFMM()
479 … gradI.y=(float)((CV_MAT_ELEM(*out,uchar,kp+1,lm)-CV_MAT_ELEM(*out,uchar,km-1,lm)))*2.0f; in icvTeleaInpaintFMM()
481 … gradI.y=(float)((CV_MAT_ELEM(*out,uchar,kp+1,lm)-CV_MAT_ELEM(*out,uchar,km,lm))); in icvTeleaInpaintFMM()
485 … gradI.y=(float)((CV_MAT_ELEM(*out,uchar,kp,lm)-CV_MAT_ELEM(*out,uchar,km-1,lm))); in icvTeleaInpaintFMM()
487 gradI.y=0; in icvTeleaInpaintFMM()
491 Jx -= (float)w * (float)(gradI.x*r.x); in icvTeleaInpaintFMM()
492 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()
626 CvPoint2D32f gradI,r; in icvNSInpaintFMM() local
643 … gradI.x=(float)(abs(CV_MAT_ELEM(*out,uchar,kp+1,lm)-CV_MAT_ELEM(*out,uchar,kp,lm))+ in icvNSInpaintFMM()
646 … gradI.x=(float)(abs(CV_MAT_ELEM(*out,uchar,kp+1,lm)-CV_MAT_ELEM(*out,uchar,kp,lm)))*2.0f; in icvNSInpaintFMM()
650 … gradI.x=(float)(abs(CV_MAT_ELEM(*out,uchar,kp,lm)-CV_MAT_ELEM(*out,uchar,km-1,lm)))*2.0f; in icvNSInpaintFMM()
652 gradI.x=0; in icvNSInpaintFMM()
657 … gradI.y=(float)(abs(CV_MAT_ELEM(*out,uchar,km,lp+1)-CV_MAT_ELEM(*out,uchar,km,lm))+ in icvNSInpaintFMM()
660 … gradI.y=(float)(abs(CV_MAT_ELEM(*out,uchar,km,lp+1)-CV_MAT_ELEM(*out,uchar,km,lm)))*2.0f; in icvNSInpaintFMM()
664 … gradI.y=(float)(abs(CV_MAT_ELEM(*out,uchar,km,lm)-CV_MAT_ELEM(*out,uchar,km,lm-1)))*2.0f; in icvNSInpaintFMM()
666 gradI.y=0; in icvNSInpaintFMM()
670 gradI.x=-gradI.x; in icvNSInpaintFMM()
671 dir=VectorScalMult(r,gradI); in icvNSInpaintFMM()
676 … dir = (float)fabs(VectorScalMult(r,gradI)/sqrt(VectorLength(r)*VectorLength(gradI))); in icvNSInpaintFMM()