real time object detection

1 view (last 30 days)
muzafar
muzafar on 16 Feb 2013
my question regarding object detection is that is it possible to detect all the objects present in the image.becuse i faced a problem when i worked on object detection,i couldn't find black objects because due to thresholding,these objects where ignored and i am doing the compliment of the image i am getting only black objects ,please can anybody tell me how to detect all objects

Answers (1)

Image Analyst
Image Analyst on 16 Feb 2013
First you say "i couldn't find black objects" then you say "i am getting only black objects". Can you explain this contradiction? Do you know how to find black objects or not?
You do not need to invert images, you can simply flip the greater than or less than sign:
darkObjects = grayImage < someThresholdValue;
brightObjects = grayImage > someThresholdValue;
To detect "all" objects, you're going to have to tell us what an object is. If you're pointing your webcam around your lab, is an object a molecule? Is it dark things, bright things, or just things that are different than their local background? Upload an image and tell us where you posted it.

Categories

Find more on Images in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!