Page 2 of 2

Re: Luminize, Colorize, HCL

Posted: 2013-07-24T07:54:36-07:00
by GreenKoopa
-modulate in HCLp is not implemented.
viewtopic.php?f=3&t=23811

Re: Luminize, Colorize, HCL

Posted: 2013-07-24T11:26:31-07:00
by GreenKoopa
This is my best guess of what PS is doing.

Code: Select all

convert infile.jpg ^
( -clone 0 -colorspace Rec601Luma +level-colors black,red -colorspace HCLp -separate ) ^
( -clone 0 -colorspace HCLp -separate ) ^
-delete 0,3,4,5 -combine -set colorspace HCLp -colorspace sRGB ^
out.png
If you like, I would be happy to make a go at reproducing this, but I'm at a disadvantage not having PS. I would need some PS outputs from you.

Re: Luminize, Colorize, HCL

Posted: 2013-07-24T11:43:01-07:00
by fmw42
Yes, that matches visually better. The PS dark areas are slightly darker than from IM.

This was what I tried to do in my last set of examples when I tried to remove the linear RGB conversions, but I overlooked one.

infile="sunsets-lightroom-split-toning_srgb.jpg"
inname=`convert $infile -format "%t" info:`

convert $infile \
\( -clone 0 -colorspace Rec601Luma +level-colors black,red -colorspace HCLp -separate \) \
\( -clone 0 -colorspace HCLp -separate \) \
-delete 0,3,4,5 -combine -set colorspace HCLp -colorspace sRGB \
${inname}_highlight_HCLp_rms_levelcolors_colorize_greenkoopa.jpg

Image


Photoshop:

Image