Abstract
Traditional image enhancement techniques often prioritize human aesthetic appeal, sometimes at the cost of mathematical feature stability. This paper introduces BFWLS, a hybrid image fusion method that combines visible (RGB) and near-infrared (NIR) data using Bilateral Filters (BF) and Weighted Least Squares (WLS). The goal is to improve the quantity and stability of local features for computer vision tasks. Experimental results show that BFWLS-Avg achieves an 8.78% increase in feature matches over standard RGB images, outperforming existing state-of-the-art fusion methods.
Introduction
Near-infrared (NIR) light captures details often obscured in the visible spectrum, such as textures behind haze or subtle surface variations. While many algorithms fuse NIR and RGB data to create visually "vivid" images, these processes can introduce artifacts or blur that degrade the local features (edges, corners, blobs) essential for computer vision tasks like object recognition or image stitching. This research addresses whether "enhanced" images are truly "better for algorithms" and proposes a fusion method designed to preserve edge information and fine details across multiple scales.
Methodology: The BFWLS Pipeline
The proposed BFWLS (Bilateral Filter + Weighted Least Squares) method utilizes a multi-step pipeline to fuse NIR and RGB data while maintaining structural integrity.
- Color Space Transformation: The input RGB image is converted into the YCbCr space, where NIR is treated as a luminance (Y) channel.
- Decomposition: Visible luminance and NIR images are decomposed into base (low-frequency) and detail (high-frequency) layers using two edge-preserving filters: the Bilateral Filter (BF) for sharp local edges and Weighted Least Squares (WLS) for multi-scale details.
- Fusion: The NIR detail layers from both filters are averaged to boost details without excessive noise.
- Reconstruction: The fused NIR detail layer is combined with the original RGB base layer and chrominance (CbCr) channels to produce the final image.
Experimental Results
The method was evaluated using the RGB-NIR Scene Dataset (477 image pairs). Feature quality was measured by counting SIFT matches surviving synthetic transformations (rotation and scaling).
As shown in the table above, the BFWLS-Avg method achieved a relative change of 8.78% in feature matches compared to the original RGB image, significantly higher than Fredembach et al. (4.31%) and Farbman et al. (4.92%). Notably, some "aesthetic" methods like Schaul et al. actually decreased feature stability by 1.11%. While BFWLS is not the fastest method (taking ~6.59s per image), it maintains high signal integrity with a PSNR of 32.69.
Discussion and Conclusion
The core advantage of BFWLS lies in the complementary nature of BF and WLS filters. By averaging their outputs and retaining the original RGB base layer, the method ensures natural global luminance while borrowing high-frequency textures from the NIR spectrum.
Future work should address the computational overhead to enable real-time applications and evaluate the method on real-world downstream tasks like Structure-from-Motion (SfM). Currently, the 6-second processing time limits its use in mobile or high-speed video environments without further optimization.
Summary updated