diff --git a/0_generate_list.py b/0_generate_list.py new file mode 100644 index 0000000000000000000000000000000000000000..2270e77e1ceb1ac255202e047b1c5a1fe9c52c96 --- /dev/null +++ b/0_generate_list.py @@ -0,0 +1,778 @@ +import os, sys +import shutil +import numpy as np +from pathlib import Path + +base_rt = f"/home/CORP/hsiang.chen/Project/Datasets/IR" + +""" +Deblur: GoPro, HIDE, RealBlur +""" +# GoPro +# pre-process for GoPro, dataset: https://seungjunnah.github.io/Datasets/gopro +# Seungjun Nah, Tae Hyun Kim, and Kyoung Mu Lee. Deep multi-scale convolutional neural network for dynamic scene deblurring. In CVPR, 2017 +rt = os.path.join(base_rt, "Deblur/GoPro") +meta_folder = os.path.join(rt, "metas") +os.makedirs(meta_folder, exist_ok=True) +for dset in ['train', 'test']: # train, test + dset_pth = os.path.join(rt, dset) + list_file = [] + total_ct = 0 + for sample_folder in os.listdir(dset_pth): # GOPOXXX_XX_XX + folder_pth = os.path.join(dset_pth, sample_folder) + blur_folder = os.path.join(folder_pth, 'blur') + sharp_folder = os.path.join(folder_pth, 'sharp') + for ct, sample in enumerate(os.listdir(blur_folder)): + if ".png" in sample or ".jpg" in sample or ".jpeg" in sample or ".bmp" in sample or ".tif" in sample or ".JPG" in sample or ".PNG" in sample: + blur_file = os.path.join(blur_folder, sample) + sharp_file = os.path.join(sharp_folder, sample) + list_file.append((blur_file, sharp_file)) + total_ct += 1 + + with open(os.path.join(meta_folder,'{}.list'.format(dset)), 'w') as fp: + for item in list_file: + fp.write('{} {} {}\n'.format(item[0], item[1], None)) + print(dset_pth, total_ct) + +# HIDE +# pre-process for HIDE, dataset: https://github.com/joanshen0508/HA_deblur +# Ziyi Shen, Wenguan Wang, Xiankai Lu, Jianbing Shen, Haibin Ling, Tingfa Xu, and Ling Shao. Human-aware mo- tion deblurring. In ICCV, 2019. +# ============================================== +# HIDE/ +# |- train/{image, gt} +# |- test/{image, gt} +# ============================================== +rt = os.path.join(base_rt, "Deblur/HIDE") +meta_folder = os.path.join(rt, "metas") +os.makedirs(meta_folder, exist_ok=True) +for dset in ['train', 'test']: # train, test + dset_pth = os.path.join(rt, dset) + list_file = [] + total_ct = 0 + if dset == 'train': + blur_folder = dset_pth + sharp_folder = os.path.join(rt, 'GT') + for ct, sample in enumerate(os.listdir(blur_folder)): + if ".png" in sample or ".jpg" in sample or ".jpeg" in sample or ".bmp" in sample or ".tif" in sample or ".JPG" in sample or ".PNG" in sample: + blur_file = os.path.join(blur_folder, sample) + sharp_file = os.path.join(sharp_folder, sample) + list_file.append((blur_file, sharp_file)) + total_ct += 1 + else: + for sample_folder in ['test-close-ups', 'test-long-shot']: + folder_pth = os.path.join(dset_pth, sample_folder) + blur_folder = folder_pth + sharp_folder = os.path.join(rt, 'GT') + for ct, sample in enumerate(os.listdir(blur_folder)): + if ".png" in sample or ".jpg" in sample or ".jpeg" in sample or ".bmp" in sample or ".tif" in sample or ".JPG" in sample or ".PNG" in sample: + blur_file = os.path.join(blur_folder, sample) + sharp_file = os.path.join(sharp_folder, sample) + list_file.append((blur_file, sharp_file)) + total_ct += 1 + + with open(os.path.join(meta_folder,'{}.list'.format(dset)), 'w') as fp: + for item in list_file: + fp.write('{} {} {}\n'.format(item[0], item[1], None)) + print(dset_pth, total_ct) + +# RealBlur +# pre-process for RealBlur-J,R, dataset: https://github.com/rimchang/RealBlur +# Jaesung Rim, Haeyun Lee, Jucheol Won, and Sunghyun Cho. Real-world blur dataset for learning and benchmarking de- blurring algorithms. In ECCV, 2020. +rt = os.path.join(base_rt, "Deblur/") + +realblur_j_test_txt = os.path.join(rt, f"RealBlur-J_ECC_IMCORR_centroid_itensity_ref/RealBlur_J_test_list.txt") +realblur_r_test_txt = os.path.join(rt, f"RealBlur-R_BM3D_ECC_IMCORR_centroid_itensity_ref/RealBlur_R_test_list.txt") + +for txt in [realblur_j_test_txt, realblur_r_test_txt]: + data_list = [] + total_ct = 0 + miss_ct = 0 + with open(txt) as fin: + for ct, line in enumerate(fin): # gt, image + line = line.strip().split() + if len(line) == 1: # no gt + data_list.append([None, os.path.join(rt, line[0])]) # image, None + miss_ct += 1 + else: + data_list.append([os.path.join(rt, line[1]), os.path.join(rt, line[0])]) # image ,gt + total_ct += 1 + + set_dict = {realblur_j_test_txt: os.path.join(rt, f"RealBlur-J_ECC_IMCORR_centroid_itensity_ref"), + realblur_r_test_txt: os.path.join(rt, f"RealBlur-R_BM3D_ECC_IMCORR_centroid_itensity_ref")} + meta_folder = os.path.join(set_dict[txt], "metas") + os.makedirs(meta_folder, exist_ok=True) + with open(os.path.join(meta_folder,'test.list'), 'w') as fp: + for item in data_list: + fp.write('{} {} {}\n'.format(item[0], item[1], None)) + + print(os.path.join(meta_folder,'test.list'), total_ct, miss_ct) + +""" +Dehaze: 4kID, NH-Haze, OTS, SOTS +""" +# OST +# pre-process for OTS, dataset: https://sites.google.com/view/reside-dehaze-datasets/reside-%CE%B2?authuser=0 +# Boyi Li, Wenqi Ren, Dengpan Fu, Dacheng Tao, Dan Feng, Wenjun Zeng, and Zhangyang Wang. Benchmarking single- image dehazing and beyond. TIP, 2018. +rt = os.path.join(base_rt, "Dehaze/OTS") +meta_folder = os.path.join(rt, "metas") +os.makedirs(meta_folder, exist_ok=True) +for dset in ['hazy']: + dset_pth = os.path.join(rt, dset) + list_file = [] + total_ct = 0 + # 0025_0.8_0.1.jpg + for sub_folder in os.listdir(dset_pth): + input_folder = os.path.join(dset_pth, sub_folder) + gt_folder = os.path.join(rt, 'gt') + for ct, sample in enumerate(os.listdir(input_folder)): + if ".png" in sample or ".jpg" in sample or ".jpeg" in sample or ".bmp" in sample or ".tif" in sample or ".JPG" in sample or ".PNG" in sample: + input_file = os.path.join(input_folder, sample) + gt_file = os.path.join(gt_folder, "%s.jpg"%(sample.split('_')[0])) + list_file.append((input_file, gt_file)) + total_ct += 1 + + set_dict = {"hazy":'train'} + with open(os.path.join(meta_folder,'{}.list'.format(set_dict[dset])), 'w') as fp: + for item in list_file: + fp.write('{} {} {}\n'.format(item[0], item[1], None)) + print(dset_pth, total_ct) + + +# SOTS +# pre-process for SOTS, dataset: https://sites.google.com/view/reside-dehaze-datasets/reside-standard +# Boyi Li, Wenqi Ren, Dengpan Fu, Dacheng Tao, Dan Feng, Wenjun Zeng, and Zhangyang Wang. Benchmarking single- image dehazing and beyond. TIP, 2018. +rt = os.path.join(base_rt, "Dehaze/SOTS") +meta_folder = os.path.join(rt, "metas") +os.makedirs(meta_folder, exist_ok=True) +for dset in ['outdoor']: + dset_pth = os.path.join(rt, dset) + list_file = [] + total_ct = 0 + input_folder = os.path.join(dset_pth, 'hazy') + gt_folder = os.path.join(dset_pth, 'gt') + for ct, sample in enumerate(os.listdir(input_folder)): + if ".png" in sample or ".jpg" in sample or ".jpeg" in sample or ".bmp" in sample or ".tif" in sample or ".JPG" in sample or ".PNG" in sample: + input_file = os.path.join(input_folder, sample) + gt_file = os.path.join(gt_folder, "%s.png"%(sample.split("_")[0])) + list_file.append((input_file, gt_file)) + total_ct += 1 + + set_dict = {"outdoor":'test'} + with open(os.path.join(meta_folder,'{}.list'.format(set_dict[dset])), 'w') as fp: + for item in list_file: + fp.write('{} {} {}\n'.format(item[0], item[1], None)) + print(input_folder, total_ct) + +# 4kID +# pre-process for 4kID, dataset: https://github.com/zzr-idam/4KDehazing +# Ultra-High-Definition Image Dehazing via Multi-Guided Bilateral Learning, CVPR21. +rt = os.path.join(base_rt, "Dehaze/4kID") +meta_folder = os.path.join(rt, "metas") +os.makedirs(meta_folder, exist_ok=True) +for dset in ['4KDehazing', '4KDehazing_test']: # train, test + dset_pth = os.path.join(rt, dset) + list_file = [] + total_ct = 0 + input_folder = os.path.join(dset_pth, 'inputs') + gt_folder = os.path.join(dset_pth, 'groundtrues') + for ct, sample in enumerate(os.listdir(input_folder)): + if ".png" in sample or ".jpg" in sample or ".jpeg" in sample or ".bmp" in sample or ".tif" in sample or ".JPG" in sample or ".PNG" in sample: + input_file = os.path.join(input_folder, sample) + gt_file = os.path.join(gt_folder, sample) + list_file.append((input_file, gt_file)) + total_ct += 1 + + set_dict = {"4KDehazing":'train', "4KDehazing_test":'test'} + with open(os.path.join(meta_folder,'{}.list'.format(set_dict[dset])), 'w') as fp: + for item in list_file: + fp.write('{} {} {}\n'.format(item[0], item[1], None)) + print(dset_pth, total_ct) + + +# Unann +# pre-process for unann, dataset: https://sites.google.com/view/reside-dehaze-datasets/reside-%CE%B2?authuser=0 +rt = os.path.join(base_rt, "Dehaze/UnannotatedHazyImages") +meta_folder = os.path.join(rt, "metas") +os.makedirs(meta_folder, exist_ok=True) +list_file = [] +total_ct = 0 +input_folder = os.path.join(rt, "Image") +for ct, sample in enumerate(os.listdir(input_folder)): + if ".png" in sample or ".jpg" in sample or ".jpeg" in sample or ".bmp" in sample or ".tif" in sample or ".JPG" in sample or ".PNG" in sample: + input_file = os.path.join(input_folder, sample) + list_file.append((input_file, "")) + total_ct += 1 + +with open(os.path.join(meta_folder,'test.list'), 'w') as fp: + for item in list_file: + fp.write('{} {} {}\n'.format(item[0], None, None)) +print(rt, total_ct) + +# NH-Haze +rt = os.path.join(base_rt, "Dehaze/NH-Haze") +meta_folder = os.path.join(rt, "metas") +os.makedirs(meta_folder, exist_ok=True) +list_file = [] +total_ct = 0 +input_folder = os.path.join(rt, "images") +for ct, sample in enumerate(os.listdir(input_folder)): + if ".png" in sample or ".jpg" in sample or ".jpeg" in sample or ".bmp" in sample or ".tif" in sample or ".JPG" in sample or ".PNG" in sample: + input_file = os.path.join(input_folder, sample) + list_file.append((input_file, "")) + total_ct += 1 + +with open(os.path.join(meta_folder,'test.list'), 'w') as fp: + for item in list_file: + fp.write('{} {} {}\n'.format(item[0], None, None)) +print(rt, total_ct) + +""" +Denoise: BSD68, BSD400, CBSD68, KodaK, McMaster, Set12, SIDD, Urban100, WaterlooED +""" +""" +pre-process for denoise dataset +1. BSD400: + * David Martin, Charless Fowlkes, Doron Tal, and Jitendra Malik. A database of human segmented natural images and its application to evaluating segmentation algorithms and measuring ecological statistics. In Proceedings Eighth IEEE International Conference on Computer Vision. ICCV 2001, volume 2, pages 416–423. IEEE, 2001. + * https://github.com/smartboy110/denoising-datasets/tree/main +2. WED: + * Kede Ma, Zhengfang Duanmu, Qingbo Wu, Zhou Wang, Hongwei Yong, Hongliang Li, and Lei Zhang. Waterloo exploration database: New challenges for image quality as- sessment models. IEEE Transactions on Image Processing, 26(2):1004–1016, 2016. + * https://kedema.org/project/exploration/index.html +3. BSD68: + * David Martin, Charless Fowlkes, Doron Tal, and Jitendra Malik. A database of human segmented natural images and its application to evaluating segmentation algorithms and measuring ecological statistics. In Proceedings Eighth IEEE International Conference on Computer Vision. ICCV 2001, volume 2, pages 416–423. IEEE, 2001. + * https://github.com/smartboy110/denoising-datasets/tree/main +4. CBSD68: + * David Martin, Charless Fowlkes, Doron Tal, and Jitendra Malik. A database of human segmented natural images and its application to evaluating segmentation algorithms and measuring ecological statistics. In Proceedings Eighth IEEE International Conference on Computer Vision. ICCV 2001, volume 2, pages 416–423. IEEE, 2001. + * https://github.com/smartboy110/denoising-datasets/tree/main +5. Urban100: + * Jia-BinHuang,AbhishekSingh,andNarendraAhuja.Single image super-resolution from transformed self-exemplars. In Proceedings of the IEEE conference on computer vision and pattern recognition, pages 5197–5206, 2015. + * https://github.com/jbhuang0604/SelfExSR +6. Kodak: + * Rich Franzen. Kodak lossless true color image suite. source: http://r0k. us/graphics/kodak, 4(2), 1999. + * https://www.kaggle.com/datasets/sherylmehta/kodak-dataset +7. McMaster, Set12 +""" + +rt = os.path.join(base_rt, "Denoise") +dataset = ['BSD68', 'BSD400', 'CBSD68', 'Kodak', + 'McMaster', 'Set12', 'Urban100', 'WaterlooED'] + +for dset in dataset: + # list sample + list_file = [] + total_ct = 0 + dset_pth = os.path.join(rt, dset) + meta_folder = os.path.join(dset_pth, "metas") + os.makedirs(meta_folder, exist_ok=True) + input_folder = os.path.join(rt, '%s/image'%(dset)) + for ct, sample in enumerate(os.listdir(input_folder)): + if ".png" in sample or ".jpg" in sample or ".jpeg" in sample or ".bmp" in sample or ".tif" in sample or ".JPG" in sample or ".PNG" in sample: + input_file = os.path.join(input_folder, sample) + list_file.append([input_file]) + total_ct += 1 + + with open(os.path.join(meta_folder,'{}.list'.format(dset)), 'w') as fp: + for item in list_file: + fp.write('{} {} {}\n'.format(None, item[0], None)) + print(input_folder, total_ct) + + +# SIDD +rt = os.path.join(base_rt, "Denoise/SIDD") +meta_folder = os.path.join(rt, "metas") +os.makedirs(meta_folder, exist_ok=True) +for dset in ['train', 'test']: + # list sample + list_file = [] + total_ct = 0 + dset_folder = os.path.join(rt, dset) + if dset == 'train': + for folder in os.listdir(dset_folder): + file_folder = os.path.join(dset_folder, folder) + for ct, sample in enumerate(os.listdir(file_folder)): + if "NOISY_SRGB" in sample: + input_file = os.path.join(file_folder, sample) + gt_file = os.path.join(file_folder, sample.replace("NOISY", "GT")) + list_file.append([input_file, gt_file]) + total_ct += 1 + elif dset == 'test': + image_folder = os.path.join(dset_folder, 'NOISY') + gt_folder = os.path.join(dset_folder, "GT") + for ct, sample in enumerate(os.listdir(image_folder)): + if ".png" in sample or ".jpg" in sample or ".jpeg" in sample or ".bmp" in sample or ".tif" in sample or ".JPG" in sample or ".PNG" in sample: + input_file = os.path.join(image_folder, sample) + gt_file = os.path.join(gt_folder, sample.replace("NOISY", "GT")) + list_file.append([input_file, gt_file]) + total_ct += 1 + + with open(os.path.join(meta_folder,'{}.list'.format(dset)), 'w') as fp: + for item in list_file: + fp.write('{} {} {}\n'.format(item[0], item[1], None)) + print(dset_folder, total_ct) + + +""" +Derain: LHPRain, Practical, Rain100L, RainDS, RainTrianL, UHD-Rain +""" +# RainDS +rt = os.path.join(base_rt, "Derain/RainDS") +meta_folder = os.path.join(rt, "metas") +os.makedirs(meta_folder, exist_ok=True) +for dset in ['RainDS_syn', 'RainDS_real']: # dataset + dataset_folder = os.path.join(rt, dset) + if dset == 'RainDS_syn': + set_list = ['train', 'test'] + elif dset == 'RainDS_real': + set_list = ['train_set', 'test_set'] + for subset in set_list: + input_folder = os.path.join(dataset_folder, subset) + for raintype in ['rainstreak', 'raindrop', 'rainstreak_raindrop']: + rain_folder = os.path.join(input_folder, raintype) + clear_folder = os.path.join(input_folder, 'gt') + list_file = [] + total_ct = 0 + rain_dict = {'rainstreak_raindrop': 'rd-rain', 'rainstreak': 'rain', 'raindrop': 'rd'} + # rd-rain-97, rain-97, rd-97 -> norain-97 + # pie-rd-rain-97, pie-rain-97, pie-rd-97 -> pie-norain-97 + for ct, sample in enumerate(os.listdir(rain_folder)): + if ".png" in sample or ".jpg" in sample or ".jpeg" in sample or ".bmp" in sample or ".tif" in sample or ".JPG" in sample or ".PNG" in sample: + input_file = os.path.join(rain_folder, sample) + gt_file = os.path.join(clear_folder, sample.replace(rain_dict[raintype], "norain")) + list_file.append((input_file, gt_file)) + total_ct += 1 + + with open(os.path.join(meta_folder,'{}_{}_{}.list'.format(dset, subset, raintype)), 'w') as fp: + for item in list_file: + fp.write('{} {} {}\n'.format(item[0], item[1], None)) + print(rain_folder, total_ct) + +# LHPRain +# pre-process for LHPRain: https://github.com/yunguo224/LHP-Rain +# From Sky to the Ground: A Large-scale Benchmark and Simple Baseline Towards Real Rain Removal (ICCV 2023) +rt = os.path.join(base_rt, "Derain/LHPRain") +meta_folder = os.path.join(rt, "metas") +os.makedirs(meta_folder, exist_ok=True) +for dset in ['train', 'val', 'test']: # train, test + input_folder = os.path.join(rt, "input/%s"%(dset)) + gt_folder = os.path.join(rt, "gt/%s"%(dset)) + list_file = [] + total_ct = 0 + for ct, sample in enumerate(os.listdir(input_folder)): + if ".png" in sample or ".jpg" in sample or ".jpeg" in sample or ".bmp" in sample or ".tif" in sample or ".JPG" in sample or ".PNG" in sample: + input_file = os.path.join(input_folder, sample) + gt_file = os.path.join(gt_folder, sample) + list_file.append((input_file, gt_file)) + total_ct += 1 + + with open(os.path.join(meta_folder,'{}.list'.format(dset)), 'w') as fp: + for item in list_file: + fp.write('{} {} {}\n'.format(item[0], item[1], None)) + print(input_folder, total_ct) + +# Practical +# pre-process for LHPRain: https://github.com/ZhangXinNan/RainDetectionAndRemoval +# WenhanYang,RobbyTTan,JiashiFeng,JiayingLiu,Zong- ming Guo, and Shuicheng Yan. Deep joint rain detection and removal from a single image. In CVPR, 2017 +rt = os.path.join(base_rt, "Derain/Practical") +meta_folder = os.path.join(rt, "metas") +os.makedirs(meta_folder, exist_ok=True) +# create image folder +input_folder = os.path.join(rt, "image") +list_file = [] +total_ct = 0 +for ct, sample in enumerate(os.listdir(input_folder)): + if ".png" in sample or ".jpg" in sample or ".jpeg" in sample or ".bmp" in sample or ".tif" in sample or ".JPG" in sample or ".PNG" in sample: + input_file = os.path.join(input_folder, sample) + list_file.append((input_file)) + total_ct += 1 + +with open(os.path.join(meta_folder,'test.list'), 'w') as fp: + for item in list_file: + fp.write('{} {} {}\n'.format(item, None, None)) +print(rt, total_ct) + + +# Rain100L +# pre-process for Rain100L: https://github.com/shangwei5/BRN +# WenhanYang,RobbyTTan,JiashiFeng,JiayingLiu,Zong- ming Guo, and Shuicheng Yan. Deep joint rain detection and removal from a single image. In Proceedings of the IEEE conference on computer vision and pattern recogni- tion, pages 1357–1366, 2017. +# norain-xxx.png +# rain-xxx.png +# rainregion-xxx.png +# rainstreak-xxx.png +rt = os.path.join(base_rt, "Derain/Rain100L") +meta_folder = os.path.join(rt, "metas") +os.makedirs(meta_folder, exist_ok=True) + +image_folder = os.path.join(rt, 'image') +gt_folder = os.path.join(rt, 'gt') +list_file = [] +total_ct = 0 +for ct, sample in enumerate(os.listdir(image_folder)): + if ".png" in sample or ".jpg" in sample or ".jpeg" in sample or ".bmp" in sample or ".tif" in sample or ".JPG" in sample or ".PNG" in sample: + input_file = os.path.join(image_folder, sample) + gt_file = os.path.join(gt_folder, sample.replace('rain', 'norain')) + list_file.append((input_file, gt_file)) + total_ct += 1 + +with open(os.path.join(meta_folder,'test.list'), 'w') as fp: + for item in list_file: + fp.write('{} {} {}\n'.format(item[0], item[1], None)) +print(rt, total_ct) + +# Rain200L +# pre-process for RainTrainL(Rain200L): https://github.com/shangwei5/BRN +# Yang W, Tan RT, Feng J, Liu J, Guo Z, Yan S. Deep joint rain detection and removal from a single image. In IEEE CVPR 2017. +# norain-xxx.png +# rain-xxx.png +# rainregion-xxx.png +# rainstreak-xxx.png +rt = os.path.join(base_rt, "Derain/RainTrainL") +meta_folder = os.path.join(rt, "metas") +os.makedirs(meta_folder, exist_ok=True) +image_folder = os.path.join(rt, 'image') +gt_folder = os.path.join(rt, 'gt') +list_file = [] +total_ct = 0 +for ct, sample in enumerate(os.listdir(image_folder)): + if ".png" in sample or ".jpg" in sample or ".jpeg" in sample or ".bmp" in sample or ".tif" in sample or ".JPG" in sample or ".PNG" in sample: + input_file = os.path.join(image_folder, sample) + gt_file = os.path.join(gt_folder, sample.replace('rain', 'norain')) + list_file.append((input_file, gt_file)) + total_ct += 1 + +with open(os.path.join(meta_folder,'train.list'), 'w') as fp: + for item in list_file: + fp.write('{} {} {}\n'.format(item[0], item[1], None)) +print(rt, total_ct) + +# UHD-Rain +# pre-process for UHD-Rain: https://github.com/wlydlut/uhddip +# UHDDIP: Ultra-High-Definition Restoration: New Benchmarks and A Dual Interaction Prior-Driven Solution +rt = os.path.join(base_rt, "Derain/UHD-Rain") +meta_folder = os.path.join(rt, "metas") +os.makedirs(meta_folder, exist_ok=True) + +for dset in ['training_set', 'testing_set']: # train, test + dset_path = os.path.join(rt, dset) + input_folder = os.path.join(dset_path, 'input') + gt_folder = os.path.join(dset_path, 'gt') + list_file = [] + for ct, sample in enumerate(os.listdir(input_folder)): + input_file = os.path.join(input_folder, sample) + gt_file = os.path.join(gt_folder, sample) + list_file.append((input_file, gt_file)) + + set_dict = {'training_set': 'train', 'testing_set':'test'} + with open(os.path.join(meta_folder,'{}.list'.format(set_dict[dset])), 'w') as fp: + for item in list_file: + fp.write('{} {} {}\n'.format(item[0], item[1], None)) + print(rt, ct+1) + + +""" +Desnow: Snow100k, UHD-Snow +""" +# Snow100k: download: https://pan.baidu.com/s/1Y8fq8qQjC0YK5DTktYPfbQ?pwd=nyop#list/path=/sharelink688030094-540249285017805/snow100k&parentPath=/sharelink688030094-540249285017805 +# Training set (50,000 images, 7.8GB), Test set (50,000 images, 7.8GB), Realistic snowy images (1,329 images, 67MB). +rt = os.path.join(base_rt, "Desnow/Snow100k") +meta_folder = os.path.join(rt, "metas") +os.makedirs(meta_folder, exist_ok=True) + +folder = Path(rt) +img_list = list(folder.rglob("*.[jp][pn]g")) +for data in img_list: + if " " in str(data): + old = str(data) + new = old.replace(" ", "_") + os.rename(old, new) + +# # training +train_rt = os.path.join(rt, 'all') +train_gt_rt = os.path.join(train_rt, 'gt') +train_img_rt = os.path.join(train_rt, 'synthetic') +list_file = [] +total_ct = 0 +for ct, sample in enumerate(os.listdir(train_img_rt)): + if ".png" in sample or ".jpg" in sample or ".jpeg" in sample or ".bmp" in sample or ".tif" in sample or ".JPG" in sample or ".PNG" in sample: + img_ = os.path.join(train_img_rt, sample) + gt_ = os.path.join(train_gt_rt, sample) + list_file.append((img_, gt_)) + total_ct += 1 + +with open(os.path.join(meta_folder,'train.list'), 'w') as fp: + for item in list_file: + fp.write('{} {} {}\n'.format(item[0], item[1], None)) +print(train_rt, total_ct) + +# test_syn +test_rt = os.path.join(rt, 'media/jdway/GameSSD/overlapping/test') +for dset in os.listdir(test_rt): + test_folder = os.path.join(test_rt, dset) + test_gt_rt = os.path.join(test_folder, 'gt') + test_img_rt = os.path.join(test_folder, 'synthetic') + list_file = [] + total_ct = 0 + for ct, sample in enumerate(os.listdir(test_img_rt)): + if ".png" in sample or ".jpg" in sample or ".jpeg" in sample or ".bmp" in sample or ".tif" in sample or ".JPG" in sample or ".PNG" in sample: + img_ = os.path.join(test_img_rt, sample) + gt_ = os.path.join(test_gt_rt, sample) + list_file.append((img_, gt_)) + total_ct += 1 + + with open(os.path.join(meta_folder,'test_%s.list'%(dset[-1])), 'w') as fp: + for item in list_file: + fp.write('{} {} {}\n'.format(item[0], item[1], None)) + print(test_folder, total_ct) + +# real-world testing +test_rt = os.path.join(rt, 'realistic') +list_file = [] +total_ct = 0 +for ct, sample in enumerate(os.listdir(test_rt)): + if ".png" in sample or ".jpg" in sample or ".jpeg" in sample or ".bmp" in sample or ".tif" in sample or ".JPG" in sample or ".PNG" in sample: + img_ = os.path.join(test_rt, sample) + list_file.append(img_) + total_ct += 1 + +with open(os.path.join(meta_folder,'test_realistic.list'), 'w') as fp: + for item in list_file: + fp.write('{} {} {}\n'.format(item, None, None)) +print(test_rt, total_ct) + + +# UHD-Snow +# pre-process for UHD-Snow: https://github.com/wlydlut/uhddip +# UHDDIP: Ultra-High-Definition Restoration: New Benchmarks and A Dual Interaction Prior-Driven Solution +rt = os.path.join(base_rt, "Desnow/UHD-Snow") +meta_folder = os.path.join(rt, "metas") +os.makedirs(meta_folder, exist_ok=True) +for dset in ['training_set', 'testing_set']: # train, test + dset_path = os.path.join(rt, dset) + input_folder = os.path.join(dset_path, 'input') + gt_folder = os.path.join(dset_path, 'gt') + list_file = [] + total_ct = 0 + for ct, sample in enumerate(os.listdir(input_folder)): + if ".png" in sample or ".jpg" in sample or ".jpeg" in sample or ".bmp" in sample or ".tif" in sample or ".JPG" in sample or ".PNG" in sample: + input_file = os.path.join(input_folder, sample) + gt_file = os.path.join(gt_folder, sample) + list_file.append((input_file, gt_file)) + total_ct += 1 + + set_dict = {'training_set': 'train', 'testing_set':'test'} + with open(os.path.join(meta_folder,'{}.list'.format(set_dict[dset])), 'w') as fp: + for item in list_file: + fp.write('{} {} {}\n'.format(item[0], item[1], None)) + print(dset_path, total_ct) + +""" +Lowlight: DICM, LIME, LOL, MEF, NPE, VV +""" +# LOL +# pre-process for LOL: https://github.com/fediory/hvi-cidnet +# Chen Wei, Wenjing Wang, Wenhan Yang, and Jiaying Liu. Deep retinex decomposition for low-light enhancement. In BMVC,2018 +rt = os.path.join(base_rt, "LowLight/LOL") +meta_folder = os.path.join(rt, "metas") +os.makedirs(meta_folder, exist_ok=True) +for dset in ['our485', 'eval15']: # train, test + dset_path = os.path.join(rt, dset) + input_folder = os.path.join(dset_path, "low") + gt_folder = os.path.join(dset_path, "high") + list_file = [] + total_ct = 0 + for ct, sample in enumerate(os.listdir(input_folder)): + if ".png" in sample or ".jpg" in sample or ".jpeg" in sample or ".bmp" in sample or ".tif" in sample or ".JPG" in sample or ".PNG" in sample: + input_file = os.path.join(input_folder, sample) + gt_file = os.path.join(gt_folder, sample) + list_file.append((input_file, gt_file)) + total_ct += 1 + + set_dict = {'our485':'train', 'eval15':'test'} + with open(os.path.join(meta_folder,'{}.list'.format(set_dict[dset])), 'w') as fp: + for item in list_file: + fp.write('{} {} {}\n'.format(item[0], item[1], None)) + print(dset_path, total_ct) + + +# pre-process for low-light dataset +# 2. DICM: +# * Chulwoo Lee, Chul Lee, and Chang-Su Kim. Contrast en- hancement based on layered difference representation. In ICIP, 2012. +# * Link: Fediory/HVI-CIDNet: "You Only Need One Color Space: An Efficient Network for Low-light Image Enhancement" (github.com) +# 3. MEF: +# * Kede Ma, Kai Zeng, and Zhou Wang. Perceptual quality assessment for multi-exposure image fusion. TIP, 2015. +# * Link: Fediory/HVI-CIDNet: "You Only Need One Color Space: An Efficient Network for Low-light Image Enhancement" (github.com) +# 4. NPE: +# * ShuhangWang,JinZheng,Hai-MiaoHu,andBoLi.Naturalness preserved enhancement algorithm for non-uniform illumination images. TIP, 2013. +# * Link: Fediory/HVI-CIDNet: "You Only Need One Color Space: An Efficient Network for Low-light Image Enhancement" (github.com) +# 5. LIME: +# * Link: Fediory/HVI-CIDNet: "You Only Need One Color Space: An Efficient Network for Low-light Image Enhancement" (github.com) +# 6. VV: +# * Link: Fediory/HVI-CIDNet: "You Only Need One Color Space: An Efficient Network for Low-light Image Enhancement" (github.com) +rt = os.path.join(base_rt, "LowLight") + +dataset = ['DICM', 'LIME', 'MEF', 'NPE', 'VV'] +for dset in dataset: + # create image folder + # dset_pth = "./%s"%(dset) + # os.rename(dset_pth, 'image') + # os.makedirs(dset_pth) + # shutil.move('./image', dset_pth) + + # list sample + dset_pth = os.path.join(rt, dset) + list_file = [] + input_folder = os.path.join(dset_pth, 'image') + meta_folder = os.path.join(dset_pth, "metas") + os.makedirs(meta_folder, exist_ok=True) + folder = Path(input_folder) + img_list = list(folder.rglob("*.[jp][pn]g")) + for data in img_list: + if " " in str(data): + old = str(data) + new = old.replace(" ", "_") + os.rename(old, new) + + total_ct = 0 + for ct, sample in enumerate(os.listdir(input_folder)): + if ".png" in sample or ".jpg" in sample or ".jpeg" in sample or ".bmp" in sample or ".tif" in sample or ".JPG" in sample or ".PNG" in sample: + input_file = os.path.join(input_folder, sample) + list_file.append((input_file)) + total_ct += 1 + + with open(os.path.join(meta_folder, 'test.list'), 'w') as fp: + for item in list_file: + fp.write('{} {} {}\n'.format(item, None, None)) + print(input_folder, total_ct) + +""" +Other: UDC +""" +# pre-process for UDC(TOLED+POLED): https://yzhouas.github.io/projects/UDC/udc.html +# Yuqian Zhou, David Ren, Neil Emerton, Sehoon Lim, and Timothy Large. Image restoration for under-display camera. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pages 9179–9188, 2021. +def mat2png(dset_folder, name, rt): + # dset_folder: '~/UDC/{poled,toled}', name: 'poled_test_display.mat', save_folder: '~/UDC/image/' + udc_key = name.split('.')[0][6:] + udc_file = os.path.join(dset_folder, name) + udc_mat = loadmat(udc_file)[udc_key] + dset, imggt = udc_key.split('_')[0], udc_key.split('_')[1] + dset_folder = os.path.join(rt, dset) + os.makedirs(dset_folder, exist_ok=True) + if imggt == 'display': + imggt = 'image' + else: + imggt = 'gt' + imggt_folder = os.path.join(dset_folder, imggt) + os.makedirs(imggt_folder, exist_ok=True) + + # restoration + n_im, h, w, c = udc_mat.shape + results = udc_mat.copy() + for i in range(n_im): + print(i, end='\r') + udc = np.reshape(udc_mat[i, :, :, :], (h, w, c)) + sample = Image.fromarray(np.uint8(udc)).convert('RGB') + sample = sample.save(os.path.join(imggt_folder, '%s_%d.png'%(name.split('_')[0], i))) + +rt = os.path.join(base_rt, "Other/UDC") +meta_folder = os.path.join(rt, "metas") +os.makedirs(meta_folder, exist_ok=True) +# pre-processing +poled_folder = os.path.join(rt, 'poled') +poled_sample = ['poled_test_display.mat', 'poled_test_gt.mat', + 'poled_val_display.mat', 'poled_val_gt.mat'] +toled_folder = os.path.join(rt, 'toled') +toled_sample = ['toled_test_display.mat', 'toled_test_gt.mat', + 'toled_val_display.mat', 'toled_val_gt.mat'] + +# for sample_set in poled_sample: +# print(sample_set) +# mat2png(poled_folder, sample_set, rt) +# print() + +# for sample_set in toled_sample: +# print(sample_set) +# mat2png(toled_folder, sample_set, rt) +# print() + +for dset in ['val', 'test']: # train, test + dset_folder = os.path.join(rt, dset) + input_folder = os.path.join(dset_folder, 'image') + gt_folder = os.path.join(dset_folder, 'gt') + list_file = [] + total_gt = 0 + for ct, sample in enumerate(os.listdir(input_folder)): + if ".png" in sample or ".jpg" in sample or ".jpeg" in sample or ".bmp" in sample or ".tif" in sample or ".JPG" in sample or ".PNG" in sample: + input_file = os.path.join(input_folder, sample) + gt_file = os.path.join(gt_folder, sample) + list_file.append((input_file, gt_file)) + total_gt += 1 + + with open(os.path.join(meta_folder,'{}.list'.format(dset)), 'w') as fp: + for item in list_file: + fp.write('{} {} {}\n'.format(item[0], item[1], None)) + print(dset_folder, total_gt) + + + +""" +SR: DIV2K, Flickr2K, OST +""" +# OST +rt = os.path.join(base_rt, "SuperResolution/OST") +meta_folder = os.path.join(rt, "metas") +os.makedirs(meta_folder, exist_ok=True) +list_file = [] +total_ct = 0 +image_folder = os.path.join(rt, "images") +for dset in os.listdir(image_folder): # train, test + input_folder = os.path.join(image_folder, dset) + for ct, sample in enumerate(os.listdir(input_folder)): + if ".png" in sample or ".jpg" in sample or ".jpeg" in sample or ".bmp" in sample or ".tif" in sample or ".JPG" in sample or ".PNG" in sample: + input_file = os.path.join(input_folder, sample) + list_file.append((input_file, None)) + total_ct += 1 + +with open(os.path.join(meta_folder,'OST.list'), 'w') as fp: + for item in list_file: + fp.write('{} {} {}\n'.format(None, item[0], None)) +print(rt, total_ct) + + +# Flickr2K +rt = os.path.join(base_rt, "SuperResolution/Flickr2K") +meta_folder = os.path.join(rt, "metas") +os.makedirs(meta_folder, exist_ok=True) + +list_file = [] +total_ct = 0 +for dset in ['images']: # train, test + input_folder = os.path.join(rt, dset) + for ct, sample in enumerate(os.listdir(input_folder)): + if ".png" in sample or ".jpg" in sample or ".jpeg" in sample or ".bmp" in sample or ".tif" in sample or ".JPG" in sample or ".PNG" in sample: + input_file = os.path.join(input_folder, sample) + list_file.append((input_file, None)) + total_ct += 1 + + with open(os.path.join(meta_folder,'Flickr2K.list'), 'w') as fp: + for item in list_file: + fp.write('{} {} {}\n'.format(None, item[0], None)) + print(rt, total_ct) + + +# DIV2K +rt = os.path.join(base_rt, "SuperResolution/DIV2K") +meta_folder = os.path.join(rt, "metas") +os.makedirs(meta_folder, exist_ok=True) +for dset in ['DIV2K_train_HR', 'DIV2K_valid_HR']: # train, test + input_folder = os.path.join(rt, dset) + list_file = [] + total_ct = 0 + for ct, sample in enumerate(os.listdir(input_folder)): + print(ct, end='\r') + if ".png" in sample or ".jpg" in sample or ".jpeg" in sample or ".bmp" in sample or ".tif" in sample or ".JPG" in sample or ".PNG" in sample: + input_file = os.path.join(input_folder, sample) + list_file.append((input_file, None)) + total_ct += 1 + + with open(os.path.join(meta_folder,'{}.list'.format(dset)), 'w') as fp: + for item in list_file: + fp.write('{} {} {}\n'.format(None, item[0], None)) + print(input_folder, total_ct) diff --git a/1_generate_iqa.py b/1_generate_iqa.py new file mode 100644 index 0000000000000000000000000000000000000000..d541170897185386cb38908d50ff22386fd3022a --- /dev/null +++ b/1_generate_iqa.py @@ -0,0 +1,393 @@ +import os +from PIL import Image +from pathlib import Path +import numpy as np +import random +import torchvision.transforms.functional as TF +import torchvision.transforms as transforms +import cv2 +import re +import json + +# ir dataset dictionary: +base_rt = f'/home/CORP/hsiang.chen/Project/Datasets/IR' +dataset_dict = { + # Image Restoration + ## Super Resolution (3) + "SR": { + "DIV2K": {'train': 'SuperResolution/DIV2K/metas/DIV2K_train_HR.list', # (800, single) + 'val': 'SuperResolution/DIV2K/metas/DIV2K_valid_HR.list'}, # (100, single) + "Flickr2K": {'train': 'SuperResolution/Flickr2K/metas/Flickr2K.list'}, # (2650, single) + "OST": {'train': 'SuperResolution/OST/metas/OST.list'}, # (10324, single) + }, + + ## Derain (6) + "Rain": { + "RainTrainL": {'train': 'Derain/RainTrainL/metas/train.list'}, # (200, pair) + "Rain100L": {'test': 'Derain/Rain100L/metas/test.list'}, # (100, pair) + "LHPRain": {'train': 'Derain/LHPRain/metas/train.list', # (2100, pair) + 'val': 'Derain/LHPRain/metas/val.list', # (600, pair) + 'test': 'Derain/LHPRain/metas/test.list'}, # (300, pair) + "UHDRain": {'train': 'Derain/UHD-Rain/metas/train.list', # (3000, pair) + 'test': 'Derain/UHD-Rain/metas/test.list'}, # (200, pair) + "Practical": {'test': 'Derain/Practical/metas/test.list'}, # (15, real) + "RainDS_syn_rainstreak": {'train': 'Derain/RainDS/metas/RainDS_syn_train_rainstreak.list', # (1000, pair) + 'test': 'Derain/RainDS/metas/RainDS_syn_test_rainstreak.list'}, # (200, pair) + "RainDS_syn_raindrop": {'train': 'Derain/RainDS/metas/RainDS_syn_train_raindrop.list', # (1000, pair) + 'test': 'Derain/RainDS/metas/RainDS_syn_test_raindrop.list'}, # (200, pair) + "RainDS_syn_rainstreak_raindrop": {'train': 'Derain/RainDS/metas/RainDS_syn_train_rainstreak_raindrop.list', # (1000, pair) + 'test': 'Derain/RainDS/metas/RainDS_syn_test_rainstreak_raindrop.list'}, # (200, pair) + "RainDS_real_rainstreak": {'train': 'Derain/RainDS/metas/RainDS_real_train_set_rainstreak.list', # (150, pair) + 'test': 'Derain/RainDS/metas/RainDS_real_test_set_rainstreak.list'}, # (98, pair) + "RainDS_real_raindrop": {'train': 'Derain/RainDS/metas/RainDS_real_train_set_raindrop.list', # (150, pair) + 'test': 'Derain/RainDS/metas/RainDS_real_test_set_raindrop.list'}, # (98, pair) + "RainDS_real_rainstreak_raindrop": {'train': 'Derain/RainDS/metas/RainDS_real_train_set_rainstreak_raindrop.list', # (150, pair) + 'test': 'Derain/RainDS/metas/RainDS_real_test_set_rainstreak.list'}, # (98, pair) + }, + + ## Dehaze (5) + "Fog":{ + "SOTS": {'test': 'Dehaze/SOTS/metas/test.list'}, # (500, pair) + "OTS": {'train': 'Dehaze/OTS/metas/train.list'}, # (72135, pair) + "4kID": {'train': 'Dehaze/4kID/metas/train.list', # (15606, pair) + 'test': 'Dehaze/4kID/metas/test.list'}, # (97, pair) + "Unann": {'test': 'Dehaze/UnannotatedHazyImages/metas/test.list'}, # (4809, real) + "NH-Haze": {'test': 'Dehaze/NH-Haze/metas/test.list'}, # (5, real) + }, + + ## Denoise (9) + "Noise": { + "BSD400": {'train': 'Denoise/BSD400/metas/BSD400.list'}, # (400, syn) + "WED": {'train': 'Denoise/WaterlooED/metas/WaterlooED.list'}, # (4744, syn) + "BSD68": {'test': 'Denoise/BSD68/metas/BSD68.list'}, # (68, syn) + "Urban": {'test': 'Denoise/Urban100/metas/Urban100.list'}, # (100, syn) + "CBSD68": {'test': 'Denoise/CBSD68/metas/CBSD68.list'}, # (68, syn) + "Kodak": {'test': 'Denoise/Kodak/metas/Kodak.list'}, # (24, syn) + "McMaster": {'test': 'Denoise/McMaster/metas/McMaster.list'}, # (18, syn) + "Set12": {'test': 'Denoise/Set12/metas/Set12.list'}, # (12, syn) + "SIDD": {'train': 'Denoise/SIDD/metas/train.list', # (320, pair) + 'test': 'Denoise/SIDD/metas/test.list'}, # (1280, pair) + }, + + ## Desnow (2) + "Snow": { + "Snow100k": {'train': 'Desnow/Snow100k/metas/train.list'}, # (50000, syn) + "Snow100k-S": {'test': 'Desnow/Snow100k/metas/test_S.list'}, # (16611, syn) + "Snow100k-M": {'test': 'Desnow/Snow100k/metas/test_M.list'}, # (16588, syn) + "Snow100k-L": {'test': 'Desnow/Snow100k/metas/test_L.list'}, # (16801, syn) + "Snow100k-R": {'test': 'Desnow/Snow100k/metas/test_realistic.list'}, # (1329, real) + "UHDSnow": {'train': 'Desnow/UHD-Snow/metas/train.list', # (3000, pair) + 'test': 'Desnow/UHD-Snow/metas/test.list'}, # (200, pair) + }, + + ## Deblur (3) + "Blur": { + "GoPro": {'train': 'Deblur/GoPro/metas/train.list', # (2103, pair) + 'test': 'Deblur/GoPro/metas/test.list'}, # (1111, pair) + "HIDE": {'train': 'Deblur/HIDE/metas/train.list', # (6397, pair) + 'test': 'Deblur/HIDE/metas/test.list'}, # (2025, pair) + "RealBlur-J": {'test': 'Deblur/RealBlur-J_ECC_IMCORR_centroid_itensity_ref/metas/test.list'}, # (980, pair) + "RealBlur-R": {'test': 'Deblur/RealBlur-R_BM3D_ECC_IMCORR_centroid_itensity_ref/metas/test.list'},# (980, pair) + }, + + ## Lowlight (6) + "Low-light": { + "LOL": {'train': 'LowLight/LOL/metas/train.list', # (485, pair) + 'test': 'LowLight/LOL/metas/test.list'}, # (15, pair) + "DICM": {'test': 'LowLight/DICM/metas/test.list'}, # (69, real) + "MEF": {'test': 'LowLight/MEF/metas/test.list'}, # (17, real) + "NPE": {'test': 'LowLight/NPE/metas/test.list'}, # (8, real) + "LIME": {'test': 'LowLight/LIME/metas/test.list'}, # (10, real) + "VV": {'test': 'LowLight/VV/metas/test.list'}, # (24, real) + }, + + ## Others (1) + "Unknown": { + "UDC": {'val': 'Other/UDC/metas/val.list', # (60, pair) + 'test': 'Other/UDC/metas/test.list'}, # (60, pair) + }, +} + +def IRImageData(listfile): + # [degradation, clean, label] + paths = [] + with open(listfile) as fin: + for line in fin: + line = line.strip().split() + if len(line) == 3: + paths.append(line) + paths = sorted(paths) + # Dataset + LQ_list = [] + HQ_list = [] + for data in paths: + lq_pth, hq_pth, label = data + if os.path.isfile(lq_pth): + LQ_list.append(lq_pth) + if os.path.isfile(hq_pth): + HQ_list.append(hq_pth) + return LQ_list, HQ_list + +# question dictionary: +question_dict = { + "Full-Reference": { + "ONE": [ + "Compared to the reference, what ONE distortion stands out most in the evaluated image?", + "Determine the leading ONE degradation when comparing the evaluated image to the reference.", + "Determine the most impactful ONE distortion in the evaluated image compared to the reference.", + "Highlight the most significant ONE distortion in the evaluated image in comparison to the reference.", + "Identify the chief ONE degradation in the evaluated image when compared to the reference.", + "Identify the most notable ONE distortion in the evaluated image's quality when compared to the reference.", + "In comparison to the reference, what ONE distortion is most prominent in the evaluated image?", + "What ONE distortion is most apparent in the evaluated image relative to the reference?", + "What ONE distortion most significantly affects the evaluated image compared to the reference?", + "What ONE distortion stands out in the evaluated image against the reference?", + "What critical ONE quality degradation is present in the evaluated image versus the reference?", + ], + "TWO": [ + "Compared to the reference, what TWO distortions stand out most in the evaluated image?", + "Determine the leading TWO degradations when comparing the evaluated image to the reference.", + "Determine the most impactful TWO distortions in the evaluated image compared to the reference.", + "Highlight the most significant TWO distortions in the evaluated image in comparison to the reference.", + "Identify the chief TWO degradations in the evaluated image when compared to the reference.", + "Identify the most notable TWO distortions in the evaluated image's quality when compared to the reference.", + "In comparison to the reference, what TWO distortions are most prominent in the evaluated image?", + "What TWO distortions are most apparent in the evaluated image relative to the reference?", + "What TWO distortions most significantly affect the evaluated image compared to the reference?", + "What TWO distortions stand out in the evaluated image against the reference?", + "What critical TWO quality degradations are present in the evaluated image versus the reference?", + ], + "Common": [ + "Compared to the reference, what distortion(s) stand out most in the evaluated image?", + "Determine the leading degradation(s) when comparing the evaluated image to the reference.", + "Determine the most impactful distortion(s) in the evaluated image compared to the reference.", + "Highlight the most significant distortion(s) in the evaluated image in comparison to the reference.", + "Identify the chief degradation(s) in the evaluated image when compared to the reference.", + "Identify the most notable distortion(s) in the evaluated image's quality when compared to the reference.", + "In comparison to the reference, what distortion(s) are most prominent in the evaluated image?", + "What critical quality degradation(s) are present in the evaluated image versus the reference?", + "What distortion(s) are most apparent in the evaluated image relative to the reference?", + "What distortion(s) most significantly affect the evaluated image compared to the reference?", + "What distortion(s) stand out in the evaluated image against the reference?" + ] + }, + "Non-Reference": { + "ONE": [ + "Determine the leading ONE degradation in the evaluated image.", + "Determine the most impactful ONE distortion in the evaluated image.", + "Highlight the most significant ONE distortion in the evaluated image.", + "Identify the chief ONE degradation in the evaluated image.", + "Identify the most critical ONE distortion in the evaluated image.", + "Identify the most notable ONE distortion in the evaluated image's quality.", + "In terms of image quality, what is the most glaring ONE issue with the evaluated image?", + "In the evaluated image, what ONE distortion is most detrimental to image quality?", + "Pinpoint the foremost ONE image quality issue in the evaluated image.", + "What ONE distortion is most apparent in the evaluated image?", + "What ONE distortion is most evident in the evaluated image?", + "What ONE distortion is most prominent in the evaluated image?", + "What ONE distortion is most prominent when examining the evaluated image?", + "What ONE distortion most detrimentally affects the overall quality of the evaluated image?", + "What ONE distortion most notably affects the clarity of the evaluated image?", + "What ONE distortion most significantly affects the evaluated image?", + "What ONE distortion stands out in the evaluated image?", + "What ONE quality degradation is most apparent in the evaluated image?", + "What critical ONE quality degradation is present in the evaluated image?", + "What is the foremost ONE distortion affecting the evaluated image's quality?", + "What is the leading ONE distortion in the evaluated image?", + "What is the most critical ONE image quality issue in the evaluated image?", + "What is the most severe ONE degradation observed in the evaluated image?", + "What is the primary ONE degradation observed in the evaluated image?" + ], + "TWO": [ + "Determine the leading TWO degradations in the evaluated image.", + "Determine the most impactful TWO distortions in the evaluated image.", + "Highlight the most significant TWO distortions in the evaluated image.", + "Identify the chief TWO degradations in the evaluated image.", + "Identify the most critical TWO distortions in the evaluated image.", + "Identify the most notable TWO distortions in the evaluated image's quality.", + "In terms of image quality, what are the most glaring TWO issues with the evaluated image?", + "In the evaluated image, what TWO distortions are most detrimental to image quality?", + "Pinpoint the foremost TWO image quality issues in the evaluated image.", + "What TWO distortions are most apparent in the evaluated image?", + "What TWO distortions are most evident in the evaluated image?", + "What TWO distortions are most prominent in the evaluated image?", + "What TWO distortions are most prominent when examining the evaluated image?", + "What TWO distortions most detrimentally affect the overall quality of the evaluated image?", + "What TWO distortions most notably affect the clarity of the evaluated image?", + "What TWO distortions most significantly affect the evaluated image?", + "What TWO distortions stand out in the evaluated image?", + "What TWO quality degradations are most apparent in the evaluated image?", + "What are the foremost TWO distortions affecting the evaluated image's quality?", + "What are the leading TWO distortions in the evaluated image?", + "What are the most critical TWO image quality issues in the evaluated image?", + "What are the most severe TWO degradations observed in the evaluated image?", + "What are the primary TWO degradations observed in the evaluated image?", + "What critical TWO quality degradations are present in the evaluated image?", + ], + "Common": [ + "Determine the leading degradation(s) in the evaluated image.", + "Determine the most impactful distortion(s) in the evaluated image.", + "Highlight the most significant distortion(s) in the evaluated image.", + "Identify the chief degradation(s) in the evaluated image.", + "Identify the most critical distortion(s) in the evaluated image.", + "Identify the most notable distortion(s) in the evaluated image's quality.", + "In terms of image quality, what are the most glaring issue(s) with the evaluated image?", + "In the evaluated image, what distortion(s) are most detrimental to image quality?", + "Pinpoint the foremost image quality issue(s) in the evaluated image.", + "What are the foremost distortion(s) affecting the evaluated image's quality?", + "What are the leading distortion(s) in the evaluated image?", + "What are the most critical image quality issue(s) in the evaluated image?", + "What are the most severe degradation(s) observed in the evaluated image?", + "What are the primary degradation(s) observed in the evaluated image?", + "What critical quality degradation(s) are present in the evaluated image?", + "What distortion(s) are most apparent in the evaluated image?", + "What distortion(s) are most evident in the evaluated image?", + "What distortion(s) are most prominent in the evaluated image?", + "What distortion(s) are most prominent when examining the evaluated image?", + "What distortion(s) most detrimentally affect the overall quality of the evaluated image?", + "What distortion(s) most notably affect the clarity of the evaluated image?", + "What distortion(s) most significantly affect the evaluated image?", + "What distortion(s) stand out in the evaluated image?", + "What quality degradation(s) are most apparent in the evaluated image?" + ] + } +} + +def question_generate(ref="Full-Reference", degra="Common"): + option = f" Answer the question using a single word or phrase." + template = random.choice(question_dict[ref]["Common"] + question_dict[ref][degra]) + if random.random() >= 0.4: + template += option + return template + +if __name__ == "__main__": + for degradation, degra_dict in dataset_dict.items(): + for dname, ddict in degra_dict.items(): + for dset, list_path in ddict.items(): + + meta_refA = [] + meta_A = [] + meta_syn = [] + + # read data list + paths = [] + with open(list_path) as fin: + for line in fin: + line = line.strip().split() + if len(line) == 3: + paths.append(line) + paths = sorted(paths) + + # Dataset + LQ_list = [] + HQ_list = [] + for data in paths: + lq_pth, hq_pth, label = data + + if os.path.isfile(hq_pth): + HQ_list.append(hq_pth) + image_ref = os.path.relpath(hq_pth, base_rt).replace("\\", "/") + id = os.path.basename(image_ref) + else: + image_ref = None + + if os.path.isfile(lq_pth): + LQ_list.append(lq_pth) + image_A = os.path.relpath(lq_pth, base_rt).replace("\\", "/") + id = os.path.basename(image_A) + else: + image_A = None + + meta_refA.append({ + "distortion_class": degradation, + "distortion_name": degradation, + "severity": 3, + "id": id, + "image_ref": image_ref, + "image_A": image_A, + "image_B": None, + "task_type": "quality_single_A", + "conversations": [ + { + "from": "human", + "value": question_generate(ref="Full-Reference", degra="ONE"), + }, + { + "from": "gpt", + "value": degradation + } + ], + }) + + meta_A.append({ + "distortion_class": degradation, + "distortion_name": degradation, + "severity": 3, + "id": id, + "image_ref": None, + "image_A": image_A, + "image_B": None, + "task_type": "quality_single_A_noref", + "conversations": [ + { + "from": "human", + "value": question_generate(ref="Non-Reference", degra="ONE"), + }, + { + "from": "gpt", + "value": degradation + } + ], + }) + + meta_syn.append({ + "distortion_class": degradation, + "distortion_name": degradation, + "severity": 3, + "id": id, + "image_ref": None, + "image_A": image_ref, + "image_B": None, + "task_type": "quality_single_A_noref", + "conversations": [ + { + "from": "human", + "value": question_generate(ref="Non-Reference", degra="ONE"), + }, + { + "from": "gpt", + "value": degradation + } + ], + }) + + print(f"[{degradation}]: {dname}-{dset} - LQ[{len(LQ_list)}], HQ[{len(HQ_list)}]") + + if len(LQ_list) > 0 and len(HQ_list) > 0 and len(LQ_list) == len(HQ_list): # pair + meta_refA_pth = list_path.replace(".list", "_iqa_refA_brief.json") + meta_A_pth = list_path.replace(".list", "_iqa_A_brief.json") + with open(meta_refA_pth, "w") as f: + json.dump(meta_refA, f, indent=4) + with open(meta_A_pth, "w") as f: + json.dump(meta_A, f, indent=4) + print(f"Done. Metadata saved to: {meta_refA_pth} and {meta_A_pth}") + + elif len(LQ_list) > 0 and len(HQ_list) == 0: # real image + meta_A_pth = list_path.replace(".list", "_iqa_A_brief.json") + with open(meta_A_pth, "w") as f: + json.dump(meta_A, f, indent=4) + print(f"Done. Metadata saved to: {meta_A_pth}") + + elif len(LQ_list) == 0 and len(HQ_list) > 0: # syn image + meta_refA_pth = list_path.replace(".list", "_iqa_refA_brief.json") + meta_syn_pth = list_path.replace(".list", "_iqa_syn_brief.json") + with open(meta_refA_pth, "w") as f: + json.dump(meta_refA, f, indent=4) + with open(meta_syn_pth, "w") as f: + json.dump(meta_syn, f, indent=4) + print(f"Done. Metadata saved to: {meta_refA_pth} and {meta_syn_pth}") + + else: + raise KeyError(f"the task is not matched, please check the dataset {list_path}") + + diff --git a/Deblur/GoPro.tar.gz.part-aa b/Deblur/GoPro.tar.gz.part-aa new file mode 100644 index 0000000000000000000000000000000000000000..b8904d7bc83dc8ff1c32cf87159ae207b644be35 --- /dev/null +++ b/Deblur/GoPro.tar.gz.part-aa @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:2889b3ad5554fe8e40c31ee1f642a82b796d3cf2b1c63875cc36c3085fa5426e +size 4194304000 diff --git a/Deblur/GoPro.tar.gz.part-ab b/Deblur/GoPro.tar.gz.part-ab new file mode 100644 index 0000000000000000000000000000000000000000..cb5b8bcad912c0fae041a9955ac8802a4c2299f1 --- /dev/null +++ b/Deblur/GoPro.tar.gz.part-ab @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:472004ed8e6dc21b2681918808e84acf0818ee1d793fe13ccf50cc2790dea18c +size 4194304000 diff --git a/Deblur/GoPro.tar.gz.part-ac b/Deblur/GoPro.tar.gz.part-ac new file mode 100644 index 0000000000000000000000000000000000000000..477f7c306d65db9f86fd43b24dcffa96405a0a2f --- /dev/null +++ b/Deblur/GoPro.tar.gz.part-ac @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:3ec91c1d510b8c8a5f8688a5dc797b62ede3296d5480aac5a5f8b49da9165831 +size 1143614891 diff --git a/Deblur/HIDE.tar.gz.part-aa b/Deblur/HIDE.tar.gz.part-aa new file mode 100644 index 0000000000000000000000000000000000000000..b9747ae67bf1dddd2bb0b77fd3d0c9e04d6b5ce1 --- /dev/null +++ b/Deblur/HIDE.tar.gz.part-aa @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:452f0918b1e454cb9024228f468321a2f5932ec0ee2ce48ceb4bc01f5d5f6c53 +size 4194304000 diff --git a/Deblur/HIDE.tar.gz.part-ab b/Deblur/HIDE.tar.gz.part-ab new file mode 100644 index 0000000000000000000000000000000000000000..7551d7c8c8c453f08affd1b07fab92e3f2c1308a --- /dev/null +++ b/Deblur/HIDE.tar.gz.part-ab @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:97e5f2375f82f5729fe49723db3fa275a4cbaecc3a1825e4d172a1e204ca6465 +size 4194304000 diff --git a/Deblur/HIDE.tar.gz.part-ac b/Deblur/HIDE.tar.gz.part-ac new file mode 100644 index 0000000000000000000000000000000000000000..cf7f74f9b51a60d8abd214764d18ba26b4851f6f --- /dev/null +++ b/Deblur/HIDE.tar.gz.part-ac @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:d1fb47199263e400a1db252741f9c0625db7e036941fae3600591bb711a46db6 +size 4194304000 diff --git a/Deblur/HIDE.tar.gz.part-ad b/Deblur/HIDE.tar.gz.part-ad new file mode 100644 index 0000000000000000000000000000000000000000..f4deb804ca0a33f9793b27ed4f59a737b5a4e38a --- /dev/null +++ b/Deblur/HIDE.tar.gz.part-ad @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a65e04c5ef92c0305aa8c2f1f65df5afb6baec146509b22a79e138717d062fb1 +size 4194304000 diff --git a/Deblur/HIDE.tar.gz.part-ae b/Deblur/HIDE.tar.gz.part-ae new file mode 100644 index 0000000000000000000000000000000000000000..22b4766e53beb3af91889bf3e29812e05b21eb7e --- /dev/null +++ b/Deblur/HIDE.tar.gz.part-ae @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:74f2c6e9578295a95712b06ba43865e560aa12cf89b960b3068c6d6d006241f4 +size 483302125 diff --git a/Deblur/RealBlur-J_ECC_IMCORR_centroid_itensity_ref.tar.gz.part-aa b/Deblur/RealBlur-J_ECC_IMCORR_centroid_itensity_ref.tar.gz.part-aa new file mode 100644 index 0000000000000000000000000000000000000000..dd26539c5992f6301403202680f2b6535f815349 --- /dev/null +++ b/Deblur/RealBlur-J_ECC_IMCORR_centroid_itensity_ref.tar.gz.part-aa @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:11b27965e0c01550b121de113e4ee6b579fd34cab4b00b963c3f944d14c9d780 +size 4194304000 diff --git a/Deblur/RealBlur-J_ECC_IMCORR_centroid_itensity_ref.tar.gz.part-ab b/Deblur/RealBlur-J_ECC_IMCORR_centroid_itensity_ref.tar.gz.part-ab new file mode 100644 index 0000000000000000000000000000000000000000..66e181af13a3f3e49e4b3db4a8fe33f88dd959ce --- /dev/null +++ b/Deblur/RealBlur-J_ECC_IMCORR_centroid_itensity_ref.tar.gz.part-ab @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:b0f084d63f7641a65e5ce6a5a61fc455b141de937addddf3de7b2739084f09a8 +size 4194304000 diff --git a/Deblur/RealBlur-J_ECC_IMCORR_centroid_itensity_ref.tar.gz.part-ac b/Deblur/RealBlur-J_ECC_IMCORR_centroid_itensity_ref.tar.gz.part-ac new file mode 100644 index 0000000000000000000000000000000000000000..09e6bb2a519e20524219cea25512f0c61530300f --- /dev/null +++ b/Deblur/RealBlur-J_ECC_IMCORR_centroid_itensity_ref.tar.gz.part-ac @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:c501435b6b11a9980e2b613c97c998075b8266aa7ff3d11baecebcc0de20ef76 +size 298424062 diff --git a/Deblur/RealBlur-R_BM3D_ECC_IMCORR_centroid_itensity_ref.tar.gz.part-aa b/Deblur/RealBlur-R_BM3D_ECC_IMCORR_centroid_itensity_ref.tar.gz.part-aa new file mode 100644 index 0000000000000000000000000000000000000000..f2c06de578edaaf7a0243209a1269b2c3f91f5e6 --- /dev/null +++ b/Deblur/RealBlur-R_BM3D_ECC_IMCORR_centroid_itensity_ref.tar.gz.part-aa @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:3764b43127d0741d3a7f57288d8d74435b0c4223ff87482b121d741d5a7e061c +size 4194304000 diff --git a/Deblur/RealBlur-R_BM3D_ECC_IMCORR_centroid_itensity_ref.tar.gz.part-ab b/Deblur/RealBlur-R_BM3D_ECC_IMCORR_centroid_itensity_ref.tar.gz.part-ab new file mode 100644 index 0000000000000000000000000000000000000000..0dceab1cf5a281463a18a9ac82948a96048ae676 --- /dev/null +++ b/Deblur/RealBlur-R_BM3D_ECC_IMCORR_centroid_itensity_ref.tar.gz.part-ab @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:c76593f6066fec019cbb714b5a200202ce9e7abc7a9fa0716c48c5a1c35613d1 +size 229355705 diff --git a/Dehaze/4kID.tar.gz.part-aa b/Dehaze/4kID.tar.gz.part-aa new file mode 100644 index 0000000000000000000000000000000000000000..8ded0a2ba0f996e1c35033e08bdf20439b5c8af3 --- /dev/null +++ b/Dehaze/4kID.tar.gz.part-aa @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:fd2cce2b5b41bebe78cd2a14c46bfbdd9261c65db7dfd0da64cb0badcf12baa4 +size 4194304000 diff --git a/Dehaze/4kID.tar.gz.part-ab b/Dehaze/4kID.tar.gz.part-ab new file mode 100644 index 0000000000000000000000000000000000000000..9ad0e0f97fd7be1e4267091b9305ade61e47b086 --- /dev/null +++ b/Dehaze/4kID.tar.gz.part-ab @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:84da1c0475cd4487ba7ad763d7c83258f35da81715098174e7fe14bc7c359f14 +size 4194304000 diff --git a/Dehaze/4kID.tar.gz.part-ac b/Dehaze/4kID.tar.gz.part-ac new file mode 100644 index 0000000000000000000000000000000000000000..075f793a58c6bd053ec36534fba29a7099db210b --- /dev/null +++ b/Dehaze/4kID.tar.gz.part-ac @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:485b1ceeb12f5a9f34a3a2e69f82fd49c673b87dedadeb5ec3ab73522ea64ad0 +size 4194304000 diff --git a/Dehaze/4kID.tar.gz.part-ad b/Dehaze/4kID.tar.gz.part-ad new file mode 100644 index 0000000000000000000000000000000000000000..db9391fbfec6100f9fd6d74d11f82e165fe574ce --- /dev/null +++ b/Dehaze/4kID.tar.gz.part-ad @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:8be16b0581fae458b0f972b857d2f8f164578169e3f945f9301592aaeb0ccf41 +size 4194304000 diff --git a/Dehaze/4kID.tar.gz.part-ae b/Dehaze/4kID.tar.gz.part-ae new file mode 100644 index 0000000000000000000000000000000000000000..53c236db4421358c43a9f8dde55efeb60cee375e --- /dev/null +++ b/Dehaze/4kID.tar.gz.part-ae @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:fb249c405a6480d499ae7ac8f8075d32628aacac241fe0c1b20e821845ed1914 +size 4194304000 diff --git a/Dehaze/4kID.tar.gz.part-af b/Dehaze/4kID.tar.gz.part-af new file mode 100644 index 0000000000000000000000000000000000000000..1197571423aaf50816dbb4ecf7defd1b74d41ae8 --- /dev/null +++ b/Dehaze/4kID.tar.gz.part-af @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:d4e7fcec4ce108628124f8be7506351863742755744907f3651e36695cd85185 +size 4194304000 diff --git a/Dehaze/4kID.tar.gz.part-ag b/Dehaze/4kID.tar.gz.part-ag new file mode 100644 index 0000000000000000000000000000000000000000..4e1ee1d33c205c382fa2b5b6d10fbad0da5504d5 --- /dev/null +++ b/Dehaze/4kID.tar.gz.part-ag @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:4ecf7247c168a6968e49de98cdd5168f426baa0b3b38f50891a5462412e85f50 +size 4194304000 diff --git a/Dehaze/4kID.tar.gz.part-ah b/Dehaze/4kID.tar.gz.part-ah new file mode 100644 index 0000000000000000000000000000000000000000..160d5c7675a42f5125e658b2590d7498b1b2cb97 --- /dev/null +++ b/Dehaze/4kID.tar.gz.part-ah @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:049897691a7be3f02bea207c57c42963d9241f29b180b6a8fbeb0ab6ec4e21ca +size 4194304000 diff --git a/Dehaze/4kID.tar.gz.part-ai b/Dehaze/4kID.tar.gz.part-ai new file mode 100644 index 0000000000000000000000000000000000000000..0eae01d0d4be8def9eb831e233654932a7362a94 --- /dev/null +++ b/Dehaze/4kID.tar.gz.part-ai @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:4ddbd01ae67bc781b52c86209ab1d5b8dfee215ea79fe85e2539c58cbe4db211 +size 4194304000 diff --git a/Dehaze/4kID.tar.gz.part-aj b/Dehaze/4kID.tar.gz.part-aj new file mode 100644 index 0000000000000000000000000000000000000000..e9067a2ca762d941c77eb2c0761bccc1f5a30df5 --- /dev/null +++ b/Dehaze/4kID.tar.gz.part-aj @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:35f66048322dace2b07ee518cc2c87d353e48b8fab54e7728de5966aae6e3cf1 +size 4194304000 diff --git a/Dehaze/4kID.tar.gz.part-ak b/Dehaze/4kID.tar.gz.part-ak new file mode 100644 index 0000000000000000000000000000000000000000..392c53341dca36b1ec885fb29432c48409fb3f65 --- /dev/null +++ b/Dehaze/4kID.tar.gz.part-ak @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f1ed7e74cde2cc2b26b612665d5fa35b90c4911b102bfc4311026ffc6b6390b5 +size 4194304000 diff --git a/Dehaze/4kID.tar.gz.part-al b/Dehaze/4kID.tar.gz.part-al new file mode 100644 index 0000000000000000000000000000000000000000..bc459f7339f0b8562de88433692cd9fbf8efc29c --- /dev/null +++ b/Dehaze/4kID.tar.gz.part-al @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:b7731b8e10fa47c7cc87c5657b08e6c0bbcc419372c8fe79c722706200f11d04 +size 4194304000 diff --git a/Dehaze/4kID.tar.gz.part-am b/Dehaze/4kID.tar.gz.part-am new file mode 100644 index 0000000000000000000000000000000000000000..a125d2a0e67af170eaa0d8d1077fa23a4914802d --- /dev/null +++ b/Dehaze/4kID.tar.gz.part-am @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:64ae701385855126db0cf21ba1c46596d0f2bbb991a2c0f2c843d70464576a94 +size 775873639 diff --git a/Dehaze/NH-Haze.tar.gz.part-aa b/Dehaze/NH-Haze.tar.gz.part-aa new file mode 100644 index 0000000000000000000000000000000000000000..da18514056a74a14e2abb3054810bf35e94661e6 --- /dev/null +++ b/Dehaze/NH-Haze.tar.gz.part-aa @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:902c3133ffc07773b34ea3c945725a43fa0b17c113e880acec06d7f59d4bff1c +size 109208609 diff --git a/Dehaze/OTS.tar.gz.part-aa b/Dehaze/OTS.tar.gz.part-aa new file mode 100644 index 0000000000000000000000000000000000000000..7fcfd525031e3300fe7bbf922538ac33e721e8fe --- /dev/null +++ b/Dehaze/OTS.tar.gz.part-aa @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:23417b1645988b95d7914396c9f7d99dd75e3a699d05f0eb6eea101c1986db61 +size 4194304000 diff --git a/Dehaze/OTS.tar.gz.part-ab b/Dehaze/OTS.tar.gz.part-ab new file mode 100644 index 0000000000000000000000000000000000000000..2a57b1af71f898f0d82cc67112e57080d24e1c8b --- /dev/null +++ b/Dehaze/OTS.tar.gz.part-ab @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:13865ea0a351cc8bdb75dd5d50fa7a18904ffe68c299b393a7d6c42ebb8c4ab0 +size 4194304000 diff --git a/Dehaze/OTS.tar.gz.part-ac b/Dehaze/OTS.tar.gz.part-ac new file mode 100644 index 0000000000000000000000000000000000000000..9d75ed46026ddb8b1b1eff243d6a68d28b991a73 --- /dev/null +++ b/Dehaze/OTS.tar.gz.part-ac @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:b5955f79042c70e570c636bf3c52ae323060d20d62c2967c528f2d0b878a7c2f +size 3470653279 diff --git a/Dehaze/SOTS.tar.gz.part-aa b/Dehaze/SOTS.tar.gz.part-aa new file mode 100644 index 0000000000000000000000000000000000000000..2a978c27576d8f4f1cd0320e9987156d7b08c322 --- /dev/null +++ b/Dehaze/SOTS.tar.gz.part-aa @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:3b41f7968aa525313695a11ccaed9f0853f4e7c4a544dc566d5f53a5c7fd214a +size 434606727 diff --git a/Dehaze/UnannotatedHazyImages.tar.gz.part-aa b/Dehaze/UnannotatedHazyImages.tar.gz.part-aa new file mode 100644 index 0000000000000000000000000000000000000000..061d39bf46bd25cffe725959cc1688bdfe36a6d7 --- /dev/null +++ b/Dehaze/UnannotatedHazyImages.tar.gz.part-aa @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a7595561d134839dc712863af3ee682591f3d9057c9de3c49397ab9cb6816ff3 +size 372595926 diff --git a/Denoise/BSD400.tar.gz.part-aa b/Denoise/BSD400.tar.gz.part-aa new file mode 100644 index 0000000000000000000000000000000000000000..e7ca88be4e8c6d609f0ea144418a54f19ffef3bb --- /dev/null +++ b/Denoise/BSD400.tar.gz.part-aa @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:131c6031fa3d51cc309b501f2f3facedcbba3696042f6bb8381d728e283cee8e +size 29241075 diff --git a/Denoise/BSD68.tar.gz.part-aa b/Denoise/BSD68.tar.gz.part-aa new file mode 100644 index 0000000000000000000000000000000000000000..261f1acfb5cdf312af10e9b1cd5608e8dd2204f1 --- /dev/null +++ b/Denoise/BSD68.tar.gz.part-aa @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:ef0ce050a7de26fe004a5e191e50bfccfdf863fca2b22ee5b573840c85ace6ab +size 6461606 diff --git a/Denoise/CBSD68.tar.gz.part-aa b/Denoise/CBSD68.tar.gz.part-aa new file mode 100644 index 0000000000000000000000000000000000000000..481b83f7b7422cb8163dd9b0b4c83d3d6d8cea38 --- /dev/null +++ b/Denoise/CBSD68.tar.gz.part-aa @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:eaf59bb1a2d9d7d8385d112e2d96366d6954b50b7bb78b05a2f9c72fce706f99 +size 19742657 diff --git a/Denoise/Kodak.tar.gz.part-aa b/Denoise/Kodak.tar.gz.part-aa new file mode 100644 index 0000000000000000000000000000000000000000..26cf4cad21f0930544f6c7aec8a9fb1df39e5561 --- /dev/null +++ b/Denoise/Kodak.tar.gz.part-aa @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:b18423670e5e95c60ee7369f8a8e3254b4cc1b003bd8ede0c4713a0923be3964 +size 15392636 diff --git a/Denoise/McMaster.tar.gz.part-aa b/Denoise/McMaster.tar.gz.part-aa new file mode 100644 index 0000000000000000000000000000000000000000..c49e6e2fb2b86c20ed2104ee1a7282b3899cce75 --- /dev/null +++ b/Denoise/McMaster.tar.gz.part-aa @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:df3b694caf9b005b9ec32b6829a6afd3565e1bef614573fb32090ed1413bcdb2 +size 11422404 diff --git a/Denoise/SIDD.tar.gz.part-aa b/Denoise/SIDD.tar.gz.part-aa new file mode 100644 index 0000000000000000000000000000000000000000..9515ccbecc22607d490e18fca7656073664e500b --- /dev/null +++ b/Denoise/SIDD.tar.gz.part-aa @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:cc4de385bb716830b5c102c2e45f44ec362edf24c7a7f9c25017bd5003054d2f +size 4194304000 diff --git a/Denoise/SIDD.tar.gz.part-ab b/Denoise/SIDD.tar.gz.part-ab new file mode 100644 index 0000000000000000000000000000000000000000..820c0acd6fffcbe0e0e8f830840eb76a0ff5f336 --- /dev/null +++ b/Denoise/SIDD.tar.gz.part-ab @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:ad0983f18c141ad20514aa016452b71551b0b38ec2a98d7e592c110aba11214c +size 4194304000 diff --git a/Denoise/SIDD.tar.gz.part-ac b/Denoise/SIDD.tar.gz.part-ac new file mode 100644 index 0000000000000000000000000000000000000000..de3f2dcabdd3f13f3d3c62a0d212f0fe5908bc0d --- /dev/null +++ b/Denoise/SIDD.tar.gz.part-ac @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:1fedbf619f34341dd21b3240a053ce437019008aaf6452e9c55e79d21a26de90 +size 4194304000 diff --git a/Denoise/SIDD.tar.gz.part-ad b/Denoise/SIDD.tar.gz.part-ad new file mode 100644 index 0000000000000000000000000000000000000000..90a374c3eabe13a336b8745831e300ffff8894c1 --- /dev/null +++ b/Denoise/SIDD.tar.gz.part-ad @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:682793e6eddff582149e4715ac0fe3bd156ec661632413fa8bafac1a40cb7559 +size 945031848 diff --git a/Denoise/Set12.tar.gz.part-aa b/Denoise/Set12.tar.gz.part-aa new file mode 100644 index 0000000000000000000000000000000000000000..da2bffeef96cdaf5d9034c3d6bef7c2043b4a068 --- /dev/null +++ b/Denoise/Set12.tar.gz.part-aa @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:2cedfee7ad80aa14579dae6e3521f3a5a05835db2d9582d7a2a52d2773f8c30c +size 1197964 diff --git a/Denoise/Urban100.tar.gz.part-aa b/Denoise/Urban100.tar.gz.part-aa new file mode 100644 index 0000000000000000000000000000000000000000..a77e785da504889ea0f366ec19b4c28e0ac93a30 --- /dev/null +++ b/Denoise/Urban100.tar.gz.part-aa @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:597d41afba24de5343b883fd271d501a97062347a5ebe4de35960f34f5c41381 +size 135389790 diff --git a/Denoise/WaterlooED.tar.gz.part-aa b/Denoise/WaterlooED.tar.gz.part-aa new file mode 100644 index 0000000000000000000000000000000000000000..bda8e1793318f6dab3f81c9ac04f2ba8017d9a2f --- /dev/null +++ b/Denoise/WaterlooED.tar.gz.part-aa @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:502e71024ca729bde83af386eff9d81cd182e55b72262b785f00067a5c5f409d +size 1642649523 diff --git a/Derain/LHPRain.tar.gz.part-aa b/Derain/LHPRain.tar.gz.part-aa new file mode 100644 index 0000000000000000000000000000000000000000..53d785cc2152642ed44ee98344916d58324058fb --- /dev/null +++ b/Derain/LHPRain.tar.gz.part-aa @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:878857ebad4b83ffaf1a57156ec0fcf9f724478bd690ba61014fc826de2bc263 +size 4194304000 diff --git a/Derain/LHPRain.tar.gz.part-ab b/Derain/LHPRain.tar.gz.part-ab new file mode 100644 index 0000000000000000000000000000000000000000..68b56addfee68f14a04902e7379f47103c0422fe --- /dev/null +++ b/Derain/LHPRain.tar.gz.part-ab @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:7f5e38a7705207a899c082306350ba80e0a72eb764134fde23089a1a847f4138 +size 4194304000 diff --git a/Derain/LHPRain.tar.gz.part-ac b/Derain/LHPRain.tar.gz.part-ac new file mode 100644 index 0000000000000000000000000000000000000000..46d1ecbfe1667cc5bf66bece9b677b721cb093f6 --- /dev/null +++ b/Derain/LHPRain.tar.gz.part-ac @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:6ea2928318efad49a32ecb5620681ae2b8ce35aa920d86466511b5d037a252c8 +size 4194304000 diff --git a/Derain/LHPRain.tar.gz.part-ad b/Derain/LHPRain.tar.gz.part-ad new file mode 100644 index 0000000000000000000000000000000000000000..8af1eef59d6735f65bc7af13a20d5f9c3e4aa4c6 --- /dev/null +++ b/Derain/LHPRain.tar.gz.part-ad @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:4e7be23c8a7016fcc565b4df6fc482ca4b35068578536561e87666a73e236b46 +size 3673485472 diff --git a/Derain/Practical.tar.gz.part-aa b/Derain/Practical.tar.gz.part-aa new file mode 100644 index 0000000000000000000000000000000000000000..9856b231fe614697ab6dd89e1bb6b1fa6590e70d --- /dev/null +++ b/Derain/Practical.tar.gz.part-aa @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:6899bbe058a806901d32e99f19ae7cb5182b7697b1dc7a0241c225f9b191394c +size 911072 diff --git a/Derain/Rain100L.tar.gz.part-aa b/Derain/Rain100L.tar.gz.part-aa new file mode 100644 index 0000000000000000000000000000000000000000..b6f872e1b74e7ba05e970d89f4ebf27e950819b4 --- /dev/null +++ b/Derain/Rain100L.tar.gz.part-aa @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:16ea85dcc4efe54207a40ce4488b038b50971f459cee846f909b6f9c69f3022b +size 58457853 diff --git a/Derain/RainDS.tar.gz.part-aa b/Derain/RainDS.tar.gz.part-aa new file mode 100644 index 0000000000000000000000000000000000000000..b1bb8b8c155cce0a129fe1e4251c4f111ba7573f --- /dev/null +++ b/Derain/RainDS.tar.gz.part-aa @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:7ebc7126532ad0b6f3e879a7877a5254dc392e88f1e7f59af799621f5ac4a581 +size 4194304000 diff --git a/Derain/RainDS.tar.gz.part-ab b/Derain/RainDS.tar.gz.part-ab new file mode 100644 index 0000000000000000000000000000000000000000..f44bd47819fb790e3fa3273b06bfeb800c7726d2 --- /dev/null +++ b/Derain/RainDS.tar.gz.part-ab @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:26461df5b9b898167220e6f06de6f49bb6e2d59c6c9fe8aa91dee0b8207d9194 +size 680626375 diff --git a/Derain/RainTrainL.tar.gz.part-aa b/Derain/RainTrainL.tar.gz.part-aa new file mode 100644 index 0000000000000000000000000000000000000000..1bb994f02c32bdcdc6b7e25ac2bea030fba3f785 --- /dev/null +++ b/Derain/RainTrainL.tar.gz.part-aa @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:cdad2e3d30b4aa3eadc189400ac5dd5d33e3ce7795bc67933ca64e70d9803070 +size 118987046 diff --git a/Derain/UHD-Rain.tar.gz.part-aa b/Derain/UHD-Rain.tar.gz.part-aa new file mode 100644 index 0000000000000000000000000000000000000000..e4b3ccfec5cf5e4dcbe0f7dd9ef0422bae34b5ba --- /dev/null +++ b/Derain/UHD-Rain.tar.gz.part-aa @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:6ae436c05aa1ae979049b05868b717f74ebe91637167cc93012d0b0b6204c772 +size 4194304000 diff --git a/Derain/UHD-Rain.tar.gz.part-ab b/Derain/UHD-Rain.tar.gz.part-ab new file mode 100644 index 0000000000000000000000000000000000000000..48156362c99dd1000cff97cde74cd031a2e11d79 --- /dev/null +++ b/Derain/UHD-Rain.tar.gz.part-ab @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:b6c5a94c69ec810b989fa82b758c9c5fd6707327e2d085220c7e13ada53dc5fc +size 3475553400 diff --git a/Desnow/Snow100k.tar.gz.part-aa b/Desnow/Snow100k.tar.gz.part-aa new file mode 100644 index 0000000000000000000000000000000000000000..9d01ef7f78b41b63986aaa21ecbe3cf4851b4bd4 --- /dev/null +++ b/Desnow/Snow100k.tar.gz.part-aa @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:95dc89a920ec73b8e6998a306bc10114383ad1a6a11a37e8a6e56d6855f83ca1 +size 4194304000 diff --git a/Desnow/Snow100k.tar.gz.part-ab b/Desnow/Snow100k.tar.gz.part-ab new file mode 100644 index 0000000000000000000000000000000000000000..aa4e516a55fef5e20a8a5c82052ac7584e0571ec --- /dev/null +++ b/Desnow/Snow100k.tar.gz.part-ab @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:fbafc309284bba24e5820566daf7124c36543194f28a6b5e45676418cdca3e7e +size 4194304000 diff --git a/Desnow/Snow100k.tar.gz.part-ac b/Desnow/Snow100k.tar.gz.part-ac new file mode 100644 index 0000000000000000000000000000000000000000..9995f5ea60491346393b0369d96bd7447e2b96d0 --- /dev/null +++ b/Desnow/Snow100k.tar.gz.part-ac @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:8014221bb86f8d2bfa4a62606e3e8b38421bc8895e6f7edbd94eb10aeafcf377 +size 4194304000 diff --git a/Desnow/Snow100k.tar.gz.part-ad b/Desnow/Snow100k.tar.gz.part-ad new file mode 100644 index 0000000000000000000000000000000000000000..ef742d65e33722d5893140d26b6c21ca9e0dd085 --- /dev/null +++ b/Desnow/Snow100k.tar.gz.part-ad @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:1ea56c7fafca11e45fecd95f998d97765b4e1ba915d238df5527b2790d2ad535 +size 4176877243 diff --git a/Desnow/UHD-Snow.tar.gz.part-aa b/Desnow/UHD-Snow.tar.gz.part-aa new file mode 100644 index 0000000000000000000000000000000000000000..7f17303d37f1c52cb51b215103ee5d3f1dad87a0 --- /dev/null +++ b/Desnow/UHD-Snow.tar.gz.part-aa @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:96940e2c68a7f0646f7c1e936b0bc8c43c377ee6ff495ba1db9948032f00152b +size 4194304000 diff --git a/Desnow/UHD-Snow.tar.gz.part-ab b/Desnow/UHD-Snow.tar.gz.part-ab new file mode 100644 index 0000000000000000000000000000000000000000..1bf8bf77c2d461012e0b71f8335bcf63e9153f29 --- /dev/null +++ b/Desnow/UHD-Snow.tar.gz.part-ab @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:62338735a65d7ab5ae1795f72e2c8a8fe52929275010503cf33b968c3cab74ee +size 2185895968 diff --git a/LowLight/DICM.tar.gz.part-aa b/LowLight/DICM.tar.gz.part-aa new file mode 100644 index 0000000000000000000000000000000000000000..be86e22fa6111b9bf374a8d6469a5a94a76ca479 --- /dev/null +++ b/LowLight/DICM.tar.gz.part-aa @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:8f3dd151f1e66696fa77705da17533b2f9dabd2c837c92a3a3f3043232459336 +size 16018076 diff --git a/LowLight/LIME.tar.gz.part-aa b/LowLight/LIME.tar.gz.part-aa new file mode 100644 index 0000000000000000000000000000000000000000..e12b0d372951fe08ad59b7a0b88299d879dac4d9 --- /dev/null +++ b/LowLight/LIME.tar.gz.part-aa @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:021eceea86afc433eeed9e5b1c88819661fd723f728bcb06cd8c127f76e77268 +size 9552422 diff --git a/LowLight/LOL.tar.gz.part-aa b/LowLight/LOL.tar.gz.part-aa new file mode 100644 index 0000000000000000000000000000000000000000..fb8ff9440c7586d325c157356e51dce09865ccdd --- /dev/null +++ b/LowLight/LOL.tar.gz.part-aa @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a6ff217aaca76e990e02a7abab03eb8ffa3274c90b90bf7a55980ffa65756108 +size 440928750 diff --git a/LowLight/MEF.tar.gz.part-aa b/LowLight/MEF.tar.gz.part-aa new file mode 100644 index 0000000000000000000000000000000000000000..ea58d81f0ee4f727a53b36d9a131629c3ce78f38 --- /dev/null +++ b/LowLight/MEF.tar.gz.part-aa @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:6ebe2b79e39d158e8df775a373a50c245148e3fc2eab1db924747f8ff5df1bfb +size 3636705 diff --git a/LowLight/NPE.tar.gz.part-aa b/LowLight/NPE.tar.gz.part-aa new file mode 100644 index 0000000000000000000000000000000000000000..ffc1bd629709bd6843709e3b73902667f4791bed --- /dev/null +++ b/LowLight/NPE.tar.gz.part-aa @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a5d506dca3b9b869f9acadd7033eb1d8fd513a24d4b99f0677b763b8da8455dd +size 651921 diff --git a/LowLight/VV.tar.gz.part-aa b/LowLight/VV.tar.gz.part-aa new file mode 100644 index 0000000000000000000000000000000000000000..2bfb69021f41b4c62a48c4567e83a4c025a23f57 --- /dev/null +++ b/LowLight/VV.tar.gz.part-aa @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:1b232cf1043e17d9d09ddf7ee2756f52b5e3e47d057cc97c239f9bf40b36a785 +size 16403452 diff --git a/Other/UDC.tar.gz.part-aa b/Other/UDC.tar.gz.part-aa new file mode 100644 index 0000000000000000000000000000000000000000..8c9b86121b3524ecf3a76b8adf92f27bca3494b9 --- /dev/null +++ b/Other/UDC.tar.gz.part-aa @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:c9edb52c95f306d4998377dd27afcbd3cd2373c6dfe5e2620ac87f8b4c407866 +size 1710989895 diff --git a/SuperResolution/DIV2K.tar.gz.part-aa b/SuperResolution/DIV2K.tar.gz.part-aa new file mode 100644 index 0000000000000000000000000000000000000000..f7010203a4c62fd07a86c8e2b4e2de07cf02f594 --- /dev/null +++ b/SuperResolution/DIV2K.tar.gz.part-aa @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:29c9901637a2fa7e9932b1c4edde6d1ba38fccc84c114a58f2997fc83930b16e +size 3979577091 diff --git a/SuperResolution/Flickr2K.tar.gz.part-aa b/SuperResolution/Flickr2K.tar.gz.part-aa new file mode 100644 index 0000000000000000000000000000000000000000..355fddf1023a83f3c83b850f087e8c59b05af031 --- /dev/null +++ b/SuperResolution/Flickr2K.tar.gz.part-aa @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:aff64f027e35b4261fe332dbbd8926f466f768505069dce43440c5fbf9fab75b +size 4194304000 diff --git a/SuperResolution/Flickr2K.tar.gz.part-ab b/SuperResolution/Flickr2K.tar.gz.part-ab new file mode 100644 index 0000000000000000000000000000000000000000..6c84e9ccdea22929c40a491e0d53426445619300 --- /dev/null +++ b/SuperResolution/Flickr2K.tar.gz.part-ab @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:83fdaf8ef4af9bfdad4ba5de3a3c75d7dafc9bab7308dac5ecbfcc06654de62a +size 4194304000 diff --git a/SuperResolution/Flickr2K.tar.gz.part-ac b/SuperResolution/Flickr2K.tar.gz.part-ac new file mode 100644 index 0000000000000000000000000000000000000000..6f4b1cbc912c72a932da6486b3b2fe5778a61059 --- /dev/null +++ b/SuperResolution/Flickr2K.tar.gz.part-ac @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:66ab0474ce8aace9313a3a0bccce7068103c7b271d27160cd96a0171bea610ed +size 3255745936 diff --git a/SuperResolution/OST.tar.gz.part-aa b/SuperResolution/OST.tar.gz.part-aa new file mode 100644 index 0000000000000000000000000000000000000000..2637bada844a860b0e71c4b247752d410655bd9f --- /dev/null +++ b/SuperResolution/OST.tar.gz.part-aa @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:95af7bc27554212826d445b26d2be56fb5d04376fb926793906d03cff6ffa0ec +size 4194304000 diff --git a/SuperResolution/OST.tar.gz.part-ab b/SuperResolution/OST.tar.gz.part-ab new file mode 100644 index 0000000000000000000000000000000000000000..b70271b541783ba6dabd5c831819958d3ca8f91e --- /dev/null +++ b/SuperResolution/OST.tar.gz.part-ab @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:1f6d32b047242e7bbad2612f9cbaafd309491b63f5fb57537cefbc38e3934acb +size 308643948 diff --git a/deblur.sh b/deblur.sh new file mode 100644 index 0000000000000000000000000000000000000000..73c4623971a884b1261df70cb97d139117803136 --- /dev/null +++ b/deblur.sh @@ -0,0 +1,5 @@ +cd Deblur +cat GoPro.tar.gz.part-* | tar -xvzf - +cat HIDE.tar.gz.part-* | tar -xvzf - +cat RealBlur-J_ECC_IMCORR_centroid_itensity_ref.tar.gz.part-* | tar -xvzf - +cat RealBlur-R_BM3D_ECC_IMCORR_centroid_itensity_ref.tar.gz.part-* | tar -xvzf - diff --git a/dehaze.sh b/dehaze.sh new file mode 100644 index 0000000000000000000000000000000000000000..a5988723db3ff5befe61b63961f5b07afd702094 --- /dev/null +++ b/dehaze.sh @@ -0,0 +1,6 @@ +cd Dehaze +cat 4kID.tar.gz.part-* | tar -xvzf - +cat NH-Haze.tar.gz.part-* | tar -xvzf - +cat OTS.tar.gz.part-* | tar -xvzf - +cat SOTS.tar.gz.part-* | tar -xvzf - +cat UnannotatedHazyImages.tar.gz.part-* | tar -xvzf - diff --git a/denoise.sh b/denoise.sh new file mode 100644 index 0000000000000000000000000000000000000000..7cdbe275eb076f61b35650aa92700e6f3c3b5210 --- /dev/null +++ b/denoise.sh @@ -0,0 +1,10 @@ +cd Denoise +cat BSD68.tar.gz.part-* | tar -xvzf - +cat BSD400.tar.gz.part-* | tar -xvzf - +cat CBSD68.tar.gz.part-* | tar -xvzf - +cat Kodak.tar.gz.part-* | tar -xvzf - +cat McMaster.tar.gz.part-* | tar -xvzf - +cat Set12.tar.gz.part-* | tar -xvzf - +cat SIDD.tar.gz.part-* | tar -xvzf - +cat Urban100.tar.gz.part-* | tar -xvzf - +cat WaterlooED.tar.gz.part-* | tar -xvzf - diff --git a/derain.sh b/derain.sh new file mode 100644 index 0000000000000000000000000000000000000000..a47c5761efa31c9245f440bb44514b8b68e0956b --- /dev/null +++ b/derain.sh @@ -0,0 +1,7 @@ +cd Derain +cat LHPRain.tar.gz.part-* | tar -xvzf - +cat Practical.tar.gz.part-* | tar -xvzf - +cat Rain100L.tar.gz.part-* | tar -xvzf - +cat RainDS.tar.gz.part-* | tar -xvzf - +cat RainTrainL.tar.gz.part-* | tar -xvzf - +cat UHD-Rain.tar.gz.part-* | tar -xvzf - diff --git a/desnow.sh b/desnow.sh new file mode 100644 index 0000000000000000000000000000000000000000..7e56a875cf809c207c9e80be191078ec9105bf70 --- /dev/null +++ b/desnow.sh @@ -0,0 +1,3 @@ +cd Desnow +cat Snow100k.tar.gz.part-* | tar -xvzf - +cat UHD-Snow.tar.gz.part-* | tar -xvzf - diff --git a/lowlight.sh b/lowlight.sh new file mode 100644 index 0000000000000000000000000000000000000000..803a61d43018d6831f014c4a5bcc14a6e859d2cd --- /dev/null +++ b/lowlight.sh @@ -0,0 +1,7 @@ +cd LowLight +cat DICM.tar.gz.part-* | tar -xvzf - +cat LIME.tar.gz.part-* | tar -xvzf - +cat LOL.tar.gz.part-* | tar -xvzf - +cat MEF.tar.gz.part-* | tar -xvzf - +cat NPE.tar.gz.part-* | tar -xvzf - +cat VV.tar.gz.part-* | tar -xvzf - diff --git a/other.sh b/other.sh new file mode 100644 index 0000000000000000000000000000000000000000..4eadc2c2efb24da8ec63ba08b0acf8cebc2ac127 --- /dev/null +++ b/other.sh @@ -0,0 +1,2 @@ +cd Other +cat UDC.tar.gz.part-* | tar -xvzf - \ No newline at end of file diff --git a/superresolution.sh b/superresolution.sh new file mode 100644 index 0000000000000000000000000000000000000000..7b65348325a2690e2c0ab177404bbc02ccb277b5 --- /dev/null +++ b/superresolution.sh @@ -0,0 +1,4 @@ +cd SuperResolution +cat DIV2K.tar.gz.part-* | tar -xvzf - +cat Flickr2K.tar.gz.part-* | tar -xvzf - +cat OST.tar.gz.part-* | tar -xvzf -