-
Hello, I am looking for a solution on how to rotate a 2D array by an arbitrary number of degrees (such as 45 degrees). I saw that google jax has scaling and translation, but no rotation (that I can find anyway)? I am basically looking for an equivalent of scipy's ndimage rotate function. Does something similar to this exist for google jax? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
The existing image manipulation tools within JAX can be found here: None of these contain image rotation functions, however. Note that there is a relevant feature request in #3647 As far as third party packages, it's worth checking out the |
Beta Was this translation helpful? Give feedback.
The existing image manipulation tools within JAX can be found here:
jax.image
jax.scipy.ndimage
None of these contain image rotation functions, however. Note that there is a relevant feature request in #3647
As far as third party packages, it's worth checking out the
dm_pix
library, which is built on JAX and has adm_pix.rotate
function. I've not tried this, but it may be worth a look.