필터 지우기
필터 지우기

Morphology operator

조회 수: 2 (최근 30일)
Nilushi Dissanayake
Nilushi Dissanayake 2011년 1월 30일
Hi all I have a problem with Morphology operator. I have to pre-process some noisy Disparity 3D images by using one of the morphology operator. I thought to use 'imfill' command. but i couldn't able to operate it with my 3d images. these images are face images which I have to fill the image where there are noise caused by heir in to the face. I need help with this task. thanks

답변 (2개)

Brett Shoelson
Brett Shoelson 2011년 2월 4일
Nilushi,
The Image Processing Toolbox (IPT) function BWMORPH(BW,'fill') operates only on 2D matrices. But IMFILL(BW,'holes') also accepts matrices (images) of larger dimension. What syntax did you try?
Cheers,
Brett

Sean de Wolski
Sean de Wolski 2011년 2월 4일
imfill(bw,'holes');
will only work if the black object is not connected to the background anywhere. I.e. if the hair looks fully surrounded in one slice of a 3-dimensional image but is touching the background in another, imfill will not fill it in.
  댓글 수: 2
Brett Shoelson
Brett Shoelson 2011년 3월 5일
Isn't that how a morphological FILL is supposed to work?
Sean de Wolski
Sean de Wolski 2011년 3월 7일
Yes, I just wanted to make sure the OP was aware of this in 3d images. It could be frustrating for them if they viewed a 2d slice with an obvious hole in that slice and wondered why IMFILL didn't fill it.

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

제품

Community Treasure Hunt

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

Start Hunting!

Translated by