How to rotate all my measurements of an object to a single reference line fixed in the object.
1 回表示 (過去 30 日間)
古いコメントを表示
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 件のコメント
Image Analyst
2015 年 7 月 16 日
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?
回答 (1 件)
Muthu Annamalai
2015 年 7 月 16 日
編集済み: Muthu Annamalai
2015 年 7 月 16 日
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 件のコメント
Muthu Annamalai
2015 年 7 月 20 日
Sorry I'm not able to give you more detailed inputs beyond my initial suggestions.
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!