Merge pull request #5132 from hewj03:master
This commit is contained in:
commit
aed9f5d5e8
@ -1310,7 +1310,7 @@ void cv::adaptiveThreshold( InputArray _src, OutputArray _dst, double maxValue,
|
||||
src.convertTo(srcfloat,CV_32F);
|
||||
meanfloat=srcfloat;
|
||||
GaussianBlur(srcfloat, meanfloat, Size(blockSize, blockSize), 0, 0, BORDER_REPLICATE);
|
||||
meanfloat.convertTo(dst, src.type());
|
||||
meanfloat.convertTo(mean, src.type());
|
||||
}
|
||||
else
|
||||
CV_Error( CV_StsBadFlag, "Unknown/unsupported adaptive threshold method" );
|
||||
|
Loading…
Reference in New Issue
Block a user