필터 지우기
필터 지우기

Help understanding the imbothat function.

조회 수: 2 (최근 30일)
Ryan
Ryan 2012년 6월 19일
I am using the function imbothat as part of a larger image processing algorithm and it works great for what I need (I found that it removes 'glow' very well), I just am unsure of exactly what it does and would like to know. According to documentation, the imtophat filter is a morphological opening subtracted from the original image. Top hat filtering also acts to even out illumination in an image.
Is the imbothat filter the subtraction of the morphological closing from the original image?
What are the intended uses for imbothat?

채택된 답변

Sean de Wolski
Sean de Wolski 2012년 6월 19일
edit imbothat
will show you that your above imsubtract(imclose)) suspicision is indeed correct. As for understanding it, let's take Brett's blog post from a little time ago:
And let's say that hypothetically we were not able to segment the whole eye, and that the blood vessels appeared as part of the background in a binary image. Granted this would be very easy for this image, but just as a concept, if there wasn't the contrast and some internal features were showing up as not part of the object. So how do we find those blood vessels? Well we could do a bottom hat filtering which would morphologically close the image (dilate then erode (fill the blood vessels but not unfill them!)) and then subtract this from the original image.
hth
  댓글 수: 1
Ryan
Ryan 2012년 6월 19일
Thank you, I always forget about the "edit" command. Your example also helps explain why it is working so well for my particular problem.

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

추가 답변 (0개)

Community Treasure Hunt

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

Start Hunting!

Translated by