MATLAB: I need to detect black objects from below image. how to detect black objects from this image

Image Processing Toolboximage segmentation

Best Answer

See my Image Segmentation Tutorial here: http://www.mathworks.com/matlabcentral/fileexchange/?term=authorid%3A31862. Basically it does what Walter did (thresholding), then goes on to measure some attributes of the blobs it found.