Sunday, August 16, 2009

Gimp Colorize: I couldn't get it

Last days I fought with Gimp's Colorize tool. To understand what was the generated color I studied again color spaces pages on wikipedia, as I already did some years ago.

The tool did't shocked me because its use of HSL color space (with google you can find many RGB, HSV, HSL converters, even online). I was disappointed because in this tool Luminance has a -100 - +100 grade instead of a 0 to 100 one.

So I tried to recover the "true" value by means of a proportion, after I tried with sums and differences, and at last I merged some HSV and some HSV values because HSV Saturation made more sense than the same saturation from HSL.

Anyway there was nothing to do: the recoloured region was of the same hue (so H parameter was right) but the resulting color was clearly differente with respect of my desired color.

The only solution I found to colorize the blurred pattern (so I couldn't use effectively the magic wand) I was interested in, was a mask creation on that layer using the image itself as source. After that I applied a convenient background color to all the layer and the mask did the rest.

In this way the result was what I wanted but this strategy worked only because of the kind of the particular image I wanted to colorize. Because of this, I'm really curious about to know where I made my color conversion mistake with the colorize tool and if some of you readers worked out this problem. ;-)

On the net there is not so much about this issue, since the problem reveals itself only when the user wants a specific color and tries to put it inside the tool via the HSL digits. It one works manually and "by eye" everything is acceptable but the "bug" remains.

Okay... I hope that someone could get through this issue, bug or simply mistery and tell me how much I am "idiot" GIMPly speaking :-P

bYez,
Andy

Sent from my iPhone

0 commenti:

Post a Comment