|
|
kurtz le pirate <kur### [at] gmailcom> wrote:
> I quickly coded a test. The result (of little interest) is attached, but
> I think the problem lies in the precision/tolerance of the calculations.
Yes, that's what I was thinking as well.
> I created this macro, which compares the source color with the chosen
> color, introducing a "tolerance" variable :
That's indeed the kind of thing I was looking for.
> If the color is close to the one defined, I make a higher box:
So you are definitely recognizing the peach color separately from the other
colors.
I'm wondering what it would look like if you took Ricky's advice and expressed
the eval_pigment results as both rgb and srgb-converted values and used those
for your comparison, and output the results to the #debug stream.
(And I still like your HSV idea - I definitely think it's more intuitive and
versatile for how I'll be using color coded information)
- BW
Post a reply to this message
|
|