hhqweasd / G2R-ShadowNet

CVPR2021 From Shadow Generation to Shadow Removal

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

How to get the mask for shadow generation?

LoveU3tHousand2 opened this issue · comments

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 ?

commented

Please refer to this code.