|
@@ -164,7 +164,7 @@ void BlurImage(CBSEImgPtr inImg)
|
|
|
BYTE* pPixel = inImg->GetImageDataPointer();
|
|
|
Mat cvcopyImg = Mat(rows, cols, CV_8UC1, pPixel);
|
|
|
//Mat blurImg;
|
|
|
- medianBlur(cvcopyImg, cvcopyImg, 11);//get rid of the noise point.
|
|
|
+ medianBlur(cvcopyImg, cvcopyImg, 5);//get rid of the noise point.
|
|
|
//cv::bilateralFilter
|
|
|
//cv::GaussianBlur(cvcopyImg, cvcopyImg, Size(5, 5), 2);
|
|
|
//inImg->SetImageData(cvcopyImg.data, width, height);
|