Blending/merging N images with more weight for brighter areas in ImageMagick
Posted: 2018-05-02T12:30:27-07:00
Hello All,
Need to merge/blend two images in ImageMagick such that brighter parts of each image will get more weight towards the final blended result. For example, if there are two images with a light spot in position A and B respectively, the darker parts of the second image in the position A will be given, say 10%, weight while the brighter part from the second image would get 90% of the weight during final merging. I have tried the following in ImageMagick without success:
convert -luminize
convert -evaluate-sequence mean
composite -dissolve P
Need to merge/blend two images in ImageMagick such that brighter parts of each image will get more weight towards the final blended result. For example, if there are two images with a light spot in position A and B respectively, the darker parts of the second image in the position A will be given, say 10%, weight while the brighter part from the second image would get 90% of the weight during final merging. I have tried the following in ImageMagick without success:
convert -luminize
convert -evaluate-sequence mean
composite -dissolve P