Dilation of Specific points

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 Kommentar

KSSV
KSSV am 13 Dez. 2018
Use imcrop for the region of interest..extract the locations also...do what you want..and replace it back to the original matrix.

Melden Sie sich an, um zu kommentieren.

Antworten (0)

Kategorien

Gefragt:

am 13 Dez. 2018

Kommentiert:

am 13 Dez. 2018

Community Treasure Hunt

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

Start Hunting!

Translated by