Blend / combining several images

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
markmarques
Posts: 88
Joined: 2010-06-29T14:36:09-07:00
Authentication code: 8675308

Blend / combining several images

Post by markmarques »

Hi ...
I am seeking some advise on how can I blend or compose 4 or more images into one ...
Some details : the images have the same size but different brightness levels ...
In someway I am trying to make a combined HDR image in grayscale only ...
So common HDR software and ToneMapping is not needed ...

But after reading the image web Docs I still can not have figured out how to "blend it" or composite them correctly ...

For instance : how can I define in "blend" or compose or composite options that I only want to combine the 75% highest whites or the opposite ?

I can define an image with the the black| white threshold but it becomes too harsh ...
Anyone have tried something similar ?
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: Blend / combining several images

Post by fmw42 »

use a mask image with your other two images in the composite where the mask identifies the brightest 75% pixels. see http://www.imagemagick.org/Usage/compose/#compose

You will have to composite them two at a time with the appropriate mask for each.
User avatar
anthony
Posts: 8883
Joined: 2004-05-31T19:27:03-07:00
Authentication code: 8675308
Location: Brisbane, Australia

Re: Blend / combining several images

Post by anthony »

For multiple image composition see... Layering Images.
http://www.imagemagick.org/Usage/layers/

Many different techniques, what you use depends on your input and desired results.
Anthony Thyssen -- Webmaster for ImageMagick Example Pages
https://imagemagick.org/Usage/
Post Reply