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

조회 수: 7 (최근 30일)
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
Walter Roberson
Walter Roberson 2018년 2월 16일
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 2018년 2월 17일
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

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

채택된 답변

Image Analyst
Image Analyst 2018년 2월 17일
편집: Image Analyst 2018년 2월 17일
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
Walter Roberson
Walter Roberson 2019년 11월 21일
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.

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

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Get Started with Image Processing Toolbox에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by