Table of Contents
SpyderCube is a Color Calibration tool which is used for color correction and white balance adjustment in digital photography and video. It is a small cube-shaped device that consists of different surfaces with specific colors and tones. The SpyderCube is primarily used to achieve accurate and consistent color reproduction in your photographs. By including the SpyderCube in a reference shot during a photo session, you can use it as a reference point for adjusting colors during post-processing. The cube's surfaces include black, white, neutral gray, and a range of other colors, which can be used to determine proper exposure, contrast, and color balance.
- Accurate color reproduction:
Achieving accurate color reproduction is crucial for photographers and videographers who want their images or
videos to reflect the true colors of the scene they captured.The black and white surfaces of the SpyderCube help you determine the proper exposure and
adjust the contrast in your images. By measuring the values and comparing them to the black and white surfaces, you can ensure that your images have the desired tonal range, with deep blacks and pure whites, without losing details.
- White balance adjustment:
Proper white balance is crucial for accurate color reproduction. The SpyderCube allows you to measure the white
and neutral gray surfaces, providing a reference point for setting the correct white balance in your images or videos.
This project depends on the following libraries and tools
- OpenCV: Version 4.6.0
- Qt: Version 5.15.2 With MinGW 8.1.0 32-bit
- CMake: Version 3.26.0
To run the application, follow these steps:
To run the application, follow these steps:
- Clone the Repository: Open the Qt software and clone the repository by clicking on File -> New File or Project -> Import Project -> Git -> Clone Repository. Enter the repository URL (https://github.com/Murari007/Measurement-of-White-Point-and-Optical-Black-Level-from-a-Reference-Object-SpyerCube-..git) and choose the destination folder on your local machine.
- Open the Project: After cloning the repository, you will see the project listed in the "Projects" tab. Click on the project to open it in the Qt software.
- Build the Project: Build the project by clicking on the build button (hammer icon) or by selecting Build -> Build All from the menu. This will compile the code and generate the executable file.
- Run the Project: Once the build is successful, you can run the project by clicking on the run button (play icon) or by selecting Build -> Run from the menu. This will execute the code and display the output or the desired functionality of your project.
As soon as we run the Application the GUI tool Opens.
Configure the image settings by clicking the "Configuration Settings" option. Enter the Height, Width, Bit Depth, CFA Pattern etc..
- After configuring the image settings, then read the raw image data from a selected file and perform Black Level Substraction and Demosaicing operation.
- After Demosiacing manually select six region of interest of SpyderCube to measure Statistical Data.
- Save the Data to a .csv file.
- Apply the gains of respective region gain to white balance the image and proceed with Gamma Correction.
- Use the Auto-select option to perfrom on large image datasets.