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
There is one problem with my implementation that I forgot to mention. As you can see, the edges are jagged. This is because I skip pixels if they are outside of the original image, which will create aliasing effect. To make smooth edges, we need add different modes of handling the border (1) clamp to edge of the image (as right now) is suitable for resizing, and (2) return zero so that we can still interpolate the few pixels outside the image.
I think for now we can just open an issue to keep track of the problem.
It will be good to also look into OpenCV implementation.
The text was updated successfully, but these errors were encountered:
edgarriba
changed the title
[feature] support different types of padding in warp_affine to solve antialiasing
support different types of padding in warp_affine to solve anti-aliasing
Mar 9, 2025
edgarriba
changed the title
support different types of padding in warp_affine to solve anti-aliasing
support different types of padding in warp_affine to solve anti-aliasing
Mar 9, 2025
I think for now we can just open an issue to keep track of the problem.
It will be good to also look into OpenCV implementation.
Originally posted by @gau-nernst in #69 (comment)
The text was updated successfully, but these errors were encountered: