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

How to obtain high-frequency masks #6

Open
yangqy1110 opened this issue Dec 3, 2023 · 2 comments
Open

How to obtain high-frequency masks #6

yangqy1110 opened this issue Dec 3, 2023 · 2 comments

Comments

@yangqy1110
Copy link

Excellent work, I have been following it since a long time ago. Can you provide the code for obtaining the high-frequency masks in Figure 4? This is very important to me, thank you.

@TyroneLi
Copy link

TyroneLi commented Dec 7, 2023

Me too. I do want to know how to extract and visualize these masks shown in paper.

@gseonglee
Copy link
Collaborator

Hi! Thank you for your interest in our project. Unfortunately, we have deleted all code except for what was uploaded on GitHub and HF, so the specific codes we used are no longer available. However, the method isn't complicated, and here are the details:

We passed the given image through a Gaussian high-pass filter to extract the high-frequency components. Following that, we applied thresholding to generate a binary mask. Finally, we overlaid this mask in red onto the original image to create the high-frequency mask as shown in Fig. 4.

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

3 participants