A commercial MATLAB distortion engine designed for
forward distortion modeling, physical validity control,
and safe inverse undistortion.
A flexible and high-accuracy framework for modeling, applying and inverting optical distortion.
Unlike conventional calibration libraries, Optical Distortion Lab is built around a forward-first distortion philosophy. Distortion is explicitly defined, analyzed, and validated before inverse mapping is applied.
No predefined limit on polynomial degree or number of terms. Models are constrained only by mathematics and physical validity.
Automatic detection of non-monotonic mappings, folding, and irreversible information loss.
LUT-based inverse mapping with stable interpolation.
Script-based batch processing, distributed as .mltbx.
Balance accuracy, performance and output resolution.
Technical note:
The two distortion models differ by a single higher-order term
of -0.05 · r11.
This term has negligible influence near the image center,
but dominates toward the outer field, causing a transition
from monotonic to non-monotonic radial mapping.
The toolbox does not currently estimate distortion parameters from images or calibration patterns.
All distortion models are explicitly defined and inspectable. There are no hidden assumptions or locked equations.
This is a deliberate design choice. Reliable estimation requires a well-defined and physically valid forward model — not the other way around.
The focus is on forward modeling and physical correctness, which form the foundation for any future estimation capability.
OpenCV and similar libraries are excellent for parameter estimation and camera calibration. However, they are fundamentally designed around inverse correction, not forward distortion modeling.
Most calibration tools rely on predefined, low-order distortion models that implicitly assume smooth and monotonic behavior.
Non-monotonic mappings, folding, and information loss are usually not detected or reported explicitly.
The forward distortion function is rarely treated as a first-class, inspectable object.
Optical Distortion Lab addresses these limitations by treating forward distortion as the primary problem, enforcing physical constraints, and allowing unrestricted model complexity when required.
Parameter estimation modules built on top of the existing forward distortion engine.
A Python version targeting machine learning and large-scale dataset generation.
Physically constrained differential calibration methods for advanced optical systems.
Optical Distortion Lab is distributed as a commercial MATLAB toolbox, intended for research, development, and industrial use.
Suitable for universities, research groups, and individual researchers.
For industrial applications, product development, and internal tooling.
Limited evaluation versions may be provided upon request.
📧 ahmet.basaran@opticaldistortionlab.com
🧪 ORCID: 0009-0008-2682-0572
💼 LinkedIn: Ahmet Başaran
💻 GitHub: HeliumNitrate
Optical Distortion Lab is a forward-first, physically constrained distortion engine — not just an undistortion tool.