i am doing image processing for red tomato detection.how can I do complete the fruit image and remove unwanted objects in background??

6 views (last 30 days)
i am unable to get good result. i am getting this result.see attach image. i want to remove these unwanted objects in background and need full image of tomato. kindly help me in this regard. i am attaching result image here.kindly help me soon. thanks
  2 Comments
Walter Roberson
Walter Roberson on 16 Feb 2018
The original image would help.
Question for you: is Ruby Grapefruit a red fruit? How about Blood Orange? Is peach a red fruit (at least some varieties?).
Darn it looks like this phone interface does not allow me to upload pictures, or I would attach a picture of some of the apples that grow on my tree for a decision as to whether they are red fruit or not.
By the way, are you aware that in the United States, tomato is legally classified as a vegetable and specifically not as a fruit? This had to do with a tax ruling because at the time fruit was subject to a tax that vegetables were not subject to.
Muhammad Hammad Malik
Muhammad Hammad Malik on 17 Feb 2018
this is the original image.i am doing red tomato detection. i do not idea about american classification, as i know tomato is known as fruit. so kindly help me in red tomato detection.how i can remove this background and make it complete tomato.thanks

Sign in to comment.

Accepted Answer

Image Analyst
Image Analyst on 17 Feb 2018
Edited: Image Analyst on 17 Feb 2018
See my demo: https://www.mathworks.com/matlabcentral/fileexchange/26420-simplecolordetection Or use the Color Thresholder app on the Apps tab of the tool ribbon.
  26 Comments
Walter Roberson
Walter Roberson on 21 Nov 2019
Imran Y: Okay, go ahead and write the code you need.
I would, however, recommend to you that you first figure out how to know when a tomato is sufficiently ripe for your desired purpose, taking into account all of the different varieties of tomatoes that you will be dealing with.
it might not turn out to be strictly necessary to measure Ethylene emissions but read that link anyhow because it is relevant.

Sign in to comment.

More Answers (0)

Community Treasure Hunt

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

Start Hunting!