필터 지우기
필터 지우기

Hi, I want to perform morphological opeartion on this image erosion and dilation on rice grain kindly help me.I am a little bit confuse in forming the structure element which shape should i choose for rice grain.

조회 수: 4 (최근 30일)

답변 (1개)

Image Analyst
Image Analyst 2017년 12월 30일
Use imdilate and imerode.
  댓글 수: 2
Zeeshan Ahmed
Zeeshan Ahmed 2017년 12월 30일
Sir i am a little confuse in forming the structure element which shape do i choose for a rice grain and how it would form..so that this structure element would further used in dilation and erosion.
Image Analyst
Image Analyst 2018년 1월 1일
Depends on what you want to accomplish. Usually the 'disk' shape is good because it's the same size in all directions. In your case I think it would be fine, but in general the shape depends on the shape of the binary structures you're trying to get or remove.

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

Community Treasure Hunt

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

Start Hunting!

Translated by