transform a plane from a camera still to a 2d image without perspective using a calibration plate

4 Ansichten (letzte 30 Tage)
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

Akzeptierte Antwort

Image Analyst
Image Analyst am 29 Aug. 2012
  3 Kommentare
Image Analyst
Image Analyst am 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.

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Kategorien

Mehr zu MATLAB Support Package for USB Webcams finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by