In this post: http://wp.me/p3CX0w-aD I created function getColor to take input the image above and the color and result we get is a binary image.
I started with MATLAB shape detection project problem. After getting the binary images from getColor function that I created (as in previous post) it’s now time to identify shapes (blobs) within the binary image (having two values 0 or 1, black or white). Here is the rough example:
Here im is the binary image created from the getColor function and shape may be ‘circle’, ‘triangle’ or ‘square’ etc. Actually this function doesn’t solves the problem.
The iblobs function of the Machine Vision Toolbox was taking too much to respond. After computing, it results into some blobs with area = 1, that means there are some white points (dots) in the binary image.
And later evening, the function stopped working and gave some error, I don’t know the reason behind it.