# CAPformer: Compression-Aware Pre-trained Transformer for Low-Light Image Enhancement

Source: [CAPformer: Compression-Aware Pre-trained Transformer for Low-Light Image Enhancement](<https://www.sota2.com/research/paper/68fa74111e209131cea5f984>)

Collection index: [llms.txt](<https://www.sota2.com/research/llms.txt>)

Data updated: 2025-10-27T06:36:01.778Z

Authors: Wei Wang, Zhi Jin

Published: 2024-07-09T17:25:04.000Z

## Abstract

Low-Light Image Enhancement (LLIE) has advanced with the surge in phone photography demand, yet many existing methods neglect compression, a crucial concern for resource-constrained phone photography. Most LLIE methods overlook this, hindering their effectiveness. In this study, we investigate the effects of JPEG compression on low-light images and reveal substantial information loss caused by JPEG due to widespread low pixel values in dark areas. Hence, we propose the Compression-Aware Pre-trained Transformer (CAPformer), employing a novel pre-training strategy to learn lossless information from uncompressed low-light images. Additionally, the proposed Brightness-Guided Self-Attention (BGSA) mechanism enhances rational information gathering. Experiments demonstrate the superiority of our approach in mitigating compression effects on LLIE, showcasing its potential for improving LLIE in resource-constrained scenarios.

## Recorded benchmark results

A research result applies to its stated dataset, split, metric and evaluation configuration. Compare like-for-like settings, preserve the metric's unit and direction, and distinguish paper-reported results from independent reproduction. The best result recorded here is not a claim of exhaustive, current global coverage.

- [Low-light image enhancement on LOL QF=80 v1](<https://www.sota2.com/research/sota/low-light-image-enhancement-on-lol-qf-80-v1.md>): Low-light Image Enhancement; LOL QF=80 v1; PSNR (dB): 23.499.

- [Low-light image enhancement on LOL real (QF=80) v2](<https://www.sota2.com/research/sota/low-light-image-enhancement-on-lol-real-qf-80-v2.md>): Low-light Image Enhancement; LOL real (QF=80) v2; PSNR (dB): 21.689.

- [Low-light image enhancement on LOL syn (QF=80) v2 (PSNR, SSIM)](<https://www.sota2.com/research/sota/low-light-image-enhancement-on-lol-syn-qf-80-v2-psnr-ssim.md>): Low-light Image Enhancement; LOL syn (QF=80) v2; PSNR (dB): 23.296.

- [Low-light image enhancement on LOL randomQF v1](<https://www.sota2.com/research/sota/low-light-image-enhancement-on-lol-randomqf-v1.md>): Low-light Image Enhancement; LOL randomQF v1; PSNR (dB): 22.634.

## Original sources and implementation

[Original paper](<https://arxiv.org/abs/2407.07056>)

[PDF](<https://arxiv.org/pdf/2407.07056.pdf>)
