07-31-2019 09:54 AM
I am trying to spatially calibrate images i have taken with DSLR camera in a fixed setup.
I successfully did this multiple times in the past. (creating a calibration image in vision assistant, that I use in a Labview script that further processes the images.)
We have a new camera now, which generates larger images so maybe this causes an issue?
Attached a snip of my resulting corrected image, with in the corner the original. Obviously the calibration does something overly complicated.
Info:
-I use Vision Assistant 2018 (32bit), and would like to do a distortion calibration. In the 2nd attached image you can see my grid-images that I use.
-The black edge is a 'hardware' masking border, in the bright/white area the samples that we image are supposed to be placed.
Any suggestions on why I get this result and on how to avoid it? A simpler calibration model might be a solution, but this worked previously, so I would like to just fix my system, instead of changing to something else.
08-01-2019 01:40 AM
08-01-2019 02:35 AM
No, I'm sorry that I wasn't clear.
These calibration-grid images are taken with the new camera.
Previously, I just loaded them in Vision Assistant to generate a new calibration model-image, that I could use in Labview.
I now repeated this proces with the new (higher resolution) camera:
1 take images of calibration grid
2 load them in Vision Assistant.
3 I should end up with a calibration model image, but the calibration fails as it seems to end up in an unstable result (or local minimum in the optimation?)
How can I avoid this situation? Is my grid not ideal? Does the black border mess up the calibration? Somethin else?
08-01-2019 02:55 AM
Update:
I have now succesfully created a calibration image.
By unselecting some of my grid-images in the training set. I have no idea why the images I excluded were messing up the calibration, I excluded them based on trial and error.
So, I'm still open to suggestions on what is happening, as I will need to repeat this process often in the future.
08-01-2019 03:10 AM
08-01-2019 05:04 AM
My grid adheres to the recommendation.
I always make a new calibration from scratch, so no old images are even loaded in Vision Assistant
The error can be two things: either I get this warped, folded inside out resulting image. Or Vision Assistant experiences a fatal crash. I think the crash might be something related to the higher resolution, although in taskmanager I'm not close to filling up my RAM.