From: Reff on
I have upload a chili picture at http://img197.imageshack.us/img197/9854/dsc00709iv.jpg .There have 3 objects in the picture.so i want to differentiate between chili and another object. My aim is to identify and recognize the chili with their pattern. How to develop a Matlab program?
Thanks.
From: ImageAnalyst on
On Jan 21, 3:10 am, "Reff " <rafi...(a)yahoo.com> wrote:
> I have upload a chili picture athttp://img197.imageshack.us/img197/9854/dsc00709iv.jpg.There have 3 objects in the picture.so i want to differentiate between chili and another object. My aim is to identify and recognize the chili with their pattern. How to develop a Matlab program?
> Thanks.
--------------------------------------------------------------------------------------------------------------------------------------------------------

Looks like you could just convert to monochrome, threshold, label,
call regionprops, and examine the areas. In your photo, the areas of
the chilis are different than the other object. I believe you already
know how to do all of these things. If you don't let me know.
From: Reff on
Thanks for reply. Can i get some example program to do that? Can this apply for pick and place application?
Thanks
From: ImageAnalyst on
Just convert your images to monochrome and then apply the logic in
this demo
http://www.mathworks.com/matlabcentral/fileexchange/25157
where I use area to discriminate between 5 and 10 cent coins.
From: Reff on
I have try the sample that have given. When i tried to my image, the result get red background.How to solve this problem?
Thanks