-
Notifications
You must be signed in to change notification settings - Fork 11
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 ro padding the measurement whrn working with smaller sensors #4
Comments
Hi, replicate padding is done in the dataloader: smoothing is done here: |
Thank you for your answer, and did you try this FFT layer on the dataset DiffuserCam (https://waller-lab.github.io/LenslessLearning/dataset.html)? I tried to use FFT layer on DiffuserCam's psf and measurement, but failed get a understandable image. |
I'm soryy to bother, I found something wrong with the hyparameter, and and I have success on Diffusercam. |
@zhangyingerjelly Could you please share how to try this FFT layer on the dataset DiffuserCam and how to set the hyparameter?Thank you! |
you should pay attention that both psf and input data need to be normalized(something like /np.max(). and I set fft_gamma=2000 |
Thank you for your reply. |
As you mentioned in https://siddiquesalman.github.io/flatnet/, when using a smaller sensors, we always get a small measurement (eg. dataset in DiffuserCam), and only zero padding the measurement seems work badly in the inverse layer, and "replicate+smooth padding" can address this problem, but I don't find code of this part in the project, so how to do "replicate+smooth padding" ?
The text was updated successfully, but these errors were encountered: