-
Notifications
You must be signed in to change notification settings - Fork 28
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
Question about affine transformation #44
Comments
I just noticed that applying the affine() function with antialias = TRUE does not do this:
|
Thank you for reporting this! Might be some rounding issue occurring in bilinear filtering step, will need to investigate. If you are interested in performing pixel transformations which have a 1:1 pixel mapping between the input and the output such as translation by whole pixel coordinates or rotation by multiplies of 90 degrees consider using Cheers, |
Hi Andrzej, Thanks very much for looking at this! I am quite new to this sort of analysis so I was trying out the function with a simple example to see what the result would be. I have a dataset from a collaborator with images and a transformation matrix defining an affine transform to align them. I'll try out the function with Thanks, |
I am trying out the affine() function with a simple example matrix, and I noticed something that puzzled me. It seems to add an extra row and column to the transformed matrix even if the scaling factors are both 1:
Is this expected behaviour? I thought that the above transformation matrix would simply translate the matrix to a new position but leave the dimensions the same as before the transformation.
The text was updated successfully, but these errors were encountered: