ghost-free-shadow-removal icon indicating copy to clipboard operation
ghost-free-shadow-removal copied to clipboard

Would you please share the method to extract the mask from the image pair (shadow and shadow-free)?

Open edis219 opened this issue 3 years ago • 4 comments

It's a great job! As you mentioned for the SRD masks, "Hi, we also use a simple rule to extract the mask from the image pair."

Would you please share the method to extract the mask from the image pair (shadow and shadow-free)?

edis219 avatar Nov 19 '20 04:11 edis219

Hi, thanks for your attention.

I just transform the images in the log space and threshold the difference.

The original scripts for mask extraction are missing, however, I will try my best to release a similar one.

vinthony avatar Nov 19 '20 06:11 vinthony

Thanks a lot! Looking forward for the extraction script.

edis219 avatar Nov 19 '20 07:11 edis219

Hi Vinthony,

Have you been able to recreate the script for mask extraction? Kind regards

Hi, thanks for your attention.

I just transform the images in the log space and threshold the difference.

The original scripts for mask extraction are missing, however, I will try my best to release a similar one.

Hello, I would like to ask you what is the threshold when converting the image to a binary image of shadow mask after getting the difference between the shadow image and the non-shadow image after converting the image to log space?

hnrna avatar Mar 21 '23 15:03 hnrna