MATLAB Answers

borders types image in morphological operations

1 view (last 30 days)
michael scheinfeild
michael scheinfeild on 3 Jun 2018
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 Comments

Sign in to comment.

Answers (0)

Tags

Community Treasure Hunt

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

Start Hunting!