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

4 visualizzazioni (ultimi 30 giorni)
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

Risposta accettata

Image Analyst
Image Analyst il 29 Ago 2012
  3 Commenti
Image Analyst
Image Analyst il 30 Ago 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.

Accedi per commentare.

Più risposte (0)

Categorie

Scopri di più su MATLAB Support Package for USB Webcams in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by