Infinite-ISP is a full-stack ISP development platform - from algorithm development to RTL design, FPGA/ASIC implementation, and associated firmware, tools, etc. It offers a unified platform that empowers ISP developers to accelerate ISP innovation. It includes a complete collection of camera pipeline modules written in Python, an FPGA bitstream & the associated Firmware for the implementation of the pipeline on the Kria KV260 development board, and lastly, a stand-alone Python-based Tuning Tool application for the pipeline. The main components of the Infinite-ISP project are listed below:
Repository name | Description |
---|---|
Infinite-ISP_AlgorithmDesign | Python based model of the Infinite-ISP pipeline for algorithm development |
Infinite-ISP_ReferenceModel | Python based fixed-point model of the Infinite-ISP pipeline for hardware implementation |
Infinite-ISP_FPGABinaries | FPGA binaries (bitstream + firmware executable) for the Xilinx® Kria KV260’s XCK26 Zynq UltraScale+ MPSoC |
Infinite-ISP_Firmware | Firmware for the Kria kV260’s embedded Arm® Cortex®A53 processor |
Infinite-ISP_TuningTool ⚓ | Collection of calibration and analysis tools for the Infinite-ISP |
Infinite-ISP Tuning Tool is a console-based ISP (image signal processor) tuning application that is specifically designed to tune various modules in the Infinite-ISP_ReferenceModel and Infinite-ISP_Firmware. Apart from working along with the Infinite-ISP pipeline, this tuning tool can be used as a separate stand-alone application to perform image quality analysis.
This cross-platform application provides a diverse range of algorithms aimed at calibrating a Bayer RAW image coming directly from an image sensor.
Tuning Tool is designed to work with the Infinite-ISP_ReferenceModel and Infinite-ISP_Firmware. It uses the config file from the Infinite-ISP_ReferenceModel, performs the calibration, and updates the config file with the tuned parameters that can be used in the pipeline. For more details, see the User Guide.
Infinite-ISP Tuning Tool can be used separately as a stand-alone application for image quality analysis. This comprehensive toolset not only provides the user with precise control over the calibration modules but also allows the user to analyse the quality of the images using the analysis modules. With respect to its usage, it is divided into three categories:
-
Calibration Tools
-
Analysis Tools
-
Configuration Files Generator
The Infinite-ISP Tuning Tool provides the following features.
Module | Description |
---|---|
Black Level Calibration (BLC) | Calculates the black levels of a raw image for each channel (R, Gr, Gb, and B). |
White Balance (WB) | Calculates the white balance gains (R gain and B gains) on a ColorChecker RAW or RGB image. |
Color Correction Matrix (CCM) | Calculates a 3x3 color correction matrix using a ColorChecker RAW or RGB image. |
Gamma | Compares the user-defined gamma curve with the sRGB color space gamma ≈ 2.2. |
Bayer Noise Level Estimation | Estimates the noise levels of the six grayscale patches on a ColorChecker RAW image. |
Luminance Noise Level Estimation | Estimates the luminance noise level of the six grayscale patches on a ColorChecker RAW or RGB image. |
Configuration Files | Generates the configuration files for the Infinite-ISP_ReferenceModel and FPGA firmware. |
The project is compatible with Python_3.10.11
.
The dependencies are listed in the requirements.txt file.
The project assumes pip package manager as a pre-requisite.
To use the Tuning Tool, follow these steps:
-
Clone the repo using
git clone https://github.com/10xEngineersTech/InfiniteISP_TuningTool.git
-
Install all the requirements from the requirements file by running
pip install -r requirements.txt
After cloning the repository and installing all the dependencies, follow these steps:
-
Open the terminal and navigate to the project directory.
-
Run the tuning_tool.py file using Python by executing the following command:
python tuning_tool.py
By following the above steps, the tool will start, clear the console, and display a welcome message.
Upon successfully launching the Tuning Tool, its main menu pops up with a list of all available modules.
-
To run a specific module, simply select the corresponding option from the menu using the up and down arrow buttons. For instance, to start the Black Level Calibration (BLC) module, choose option 1.
-
In each module, the first step is to display a main menu that outlines the specific functionalities and requirements of that module. The menu guides through the necessary steps and options to perform the calibration or analysis associated with the module.
-
Each module has different requirements and sub-menus based on its unique functionality. Once the required inputs are provided, the algorithm specific to that module will be executed.
-
Upon completion of a module, options are presented to either restart that specific module, go back to the main menu to select another module, or exit the Tuning Tool. This allows for flexible exploration and fine-tuning of multiple modules conveniently.
Please read the Contribution Guidelines before making a Pull Request.
For more comprehensive documentation and to understand how to use the Tuning Tool effectively, please visit the User Guide.
This project is licensed under Apache 2.0 (see LICENSE file).
For any inquiries or feedback, feel free to reach out.
Email: isp@10xengineers.ai
Website: http://www.10xengineers.ai