the idea is copying the luminance from one picture, and the chrominance from other, both in the same pixel size
i tried this, but the result is really weird
Code: Select all
convert pic1.png -colorspace LAB -channel R -separate pic1_L.png
convert pic1.png -colorspace LAB -channel G -separate pic1_A.png
convert pic1.png -colorspace LAB -channel B -separate pic1_B.png
convert pic2.png -colorspace LAB -channel R -separate pic2_L.png
convert pic2.png -colorspace LAB -channel G -separate pic2_A.png
convert pic2.png -colorspace LAB -channel B -separate pic2_B.png #- it's weird that we need to use -channel "R", "G" and "B" instead of "L", "A" and "B"
convert pic1_L.png pic2_A.png pic2_B.png -set colorspace LAB -colorspace RGB -combine combined.png
#- convert pic1_L.png pic1_A.png pic1_B.png -set colorspace LAB -colorspace RGB -combine combined.png #- for checking if combined.png is exactly the same as pic1.png - the result is really weird