(Feature Request)How can I use the 'Simulation 3D Fisheye Camera' block to simulate a fisheye model that matches a known distortion table (FOV = 210°)?
Show older comments
As far as I know, the latest version of MATLAB currently supports many fisheye models (Pinhole Model with minor distortion, Kannala-Brandt Model, Scaramozza Model), but none of these meet my requirements because their maximum supported FOVs are 95°, 115°, and 195° respectively. My fisheye lens specification from the manufacturer provides a distortion table (FOV = 210°), as shown below:
data = readtable("our_len_from_factory.txt");
data.Properties.VariableNames = ["theta" ,"tangential displacement","sagitta displacement","Real Height","Ref Height"];
% preview distortion table
head(data)
My question is, I want to obtain fisheye images in Simulink (using the 'Simulation 3D Fisheye Camera' block) that simulate the above fisheye lens. How should I do this?(all source files are attached)
Below are the things I have tried:
According to the relevant documentation (estimateFisheyeParameters) I tried calibrating the parameters, then fed the parameters into the above block for simulation. The parameters are as follows:


I can produce simulated fisheye images, but they are not the F-Theta distortion-model images I expect, as to I still cannot get good panoramic stitching with such fisheye images.(not related to stitching algorithm)


Reference:
1 Comment
xingxingcui
on 24 Sep 2025
Accepted Answer
More Answers (0)
Categories
Find more on Computer Vision Toolbox 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!