Page 1 of 1

Wrong Values from TransformationMatrix

PostPosted: Wed Apr 02, 2014 2:47 pm
by ErgoAR
Hi,

i'm using the GRATF framework in combination with Direct Show, to get the Transformation Matrix of some glyphs from a camera-captured image.

I've noticed, that ExtractedGlyphData.TransformationMatrix() returns wrong values for Translation (not 0 in case of a centred glyph in a camera-captured image) . So when i apply the transformationmatrix to my 3D-Object, the Object gets a wrong position.

Any ideas how i can fix that?

Re: Wrong Values from TransformationMatrix

PostPosted: Wed Apr 02, 2014 8:52 pm
by andrew.kirillov
Hello,

From I what I remember, the POSIT (and CoPOSIT) algorithms require specifying real object size (the one you set in GRATF user interface). Did you set it correctly? Also there is focal length property. See docs.

And more about 3D pose estimation

Re: Wrong Values from TransformationMatrix

PostPosted: Thu Apr 03, 2014 1:57 am
by ErgoAR
your second hint led me to the solution. my problem was the imageSize and focalLength property of my GlyphTracker instance.
thank you very much