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

Bug in rotate #21

Closed
RainerHeintzmann opened this issue Aug 6, 2022 · 0 comments
Closed

Bug in rotate #21

RainerHeintzmann opened this issue Aug 6, 2022 · 0 comments

Comments

@RainerHeintzmann
Copy link
Member

Just noticed that the rotate function has a bug, at if run on images with unequal sizes.

using IndexFunArrays, FourierTools
b = box((901,1178), (700,1000))
rotate(b, 20.0)

leads to a strangely distorted result. The former right angles are not right angles any more.
If you rotate by 45 degrees, the former rectangle becomes a square.
There are also some wrap-around problems due to the shear operations, which should be removed.

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