-
Notifications
You must be signed in to change notification settings - Fork 1
/
HiRISE DEM
28 lines (11 loc) · 1.02 KB
/
HiRISE DEM
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#Download all the RED edr of each stereo pair
hiedr2mosaic.py ESP_016963_1680_RED*.IMG
hiedr2mosaic.py ESP_018598_1680_RED*.IMG
cam2map4stereo.py ESP_016963_1680_RED.mos_hijitreged.norm.cub \ ESP_018598_1680_RED.mos_hijitreged.norm.cub
#Set up the stereo.default file and then
bundle_adjust ESP_016963_1680_RED.map.cub ESP_018598_1680_RED.map.cub -o ba/ba
parallel_stereo ESP_016963_1680_RED.map.cub ESP_018598_1680_RED.map.cub stereo/ESP_016963_1680-ESP_018598_1680_RED \
--bundle-adjust-prefix ba/ba
pc_align --max-displacement 10000 --datum=MOLA stereo/ESP_016963_1680-ESP_018598_1680_RED-PC.tif crop-MOLA.tif --save-inv-trans -o ESP_016963_1680-ESP_018598_1680-aligned
point2dem --t_srs "+proj=eqc +lat_0=0 +lon_0=0 +k=1 +a=3396190 +b=3396190 +units=m +no_defs" --nodata -32767 --dem-hole-fill-len 500 --orthoimage-hole-fill-len 500 --remove-outliers-params 75.0 3.0 --orthoimage
ESP_016963_1680-ESP_018598_1680_RED-L.tif ESP_016963_1680-ESP_018598_1680-aligned-trans_reference.tif -o ASP-ESP_016963_1680-ESP_018598_1680