This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

C66x上使用VLIB的VLIB_grayscale_morphology 问题



如题,我使用VLIB_grayscale_morphology对灰度图像进行膨胀操作时,得到的结果并不是完全正确,图像的边缘处理上存在一些问题

测试图像分辨率450x374,结果如下所示,可以看出vlib膨胀输出图像上、下、左侧边缘有像素缺失,而右侧有像素多出来。

请问如何解决这个问题

                                                                        输入图像

                                                                        matlab膨胀结果

                                                                        vlib膨胀结果