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

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

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

도움말 센터File Exchange에서 Image Processing Toolbox에 대해 자세히 알아보기

질문:

2018년 12월 13일

댓글:

2018년 12월 13일

Community Treasure Hunt

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

Start Hunting!

Translated by