From: Ish Khan on
ImageAnalyst <imageanalyst(a)mailinator.com> wrote in message <eb5be15d-bc1a-4add-90c0-5da3988ae2dc(a)o8g2000yqo.googlegroups.com>...
> On Apr 28, 9:40 pm, "Ish Khan" <smitten...(a)yahoo.com> wrote:
> > Hi Walter, thanks for the reply. Actually, what you said was correct, my yellow is turning white and not black, which should be a 1 as it is a color. Now my teacher asking me to see the problem in this way, as white is 255, anything below the 255 mark should be a 1, anything equal should be a 0, so if i program it in that way that anything of the value of 255 is white thus 0 and anything below 255 is black thus 1, my problem is solved, but i don't know how to do that, any suggestion?  
> --------------------------------------------------------------------------------------------
>
> Ish:
> To me this is still confusing because you're talking about monochrome
> values like 0, 1, and 255, while Walter is talking about a color image
> with three values, like [230, 240, 20] which would be sort of a yellow
> color.
>
> And frankly, I'm still puzzled as to why
> 1. you never did try my color detection code which could easily be
> adapted to find yellow color (instead of red) and make a binary mask,
> and
> 2. why you're refusing to post your (possibly color) "foot" image so
> we can take a look at it.
>
> It's like you don't want to help yourself, or even enable us to help
> you.
> Baffled,
> ImageAnalyst

Hi, ImageAnalyst,

Here is the image, http://drop.io/ish790790 of the foot, which i am trying to convert to binary without losing any color on the process, usually the yellow color that should be black in the binary image dissapears and is white, i want the whole foot to be binary without losing any information, using the RGB values to define and than change to binary was one of the suggestion that my teacher gave, but i don't understand what she said.

THank you so much!