Is there more information available on using the 'custom' option with the MAKETFORM function in the Image Processing Toolbox?
6 ビュー (過去 30 日間)
古いコメントを表示
The documentation for the MAKETFORM function mentions creating custom transformations. I would like further information on the syntax needed to create a custom transformation.
採用された回答
MathWorks Support Team
2010 年 1 月 21 日
This example goes through the process of creating a radial transformation such as that used to correct the "fish-eye" lens effect.
This function performs the following transformation:
r_original = p1 + p2*r_final + p3*r_final^2 + p4*r_final^3 + p5*r_final^4
The coefficients p1, p2, p3, p4, and p5 will depend on the nature of the fisheye lens used. Some may be zero.
The attached files add a mock fisheye effect to the cameraman.tif image included with MATLAB. To run the demo, type:
rundemo
at the MATLAB prompt. This file calls MAKETFORM using the custom transform included in the "radial.m" file. Instructions on how the custom transformation works are included in the comments in the files.
0 件のコメント
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Camera Calibration についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!