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 commentaire

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

Connectez-vous pour commenter.

Réponses (0)

Catégories

Question posée :

le 13 Déc 2018

Commenté :

le 13 Déc 2018

Community Treasure Hunt

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

Start Hunting!

Translated by