hhqweasd / G2R-ShadowNet

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

How to get the mask for shadow generation? #11

Closed LoveU3tHousand2 closed 1 year ago

LoveU3tHousand2 commented 2 years ago

How to get a valid mask from other data for shadow generation, your paper saids only "1 - a < Area(Rn)/Area(Rs) < 1 + a" and "Rs cover more than 1/2 randomly ..." but there is no code for that.

Can you offer that or give some suggestion ?

hhqweasd commented 1 year ago

Please refer to this code.