decomposeHomographyMat isn't working
I used findHomography, then:
int solutions = decomposeHomographyMat (H, K, R, T, N);
But this doesn't work properly. Rotation matrix has only "-nan" values. Homography martix is ok. It has values like:
2.44486e-39, 0.0466184, 1.25152e+23
I've tried to use unit matrix instead of homography, but it also didn't work.
definitely not ok. ;(
can you come up with a short, reproducable example (data / code) ?
So this is a problem of Homography matrix?
how did you obtain the homography ?
https://onlinegdb.com/BJA0tS8vE There is my code
H = findHomography(features_prev, features_next, CV_LMEDS);
I used this, I also tried ransac, but result was the same.
please EDIT your question, and put your code there, not on an external pastebin
so, shit in, shit out ....
Understandable