-
Notifications
You must be signed in to change notification settings - Fork 12
generate_dtm
For HiRISE, both NGATE and AATE are used to generate a one meter post DTM. In stereo pairs with substantial relief, and when the stereo images are controlled to the MOLA (either from the Vertical Adjustment or the Absolute Orientation), we use the MOLA DTM as a seed file. This closer approximation to ground-truth greatly increases success of the matcher. In stereo pairs of flat terrain, seeding with MOLA is not necessary.
-
From the SOCET SET menu bar, select
File > Load Images
. -
In the Image Loader window, select
<image1>_l
for the Left image, and<image1>_r
for the Right Image. -
Under
View Control Panel
settings: Ensure thatView = 1
and thatLoad Point
is selected. -
Press
Load
. -
Press
Close
.
From the SOCET SET menu bar, select Extraction > Terrain > Next Generation Automatic Extraction
.
-
In the NGATE window, select
File > Create DTM
. (This will bring up the Create DTM window.) -
In the Create DTM window, press the box next to the DTM field.
-
In the Select a DTM window, hand enter the name of the DTM to be created as
<ProjectName>_NGATE_1m
. Then pressOK
.
-
In the Create DTM window: Stay in the Images Tab.
-
Under Edit Images, select the epipolar rectified images in the
Available
list and move them toSelected
list via the arrow button. (The epipolar rectified images have_l
and_r
appended to the image name.)
-
In the Create DTM window: Press the
DTM Properties
tab. -
Set the X Spacing and Y Spacing to 1.0: Double click in the spacing fields, enter 1.0, and press the enter key.
-
Press
Draw Polygon
to define the DTM Boundary. -
A Draw polygon window will pop-up on the stereo monitor. Move the window over to the console monitor.
-
Draw the polygon as follows:
a. Use the TopoMouse to define the polygon:
The Left Mouse button measures/samples points. The Right mouse button closes the polygon.
Note: the first point of the polygon will display ONLY after a second point is measured.
b. Make sure each DTM Boundary point is on the ground.
c. For stereo pairs of flat terrain, 4 corner points plus 2 points halfway down in the flight direction will suffice.
d. For stereo pairs of steep terrain, measure a DTM Boundary point at ‘major’ min/max elevations (i.e., at the rim of a large crater, at the crater bottom, etc.)
e. Establish the boundary within the stereo coverage by ~50 pixels. To estimate this distance:
i. Bring up the Cursor Editor (under Preferences), and change the Cursor size to 17.
ii. Move to where you want to place a boundary point.
iii. Set the image Zoom to 4:1.
iv. Aligned the cursor with the edge of the stereo coverage, then sample/measure the point.
-
Press the
NGATE Properties
tab. -
Press
Strategies…
to bring up the list of available NGATE strategies. -
In the NGATE Strategies window, select
ngate_HIRISE.strategy
in theAvailable
list and move it toSelected
list via the arrow button. Then pressClose
.
-
Press the
Seed DTM
tab. -
Select
<ProjectName>_mola.dth
in theAvailable
list and move it to “Selected” list via the arrow button. -
An error message will pop-up to change the
AUTOMATIC_RSET
value. PressOK
. -
Left-Click on the down arrow next to the Automatic option to display a drop-down box of options and select
RSET64
. -
Finally, press
Save
to write an initialized DTM to disk. The Create DTM window will automatically close.
NOTE: NGATE will take hours to run when extracting a DTM of the entire HiRISE stereo model. For Guest Facility Users, or others, doing production work, see Appendix: A 5.2 NGATE and AATE Batch Processing for how to run NGATE in batch.
-
Press
Start
on the NGATE window. -
Upon completion of NGATE, select
File > Exit
.
-
From the SOCET SET menu bar, select
Extraction > Terrain > Interactive Edit
. -
Open the newly created NGATE DTM:
a. Press the
Open DTM
icon in the ITE window to bring up the selection window.b. Select
<ProjectName_NGATE_1m
from the DTM list. Then pressOK
. -
On the ITE window, Select File > Save DTM As…`.
-
In the selection window, hand enter the name of the output DTM as
<ProjectName>_AATE_onepassAfterNGATE_1m
. Then pressOK
. -
On the ITE window, select
File > Exit
.
Edit <ProjectName>_AATE_onepassAfterNGATE_1m.dth
to convert it
to AATE format. (This is the DTM header file, located in the project’s
data folder/directory.)
-
Bring up Windows/File Explorer.
-
Navigate to
D:\\DATA\\<ProjectName>
. Right-Click on<ProjectName>_AATE_onepassAfterNGATE_1m.dth
and select a text editor. At USGS, use SciTE editor. -
Make the following Edits:
a. Set
ATE_METHOD
toADAPTIVE
.b. Delete
ATE_STRATEGIES
line.c. Delete
ATE_SEED_DTMs
line.d. Set
MATCH_OPTION
toDOUBLE_MATCH
. -
Select
File > Save
. -
Select
File > Exit
. -
Close the Windows/File Explorer window.
Replace adapt.strat
with adapt.strat.onepassAfterNGATE.strat
in the
<install_path>\\internal_dbs\\DTM_STRATEGY
folder:
-
Bring up a Windows Explorer window.
-
Navigate to
C:\\SocetSet_5.6.0\\internal_dbs\\DTM_STRATEGY
. -
Right-Click on
adapt.strat
and selectDelete
. -
Right-Click on
adapt.strat.onepassAfterNGATE.strat
and selectCopy
. -
Right-Click within the folder and select
Paste
. -
Right-Click on
adapt.strat
– Copy.onepassAfterNGATE and selectRename
. -
Rename the file
adapt.strat
. -
Confirm change in extension (press
Yes
). -
Close Windows/File Explorer window.
From the SOCET SET menu bar, select Extraction > Terrain > Automatic Extraction
.
###Load NGATE DTM for AATE process
-
From the AATE window, select
File > Open DTM…
. -
Select
<ProjectName>_AATE_onepassAfterNGATE_1m
in the selection window. Then pressOK
.
NOTE: AATE can take approximately one to two hours to run when using the “onepassAfterNGATE” strategy. For Guest Facility Users, or others, doing production work, see Appendix: A 5.2 NGATE and AATE Batch Processing for how to run AATE in batch**.**
-
Press
Start
on the AATE window. -
Upon completion of AATE, select
File > Exit
.