-
Notifications
You must be signed in to change notification settings - Fork 169
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Phocube Slope and Normal Calculations #4605
Conversation
@@ -319,6 +319,13 @@ xsi:noNamespaceSchemaLocation= | |||
<change name="Kaitlyn Lee" date="2020-03-15"> | |||
Converted application and tests for Gtest conversion. | |||
</change> | |||
<change name="Jesse Maple" date="2020-08-12"> | |||
Added initial slope and slope azimuth computation to phocube. | |||
</change> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would axe my old change entry as it was never released independent of this one.
and placed in a band in the output cube. The output cube labels will | ||
contain "Slope" in the BandBin group, in band sequence of the output | ||
file. The slope is in degrees with 0 degrees being perfectly flat and | ||
90 degrees being sheer vertical. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would add a note that the slope is measured relative to a sphere and not a more complex datum like the gravity model.
If this parameter is true, the local normal will be computed for | ||
every pixel and placed in three bands (X, Y, Z) in the output cube. | ||
The output cube labels will contain three "Local Normal (coord)" keywords | ||
in the BandBin group, in band sequence of the output file. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Add a note that the X, Y, and Z values are in the body fixed reference frame. Also, add something about the local normal being computed from the shapemodel.
If this parameter is true, the ellipsoid normal will be computed for | ||
every pixel and placed in three bands (X, Y, Z) in the output cube. | ||
The output cube labels will contain three "Ellipsoid Normal (coord)" | ||
keywords in the BandBin group, in band sequence of the output file. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same reference frame comment as local normal, except indicate that this is computed from the triaxial ellipsoid.
This also needs an "Added" entry in the Changelog. |
* First pass at slope in phocube * Added slope and azimuth cals to phocube.cpp * Added local normal and ellipsoid normal back plan calculations to phocube * Force pulled upstream new phocube main.cpp * Removed unused includes and moved a few lines around * Fixed up the includes one more time * Updated phocube docs based on PR feedback * Added changelog entry Co-authored-by: Jesse Mapel <[email protected]>
Uses this branch as a basis
Adds new slope and surface normal calculations to phocube
Description
Adds three new options to phocube:
Related Issue
Closes #3645
Motivation and Context
2021 Q4 Sprint
How Has This Been Tested?
Not currently tested
Screenshots (if appropriate):
Types of changes
Checklist:
Licensing
This project is mostly composed of free and unencumbered software released into the public domain, and we are unlikely to accept contributions that are not also released into the public domain. Somewhere near the top of each file should have these words: