https://github.com/mr-technologies/lensprofiler
MRTech IFF SDK lens profiling tool
https://github.com/mr-technologies/lensprofiler
c calibration camera camera-calibration cuda distortion distortion-correction genicam gpu image-processing jetson json lens low-latency machine-vision mipi opencv python sdk tiff
Last synced: 10 months ago
JSON representation
MRTech IFF SDK lens profiling tool
- Host: GitHub
- URL: https://github.com/mr-technologies/lensprofiler
- Owner: mr-technologies
- License: mit
- Created: 2024-12-10T12:03:42.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-04-16T11:07:29.000Z (about 1 year ago)
- Last Synced: 2025-04-16T14:48:58.295Z (about 1 year ago)
- Topics: c, calibration, camera, camera-calibration, cuda, distortion, distortion-correction, genicam, gpu, image-processing, jetson, json, lens, low-latency, machine-vision, mipi, opencv, python, sdk, tiff
- Language: Python
- Homepage: https://mr-te.ch/sdk
- Size: 74.2 KB
- Stars: 3
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README

# `lensprofiler`
`lensprofiler` application implements a workflow to create lens profiles, that can be used together with [MRTech IFF SDK](https://mr-te.ch/iff-sdk).
It shares most of the C++ code with [`imagebroker`](https://github.com/mr-technologies/imagebroker) example IFF SDK application, but also includes `ldc.py` Python script for chessboard target auto-detection and radial lens distortion model estimation, which is based on the source code provided with [Algebraic Lens Distortion Model Estimation](https://www.ipol.im/pub/art/2011/ags-alde/) article by Luis Alvarez, Luis Gomez, and J. Rafael Sendra published in [Image Processing On Line](https://www.ipol.im/) journal.
Application is located in `samples/06_lens` directory of IFF SDK package.
It comes with example configuration files (`lensprofiler.json` and `res/ldc.json`) suited for XIMEA cameras and standard 10x7 chessboard target (such as included `res/chessboard.png`).
See `linux` and `windows` directories for helper scripts to install required dependencies (e.g. [OpenCV](https://opencv.org/) library).
Operation is controlled using a keyboard:
* `1` decreases exposure
* `2` increases exposure
* `Tab` captures an image and starts the profile generation procedure (further instructions are shown on the screen)