How to rotate all my measurements of an object to a single reference line fixed in the object.
1 view (last 30 days)
Show older comments
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.
2 Comments
Image Analyst
on 16 Jul 2015
I don't know what a "motor tooth" is or what a "shape drive camera" is. And I don't know the layout or components in your system. Can you give a diagram of the rig, and a sample image that it creates?
Answers (1)
Muthu Annamalai
on 16 Jul 2015
Edited: Muthu Annamalai
on 16 Jul 2015
Hello Snehalatha,
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
HTH
3 Comments
Muthu Annamalai
on 20 Jul 2015
Sorry I'm not able to give you more detailed inputs beyond my initial suggestions.
See Also
Categories
Find more on Geometric Transformation and Image Registration in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!