Dilation of Specific points
Show older comments
I have a binary zero matrix form of an image.Now I wonder,how to perform dilation morphological operation only on certain locations(to be read from a 2D array) so that the locations would likely turn as disk shapes (using strel('disk',r) function) having value as 1's and rest of the part as 0's;
1 Comment
KSSV
on 13 Dec 2018
Use imcrop for the region of interest..extract the locations also...do what you want..and replace it back to the original matrix.
Answers (0)
Categories
Find more on Image Processing Toolbox in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!