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
OS Platform and Distribution (e.g., Linux Ubuntu 16.04): Debian testing
TensorFlow version and how it was installed (source or binary): 2.4.0 (binary)
TensorFlow-Addons version and how it was installed (source or binary): 0.12.0 (binary)
Python version: 3.8
Is GPU used? (yes/no): no
Describe the bug
tfa.image.transform interpolates pixels that are outside image boundary (instead of using fill_value)
In the example below, the corner pixels are mapped from coordinates that lie outside the image. Hence, they must be set to fill_value (like, for example, scipy.ndimage.affine_transform and skimage.transform.AffineTransform). However, they are interpolated.
Include any logs or source code that would be helpful to diagnose the problem. If including tracebacks, please include the full traceback. Large logs and files should be attached.
The text was updated successfully, but these errors were encountered:
System information
Describe the bug
tfa.image.transform
interpolates pixels that are outside image boundary (instead of usingfill_value
)In the example below, the corner pixels are mapped from coordinates that lie outside the image. Hence, they must be set to
fill_value
(like, for example,scipy.ndimage.affine_transform
andskimage.transform.AffineTransform
). However, they are interpolated.Code to reproduce the issue
Other info / logs
Include any logs or source code that would be helpful to diagnose the problem. If including tracebacks, please include the full traceback. Large logs and files should be attached.
The text was updated successfully, but these errors were encountered: