Search the Community
Showing results for tags '.img topographic display'.
Hi! I am attempting to display and plot information contained within .img files from the MOLA MEGDRs in an sdl/opengl application of my own design. I'm getting curious results . . . I'm able to distinguish some obvious land forms, the Tharsis bulge, hellas, valles marineris, etc so I know I'm mapping x, y coordinates correctly against long/lat. However, when I attempt to plot topographical data, (the actual values in the .img file at a given location) those features are mired with noise. As it stands, I'm able to switch between the various megt, mega, megr, and megc .img files, convert their values to color information, but they all display noise with varying amounts of landforms barely distinguishable. I'm wondering if I'm suppose to be combining the data from these separate .img files in some way to extract a desired gradient of topographical data, or if I'm suppose to be applying some moduli or some other mathematical ritual? I'm fairly sure my IO is encoding properly. The .lbl files were helpful to a point, but haven't help me solve this! Please help!