Skip to content

cao-cong/UnCLTMO

Repository files navigation

Unsupervised HDR Image and Video Tone Mapping via Contrastive Learning (UnCLTMO)

This repository contains official implementation of Unsupervised HDR Image and Video Tone Mapping via Contrastive Learning in TCSVT 2023, by Cong Cao, Huanjing Yue, Xin Liu, and Jingyu Yang. [arxiv] [journal]

Demo Video

https://youtu.be/rzXfqiCZtIQ

Dataset

Unsupervised Video Tone Mapping Dataset (UVTM Dataset)

You can download our dataset from MEGA or Baidu Netdisk (key: 6jl2).

Code

Dependencies and Installation

  • Python >= 3.5
  • Pytorch >= 1.10

Prepare Data

For image tome mapping, you can download training data from MEGA or Baidu Netdisk (key: hesn), and download HDR Survey, HDRI Haven, and LVZ-HDR dataset as test data. For video tone mapping, you need to add UVTM dataset for training and testing.

Test

You can download pretrained weights from Google Drive or Baidu Netdisk (key: b6jm), then run the following commands for image and video TMO testing:

cd activate_trained_model
sh run_imageTMO_test_on_HDRSurveyDataset.sh
sh run_videoTMO_test_on_UVTMTestDataset.sh

Train

Run the following commands for image and video TMO training

bash run_imageTMO_train.sh
bash run_videoTMO_train.sh

Citation

If you find our dataset or code helpful in your research or work, please cite our paper:

@article{cao2023unsupervised,
  title={Unsupervised HDR Image and Video Tone Mapping via Contrastive Learning},
  author={Cao, Cong and Yue, Huanjing and Liu, Xin and Yang, Jingyu},
  journal={IEEE Transactions on Circuits and Systems for Video Technology},
  year={2023},
  publisher={IEEE}
}

About

Unsupervised HDR Image and Video Tone Mapping via Contrastive Learning. TCSVT 2023

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published