dicengine / dice

Digital Image Correlation Engine (DICe): a stereo DIC application that runs on Mac, Windows, and Linux
Other
340 stars 125 forks source link

Issues Getting Calibration Parameters for Single Camera Calibration #283

Open Bamifad opened 1 year ago

Bamifad commented 1 year ago

Hi, I am trying to calibrate for a single camera correlation study with a dot pattern and I am having issues being able to successfully get calibration parameters despite having all the dots recognized across the video frames. When it says to look to the cal.log for details I see no errors or issues. What could be the issue? Any help would be much appreciated. Thanks

Screenshot 2023-02-16 at 6 37 31 PM Screenshot 2023-02-16 at 6 42 02 PM
dicengine commented 1 year ago

What happens if you set the origin offsets to 3 in x and y? Looks like your marker dots are 3 dots in, not 2.

Also, you could upload your cal.log file so I could look at it. Thanks.

Bamifad commented 1 year ago

For some reason I do not see any cal.log file in the directory where the calibration video is or in the correlation directory. How can I resolve that? Thanks for the response

Bamifad commented 1 year ago

Also I tried changing the offset but it still didn't work

dicengine commented 1 year ago

Check in the hidden .dice folder that gets created in the working directory for the cal.log file.

Bamifad commented 1 year ago

This is the log file. This run was made with the x, y offset as 2 because it recognized more dots that way for some reason cal.log

This log file is for the x, y offset as 3 cal.log

dicengine commented 1 year ago

Hmm...something strange must be going on. Any chance you could post your calibration video somewhere for me to see what's going on?

Bamifad commented 1 year ago

Yes here it is.

https://user-images.githubusercontent.com/36434421/219745118-55dea0bd-c109-484d-85ee-429d3a3e2fed.mp4

dicengine commented 1 year ago

Thanks for the video. There was a bug in the calibration tool for video files where the pose_estimation_index variable wasn't being written to the cal_input.xml file. That is fixed now in this version: https://github.com/dicengine/dice/releases/tag/v3.0-beta.8

See if you can get it working with this updated installer. Sorry about the bug.

Bamifad commented 1 year ago

Yes, that fixed the issue. Thank you!