Skip to content
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

Image nearest neighbour interpolation #1819

Closed
samoylovfp opened this issue Jul 11, 2022 · 1 comment
Closed

Image nearest neighbour interpolation #1819

samoylovfp opened this issue Jul 11, 2022 · 1 comment
Labels
feature New feature or request

Comments

@samoylovfp
Copy link

Is your feature request related to a problem? Please describe.

I use egui for numerical data visualization (see https://gitlab.com/samoylovfp/ncexplorer) and would like to be able to switch to a "nearest neighbor" interpolation for PlotImage to see boundaries in the values more clearly

Describe the solution you'd like

Add a with_interpolation function to PlotImage structure, allowing selecting the interpolation method

Describe alternatives you've considered

The interpolation might also be a parameter to PlotUi::image, but this feels less ergonomic, since it shouldn't matter for most users

Additional context

@samoylovfp samoylovfp added the feature New feature or request label Jul 11, 2022
@emilk
Copy link
Owner

emilk commented Jul 21, 2022

This is now possible on master: #1636

@emilk emilk closed this as completed Jul 21, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants