My Assistant
NASAView and raw MGS topography data, How to create images with the full sample size? |
| Guest_Magnus Lundstedt_* |
Mar 14 2006, 03:41 PM
Post
#1
|
|
Guests |
I am toying around with some raw image data from MGS in the form of pds files. (EDIT: MOLA instrument images). I have downloaded the data from here:
http://pds-geosciences.wustl.edu/missions/mgs/megdr.html Each image consists of a pair of files: ".img" and ".lbl". The img-file contains the data and the lbl file contains metadata. In this metadata file it says that the sample size is 16 bits. But in the program NASAView, which one uses to generate images from pds files, I have only managed to create 8 bit images. Is it possible to create images with the full 16 bit data with NASAView? Or should I use some other program? Or do I have to write it myself? Thanks for any suggestions! /Magnus (magnus @ #space) |
|
|
|
![]() |
| Guest_Magnus Lundstedt_* |
Mar 14 2006, 07:05 PM
Post
#2
|
|
Guests |
I have done what I wanted with 8 bit vertical resolution instead. That is to make images for a mars with a hypothetical oceans with several different ocean heights. To compose in a video afterwards. It was pretty fun. Will probably try somehow to do it with 16 bit vertical resolution instead and far more images, or perhaps dynamically generate images or parts of images based on user input data.
Another thing I have learned is that 11000x5500 px videos does not work so well. This is the result of what I did: http://magnus.infidyne.com/mars/water/ |
|
|
|
Mar 16 2006, 01:37 PM
Post
#3
|
|
![]() Member ![]() ![]() ![]() Group: Members Posts: 656 Joined: 20-April 05 From: League City, Texas Member No.: 285 |
I have done what I wanted with 8 bit vertical resolution instead. That is to make images for a mars with a hypothetical oceans with several different ocean heights. To compose in a video afterwards. It was pretty fun. Will probably try somehow to do it with 16 bit vertical resolution instead and far more images, or perhaps dynamically generate images or parts of images based on user input data. Another thing I have learned is that 11000x5500 px videos does not work so well. This is the result of what I did: http://magnus.infidyne.com/mars/water/ I like the 1300-1400 meter water depth versions. That looks like a nice world to live on |
|
|
|
Mar 22 2006, 03:35 PM
Post
#4
|
|
![]() IMG to PNG GOD ![]() ![]() ![]() ![]() Group: Moderator Posts: 2257 Joined: 19-February 04 From: Near fire and ice Member No.: 38 |
16 bit PNGs work well for this purpose and Photoshop CS can handle them. I have been using 16 bit PNGs to do renders of Mars based on MOLA data (an old and rather bad experimental one can be seen here: http://www.mmedia.is/bjj/3dtest/mars_vm_pt3rt.jpg ). 8 bits are usually insufficient for this kind of work.
What I did was to take all of the IMG MOLA files and convert/merge them into a single, huge 'RAW' file using a small program I wrote. I then wrote a small program that can extract a selected latitude/longitude range from the 'RAW' file and write the result to a 16 bit PNG file. I then use that file to render a limited area at high resolution. I don't remember if my IMG2PNG utility can convert a MOLA PDS file to a PNG (I'm at work so I can't check it |
|
|
|
Dec 22 2007, 05:36 PM
Post
#5
|
|
|
Founder ![]() ![]() ![]() ![]() Group: Chairman Posts: 14457 Joined: 8-February 04 Member No.: 1 |
I don't remember if my IMG2PNG utility can convert a MOLA PDS file to a PNG (I'm at work so I can't check it Peaaaaawwwwwwwwwwwwwwwwww.... 21 month forum time warp. Wadda ya know, googling about MOLA and PNG's - I ended up back here again MOLA+IMG2PNG - It doesn't like them - and I'd really like to go to the 64 or 256 pix/deg resolution from here -http://pds-geosciences.wustl.edu/missions/mgs/megdr.html NASA View loads the 4 chunks for the 64 fine, and saves GIF's fine - but they get stretched, unequally, in the process, and downed to 8bit. A 20k or 40k 16bit PNG bump/displacement map for Mars rendering would be rather good when I'm rendering out of 3ds max at 4000x4000 pixels I've got a fairly 'flat' 16k colour map which isn't too bad....but more is ALWAYS better when 16 megapixels are required Doug |
|
|
|
Dec 26 2007, 04:26 PM
Post
#6
|
|
|
Senior Member ![]() ![]() ![]() ![]() Group: Members Posts: 2559 Joined: 13-September 05 Member No.: 497 |
NASA View loads the 4 chunks for the 64 fine, and saves GIF's fine - but they get stretched, unequally, in the process, and downed to 8bit. The problem is that the GIF format is inherently limited to 8 bits. For the maps of Mars I was working on in 2000-2002, I used the GMT tools and GMT-format files that could be obtained from the MOLA website (since they used GMT for a lot of their products.) But GMT is really hard to use and I think predates the widespread use of PNG. Later versions of Photoshop can load 16-bit images in raw format, which would involve using NASAview to determine the image dimensions and the header size, and then telling Photoshop to load those dimensions and skip the header. It might then be possible to save as a 16-bit PNG. But I've never tried this. Your best best is to use some kind of raw file import capability. -------------------- Disclaimer: This post is based on public information only. Any opinions are my own.
|
|
|
|
Magnus Lundstedt NASAView and raw MGS topography data Mar 14 2006, 03:41 PM
djellison Your best bet is going to be using the MOC Gallery... Mar 14 2006, 04:04 PM
Magnus Lundstedt QUOTE (djellison @ Mar 14 2006, 05:04 PM)... Mar 14 2006, 04:16 PM
mcaplinger QUOTE (djellison @ Mar 14 2006, 08:04 AM)... Mar 14 2006, 04:21 PM
Magnus Lundstedt QUOTE (mcaplinger @ Mar 14 2006, 05:21 PM... Mar 14 2006, 04:48 PM
helvick QUOTE (Magnus Lundstedt @ Mar 14 2006, 04... Mar 14 2006, 05:43 PM
djellison YEah - here's the 8 bit v 16 bit problem - I... Dec 26 2007, 03:22 PM
djellison NEARLY works with Photoshop.
The dimensions are i... Dec 31 2007, 03:31 PM
Bjorn Jonsson QUOTE (djellison @ Dec 31 2007, 03:31 PM)... Jan 2 2008, 12:18 PM
hendric Doug,
I'm just guessing, but it is it possib... Dec 31 2007, 03:58 PM
djellison That would help a bit, for now - but...
These thi... Dec 31 2007, 04:03 PM
hendric Well, if there was some way to divvy up the work, ... Jan 2 2008, 06:55 AM
djellison That's exactly what I'm planing I did a ... Jan 2 2008, 09:08 AM
hendric Bjorn,
Would you be interested in sharing the so... Jan 2 2008, 02:06 PM
djellison ImageJ can handle this lot perfectly - I'm now... Jan 23 2008, 09:32 PM
djellison Just for fun - I've revisited my stock Mars mo... Jul 10 2009, 07:44 AM
Art Martin Wow, that's incredible Doug. Truly gives you ... Jul 10 2009, 01:51 PM
djellison A bunch more random renders. One is especially fo... Jul 10 2009, 02:02 PM
eoincampbell Love the Mars Blowfish! Thanks for sharing.
E... Jul 10 2009, 03:05 PM
SFJCody Ahh, beautiful stuff, even though I do prefer a Ma... Jul 10 2009, 07:19 PM
djellison Another animation just for fun.
http://vimeo.com/... Jul 19 2009, 06:24 PM
nprev Great stuff!!!!
Took your sugge... Jul 19 2009, 06:55 PM![]() ![]() |
|
Lo-Fi Version | Time is now: 17th December 2024 - 04:56 AM |
|
RULES AND GUIDELINES Please read the Forum Rules and Guidelines before posting. IMAGE COPYRIGHT |
OPINIONS AND MODERATION Opinions expressed on UnmannedSpaceflight.com are those of the individual posters and do not necessarily reflect the opinions of UnmannedSpaceflight.com or The Planetary Society. The all-volunteer UnmannedSpaceflight.com moderation team is wholly independent of The Planetary Society. The Planetary Society has no influence over decisions made by the UnmannedSpaceflight.com moderators. |
SUPPORT THE FORUM Unmannedspaceflight.com is funded by the Planetary Society. Please consider supporting our work and many other projects by donating to the Society or becoming a member. |
|