From: ImageAnalyst on
On Aug 4, 2:49 am, "Kenny Nam" <kennynam...(a)hotmail.com> wrote:
> Thanks for you guide.I have tried the coding bt it unable to pick the yellow from the image(Filtering) and can't run my own picture as well.It just able to run the demo.Sorry for disturbing you once again.

------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Are you sure you picked the button that said "My Own"? If you did
that, you would be able to run it on your own picture.
And, like I said, you may need to tweak the thresholds.
Why don't you post your image somewhere, such as at http://drop.io??????????????????
That's because it's always so much better to give image processing
advice when you can actually see an image.

From: Kenny Nam on
ImageAnalyst <imageanalyst(a)mailinator.com> wrote in message <085a48d4-6498-418e-9bcb-b0bab188316c(a)l20g2000yqm.googlegroups.com>...
> On Aug 4, 2:49 am, "Kenny Nam" <kennynam...(a)hotmail.com> wrote:
> > Thanks for you guide.I have tried the coding bt it unable to pick the yellow from the image(Filtering) and can't run my own picture as well.It just able to run the demo.Sorry for disturbing you once again.
>
> ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
> Are you sure you picked the button that said "My Own"? If you did
> that, you would be able to run it on your own picture.
> And, like I said, you may need to tweak the thresholds.
> Why don't you post your image somewhere, such as at http://drop.io??????????????????
> That's because it's always so much better to give image processing
> advice when you can actually see an image.

When i press the My Own,it will shown
"Error in ==> color at 76
images for the MATLAB Image Processing Toolbox.originalFolder = pwd;"

http://www.facebook.com/album.php?aid=190842&id=564318322&saved#!/photo.php?pid=4726594&id=564318322&ref=fbx_album
here is the link for my sample picture,i need to filter the pineapple automatic from the picture and do determine the percentage of yellow in RGB and histogram.
Thanks once again and hope to hear news from you soon
From: ImageAnalyst on
Sorry I don't have a Facebook account so I can't see your image. Can
you post it to http://drop.io - it's really, really easy. Just make
up some name, like "kenny" for your drop, then specify your photo for
uploading, then tell us the URL (e.g. https://drop.io/kenny).

By the way, your error message didn't make sense. Something got
corrupted when you copied the error message. Are you sure you joined
any lines broken by the newsreader? Do you have any red syntax errors
on the right hand side? Can you set a breakpoint? (You won't be able
to if you have a syntax error).
From: Kenny Nam on
ImageAnalyst <imageanalyst(a)mailinator.com> wrote in message <6999f5a5-33ff-411c-8229-01c576b37068(a)s9g2000yqd.googlegroups.com>...
> Sorry I don't have a Facebook account so I can't see your image. Can
> you post it to http://drop.io - it's really, really easy. Just make
> up some name, like "kenny" for your drop, then specify your photo for
> uploading, then tell us the URL (e.g. https://drop.io/kenny).
>
> By the way, your error message didn't make sense. Something got
> corrupted when you copied the error message. Are you sure you joined
> any lines broken by the newsreader? Do you have any red syntax errors
> on the right hand side? Can you set a breakpoint? (You won't be able
> to if you have a syntax error).

http://drop.io/namkenny517
I already uploaded to this link.thanks for your guidance
From: ImageAnalyst on
Like I said, you need to do this in hsv space NOT rgb space. But if
those thresholds work for you then just replace the low and high
thresholds in my demo code and it should work. If it doesn't, then
those thresholds are no good (hence my suggestion to use hsv space),
or else you did something wrong. How do you know it's no good?