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 rescaling option #4

Open
sebgoti opened this issue Oct 18, 2024 · 1 comment
Open

Image rescaling option #4

sebgoti opened this issue Oct 18, 2024 · 1 comment

Comments

@sebgoti
Copy link

sebgoti commented Oct 18, 2024

Thanks for the great plugin! I am wondering if you have considered adding a slider to also perfom image rescaling. This would help when dealing with data that do not have exactly the same resolution. Would be also happy to contribute in case this might be of interest for you :)

@jules-vanaret
Copy link
Collaborator

Hi @sebgoti,
Sorry for my late answer. We had never considered adding a scaling slider because we usually manage the potential anisotropy by rescaling arrays using our napari-tapenade-processing plugin (one of the function is called "Change array voxelsize"). This can be seen as a "bruteforce" solution as it requires reinterpolating the full array. This is not a problem in our application though due to the analysis we end up doing downstream.
But you are totally right that integrating this feature by leveraging the .scale propery of layers would be the most efficient solution! I don't have a lot of time currently to work on this so if you want to make a contribution that would be super appreciated, plus I can provide support if you have questions.
Cheers,

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

No branches or pull requests

2 participants