You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Description
The Residual Percentiles and Residual Box Plot in the bundleout.txt file has dramatically changed from the last version of isis.
How to reproduce
Compare all output from isis5.0.2 jigsaw to all output from isis6.0.0. I don't think the type of solution matters as I saw this while solving for camera accelerations via Kaguya TC, but tested on a smaller Themis IR data set solving for camera and spacecraft with errorprop turned on (re-using old test data). The only difference in the isis5.0.2 and isis6.0.0 output (including output network files) was the Residual Percentiles/Box Plot reported under isis6.0.0 are very much larger than what is reported in isis5.0.2 and don't correlate with what is reported in the residuals.csv file.
There is a small test network under /work/users/lweller/Isis3Tests/Jigsaw/Percentiles/. See proc.scr to see command lines for both versions of isis as well as the diff tests run. Note that the images in the input jigsaw fromlist reside in another directory.
Since it's small enough, here are the Residual Box Plot differences in the two runs (I've omitted the lengthier Percentiles output here):
The maximum residual in residuals.csv is 1.8 so the isis5.0.2 output makes better sense.
Note that this output is not useful or even relevant to me - I'm simply reporting a bug. I just happened to notice how large the values were when I was scrolling through a bundleout file having just seen my maximum residual was less than 2 (the min/max box plot values where >900 for my much larger Kaugya TC data set then the test data I provided and reported on above).
Although the test case above touches a few different parameters, I don't know if there are other differences in the isis versions other what's reported. It's possible something else differs for say multi- sensor solutions. I'm just suggesting I haven't exhausted the possibilities.
The text was updated successfully, but these errors were encountered:
This appears to be coming from how we had to abstract out some of the CSM vs ISIS image stuff. For ISIS images we weight everything based on the pixel size but we can't do that for CSM so we just weight them all 1.
For whomever works this, it looks like IsisBundleObservation::computeObservationValue is not properly backing out the division by 1.4. Here's the old logic for this part. We should be adding deltaX / pixelPitch and deltaY / pixelPitch to the residual PDF. During the CSM integration we split this into two steps so that we could abstract it for CSM. The first step computes deltaX / (1.4 * pixelPitch) and deltaY / (1.4 * pixelPitch). The second step divides again by pixelPitch. This results in ( deltaX / (1.4 * pixelPitch) ) / pixelPitch = deltaX / (1.4 * pixelPitch**2) which is incorrect. Instead the second step should be multiplying 1.4 so it does ( deltaX / (1.4 * pixelPitch) ) * 1.4 = (1.4 * deltaX) / (1.4 * pixelPitch) = deltaX / pixelPitch which matches before.
This is only used for the box plot reporting and nothing else, so this isn't causing bad solutions, just bad reporting.
ISIS version(s) affected: 6.0.0
Description
The Residual Percentiles and Residual Box Plot in the bundleout.txt file has dramatically changed from the last version of isis.
How to reproduce
Compare all output from isis5.0.2 jigsaw to all output from isis6.0.0. I don't think the type of solution matters as I saw this while solving for camera accelerations via Kaguya TC, but tested on a smaller Themis IR data set solving for camera and spacecraft with errorprop turned on (re-using old test data). The only difference in the isis5.0.2 and isis6.0.0 output (including output network files) was the Residual Percentiles/Box Plot reported under isis6.0.0 are very much larger than what is reported in isis5.0.2 and don't correlate with what is reported in the residuals.csv file.
There is a small test network under /work/users/lweller/Isis3Tests/Jigsaw/Percentiles/. See proc.scr to see command lines for both versions of isis as well as the diff tests run. Note that the images in the input jigsaw fromlist reside in another directory.
Since it's small enough, here are the Residual Box Plot differences in the two runs (I've omitted the lengthier Percentiles output here):
The maximum residual in residuals.csv is 1.8 so the isis5.0.2 output makes better sense.
Note that this output is not useful or even relevant to me - I'm simply reporting a bug. I just happened to notice how large the values were when I was scrolling through a bundleout file having just seen my maximum residual was less than 2 (the min/max box plot values where >900 for my much larger Kaugya TC data set then the test data I provided and reported on above).
Although the test case above touches a few different parameters, I don't know if there are other differences in the isis versions other what's reported. It's possible something else differs for say multi- sensor solutions. I'm just suggesting I haven't exhausted the possibilities.
The text was updated successfully, but these errors were encountered: