How to rotate all my measurements of an object to a single reference line fixed in the object.
1 view (last 30 days)
Hello all I have a motor tooth which i am using for imaging. I used shape drive camera system to measure the tooth and analyse it in matlab. The problem is i have to move the tooth several times and hence cannot manipulate the same point from two different measurements. How do I fix a reference in my object and ensure that all the measurements are translated to this reference right before by analysis in matlab? Is there a translation matrix available which can be applied commonly to most cases? would be happy to have help as this is very new for me.
Muthu Annamalai on 16 Jul 2015
Edited: Muthu Annamalai on 16 Jul 2015
Can you share more details - like a sample image, code etc. ?
I assume you have to find the gear axle point as a reference, and use a MATLAB function from Image processing toolbox to find your affine transform the works for you.
See, http://www.mathworks.com/help/vision/geometric-transformations.html and the link http://www.mathworks.com/help/images/ref/affine2d-class.html