Results 1 to 2 of 2

Thread: Merge these two images in a way that retains their highest and lowest brightness valu

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #2
    Administrator Redrobes's Avatar
    Join Date
    Dec 2007
    Location
    England
    Posts
    7,201
    Blog Entries
    8

    Default

    Merging the brightest and darkest parts is not too hard but the arbitrary gradient in the middle would be a bit more difficult unless you can apply a math curve to the pixel brightness values - which you can do but paint apps is not going to make that easy.

    But to get the darkest parts of the bottom image onto the top image you take the bottom image and use the curve function on the bottom image to cut off all pixels brighter than a certain amount then take top image and cut off all pixels darker than certain amount and then merge the two using brightest of each.

    But as you are rightly saying, whilst the pixel brightness will be continuous, there will be a bit of a discontinuity in the gradient of pixels. So the images I will put below will look fine but when viewed with a height map viewer will not look quite so good.

    I'll edit in some pictures in a moment...

    So this is Top High, Bottom Low, Top Mid, Bottom Mid and then All which is the combined version of all of these temporary images. The result is not ideal I would admit...
    Attached Thumbnails Attached Thumbnails Click image for larger version. 

Name:	Image_A_High.png 
Views:	8 
Size:	150.1 KB 
ID:	137499   Click image for larger version. 

Name:	Image_B_Dark.png 
Views:	5 
Size:	257.0 KB 
ID:	137500   Click image for larger version. 

Name:	Image_A_Mid.png 
Views:	5 
Size:	182.4 KB 
ID:	137501   Click image for larger version. 

Name:	Image_B_Mid.png 
Views:	8 
Size:	408.5 KB 
ID:	137502   Click image for larger version. 

Name:	Image_All.png 
Views:	10 
Size:	490.9 KB 
ID:	137503  

    Last edited by Redrobes; 05-06-2024 at 07:06 AM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •