|
@@ -1738,8 +1738,8 @@ namespace OTSIMGPROC
|
|
|
//Mat cvcopyImg = Mat(nHeightImg, nWidthImg, CV_8UC1, pPixel);// use the medianblur method to achieve the same effect as open morphology(errod and dialate).
|
|
|
//pPixel = cvcopyImg.data;
|
|
|
|
|
|
- COTSImageProcess::BErode3(pPixel, pTempImg, 3, nHeightImg, nWidthImg);
|
|
|
- COTSImageProcess::BDilate3(pTempImg, pPixel, 3, nHeightImg, nWidthImg);
|
|
|
+ COTSImageProcess::BErode3(pPixel, pTempImg, 5, nHeightImg, nWidthImg);
|
|
|
+ COTSImageProcess::BDilate3(pTempImg, pPixel, 5, nHeightImg, nWidthImg);
|
|
|
|
|
|
|
|
|
|