Colorize higher-resolution image with lower-resolution one

Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
Post Reply
smaines
Posts: 5
Joined: 2010-05-10T21:43:41-07:00
Authentication code: 8675308

Colorize higher-resolution image with lower-resolution one

Post by smaines »

I have two images, both scans: one is of a higher resolution, the other is better colored. Both are level. Is it somehow possible to use the lower-resolution image as an indication to ImageMagick of how I would like the higher-resolution image colorized?

Thanks in advance,

-SM
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: Colorize higher-resolution image with lower-resolution o

Post by fmw42 »

If the two images are registered together so that that overlay perfectly, then you can replace the hue and saturation channels of the high res image with those from the low resolution image. Alternately, if you are on Linux/Mac or Windows/Cygwin, you can try my histmatch script at the link below.
Post Reply