Less than 4 points in *.ref crashes XMALab after undistortion
Issue #94
resolved
Currently having a *.ref file with only 3 points (e.g. 26 triangle, etc) will cause XMALab to crash without error after undistortion.
To reproduce:
make only three entries in the *.ref file.
Load cube images, undisortion grids, framespec, and ref file.
Perform undistortion.
Try and change to calibration workspace.
<crash>
Comments (5)
-
-
- changed status to wontfix
-
reporter Fair enough. Might I recommend at least that an error message gets thrown explaining the crash?
-
- changed status to open
ok. sounds like an idea. Error dialog is added
-
- changed status to resolved
fixes
#94addeed errordialog in case the ref file is not valid→ <<cset aee2c0b5535c>>
- Log in to comment
Hi Peter, We discussed this issue in the group and decided to close the issue as we do not want to give the impression that we also recommend to use 3 entries. It is also not 100% guaranteed that the algorithm finds the right solution with only 3 entries. However there are several things you can do.
1) Just add a fourth dummy point and after selection of 3 points just click "comoute calibration" 2) If you know the id of another point you can manually change the ids when clicking on the number of the entry. This would allow you to redefine the 4th marker whenever you can identify a fourth point.
Let me know if you need more info,
Ben