Replies: 2 comments 2 replies
-
Or actually maybe the really proper method to collapse the image to a row/column is |
Beta Was this translation helpful? Give feedback.
2 replies
-
You can use y = x.shrink(10, 1)
y = x.zoom(10, 1) Now Perhaps I don't understand the problem exactly though -- post a sample image if I've misunderstood. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have some 1 band image. it is periodically (step=8) brighter in rows and cols. I want to suppress this periodical trait to remove the "grid". How do I do it in the most perfomant way?
I thought I should start with summing by rows and cols. I tried to do it by resizing but for some reason I've got values of
-1
-- is it ok or is it some corner case bug?UPD: I suppose I've found a proper method:
I wish there was a fast method to do the opposite.
resize
back to original size (to then subtract/divide/whatever) seems to be slow.Beta Was this translation helpful? Give feedback.
All reactions