How to remove Raisins dry fruit from the picture?

1 次查看(过去 30 天)
Hi There, From other tasks that have to be done is to remove raisins from picture in matlab code. I have no clue how to do this. This is my first MATLAB on image processing becuase its not my filed, but this course was assigned forcefully becuase others course needed labs and uni are online now days
Please anybody can help specially @Image Analyst.
Thanks in Advance
  1 个评论
Image Analyst
Image Analyst 2020-12-2
编辑:Image Analyst 2020-12-2
What does "remove" mean to you exactly? Images must remain rectangular. You can't have "holes" with missing pixels in an image.
Did you try the Color Thresholder app on the apps tab of the tool ribbon? You can identify dark brown things and turn them white. Give it a try first.

请先登录,再进行评论。

采纳的回答

Image Analyst
Image Analyst 2020-12-2
Not sure if you ever took my advice or not since I didn't hear from you. Here is what you get if you use the Color Thresholder app:
Did you do the same thing?
  5 个评论
Zain ul abideen ahsan
Yes exactly to smear with surroinding values. Will give a try on regionfill()function and will uodate you accordingly.
Its perfect removal, just need to add touch to final picture to get better visuals.

请先登录,再进行评论。

更多回答(0 个)

产品


版本

R2020a

Community Treasure Hunt

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

Start Hunting!

Translated by