-
Generating DTMs - Not as easy as it seems...
Oct 17, 2018
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.
Comments
- (no comments)



