How to create automatic projective transformation with regards to camera position

I have a camera mounted on a robot laying up some materials. During the course the robot head varies in position which is automatically calculated. Since the camera is placed in a certain angle, projective transformation must be performed on the acquired images to analyse them. Is there a way/function in matlab to automatically correlate between camera position and image transformation matrix.

Answers (1)

Yes, you can use the imtransform function for 2D or 3D rotation and translation... else there are also ways to do projective transforms. I'd take a look at this link for starters.

1 Comment

Hello Mr Castro,
The problem is not about creating projective transformations. I am able to individually create them, but the problem is I would like to create a program where MATLAB understands the robots position and creates a transformation on its own.
Thank you

Sign in to comment.

Categories

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!