borders types image in morphological operations

2 次查看(过去 30 天)
I perform different morphological operation and compare to cuda results in c++. anyone knows what padding done outside the image is it this types : 1) zero padding 2) mirror padding 3) constant padding
in image filter it is described but not in dilate erode https://www.mathworks.com/help/images/imfilter-boundary-padding-options.html example code
ImgTest=eye(10);
se1=ones(2);
ImgTestDilated=imdilate(ImgTest,se1);
ImgTestclosed=imerode(ImgTestDilated,se1);

回答(0 个)

标签

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by