Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
edis219 opened this issue Nov 19, 2020 · 4 comments

Comments

@edis219
Copy link

edis219 commented Nov 19, 2020

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)?

@vinthony
Copy link
Owner

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.

@edis219
Copy link
Author

edis219 commented Nov 19, 2020

Thanks a lot!
Looking forward for the extraction script.

@controlengineerinMLlearning

Hi Vinthony,

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

@hnrna
Copy link

hnrna commented Mar 21, 2023

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants