qview spatial plot tool reports incorrect information
The default interpolation mode for SpatialPlotTool will now be "Nearest Neighbor". Should not affect any other functionalities.
I just compared distances reported by the view tool and calculated by doing simple geometry on the starting sample and line ending sample and line. There is a fraction of a percent discrepancy. While small, this affects my ability to make scientific conclusions. There is no documentation on how the tool calculates distances. The reported distance between pixel 1 and pixel 2 and pixel 3 and pixel 4 are all different. What gives with that? Then the distance between pixels seems to stabilize. The profile needs to start at zero! This is totally confusing!
#2 Updated by Laszlo Kestay about 4 years ago
Just to add to the confusion, two profiles on the same image (i.e., scale and projection remain constant) have different values for "meters" for the same "pixel number."
pixel number meters 1 meters 2
1 0.317511718 0.710106211
2 0.710123147 1.101977046
3 1.306059453 1.988059199
4 2.306340783 2.952681631
#18 Updated by Makayla Shepherd 12 days ago
- Tracker changed from Documentation to Bug
- Subject changed from No documentation or tutorial on how to use qview spatial plot tool to qview spatial plot tool reports incorrect information
Updated the title to reflect the description of this ticket.
Another ticket to create documentation for this tool will be created.
#22 Updated by Summer Stapleton 10 days ago
- Status changed from In Progress to Resolved
- Impact updated (diff)
I believe the issue happening here was that the default interpolation mode for the SpatialPlotTool in qview was set to "Bilinear", and so returning unexpected values in its calculations. The default mode has been changed to "Nearest Neighbor" to reflect a more intuitive design.
Fix is built for Fedora 25 and can be found at: /work/projects/isis/latest/m01949
The only file changed was SpatialPlotTool.cpp