transform a plane from a camera still to a 2d image without perspective using a calibration plate
4 views (last 30 days)
Show older comments
I have a camera mounted at an angle to a calibration plate. I would like to transform the plane in which the calibration sheet sits to a 'flat' 2d image.
put another way, my calibration sheet appear as a trapezium in the camera frame, i want to transform the image so that the calibration sheet appears square.
A linear transform would be fine there is very little camera distortion, it is only the perspective distortion to the calibration plane which i want to correct.
I am aware of the camera calibration tool box http://www.vision.caltech.edu/bouguetj/calib_doc/index.html but it appears to find the camera distortion, if anyone is familiar with the package is it easy to create a 'flat' image with that information.
alternatively can imtransform be used?
i say easy because i am a matlab novice.
Many thanks
James
0 Comments
Accepted Answer
Image Analyst
on 29 Aug 2012
3 Comments
Image Analyst
on 30 Aug 2012
I haven't seen your image. I imagine you'd find the corners of your calibration sheet and then map those to the corners of your image. I've done it before. You just have 4 actual points, and their 4 desired locations and pass it in to maketform and then call tformfwd or something like that.
More Answers (0)
See Also
Categories
Find more on MATLAB Support Package for USB Webcams in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!