Skip to content

Conversation

AhmetCanSolak
Copy link
Collaborator

This PR fixes a bug introduced in #152. Currently, we are passing downscaling factors to all dimensions of any given image of interest in the

image_d = zoom(image, zoom=zoom_per_axis, prefilter=False, order=0)
and this is causing division by zero with the dimensions of length-1.

@AhmetCanSolak AhmetCanSolak added the bug Something isn't working label Apr 26, 2022
@AhmetCanSolak AhmetCanSolak self-assigned this Apr 26, 2022
@AhmetCanSolak AhmetCanSolak merged commit 409e7e6 into royerlab:master Apr 26, 2022
@AhmetCanSolak AhmetCanSolak deleted the sf-crop-zoom-call-fix branch April 28, 2022 18:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant