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

color segmentationfruitimage analysisimage processingImage Processing Toolboximage segmentation

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

Best Answer

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.