Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
AliRN9 opened this issue May 11, 2024 · 14 comments
Open

Comments

@AliRN9
Copy link

AliRN9 commented May 11, 2024

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
Copy link
Author

AliRN9 commented May 11, 2024

cal.log
cal.txt

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

@dicengine
Copy link
Owner

You might consider trying one of the non-default cross initialization methods in your params.xml file:

or

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.

@AliRN9
Copy link
Author

AliRN9 commented May 17, 2024

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

@dicengine
Copy link
Owner

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.

@AliRN9
Copy link
Author

AliRN9 commented May 19, 2024

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.

@dicengine
Copy link
Owner

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

@AliRN9
Copy link
Author

AliRN9 commented May 29, 2024

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).

@dicengine
Copy link
Owner

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.

@AliRN9
Copy link
Author

AliRN9 commented May 29, 2024

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

@AliRN9
Copy link
Author

AliRN9 commented May 29, 2024

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.

@dicengine
Copy link
Owner

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).

@pugazh11007
Copy link

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

@AliRN9
Copy link
Author

AliRN9 commented Jun 19, 2024

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)

@pugazh11007
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants