How to remove Raisins dry fruit from the picture?

1 view (last 30 days)
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 Comment
Image Analyst
Image Analyst on 2 Dec 2020
Edited: Image Analyst on 2 Dec 2020
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.

Sign in to comment.

Accepted Answer

Image Analyst
Image Analyst on 2 Dec 2020
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 Comments
Zain ul abideen ahsan
Zain ul abideen ahsan on 2 Dec 2020
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.

Sign in to comment.

More Answers (0)

Categories

Find more on Image Processing Toolbox in Help Center and File Exchange

Products


Release

R2020a

Community Treasure Hunt

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

Start Hunting!