TL;DR
This paper introduces IAC, a novel image processing technique that learns an adaptive coordinate system for each image before applying curve adjustments. This approach significantly improves efficiency and performance in tasks like photo retouching, exposure correction, and white balance editing, achieving state-of-the-art results with a lightweight design.
What Problem Does This Paper Address?
Traditional image processing methods often rely on fixed coordinate systems (like RGB) or complex 3D Look-Up Tables (LUTs) to adjust image properties. However, these approaches face limitations: RGB axes are not always optimal for certain adjustments (e.g., hue, saturation), leading to inefficient space utilization and potential artifacts. 3D LUTs, while more flexible, suffer from high memory complexity and computational cost, making them unsuitable for real-time applications or mobile devices. Existing image-adaptive curve methods improve upon this but still operate within the constraints of predefined coordinate spaces. The core problem is finding a way to efficiently and effectively adapt image processing to the unique characteristics of each image and task, overcoming the limitations of fixed coordinate systems.
Methods
The paper proposes Image-Adaptive Coordinate System (IAC). The core idea is to learn an image-specific coordinate system before applying curve adjustments. This involves:
- Learning an Image-Adaptive Coordinate System: A neural network learns a 3x3 invertible matrix, which defines a new set of projection vectors ($n_1, n_2, n_3$). These vectors transform the input RGB image into a new, image-adaptive coordinate space. This is a departure from previous methods that used fixed RGB axes.
- Applying Adaptive Curves: Once the image is projected into this new space, three adaptive curves are applied to each of the projected channels ($t_1, t_2, t_3$). These curves are also learned by the network.
- Projecting Back to RGB: The adjusted values are then transformed back into the original RGB space using the inverse of the learned projection matrix.
This end-to-end trainable approach allows the network to dynamically adjust the coordinate system based on the input image and the desired processing task, leading to more efficient and accurate adjustments. The network architecture consists of down-sampling blocks followed by a parallel generator with three branches, each responsible for predicting a projection vector and its corresponding curve.
Datasets
The paper evaluates IAC on the following datasets:
- MIT-Adobe FiveK: Used for photo retouching experiments. It contains 5,000 images with professional adjustments by five experts. Expert C's adjustments were used as ground truth.
- ME dataset: Used for exposure correction. It comprises 24,330 sRGB images rendered from RAW data with five different exposure values (EVs).
- Rendered WB dataset (Set1 and Set2): Used for white balance editing. Set1 (62,535 images) was used for training, and Set2 (2,881 images) for testing.
Key Insights and Ideas
- Coordinate System Matters: The paper demonstrates that moving beyond the fixed RGB coordinate system and learning an image-adaptive one is crucial for achieving superior performance in various image processing tasks.
- Efficiency Through Adaptivity: By learning an optimal coordinate space for each image, IAC achieves high accuracy with significantly fewer parameters and faster inference times compared to many existing methods, especially those requiring CUDA.
- Unified Framework: The proposed IAC framework is versatile and can be applied to diverse tasks like photo retouching, exposure correction, and white balance editing, showcasing its general applicability.
- Lightweight Design: The method achieves state-of-the-art results with a remarkably small number of parameters (around 39.7K), making it suitable for deployment on mobile and edge devices.
Key Results
- Photo Retouching: IAC achieved the best image quality (PSNR, SSIM) among non-CUDA methods on the MIT-Adobe FiveK dataset, outperforming methods like 3D LUT and AdaInt, while being significantly lighter.
- Exposure Correction: On the ME dataset, IAC achieved the best overall PSNR and SSIM, demonstrating its capability to effectively correct both under- and over-exposure while preserving image details. It also achieved a very fast inference time (0.09s).
- White Balance Editing: IAC achieved competitive results on the Rendered WB dataset, maintaining the fastest inference speed among compared methods and being significantly more lightweight than CNN-WB.
- Parameter Efficiency: The model boasts a lightweight design with approximately 39.7K parameters, enabling efficient deployment.
- Inference Speed: IAC demonstrates very fast inference times, with results as low as 0.014s for photo retouching and 0.09s for exposure correction.
Limitations and Future Work
- Limitations: The paper notes that while the proposed method is efficient, some 3D LUT methods that rely on CUDA acceleration might achieve slightly higher accuracy in specific scenarios. The paper also mentions that if the learned matrix rank is less than 3, small random numbers are added to help recover rank 3, implying a potential challenge in maintaining invertibility during training.
- Future Work: The authors suggest extending the coordinate transformation solution to curved surfaces, which could yield further improvements in challenging 3D applications like 3D reconstruction under varying lighting conditions.
Summary updated