Hua*_*Lim 7 java android opencv image-processing computer-vision
根据我的研究,扩散和侵蚀可用于在图像二值化之后桥接图像的间隙.
我不确定是否cvSmooth需要使用.
Rui*_*ues 15
Android具有与C++/Python相同的功能,因此您需要做的就是找到它们所属的类,在本例中为Imgproc:
Imgproc.erode(mInput, mInput, Imgproc.getStructuringElement(Imgproc.MORPH_RECT, new Size(2,2)));
Imgproc.dilate(mInput, mInput, Imgproc.getStructuringElement(Imgproc.MORPH_RECT, new Size(2, 2)));
Run Code Online (Sandbox Code Playgroud)
| 归档时间: |
|
| 查看次数: |
12830 次 |
| 最近记录: |