Results 1 to 3 of 3

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

  1. #1

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

    A way to merge these two maps together, to retain the brightest(highest) values from the top map and the darkest(lowest) values from the bottom map and a gradual, then steep slope of brightness of the rest of the pixels as they go from darkest to brightest.

    1t1kr58ropyc1.png

    1hqsurmpopyc1.png

  2. #2
    Administrator Redrobes's Avatar
    Join Date
    Dec 2007
    Location
    England
    Posts
    7,244
    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 Images Attached Images
    Last edited by Redrobes; 05-06-2024 at 07:06 AM.

  3. #3

    Default Thanks for the help, man

    "unless you can apply a math curve to the pixel brightness values" Thanks for the advice, I redid the images with this in mind, in the end had to also use some gradient editing and got.

    t2ad1hs7d12d1.png

Posting Permissions

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