2011-03-07 79 views
3

我一直在嘗試做一個「逆」魚眼鏡頭效果,這意味着使用matlab將「​​魚眼」圖像轉換爲矩形/方形圖像幾周,但仍然沒有一個好的解決方案。如何將fish_eye圖像轉換爲平面矩形圖像?

基本上它只是How can I implement a fisheye lens effect (barrel transformation) in MATLAB?

誰能告訴我如何做到這一點嗎?

+1

重複http://stackoverflow.com/questions/2477774/correcting-fisheye-distortion-programmatically/2487365#2487365 – jmbr 2011-03-20 12:25:35

回答

1

你應該看看Jean-Yves Bouguet的Camera Calibration Toolkit。如果你有相機,你可以按照他的步驟自行校準相機。否則,您將不得不瞭解鏡頭的幾何形狀。