• Home
  • Raw
  • Download

Lines Matching refs:imgA

86 void bim_ToneDownBGSupp_BGGreyLevelOutside( struct bim_UInt8Image* imgA,  in bim_ToneDownBGSupp_BGGreyLevelOutside()  argument
113 rectIxXMaxL = bbs_min( rectXMaxL, ( int16 ) imgA->widthE ); in bim_ToneDownBGSupp_BGGreyLevelOutside()
116 rectIxYMaxL = bbs_min( rectYMaxL, ( int16 ) imgA->heightE ); in bim_ToneDownBGSupp_BGGreyLevelOutside()
129 imgPtrL = &(imgA->arrE.arrPtrE[ 0 ]); in bim_ToneDownBGSupp_BGGreyLevelOutside()
130 ctrL += rectIxYMinL * imgA->widthE; in bim_ToneDownBGSupp_BGGreyLevelOutside()
131 imgPtrMaxL = imgPtrL + rectIxYMinL * imgA->widthE; in bim_ToneDownBGSupp_BGGreyLevelOutside()
140 ctrL += ( imgA->heightE - rectIxYMaxL ) * imgA->widthE; in bim_ToneDownBGSupp_BGGreyLevelOutside()
142 imgPtrL = &(imgA->arrE.arrPtrE[ rectIxYMaxL * imgA->widthE ]); in bim_ToneDownBGSupp_BGGreyLevelOutside()
143 imgPtrMaxL = &(imgA->arrE.arrPtrE[ imgA->heightE * imgA->widthE ]); in bim_ToneDownBGSupp_BGGreyLevelOutside()
154 imgPtrL = &(imgA->arrE.arrPtrE[ rectIxYMinL * imgA->widthE ]); in bim_ToneDownBGSupp_BGGreyLevelOutside()
162 if( ( int32 )imgA->widthE > ( int32 )rectIxXMaxL ) in bim_ToneDownBGSupp_BGGreyLevelOutside()
164 ctrL += ( int32 )imgA->widthE - ( int32 )rectIxXMaxL; in bim_ToneDownBGSupp_BGGreyLevelOutside()
167 for ( iL = rectIxXMaxL; iL < ( int16 ) imgA->widthE; iL++ ) in bim_ToneDownBGSupp_BGGreyLevelOutside()
188 void bim_ToneDownBGSupp_BGGreyLevelContour( struct bim_UInt8Image* imgA, in bim_ToneDownBGSupp_BGGreyLevelContour() argument
219 rectIxXMaxL = bbs_min( rectXMaxL, ( int16 ) imgA->widthE ); in bim_ToneDownBGSupp_BGGreyLevelContour()
222 rectIxYMaxL = bbs_min( rectYMaxL, ( int16 ) imgA->heightE ); in bim_ToneDownBGSupp_BGGreyLevelContour()
237 if ( rectIxXMaxL > ( int16 ) imgA->widthE ) in bim_ToneDownBGSupp_BGGreyLevelContour()
239 shiftXRectL = rectIxXMaxL - ( int16 ) imgA->widthE; in bim_ToneDownBGSupp_BGGreyLevelContour()
252 if ( rectIxYMaxL > ( int16 ) imgA->widthE ) in bim_ToneDownBGSupp_BGGreyLevelContour()
254 shiftXRectL = rectIxYMaxL - ( int16 ) imgA->widthE; in bim_ToneDownBGSupp_BGGreyLevelContour()
265 rectIxXMaxL = bbs_min( rectXMaxL, ( int16 ) imgA->widthE ); in bim_ToneDownBGSupp_BGGreyLevelContour()
267 rectIxYMaxL = bbs_min( rectYMaxL, ( int16 ) imgA->heightE ); in bim_ToneDownBGSupp_BGGreyLevelContour()
276 imgPtr0L = &(imgA->arrE.arrPtrE[ rectIxYMinL * imgA->widthE ]); in bim_ToneDownBGSupp_BGGreyLevelContour()
277 imgPtr1L = &(imgA->arrE.arrPtrE[ ( rectIxYMaxL - 1 ) * imgA->widthE ]); in bim_ToneDownBGSupp_BGGreyLevelContour()
283 imgPtr0L = &(imgA->arrE.arrPtrE[ ( rectIxYMinL + 1 ) * imgA->widthE + rectIxXMinL ]); in bim_ToneDownBGSupp_BGGreyLevelContour()
284 imgPtr1L = &(imgA->arrE.arrPtrE[ ( rectIxYMinL + 1 ) * imgA->widthE + rectIxXMaxL - 1 ]); in bim_ToneDownBGSupp_BGGreyLevelContour()
289 imgPtr0L += imgA->widthE; in bim_ToneDownBGSupp_BGGreyLevelContour()
290 imgPtr1L += imgA->widthE; in bim_ToneDownBGSupp_BGGreyLevelContour()
308 void bim_ToneDownBGSupp_suppress( struct bim_UInt8Image* imgA, in bim_ToneDownBGSupp_suppress() argument
361 rectIxXMinL = bbs_min( rectIxXMinL, ( int16 ) imgA->widthE ); in bim_ToneDownBGSupp_suppress()
362 rectIxXMaxL = bbs_min( rectXMaxL, ( int16 ) imgA->widthE ); in bim_ToneDownBGSupp_suppress()
366 rectIxYMinL = bbs_min( rectIxYMinL, ( int16 ) imgA->heightE ); in bim_ToneDownBGSupp_suppress()
367 rectIxYMaxL = bbs_min( rectYMaxL, ( int16 ) imgA->heightE ); in bim_ToneDownBGSupp_suppress()
371 if ( ( imgA->heightE == 0 ) || ( imgA->widthE == 0 ) ) return; in bim_ToneDownBGSupp_suppress()
375 bim_ToneDownBGSupp_BGGreyLevelContour( imgA, rectA, &meanBGGreyLevelL ); in bim_ToneDownBGSupp_suppress()
396 maxROIReachL = bbs_max( imgA->widthE, imgA->heightE ); in bim_ToneDownBGSupp_suppress()
426 rOIReachIxXMinL = bbs_min( rOIReachIxXMinL, ( int16 ) imgA->widthE ); in bim_ToneDownBGSupp_suppress()
427 rOIReachIxXMaxL = bbs_min( rOIReachXMaxL, ( int16 ) imgA->widthE ); in bim_ToneDownBGSupp_suppress()
431 rOIReachIxYMinL = bbs_min( rOIReachIxYMinL, ( int16 ) imgA->heightE ); in bim_ToneDownBGSupp_suppress()
432 rOIReachIxYMaxL = bbs_min( rOIReachYMaxL, ( int16 ) imgA->heightE ); in bim_ToneDownBGSupp_suppress()
440 imgPtrL = &( imgA->arrE.arrPtrE[ jL * imgA->widthE ] ); in bim_ToneDownBGSupp_suppress()
441 for ( iL = 0; iL <= ( int16 ) imgA->widthE; iL++ ) in bim_ToneDownBGSupp_suppress()
446 for ( jL = rOIReachYMaxL; jL < ( int16 ) imgA->heightE; jL++ ) in bim_ToneDownBGSupp_suppress()
448 imgPtrL = &( imgA->arrE.arrPtrE[ jL * imgA->widthE ] ); in bim_ToneDownBGSupp_suppress()
449 for ( iL = 0; iL <= ( int16 ) imgA->widthE; iL++ ) in bim_ToneDownBGSupp_suppress()
456 imgPtrL = &( imgA->arrE.arrPtrE[ jL * imgA->widthE ] ); in bim_ToneDownBGSupp_suppress()
461 for ( iL = rOIReachXMaxL; iL < ( int16 ) imgA->widthE; iL++ ) in bim_ToneDownBGSupp_suppress()
476 imgPtrL = &( imgA->arrE.arrPtrE[ jL * imgA->widthE ] ); in bim_ToneDownBGSupp_suppress()
480 ridgeIxRightL = bbs_min( ( int16 ) imgA->widthE - 1, rOIReachXMaxL - 1 - ( jL - rOIReachYMinL ) ); in bim_ToneDownBGSupp_suppress()
498 imgPtrL = &( imgA->arrE.arrPtrE[ jL * imgA->widthE ] ); in bim_ToneDownBGSupp_suppress()
502 …ridgeIxRightL = bbs_min( ( int16 ) imgA->widthE - 1, rOIReachXMaxL - 1 - ( rOIReachYMaxL - 1 - jL … in bim_ToneDownBGSupp_suppress()
515 imgPtrL = &( imgA->arrE.arrPtrE[ jL * imgA->widthE ] ); in bim_ToneDownBGSupp_suppress()