False-color elevation map --> grey scale?

Discussion in 'Photoshop' started by Darrel Hoffman, Aug 1, 2003.

  1. Let's say I have a false-color elevation map, purple for low, then going up through blue, green, yellow, orange, red, and finally
    white. Does anybody know a way to convert this into a simple grey scale height map? In other words, black = low, white = high.
    Changing the image to greyscale is not sufficient, as the green and yellow areas stand out as higher than the red, due to their
    higher luma values. If I have a rectangle with the colors in order, can I analyze that and apply it as a gradient to the rest of
    the image? I ask this because most 3D programs I know only accept greyscale height maps as a displacement terrain map, and most
    height maps I'm able to get use this false-color format instead...
     
    Darrel Hoffman, Aug 1, 2003
    #1
    1. Advertisements

  2. Darrel Hoffman

    Adrian Guest

    Darrel, I use greyscale heightmaps quite a bit for 3-D (such as Bryce)
    and implied 3-D (such as KPT 5 Shapeshifter). When I want to control
    the tone of a color conversion, I go to Hue and Saturation (command U)
    and desaturate individual colors RYGCBM and either darken or lighten
    to suit my needs.

    The following terrain surrounding an imported alpha channel-masked
    photo of Kai Krause was done in the manner described above in Bryce 4:

    http://www.amenfoto.com/gallery/metagallery/kaios.html

    cheers,
    Adrian
     
    Adrian, Aug 2, 2003
    #2
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.