Results 1 to 3 of 3

Thread: Wilbur- Clipped Mountain Tops

  1. #1

    Help Wilbur- Clipped Mountain Tops

    Hi. I'm still new to Wilbur and ran across an issue when loading a greyscale heightmap. I grabbed an area of Halong Bay with Terrain Party to make a map for Cities Skylines. When I loaded it into Wilbur, the highest peaks are clipped as you can see in the top of the image below. What can I do to fix this?
    Click image for larger version. 

Name:	AIhzD27.jpg 
Views:	63 
Size:	181.4 KB 
ID:	83887

  2. #2
    Administrator waldronate's Avatar
    Join Date
    Mar 2007
    Location
    The High Desert
    Posts
    3,554

    Default

    Load the data as unsigned rather than signed.

  3. #3
    Guild Expert johnvanvliet's Avatar
    Join Date
    Jul 2012
    Location
    N 42.39 W 83.44
    Posts
    1,091
    Blog Entries
    4

    Default

    as above
    topo data is normally in 16 bit SIGNED LSB format with sealevel set to ZERO
    -- but some is in 16 bit signed MSB !!! ( older apple ppc cpu's )

    all intel X86 CPU's are LSB!!!!

    so a 16 bit signed image has pixel values from -32767 to +32768
    and a UNsigned image has values from 0 to +65536

    a lot of image editors can find the min/max , for 16 bit data i like Nip2 ( been using it for almost 10 years so...)

    it has built in MATH functions

    find the min
    then subtract the negative value

    this moves the min. to 0

    to normalize it

    you then find the new MAX
    divide by that value and then multiply that image by 65536

    or use a comandline tool like Gmic

    to normalize it and convert it to UNSIGNED
    Code:
    gmic inputSIGNED.tiff -n 0,65536 -o outputUNsigned.tiff,ushort
    Last edited by johnvanvliet; 05-24-2016 at 11:52 PM.
    --- 90 seconds to Midnight ---
    --------

    --- Penguin power!!! ---


Posting Permissions

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