Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

dense_image_warp with other interpolation schemes #2733

Closed
Luvideria opened this issue Jun 29, 2022 · 4 comments
Closed

dense_image_warp with other interpolation schemes #2733

Luvideria opened this issue Jun 29, 2022 · 4 comments

Comments

@Luvideria
Copy link

Currently, dense_image_warp uses only bilinear interpolation. It would be beneficial to use other interpolation schemes for better quality or different tradeoffs.

Other interpolation schemes are already available in other operations such as resize (Lanczos interpolation 3x3 or 5x5).
tf.image.resize(in, new_size, method = tf.image.ResizeMethod.LANCZOS5)

Relevant information

  • Are you willing to contribute it (yes/no): yes, see next point
  • I created a repo containing and explaining a working implementation of the catmull-rom (quite similar to Lanczos-2) interpolation as well as a comparison and a test
    https://github.com/Luvideria/tensorflow-dense-warp-catmull-rom
  • Are you willing to maintain it going forward? (yes/no): I don't know

Which API type would this fall under (layer, metric, optimizer, etc.)
image

Who will benefit with this feature?
Anyone using dense_image_warp and looking for more quality rather than speed.

@bhack
Copy link
Contributor

bhack commented Jun 29, 2022

To avoid duplications as we had also a request related to elastic image warping in Keras-cv can you try to open a ticket there?

@Luvideria
Copy link
Author

You mean replying to the existing issue or raise a new issue?

@bhack
Copy link
Contributor

bhack commented Jun 29, 2022

As you like

@seanpmorgan
Copy link
Member

TensorFlow Addons is transitioning to a minimal maintenance and release mode. New features will not be added to this repository. For more information, please see our public messaging on this decision:
TensorFlow Addons Wind Down

Please consider sending feature requests / contributions to other repositories in the TF community with a similar charters to TFA:
Keras
Keras-CV
Keras-NLP

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants