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

NonLinearOptimizer throw exception when performing Jacobian multiplication #7

Open
kuriel07 opened this issue Feb 15, 2019 · 2 comments

Comments

@kuriel07
Copy link

hi, i'm integrating the Online Photometric Calibration into DSO with realtime camera (auto exposure one), after several capture the system crashed during evfOptimization, i tried to debug program and it's seems crashed during Jacobian multiplication after transpose jacobian (type assertion failed), the Jacobian input size is [0x0] and type =CV_64F but the resulting transpose type is CV_8U, i wonder if this cause the multiplication error, also both Jacobian and Jacobian_T size is [0x0], i wonder what cause this

note : when running the program with dataset, it works normally fine without loading loading times.txt and pcalib.txt, so the online photometric calibration is working

@NikolausDemmel
Copy link
Contributor

I don't know enough about the internals to help. Maybe @PaulBergmann does.

Otherwise, I suggest to investigate what causes the 0 size matrix.

@kuriel07
Copy link
Author

yes, after backtracing the program, i found out that points_to_optimize->size() is zero, therefore no residual data passed onto jacobian matrix, i don't know if this is the right solution, i check whether for not to perform jacobian multiplication by checking size of points_to_optimize, if the size is zero, then i skip the optimization process, right now i'm still backtracing what caused the number of points to optimize to have zero value

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

2 participants