Carolina R SV

MSc Student 

Earth & Planetary Sciences Univeristy of Western Ontario 

 

  • Generating HiRISE DEMs: Easy when you know what you're doing. 

    Hi all, 

    Today I am proudly presenting my first two creations of MRO HiRISE DTMs. After many days / weeks of poorly understanding the Ames Stereo Pipeline guide book, I decided to google "Generating HiRISE DEMs using ASP" and surprisingly a YouTube video tutorial came up with the exact name. It is incredible the things you can find nowadays on the internet.  So, I am now "googling" everything, and I have become a better independent student. haha... Anyways, let me show you the basics steps for DEMs generation using ASP. 

     

    Firstly, you need to download all the Experimental Data Record (EDR) products of the stereopair that you want to process. You will want the EDR products that end with *RED.IMG, which are typically 18 files. This number can vary depending on the stereo pair.  Once you have all the EDR products on your computer, and of course Ames Stereo Pipeline and ISIS3 installed, you may open the terminal in the right directory and start your DEM generation. In the command line you will type:

     

    > hiedr2mosaic.py FILENAME1 FILENAME2

     

    Here, you are (a) transforming the HiRISE .IMG to .cub format, (b) calibrating the files using the spacecraft imaging parameters, (c) arraying the channels from the instrument sensor so assemble the whole image, and (d) Fine-tuning alignment of channels and reducing the noise.

    You will need to use the resulting files from the first step to be able to compute the upcoming step. In the command line Type:

     

    > cam2map4stereo.py  FILENAME 

     

    This step determines the minimum overlap between the stereo pair images, as well as, the worst common resolution between the two images. It also map projects the stereo pairs to identical overlap and resolution. 

     

    You will need to use the resulting files from the second step of this process to be able to compute the upcoming step, as well as, a "stereo.default" file. In the command line Type:

     

    > stereo FILENAME 

     

    Here, the stereo pairs are being processed and triangulated into a point cloud. This step can take up to two days. Be patient. 

     

    Finally, you will use the resulting file of the previous step to continue your DEM generation. Don’t forget to make a "result" folder. Type:

     

    > point2dem FILENAME result/name-result-files

     

    This will convert your point cloud into a DEM as a .tif file with header files. 

     

    To open your .tif files, you can use QGIS, or Erdas Viewer. I recommend you to use QGIS because you can play more with the DTM. I am using *Mars 2000* as the coordinate system, but I am not completely sure if it is the appropriate one to use.  

     

    Here I am showing the DTMs in gray and spectral color. Note how easy is to see the changes in elevation in the colourized images. Eventhough, I like the colourized DTMs, I am still  in the search of a better color ramp.  

     

    Left: ESP_052347_052993_1860  Right: PSP_051882_052383_2040

    Credit: NASA / JPL / University of Arizona

     

    I also wanted to show a colourized Arecibo radar image from Mars modifed from Harmon et al. [2012]. This is just to point out how neat the volcanic regions look like with the MOLA Shaded Relief map underneath it.  Right now, I am uploading the DTMs in JMARS for a better view of their location. However, these DTMs are located south from Elysium (left image) and Northeast from Olympus Mons (right image). 

    Arecibo radar image of Mars modified from Harmon et al. [2012].


  • Generating DTMs - Not as easy as it seems... 

    Hi all, 

     

    These past few days I have been using ISIS3 and Ames Stereo Pipeline to generate Mars DTMs. Even though I have the ASP guidebook, it has not been that easy to generate them. Let me tell you that I am somewhat confident with my ISIS3 skills but I'm struggling a little bit using ASP. I started my ASP quest at chapter 3 with a Tutorial for Processing Mars Orbiter Camera Imagery (MOC) and I think I am half way there! 

    Lets go through the steps to see what I have done so far and the complications that I have encountered.

    Tutorial steps:

    3.1 Quick Start 

    * I am 95% certain that Catherine completed this step for me because I do see a "stereo.default"  file in the MOC directory. However I tried the stereo commands myself and apparently there is "no such file or directory" and when I try to make one, it wont let me...  

    This is what I am talking about: 

    ISIS 3> stereo left_input_image.cub right_input_image.cub stereo-output

     

    ISIS 3> point2mesh stereo-output-PC.tif stereo-output-L.tif

    ISIS 3> point2dem stereo-output-PC.tif

     

    It seems like the command line does not recognize the "stereo" prompt?*... IDK... I have no idea... 

     

     

     

    3.2 Preparing the Data

     

    The data set that I am using in this tutorial is a pair of MOC images whose product IDs are M01/00115 and E02/01461, and they are located in the example/MOC directory of the Stereo Pipeline distribution (See following image). 

    From: Ames Stereo Pipeline Guidebook

     

     

     

    3.2.1 Loading and Calibrating Images using ISIS

     

    * After noticing the the base data directory for ISIS was not properly downloaded, we were able to use the "mocproc" program to convert the files from .imq to .cub files. 

     

     

    ISIS 3> mocproc from=M0100115.imq to=M0100115.cub Mapping=NO

    ISIS 3> mocproc from=E0201461.imq to=E0201461.cub Mapping=NO

     

     

     

     

    3.2.2 Aligning Images 

     

    Since I have no idea why the command line does not recognize the "stereo" prompt?!*, I managed to do this step using "cam2map" instead of "cam2mapstereo.py" and I think it might  have worked. 

     

    ISIS 3> cam2map from=M0100115.cub to=M0100115.map.cub

    ISIS 3> cam2map from=E0201461.cub to=E0201461.map.cub map=M0100115.map.cub matchmap=true

     

     

    Then I compared the boundaries of the two files with the ones given in the tutorial and determined the intersection to use as the boundaries for cam2map:

     

     

    ISIS 3> cam2map from=M0100115.cub to=M0100115.map.cub DEFAULTRANGE=CAMERA \

    MINLAT=34.10 MAXLAT=34.44 MINLON=141.50 MAXLON=141.63

     

    ISIS 3> cam2map from=E0201461.cub to=E0201461.map.cub map=M0100115.map.cub matchmap=true

     

     

    * I opened  the files on qview and this is how they look like... 

     

    The images look weird, shifted... I have no idea if this is the way they are supposed to look like... 

     

     

     

    Apparently at this stage, I can run the stereo program with the map-projected images using the following  prompt:

     

     

    ISIS 3> stereo E0201461.map.cub M0100115.map.cub --alignment-method none \

    -s stereo.default.example results/output

     

    *But again, it seems like the command line does not recognize the "stereo"  prompt?!*.... the command line keep saying "error"....

     

     

    This is all that I have gotten so far.... I know that I may have skipped a step and I am not seeing which one it is.. But I bet is right in front of my nose... 

     

     

     

    ------

     

    In other news, 

     

    Today was our first ever CPSX coffee hour! and it was a SUCCESS!!!! 

     

    Thanks to all of you that joined us! 

     

    ....and do not forget to join us for the upcoming CPSX Halloween events.

     

     

     

     

     

     

     

     

     


  • Update: RMS vs Hurst Exponent!

    Hi folks! 

    These past few days, I have been learning about how to generate Mars DTMs myself using The NASA Ames Stereo Pipeline.  This is an open source that has the tools to process stereo images and produce DEMs. More updates on this task will be coming soon! 

    In the mean time, I have plotted the RMS slopes and Hurst Exponents for all lava flows examined so far in this work, with the work from Neish et al. (2017).  

    Here, It looks like the majority of the lava flows examined in this work fall within the Mauna Ulu range, which are pahoehoes. The Elysium lava flow example does not quite fall in the Mauna Ulu range. This example may be in line with different lava flows, from the smooth lava pond at Craters of the Moon, to the rubbly lava at Holuhraun, or possibly the degraded pahoehoe at Mauna Ulu.    

    Figure 1: Root mean square (RMS) slope at 1 m reference scale versus Hurst exponent from Neish et al. (2017) (black) and this work (blue). The data presented here are from Martian lavas, terrestrial lavas, lunar lava flow, and lunar impact melt flow over the rage of 2m to 12 m. 

     

    How do we get the Hurst exponent and the RMS slope?  - The Hurst exponent is computed from the slope of the fit. The RMS slope is computed from the y-intercept of the fit.  


  • Update: Roughness of Martian lava flows! 

    Howdy!  

    Today I will talk a little bit more about Martian lava flows. 

    These past few weeks I've been searching for more Martian DTMs already generated by the HiRISE team and found some pretty cool spots with lava flows. 

    For those who doesnt know what I am doing! 

    I am using HiRISE DTMs to the get the Hurst Exponent and the Root Mean Square (RMS) slope for a roughness surface. The RMS Slope provides an average slope at a particular scale, in this case meters, while the Hurst Exponent tells us how the roughness of a surface changes over a specified range scale.  

    For reference and to find rapidly Martian lava flows, I used the Arecibo backscatter and CPR images of Mars (See figure 1). A good way to spot Martian lava flows is looking for areas with high backscatter (figure 1A) and cicular polarization ratios (figure 1B) on an radar image of Mars. This is because many Martian lava flows indicate a high degree of roughness at a decemeter scale.

    Figure 1:  Arecibo Backscatter (A) and Cicular Polarization Ratio (B) images of Mars. Yellow dot is indicating lavas flows near Phlegra Dorsa, Mars. From: Harmon et al. (2012)

    A MRO CTX image is shown (figure 2A) for a better view of the surface area near Phlegra Dorsa, yellow box indicates the area used to calculate the H and Cs. HiRISE DEM of the lava is shown in figure 2C. The Hurst Exponent (H) showed an average value of 0.7 +- 0.2, while the RMS slope (Cs) showed and average of 5°. These indicate that the lava flow is relatively smooth at a meter scale. However, in the radar data, which is in a decimeter scale the lava flow is rough. 

     

     

    Figure 2: (A). MRO CTX image showing lava flow near Phlegra Dorsa, Mars. Yellow box shows the area used to calculate the Hurst Exponent and the RMS slope.  (B). Zoom of the yellow box on image 2A. (C). HiRISE DEM of the lava. (D and E) Hurst Exponent and ( F and G) RMS Slope calculated for this region, determined in two perpendicular directions. (D) and (F) profiles go from left to right, while (E) and (G) go from top to bottom. 

     



Free Website Created & Hosted with Website.com Website Builder

Create Yours

Create Free Website Now

Stunning Website Templates. Free Domain.
website.com: Get Your .COM Domain for Just $14.77/year No Hidden Fees Register Now