You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I realize it's pretty naive to just ask "why doesn't this work as expected?". I get the sense that "simply" rotating an image is not so simple. (I know very little about image processing)
I'm wondering how I should get the desired result for rotations where the degree is multiples of pi/2. This might be related to #119 although I'm not sure.
Would it make sense to just define a new imrotate specifically for these factors of pi/2?
The text was updated successfully, but these errors were encountered:
The expectation that "imrotate(img, pi/2) should have the same size as img" can be somehow illusive due to the numerical error. A trick we use in this package is to discretization on ratio so that we consistently have imrotate(img, theta) == imrotate(img, theta+2pi) but that doesn't handle special pi/2, pi and 3pi/2 case.
I realize it's pretty naive to just ask "why doesn't this work as expected?". I get the sense that "simply" rotating an image is not so simple. (I know very little about image processing)
I'm wondering how I should get the desired result for rotations where the degree is multiples of
pi/2
. This might be related to #119 although I'm not sure.Would it make sense to just define a new imrotate specifically for these factors of
pi/2
?The text was updated successfully, but these errors were encountered: