-
Notifications
You must be signed in to change notification settings - Fork 173
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add new parameters OFFBODY and OFFBODYTRIM to cam2cam (#5704)
* Updated cam2cam to incorporate new parameters OFFBODY and OFFBODYTRIM. * Updated examples and documentation addressing OFFBODY and OFFBODYTRIM parameters. Addresses #3602. * Minor corrections to cam2cam documentation. Addresses #3602. * Updated links in cam2cam documentation. Addresses #3602. * Updated FunctionalTestsCam2cam.cpp to incorporate OFFBODY and OFFBODYTRIM parameters. * Tests OFFBODY and OFFBODY trim. Addresses #3602. * Added OFFBODY and OFFBODYTRIM parameters to cam2cam. Added tests and updated documentation. Addresses issue #3602. * Changes made per feedback in PR. Moved xform from .cpp to .h. * Moved Cam2CamMapper class from cam2cam.h to FunctionalTestsCam2cam.cpp. --------- Co-authored-by: kledmundson <[email protected]> Co-authored-by: kledmundson <[email protected]>
- Loading branch information
1 parent
8e8ef4d
commit 16f8c50
Showing
30 changed files
with
9,610 additions
and
74 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
5 changes: 5 additions & 0 deletions
5
isis/src/base/apps/cam2cam/assets/files/BulletEngineSelect.pref
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
Group = ShapeModel | ||
RayTraceEngine = Bullet | ||
OnError = Continue | ||
EndGroup | ||
End |
26 changes: 26 additions & 0 deletions
26
isis/src/base/apps/cam2cam/assets/files/cam2camExample3.sh
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
#!/bin/sh | ||
|
||
# Get example image acquired by OREX OCAMS during "Detailed Survey" phase\ | ||
dtype="map_iofL2b"\ | ||
fbase="20190509T180552S020"\ | ||
|
||
# Download the OSIRIS-REx image. Note wget can be installed using the command\ | ||
# "conda install wget"\ | ||
wget -P . "https://sbnarchive.psi.edu/pds4/orex/orex.ocams/data_calibrated/detailed_survey/$\{fbase\}_$\{dtype\}.fits"\ | ||
|
||
# Import into ISIS\ | ||
ocams2isis from="$\{fbase\}_$\{dtype\}.fits" to="$\{fbase\}_pck.cub"\ | ||
ocams2isis from="$\{fbase\}_$\{dtype\}.fits" to="$\{fbase\}_dtm.cub"\ | ||
|
||
spiceinit from="$\{fbase\}_pck.cub" shape=ellipsoid\ | ||
spiceinit from="$\{fbase\}_dtm.cub" shape=user model='$osirisrex/kernels/dsk/g_00880mm_alt_ptm_0000n00000_v020.bds' -pref=$ISISROOT/BulletEngineSelect.pref\ | ||
|
||
# Run cam2cam for each set\ | ||
cam2cam from="$\{fbase\}_pck.cub" match="$\{fbase\}_dtm.cub" to="$\{fbase\}_pck_to_dtm_def.cub"\ | ||
cam2cam from="$\{fbase\}_pck.cub" match="$\{fbase\}_dtm.cub" to="$\{fbase\}_pck_to_dtm_off.cub" offbody=true offbodytrim=false\ | ||
cam2cam from="$\{fbase\}_pck.cub" match="$\{fbase\}_dtm.cub" to="$\{fbase\}_pck_to_dtm_offtrim.cub" offbody=true offbodytrim=true\ | ||
|
||
cam2cam from="$\{fbase\}_dtm.cub" match="$\{fbase\}_pck.cub" to="$\{fbase\}_dtm_to_pck_def.cub"\ | ||
cam2cam from="$\{fbase\}_dtm.cub" match="$\{fbase\}_pck.cub" to="$\{fbase\}_dtm_to_pck_off.cub" offbody=true offbodytrim=false\ | ||
cam2cam from="$\{fbase\}_dtm.cub" match="$\{fbase\}_pck.cub" to="$\{fbase\}_dtm_to_pck_offtrim.cub" offbody=true offbodytrim=true\ | ||
|
Binary file added
BIN
+51.4 KB
...base/apps/cam2cam/assets/images/example1/cam2cam_example1_FROM_AS15-M-1537.jpeg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+46.3 KB
isis/src/base/apps/cam2cam/assets/images/example1/cam2cam_example1_GUI.jpeg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+88.4 KB
...ase/apps/cam2cam/assets/images/example1/cam2cam_example1_MATCH_AS15-M-0587.jpeg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+84.3 KB
...apps/cam2cam/assets/images/example1/cam2cam_example1_TO_AS15-M-1537_2_0587.jpeg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+277 KB
...ps/cam2cam/assets/images/example2/cam2cam_example2_Default_vs_OffbodyNoTrim.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+67.7 KB
...s/cam2cam/assets/images/example2/cam2cam_example2_FROM_20190509T180552S020.jpeg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+154 KB
.../cam2cam/assets/images/example2/cam2cam_example2_MATCH_20190509T174620S424.jpeg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+62.4 KB
isis/src/base/apps/cam2cam/assets/images/example2/cam2cam_example2_TO_Default.jpeg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+76.1 KB
...base/apps/cam2cam/assets/images/example2/cam2cam_example2_TO_OffbodyNoTrim.jpeg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+59.3 KB
...c/base/apps/cam2cam/assets/images/example2/cam2cam_example2_TO_OffbodyTrim.jpeg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+605 KB
...src/base/apps/cam2cam/assets/images/example3/cam2cam_example3_dtm2ellipsoid.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+734 KB
...src/base/apps/cam2cam/assets/images/example3/cam2cam_example3_ellipsoid2dtm.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+14.1 KB
...pps/cam2cam/assets/thumbs/example1/cam2cam_example1_FROM_AS15-M-1537_thumb.jpeg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+16 KB
...ps/cam2cam/assets/thumbs/example1/cam2cam_example1_MATCH_AS15-M-0587_thumb.jpeg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+18.8 KB
...am2cam/assets/thumbs/example1/cam2cam_example1_TO_AS15-M-1537_2_0587_thumb.jpeg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+10.7 KB
isis/src/base/apps/cam2cam/assets/thumbs/example1/cam2cam_example1_gui_thumb.jpeg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+15.4 KB
...cam/assets/thumbs/example2/cam2cam_example2_FROM_20190509T180552S020_thumb.jpeg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+29.8 KB
...am/assets/thumbs/example2/cam2cam_example2_MATCH_20190509T174620S424_thumb.jpeg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+10.7 KB
...base/apps/cam2cam/assets/thumbs/example2/cam2cam_example2_TO_Default_thumb.jpeg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+17.6 KB
...pps/cam2cam/assets/thumbs/example2/cam2cam_example2_TO_OffbodyNoTrim_thumb.jpeg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+13.9 KB
.../apps/cam2cam/assets/thumbs/example2/cam2cam_example2_TO_OffbodyTrim_thumb.jpeg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.