rewrote matchTemplate in C++; added border awareness to crossCorr (ticket #557)
This commit is contained in:
@@ -442,6 +442,7 @@ cvCopyMakeBorder( const CvArr* srcarr, CvArr* dstarr, CvPoint offset,
|
||||
if( dststep == 0 )
|
||||
dststep = CV_STUB_STEP;
|
||||
|
||||
bordertype &= 15;
|
||||
if( bordertype == IPL_BORDER_REPLICATE )
|
||||
{
|
||||
icvCopyReplicateBorder_8u( src->data.ptr, srcstep, srcsize,
|
||||
|
Reference in New Issue
Block a user