hhqweasd / G2R-ShadowNet

CVPR2021 From Shadow Generation to Shadow Removal
52 stars 12 forks source link

Data Preprocessing Code #1

Closed BalinLin closed 3 years ago

BalinLin commented 3 years ago

Hello, could you provide the code you do the data preprocessing of your training data? I mean the code that you create training data in "A, B, C, D, E, F" folders. And I am also wondering if the following correspondence correct?

folderA means Rn. folderB means Rs. folderC means M. folderD means S. folderE means (S - Rn). folderF means ψ(M). figure2

Thanks a lot.

Teddy12155555 commented 3 years ago

亲,我也被这坑给老整死了 咱需要大佬资料前处理的代码, 小弟想知道大佬是如何将三个资料夹处理成ABCDEF六个档案夹的? 可以请您提供呗? 爱你,萌萌哒

hhqweasd commented 3 years ago

Sorry for the confusion, I have provided the data processing code gettraindata.m. The training data can be generated by using the original ISTD dataset and the code gettraindata.m or download the training data from: GoogleDrive: ISTD | BaiduNetdisk: ISTD (Access code: 1111) train_A means Rn. train_B means M. train_C means S. (shadow images in the training set of ISTD) train_D means Rs. train_E means (S - Rn). train_F means ψ(M).

BalinLin commented 3 years ago

Thank you my bro!!