hi, i want to ask how to detect red color for the circlar shape(blue color) in this image. can someone tell me the step? thanks. how to separate the color band? i dont underrstand how to declare the arrays?
http://www.flickr.com/photos/77154085@N06/?saved=1 I want to know how to get the shape circle with white color and the background is in black color. it means the arrow in the circle will be black color but the circle will be white color. the other background is black.how to do blue segmentation to get threshold image?i mean color threshold. can u tell me the step. i need it absolutely. plz help me!
No products are associated with this question.
A = imread('http://farm8.staticflickr.com/7192/6915806857_cfb9d98996_m.jpg'); imshow(A,) B= A(:,:,3); % your blue band!
you can do morphological operation to get the circle !
Rose, see my color segmentation demos: http://www.mathworks.com/matlabcentral/fileexchange/?term=authorid%3A31862
Looks like you already marked the situation as solved. If you have any additional questions, other than this, just ask again.
im sorry abt the question i have asked. i am asked to detect the blue color. i mean the circle shape.
Rose, let me ask you again to run my delta E app on your image. I just did right now and it did a nearly perfect job of getting the blue sign. You just need to do a hole fill to fill in some of the little white glints and tears on the sign. Why are you being so reluctant to run it? It's very simple. It just asks you to open your image and draw some part of the image that has the color you want to find. It doesn't even have to be all of the color, just some of the pixels with that color. Then it asks you for a number to say how close to that color do you want to find. It even suggests a good tolerance number for you. Then it finds them all. It can't get much easier. I don't know what else to suggest when something like I've already provided works so perfectly, unlike the other answer you accepted. Again, try it and you'll see.