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

What will happen if patch size is larger than some images themselves? #425

Closed
GOZGOXGOYGO opened this issue Dec 8, 2020 · 1 comment
Closed

Comments

@GOZGOXGOYGO
Copy link

Hi Fabian,

Congrats to your new paper published in Nature Methods. I have just learnt how to adjust the patch size. However, I still don't know what will happen if the patch size is larger than some images size? Will the images be filled with zero? However, it seems to have some conflicts with the basis of non-zero region cropping. Thank you.

Best,
Frank

@FabianIsensee
Copy link
Member

FabianIsensee commented Dec 9, 2020

Hi,
thank you :-) It was a long and bumpy road.
The original images are padded with zeros if the patch size is larger than the images.
This does not conflict the nonzero cropping at all. These two have different purposes
Best,
Fabian

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

2 participants