Ask Your Question

Kiryl's profile - activity

2016-07-12 10:18:32 -0600 commented question Define difference between rotation img and sample

Thanks! I am necessarily looking to estimateRigidTransform! Yes, You are right: I'm only need a rotation agle, scale, translation and Shift. Now I'm using homography without good matches, because ... I'm many times defined parameters with and without good mathces (with any value for min and max distance) and in the second case I get more accurate results!
I read about estimateRigidTransform and used it - sure it's more easilyto using, but it's has a little more measurement error! If I didn't need a such precise values I necessarily would use estRigTransform!

2016-07-12 01:30:21 -0600 commented question Define difference between rotation img and sample

Yes, I'm sure! If I transform my img in paint.net and decomposition homography matrix, then I get a right results. But homography or warpPerspecrive has some determining error after recovery (such as ~0.3 degree during define rotation angle, shift several pixels "1-2" to right/left direction and a little change pixels color). But it's a little change color and the other - very important for define difference between them. I call the method Imgproc.findHomography() with prepared "parameters and algorithms" as FeatureDetector.ORB, DescriptorExtractor.ORB and DescriptorMatcher.BRUTEFORCE.

2016-07-11 12:50:02 -0600 asked a question Define difference between rotation img and sample

Hello! I can't found a method for define difference between ratotation img and her reference (sample). For example, if we have a some artifacts (such as lines, dots or spots) - i need to find it with pinpoint accuracy! If image has a dot as one pixel - i must know about it! I have the homography transform matrix. And I use it to recovery img and after I calculate the difference between them by substract one from the other by pixels in one channel format. But opencv method "warpPerspective" has some error: each pixels has some displacement to one or two position in random direction. So I got a difference between them pixels and have a big error! Maybe anyone know how to resolve this task?