3D Maps from LOLA Data |
3D Maps from LOLA Data |
Feb 6 2011, 04:12 PM
Post
#1
|
|
Newbie Group: Members Posts: 17 Joined: 30-January 11 Member No.: 5787 |
I'm interested in the area around the lunar north pole, from 88N to the pole. I'd like to have 3D images of that area, but I've been unable to find a program that will read the LOLA data files. I've tried several 3D mapping programs, and I've had no success.
Is there a method to generate 3D images, or are there such files available for this area of the moon? Thanks, JR |
|
|
Feb 6 2011, 08:32 PM
Post
#2
|
|
Newbie Group: Members Posts: 18 Joined: 27-February 10 From: Italy Member No.: 5235 |
|
|
|
Feb 6 2011, 08:46 PM
Post
#3
|
|
Member Group: Members Posts: 890 Joined: 18-November 08 Member No.: 4489 |
some research on this forum
AND reading the .lbl label file would show that the data is in 16 bit singed integer and even imagemagic can read it as a raw( gray) image the very old OpenEV can import it I use ISIS3 on linux to work with img files and photoshop should be able to open a ( 16int ) image as a raw and there is even a blender script JUST FOR importing the lola data a link IS POSTED on this forum , research would have found it . the second listing in the "Image Processing Techniques" http://www.unmannedspaceflight.com/index.php?showtopic=6878 also Bjorn Jonsson's "img2png" might open them ( and convert the 16 bit to 8 bit ) |
|
|
Feb 6 2011, 09:42 PM
Post
#4
|
|
Newbie Group: Members Posts: 17 Joined: 30-January 11 Member No.: 5787 |
I know next to nothing about Blender, but I'll sure give it a try :-) JR |
|
|
Feb 6 2011, 09:45 PM
Post
#5
|
|
Newbie Group: Members Posts: 17 Joined: 30-January 11 Member No.: 5787 |
some research on this forum AND reading the .lbl label file would show that the data is in 16 bit singed integer and even imagemagic can read it as a raw( gray) image the very old OpenEV can import it I use ISIS3 on linux to work with img files and photoshop should be able to open a ( 16int ) image as a raw and there is even a blender script JUST FOR importing the lola data a link IS POSTED on this forum , research would have found it . the second listing in the "Image Processing Techniques" http://www.unmannedspaceflight.com/index.php?showtopic=6878 also Bjorn Jonsson's "img2png" might open them ( and convert the 16 bit to 8 bit ) I know very little about image processing - my skills are in far different areas. Ergo, my rather basic question... JR |
|
|
Feb 6 2011, 09:46 PM
Post
#6
|
|
Senior Member Group: Members Posts: 3516 Joined: 4-November 05 From: North Wales Member No.: 542 |
Welcome, joertexas! There's a lot here but finding something specific can be a bit like raking through a huge jumbled spoil heap. Usually somebody in the know will provide a pointer. Don't stop asking.
|
|
|
Feb 8 2011, 01:14 AM
Post
#7
|
|
IMG to PNG GOD Group: Moderator Posts: 2251 Joined: 19-February 04 From: Near fire and ice Member No.: 38 |
also Bjorn Jonsson's "img2png" might open them ( and convert the 16 bit to 8 bit ) IMG2PNG converts 8 bit IMGs to 8 bit PNGs and 16 bit IMGs to 16 bit PNGs. It might be able to convert these particular files and if not the new version I'm working on might do it (see this thread for details). |
|
|
Feb 8 2011, 03:13 AM
Post
#8
|
|
Newbie Group: Members Posts: 17 Joined: 30-January 11 Member No.: 5787 |
Thanks for the reply. I'm an aircraft mechanic by training, so I don't do a lot with graphics programs.
JR |
|
|
Feb 8 2011, 03:20 AM
Post
#9
|
|
Newbie Group: Members Posts: 17 Joined: 30-January 11 Member No.: 5787 |
I tried loading this script into the latest Blender version, and the script doesn't populate into the list of available add-ons to run... JR |
|
|
Feb 8 2011, 03:46 AM
Post
#10
|
|
Member Group: Members Posts: 890 Joined: 18-November 08 Member No.: 4489 |
it ONLY runs on blender 2.56 BETA
it will NOT work on the stable 2.49b or 2.48 also i think i posted on blenderartists that there is a minor bug in the svn grab as i recall a minor typo line 19 --- bl_addon_info = { --- should be this once blender 2.56 starts hit "x" then <enter> to delete the default cube then <control> + < alt + < u > to bring up the add on tool click the add ons tab click "install add on " navagate to the "io_import_LRO_Lola_MGS_Mola_img.py" and install close blender and reopen ctlr,alt,u to the menu and look for [attachment=23794:Screenshot.jpg] but a check in it then on the lower left is the menu |
|
|
Feb 15 2011, 06:23 AM
Post
#11
|
|
Newbie Group: Members Posts: 17 Joined: 30-January 11 Member No.: 5787 |
close blender and reopen ctlr,alt,u to the menu and look for [attachment=23794:Screenshot.jpg] but a check in it then on the lower left is the menu I'e done this, and now it installs and tries to open the IMG file in Blender. But, when I accept the file, the screen returns to the main screen - and then nothing else happens. JR |
|
|
Feb 15 2011, 09:37 AM
Post
#12
|
|
Member Group: Members Posts: 890 Joined: 18-November 08 Member No.: 4489 |
I'e done this, and now it installs and tries to open the IMG file in Blender. But, when I accept the file, the screen returns to the main screen - and then nothing else happens. JR what lola file are you using -- remember the lbl must ALSO be there for it the "ldem_16.img WITH the REQUIRED ldem_16.lbl in the same folder is the MAX the biggest full globe that can be opened with 8 gig of system ram on a 64 bit OS and that will take a lot of time to open the ldem_4.img & ldem_4.lbl combo is the recommended for the full globe ftp://pds-geosciences.wustl.edu/lro/lro-l...ylindrical/img/ |
|
|
Feb 15 2011, 12:48 PM
Post
#13
|
|
Newbie Group: Members Posts: 18 Joined: 27-February 10 From: Italy Member No.: 5235 |
joertexas, is possible that you haven't a correct version of Blender. If you use Windows, download from Graphicall a new version.
Win 64 Win 32 These versions alredy have my script If you use a different S.O. search in graphicall a recent version and download again my script. Ciao VB [edit] Some trick for speed up in 3Dview Before you start the import, change the View port shading to Bounding box. After the import set in User preference system VBOs and now change View port sahding to Object mode. If you have a Series 400 GeForce video card, before to change VBOs, uncheck Double side in Object data. Last thing: if you change in Sculpt mode, you can gain some FPS. Retrieved from "http://wiki.blender.org/index.php/Extensions:2.5/Py/Scripts/Import-Export/NASA_IMG_Importer" |
|
|
Feb 15 2011, 01:33 PM
Post
#14
|
|
IMG to PNG GOD Group: Moderator Posts: 2251 Joined: 19-February 04 From: Near fire and ice Member No.: 38 |
The new version of IMG2PNG converts the LOLA IMG files to 16 bit grayscale PNGs without any problems so if PNGs would be useful to you that might be the solution.
|
|
|
Feb 16 2011, 01:08 AM
Post
#15
|
|
Newbie Group: Members Posts: 17 Joined: 30-January 11 Member No.: 5787 |
I downloaded and installed the 32-bit version, and I got the following when I tried to open the file LDEM_875N_10M.IMG (and I do have the lbl file in the same directory):
File "C:\PROGRA~1\BLENDE~1\RELEAS~1\2.56\scripts\addons_contrib\io_import_LRO_ Lola_MGS_Mola_img.py", line 489, in draw ReadLabel(bpy.context.scene.fpath) File "C:\PROGRA~1\BLENDE~1\RELEAS~1\2.56\scripts\addons_contrib\io_import_LRO_ Lola_MGS_Mola_img.py", line 281, in ReadLabel WESTERNMOST_LONGITUDE = float(tmp[0].replace(" ", "")) ValueError: could not convert string to float: 'N/A' location:<unknown location>:-1 location:<unknown location>:-1 Traceback (most recent call last): File "C:\PROGRA~1\BLENDE~1\RELEAS~1\2.56\scripts\addons_contrib\io_import_LRO_ Lola_MGS_Mola_img.py", line 489, in draw ReadLabel(bpy.context.scene.fpath) File "C:\PROGRA~1\BLENDE~1\RELEAS~1\2.56\scripts\addons_contrib\io_import_LRO_ Lola_MGS_Mola_img.py", line 281, in ReadLabel WESTERNMOST_LONGITUDE = float(tmp[0].replace(" ", "")) ValueError: could not convert string to float: 'N/A' location:<unknown location>:-1 JR |
|
|
Feb 16 2011, 01:10 AM
Post
#16
|
|
Newbie Group: Members Posts: 17 Joined: 30-January 11 Member No.: 5787 |
what lola file are you using -- remember the lbl must ALSO be there for it the "ldem_16.img WITH the REQUIRED ldem_16.lbl in the same folder is the MAX the biggest full globe that can be opened with 8 gig of system ram on a 64 bit OS and that will take a lot of time to open the ldem_4.img & ldem_4.lbl combo is the recommended for the full globe ftp://pds-geosciences.wustl.edu/lro/lro-l...ylindrical/img/ LDEM_875N_10M.IMG, and I do have the LBL file in the same directory. JR |
|
|
Feb 16 2011, 01:12 AM
Post
#17
|
|
Member Group: Members Posts: 890 Joined: 18-November 08 Member No.: 4489 |
for the time being it only works for the Simple cylindrical spherical maps
from the folder i posted |
|
|
Feb 16 2011, 08:38 PM
Post
#18
|
|
Newbie Group: Members Posts: 18 Joined: 27-February 10 From: Italy Member No.: 5235 |
joertexas, you have used a polar img. In polar we haven't the
WESTERNMOST_LONGITUDE = 'N/A' and the EASTERNMOST_LONGITUDE = 'N/A'. If you add it, probably you can import the data: WESTERNMOST_LONGITUDE = 0 <deg> EASTERNMOST_LONGITUDE = 360 <deg> Just now I'm downloading a polar file for test it. News about this more later or tomorrow. Ciao VB |
|
|
Feb 17 2011, 01:25 AM
Post
#19
|
|
Newbie Group: Members Posts: 17 Joined: 30-January 11 Member No.: 5787 |
Thanks for your help, and thanks also to everyone who has replied to me :-) JR |
|
|
Mar 6 2011, 04:28 PM
Post
#20
|
|
Newbie Group: Members Posts: 17 Joined: 30-January 11 Member No.: 5787 |
|
|
|
Apr 4 2012, 07:23 PM
Post
#21
|
|
Newbie Group: Members Posts: 2 Joined: 22-March 12 Member No.: 6366 |
I'm a little new here, but I have been working with .img files for a little bit and have some questions. I've been working on a project to make 3d maps of the lunar northern pole and have used Jim Mosher's PDS .IMG Reader to get the grey height maps I needed. I then uploaded that into an engine called Unity 3D. Problem is the data is messed up a little. I was told some one here had found a soulution to the stitch lines seen here:
http://i1267.photobucket.com/albums/jj557/...pg?t=1333152988 Most of what I've worked with in the way of pictures can be seen here: http://s1267.photobucket.com/albums/jj557/engineer817/, but I think that its pretty self explanatory. I need a way of getting rid of these stitch lines. I've started studying gimp and its library of functions and am planing on finding the edges, deleting them then taking averages from either side of the problem area and making an average slope to fill in the blanks. I know that the problems are about 50 meters across as they are 10 pixels, at 5m/pxl, so I am not sure about the result it might be. still it would save me some work if there was a process already made. I guess I'm just wondering if any one has any advice for this project. Thanks. also wondering what a dynamic page is. it won't allow the pictures to be inserted for that reason. -------------------- What Will It Take?
|
|
|
Apr 4 2012, 10:27 PM
Post
#22
|
|
Member Group: Members Posts: 890 Joined: 18-November 08 Member No.: 4489 |
Engineer817
that is NORMAL the LOLA data is laser points .Only about 10% of the moon is covered so the rest is interpreted using a spline fit If you search here and over at Shatters.net( celestia site) i did a LOT of reprocessing of the laser points http://www.shatters.net/forum/ the LRO WAC-DTM stereo topographic is much better http://lroc.sese.asu.edu/data/LRO-L-LROC-5...TA/SDP/WAC_DTM/ I use the LRO data set now QUOTE I've started studying gimp and its library of functions and am planing on finding the edges, DO NOT !!!!! use gimp on 16 bit data !!!!!!!!!!!!!!!!!!! gimp is 8 bit ONLY !!!!! you will kill all the information in the 16 bit gray images 8 big gray = 256 tones ( gimp ) 16 bit = 65538 tones also the LOLA data is in 16 bit SINGED LSB format -32767 to 32768 if you must there is a 32 bit program ( gimp plugin is 8 bit ONLY) called G'mic http://gmic.sourceforge.net/index.shtml the TERMINAL version is 32 bit the gimp plugin is 8 bit ONLY the terminal is what i used to reprocess the laser point data after importing the PDS data using ISIS3 http://isis.astrogeology.usgs.gov/index.html |
|
|
Apr 4 2012, 11:54 PM
Post
#23
|
|
Senior Member Group: Moderator Posts: 3431 Joined: 11-August 04 From: USA Member No.: 98 |
Engineer,
You should be looking at the relatively new LRO WAC Digital Terrain Model (DTM) data. I can't help you with reading it, but it's pretty much just integer values, similar to the gridded LOLA data. It has a few problem areas of its own, but it is smoother and higher resolution than the gridded LOLA data; pretty impressive actually. |
|
|
Jun 20 2012, 06:43 PM
Post
#24
|
|
Senior Member Group: Members Posts: 1729 Joined: 3-August 06 From: 43° 35' 53" N 1° 26' 35" E Member No.: 1004 |
just out in the latest Nature, a paper on LOLA results on the polar Shackleton crater: Constraints on the volatile distribution within Shackleton crater at the lunar south pole
full article requires subscription |
|
|
Lo-Fi Version | Time is now: 10th June 2024 - 10:13 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. |