dice icon indicating copy to clipboard operation
dice copied to clipboard

Schema:: initialize cross correlation(): estimate projective transform failed

Open AliRN9 opened this issue 1 year ago • 14 comments

Hi!

I am a student currently using your software for my research work. During a inflation (rubber ballooning) experiment, I encountered an error. Could you please help me identify what might be causing this issue? Error :: Schema:: initialize cross correlation(): estimate projective transform failed. DICe_Schema.cpp 2713 photo_2024-05-11_16-05-47

Thank you!

AliRN9 avatar May 11 '24 12:05 AliRN9

cal.log cal.txt

I suspect that the camera calibration process may have been performed incorrectly

AliRN9 avatar May 11 '24 13:05 AliRN9

You might consider trying one of the non-default cross initialization methods in your params.xml file: <Parameter name="cross_initialization_method" type="string" value="USE_SPACE_FILLING_ITERATIONS" /> or <Parameter name="cross_initialization_method" type="string" value="USE_RECTIFIED_CORRESPONDENCES" />

Beware that if you are using the GUI, these options will get overwritten when you execute DICe, you have to run DICe from the command line to use options like these that are not available in the GUI.

dicengine avatar May 12 '24 11:05 dicengine

Dear author, I am currently calibrating the chessboard and running calculations for the 3D DIC, however, I am encountering an error and receiving the following images. Could you please assist me in identifying the issue? Thank you for your assistance. Снимок экрана от 2024-05-18 00-33-08 Снимок экрана от 2024-05-18 00-33-23 Снимок экрана от 2024-05-18 00-33-33 Снимок экрана от 2024-05-18 00-33-45 Снимок экрана от 2024-05-18 00-33-54

AliRN9 avatar May 17 '24 21:05 AliRN9

It's not clear to me what you are showing above. Are these examples of your calibration images? If so, it might indicate that you need to checkout the DIC Good Practices Guide for details on how to manipulate the calibration plate in the field of view, the number of images you need to capture, etc.

dicengine avatar May 19 '24 13:05 dicengine

I apologize for not being more specific about which images these are. These images were obtained after calibration, during the process of trying to match images from the left and right cameras with existing experimental images. The image you are seeing was created by your program and can be found in the ".dice" folder.

AliRN9 avatar May 19 '24 13:05 AliRN9

What was the error reported for your calibration? It would be in the calibration log file.

dicengine avatar May 20 '24 15:05 dicengine

Is StereoRectify used to align images? The problem is that my cameras are not positioned exactly equally (there is an error on the x, y, and z axes of about 10 pixels in each direction).

AliRN9 avatar May 29 '24 11:05 AliRN9

The cameras don't need to be positioned in a particular way, (as long as the stereo angle isn't too big or too small, which doesn't seem to be the case). Have you tried using a more recent version of DICe? https://github.com/dicengine/dice/releases/tag/v3.0-beta.8

The checkerboard pattern doesn't give the greatest calibration, the dot patterns do better. If all you have is the checkerboard pattern, try calibrating it in the most recent version of DICe to see if your calibration error improves.

dicengine avatar May 29 '24 12:05 dicengine

Do I need to compile the code for this or can I just use the executable file?

AliRN9 avatar May 29 '24 12:05 AliRN9

which stereo angle is considered normal? I position the cameras as follows:40 cm from the axis on which the cameras are mounted to the object, the angle between the cameras is 10 degrees.Your answers would help me a lot.

AliRN9 avatar May 29 '24 13:05 AliRN9

No need to compile, you can use the installers provided to install a binary executable. Usually the stereo angle is a bit wider (15 to 35 degrees).

dicengine avatar May 29 '24 14:05 dicengine

Hi I have the same issue. I get the error when I do stereo DIC. could you please help me out @dicengine Thanks. errorDICE

pugazh11007 avatar Jun 19 '24 14:06 pugazh11007

Hi I have the same issue. I get the error when I do stereo DIC. could you please help me out @dicengine

Thanks.

errorDICE

Hello! What helped me solve the problem was rearranging the cameras and moving to the latest version (I think it's 3.8). I think the transition to the latest version will help you, there is an improved camera calibration system. (Added image alignment functionality)

AliRN9 avatar Jun 19 '24 17:06 AliRN9

The new version is different from the 2.0 How do I add live plot? And the calibration which i performed in 2.0 version does not work in the 3.8.

pugazh11007 avatar Jun 23 '24 14:06 pugazh11007