|
Posted by Jeff Paffett on 11/11/60 11:31
From my reading today, it looks like I somehow need to group the pixels
by colour areas and store them in ranges of colours in the database
record for the image. These can then be searched on by percentage, to
show good colour matches. I'm just hoping that someone 'out there' has
already done this and will share their findings.
Geoff Berrow wrote:
> Message-ID: <1131536758.437017@athnrd02> from Jeff Paffett contained the
> following:
>
>
>>I maybe didn't express myself too well. I want to extract the color
>>information from the image file, using PHP/GD.
>
>
> I think you'd have to decide what you were looking for. Say you divided
> the spectrum into black, white, red, green, blue, cyan, magenta, and
> yellow.
> It would be possible to look at each pixel and determine which colour it
> was closest and then rank the colours in order of frequency. Whether
> that would help or not, I don't know.
>
Navigation:
[Reply to this message]
|