• Home
  • Raw
  • Download

Lines Matching refs:uchar

93                 num += CV_MAT_ELEM(*f,uchar,i,j)!=0;  in Init()
123 if (CV_MAT_ELEM(*f,uchar,i,j)!=0) { in Add()
219 if( CV_MAT_ELEM(*f,uchar,i1,j1) != INSIDE ) in FastMarching_solve()
220 if( CV_MAT_ELEM(*f,uchar,i2,j2) != INSIDE ) in FastMarching_solve()
227 else if( CV_MAT_ELEM(*f,uchar,i2,j2) != INSIDE ) in FastMarching_solve()
246 CV_MAT_ELEM(*f,uchar,ii,jj) = (uchar)known; in icvCalcFMM()
256 if (CV_MAT_ELEM(*f,uchar,i,j)==INSIDE) { in icvCalcFMM()
262 CV_MAT_ELEM(*f,uchar,i,j) = BAND; in icvCalcFMM()
271 if (CV_MAT_ELEM(*f,uchar,i,j) == CHANGE) { in icvCalcFMM()
272 CV_MAT_ELEM(*f,uchar,i,j) = KNOWN; in icvCalcFMM()
290 CV_MAT_ELEM(*f,uchar,ii,jj) = KNOWN; in icvTeleaInpaintFMM()
298 if (CV_MAT_ELEM(*f,uchar,i,j)==INSIDE) { in icvTeleaInpaintFMM()
309 if (CV_MAT_ELEM(*f,uchar,i,j+1)!=INSIDE) { in icvTeleaInpaintFMM()
310 if (CV_MAT_ELEM(*f,uchar,i,j-1)!=INSIDE) { in icvTeleaInpaintFMM()
316 if (CV_MAT_ELEM(*f,uchar,i,j-1)!=INSIDE) { in icvTeleaInpaintFMM()
322 if (CV_MAT_ELEM(*f,uchar,i+1,j)!=INSIDE) { in icvTeleaInpaintFMM()
323 if (CV_MAT_ELEM(*f,uchar,i-1,j)!=INSIDE) { in icvTeleaInpaintFMM()
329 if (CV_MAT_ELEM(*f,uchar,i-1,j)!=INSIDE) { in icvTeleaInpaintFMM()
340 if ((CV_MAT_ELEM(*f,uchar,k,l)!=INSIDE)&& in icvTeleaInpaintFMM()
352 if (CV_MAT_ELEM(*f,uchar,k,l+1)!=INSIDE) { in icvTeleaInpaintFMM()
353 if (CV_MAT_ELEM(*f,uchar,k,l-1)!=INSIDE) { 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()
356 …gradI.x=(float)((CV_MAT_3COLOR_ELEM(*out,uchar,km,lp+1,color)-CV_MAT_3COLOR_ELEM(*out,uchar,km,lm,… in icvTeleaInpaintFMM()
359 if (CV_MAT_ELEM(*f,uchar,k,l-1)!=INSIDE) { 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()
365 if (CV_MAT_ELEM(*f,uchar,k+1,l)!=INSIDE) { in icvTeleaInpaintFMM()
366 if (CV_MAT_ELEM(*f,uchar,k-1,l)!=INSIDE) { 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()
372 if (CV_MAT_ELEM(*f,uchar,k-1,l)!=INSIDE) { 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()
378 Ia += (float)w * (float)(CV_MAT_3COLOR_ELEM(*out,uchar,km,lm,color)); in icvTeleaInpaintFMM()
388 CV_MAT_3COLOR_ELEM(*out,uchar,i-1,j-1,color) = cv::saturate_cast<uchar>(sat); in icvTeleaInpaintFMM()
392 CV_MAT_ELEM(*f,uchar,i,j) = BAND; in icvTeleaInpaintFMM()
402 CV_MAT_ELEM(*f,uchar,ii,jj) = KNOWN; in icvTeleaInpaintFMM()
410 if (CV_MAT_ELEM(*f,uchar,i,j)==INSIDE) { in icvTeleaInpaintFMM()
421 if (CV_MAT_ELEM(*f,uchar,i,j+1)!=INSIDE) { in icvTeleaInpaintFMM()
422 if (CV_MAT_ELEM(*f,uchar,i,j-1)!=INSIDE) { in icvTeleaInpaintFMM()
428 if (CV_MAT_ELEM(*f,uchar,i,j-1)!=INSIDE) { in icvTeleaInpaintFMM()
434 if (CV_MAT_ELEM(*f,uchar,i+1,j)!=INSIDE) { in icvTeleaInpaintFMM()
435 if (CV_MAT_ELEM(*f,uchar,i-1,j)!=INSIDE) { in icvTeleaInpaintFMM()
441 if (CV_MAT_ELEM(*f,uchar,i-1,j)!=INSIDE) { in icvTeleaInpaintFMM()
452 if ((CV_MAT_ELEM(*f,uchar,k,l)!=INSIDE)&& in icvTeleaInpaintFMM()
464 if (CV_MAT_ELEM(*f,uchar,k,l+1)!=INSIDE) { in icvTeleaInpaintFMM()
465 if (CV_MAT_ELEM(*f,uchar,k,l-1)!=INSIDE) { in icvTeleaInpaintFMM()
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()
471 if (CV_MAT_ELEM(*f,uchar,k,l-1)!=INSIDE) { in icvTeleaInpaintFMM()
472 … gradI.x=(float)((CV_MAT_ELEM(*out,uchar,km,lp)-CV_MAT_ELEM(*out,uchar,km,lm-1))); in icvTeleaInpaintFMM()
477 if (CV_MAT_ELEM(*f,uchar,k+1,l)!=INSIDE) { in icvTeleaInpaintFMM()
478 if (CV_MAT_ELEM(*f,uchar,k-1,l)!=INSIDE) { 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()
484 if (CV_MAT_ELEM(*f,uchar,k-1,l)!=INSIDE) { in icvTeleaInpaintFMM()
485 … gradI.y=(float)((CV_MAT_ELEM(*out,uchar,kp,lm)-CV_MAT_ELEM(*out,uchar,km-1,lm))); in icvTeleaInpaintFMM()
490 Ia += (float)w * (float)(CV_MAT_ELEM(*out,uchar,km,lm)); in icvTeleaInpaintFMM()
500 CV_MAT_ELEM(*out,uchar,i-1,j-1) = cv::saturate_cast<uchar>(sat); in icvTeleaInpaintFMM()
504 CV_MAT_ELEM(*f,uchar,i,j) = BAND; in icvTeleaInpaintFMM()
522 CV_MAT_ELEM(*f,uchar,ii,jj) = KNOWN; in icvNSInpaintFMM()
530 if (CV_MAT_ELEM(*f,uchar,i,j)==INSIDE) { in icvNSInpaintFMM()
546 if ((CV_MAT_ELEM(*f,uchar,k,l)!=INSIDE)&& in icvNSInpaintFMM()
553 if (CV_MAT_ELEM(*f,uchar,k+1,l)!=INSIDE) { in icvNSInpaintFMM()
554 if (CV_MAT_ELEM(*f,uchar,k-1,l)!=INSIDE) { in icvNSInpaintFMM()
555 …gradI.x=(float)(abs(CV_MAT_3COLOR_ELEM(*out,uchar,kp+1,lm,color)-CV_MAT_3COLOR_ELEM(*out,uchar,kp,… in icvNSInpaintFMM()
556 … abs(CV_MAT_3COLOR_ELEM(*out,uchar,kp,lm,color)-CV_MAT_3COLOR_ELEM(*out,uchar,km-1,lm,color))); 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()
561 if (CV_MAT_ELEM(*f,uchar,k-1,l)!=INSIDE) { 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()
567 if (CV_MAT_ELEM(*f,uchar,k,l+1)!=INSIDE) { in icvNSInpaintFMM()
568 if (CV_MAT_ELEM(*f,uchar,k,l-1)!=INSIDE) { 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()
570 … abs(CV_MAT_3COLOR_ELEM(*out,uchar,km,lm,color)-CV_MAT_3COLOR_ELEM(*out,uchar,km,lm-1,color))); 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()
575 if (CV_MAT_ELEM(*f,uchar,k,l-1)!=INSIDE) { 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()
591 Ia += (float)w * (float)(CV_MAT_3COLOR_ELEM(*out,uchar,km,lm,color)); in icvNSInpaintFMM()
597 … CV_MAT_3COLOR_ELEM(*out,uchar,i-1,j-1,color) = cv::saturate_cast<uchar>((double)Ia/s); in icvNSInpaintFMM()
600 CV_MAT_ELEM(*f,uchar,i,j) = BAND; in icvNSInpaintFMM()
610 CV_MAT_ELEM(*f,uchar,ii,jj) = KNOWN; in icvNSInpaintFMM()
618 if (CV_MAT_ELEM(*f,uchar,i,j)==INSIDE) { in icvNSInpaintFMM()
634 if ((CV_MAT_ELEM(*f,uchar,k,l)!=INSIDE)&& in icvNSInpaintFMM()
641 if (CV_MAT_ELEM(*f,uchar,k+1,l)!=INSIDE) { in icvNSInpaintFMM()
642 if (CV_MAT_ELEM(*f,uchar,k-1,l)!=INSIDE) { in icvNSInpaintFMM()
643 … gradI.x=(float)(abs(CV_MAT_ELEM(*out,uchar,kp+1,lm)-CV_MAT_ELEM(*out,uchar,kp,lm))+ in icvNSInpaintFMM()
644 … abs(CV_MAT_ELEM(*out,uchar,kp,lm)-CV_MAT_ELEM(*out,uchar,km-1,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()
649 if (CV_MAT_ELEM(*f,uchar,k-1,l)!=INSIDE) { 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()
655 if (CV_MAT_ELEM(*f,uchar,k,l+1)!=INSIDE) { in icvNSInpaintFMM()
656 if (CV_MAT_ELEM(*f,uchar,k,l-1)!=INSIDE) { in icvNSInpaintFMM()
657 … gradI.y=(float)(abs(CV_MAT_ELEM(*out,uchar,km,lp+1)-CV_MAT_ELEM(*out,uchar,km,lm))+ in icvNSInpaintFMM()
658 … abs(CV_MAT_ELEM(*out,uchar,km,lm)-CV_MAT_ELEM(*out,uchar,km,lm-1))); 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()
663 if (CV_MAT_ELEM(*f,uchar,k,l-1)!=INSIDE) { 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()
679 Ia += (float)w * (float)(CV_MAT_ELEM(*out,uchar,km,lm)); in icvNSInpaintFMM()
685 CV_MAT_ELEM(*out,uchar,i-1,j-1) = cv::saturate_cast<uchar>((double)Ia/s); in icvNSInpaintFMM()
688 CV_MAT_ELEM(*f,uchar,i,j) = BAND; in icvNSInpaintFMM()
770 COPY_MASK_BORDER1_C1(inpaint_mask,mask,uchar); in cvInpaint()
771 SET_BORDER1_C1(mask,uchar,0); in cvInpaint()
779 SET_BORDER1_C1(band,uchar,0); in cvInpaint()
799 SET_BORDER1_C1(out,uchar,0); in cvInpaint()