(SCalibrationInfoReader): don't convert the image if loading failed
What does this MR do?
- Fix a crash when loading a folder containing files not readable as images.
How to test it?
- Run ARcalibration
- Load a folder with chessboard images and a *.txt file
- Shouldn't crash anymore.
Data
Use this : https://owncloud.ircad.fr/index.php/s/p6yxJj1kv7zkBLb
Set the chessboard parameters to 9x6x10mm
You must add a *.txt file though.