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 calculate step if > 1 #10

Open
talhaanwarch opened this issue May 18, 2021 · 2 comments
Open

How to calculate step if > 1 #10

talhaanwarch opened this issue May 18, 2021 · 2 comments

Comments

@talhaanwarch
Copy link

Is there a way to calculate step which does not throw error and greater than 1
For example, I have 3D image of shape (512, 512, 110), I want to create multiple patches of shape (128,128,10), I don't know what should be the step size? Can I calculate it?
This line in readme is not clear to me
(width - patch_width) mod step_size = 0

@talhaanwarch
Copy link
Author

I can remove some of data to make it fix, but I am not getting correct formula

@dovahcrow
Copy link
Owner

Does step size 2 work for you?

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