Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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
Update reader.py to v0.3 #89
Update reader.py to v0.3 #89
Changes from 20 commits
10df6d4
0e5dc42
36e37cf
cfe03e3
eac41be
f28b051
32aaa47
49017d7
1129149
5740ba1
41a6c6a
d86787f
e07194d
e971fac
b986523
46c8e6e
221c0e4
ebdeab2
306d293
ebc0ed9
a6ea341
0ba85e7
329c852
5dfd973
d9f994d
0fc3318
a60d040
84d8a54
79e53c0
cf1d243
741e952
93d0964
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@will-moore : can you check that this matches your cv2 use cases?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think the output_shape needs to be
(sizeX, sizeY)
as in https://github.com/ome/ome-zarr-py/pull/71/files#diff-47d7162e6c0191b1b2d4a31da6e1445085655c7a1e63354b488b1d53ec54d1a2R421See examples at https://www.tutorialkart.com/opencv/python/opencv-python-resize-image/ with
dim = (width, height)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ok, I will double check this and see if we can cover it by some test.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have added tests for the scaler in e07194d. Judging from the results the current implementation is correct.