Skip to content

Commit

Permalink
Merge pull request opencv#5132 from hewj03:master
Browse files Browse the repository at this point in the history
  • Loading branch information
alalek committed Aug 9, 2015
2 parents 9b2a7fe + 67ca143 commit aed9f5d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/imgproc/src/thresh.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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" );
Expand Down

0 comments on commit aed9f5d

Please sign in to comment.