GuignardLab / napari-manual-registration

BSD 3-Clause "New" or "Revised" License
3 stars 0 forks source link

Image rescaling option #4

Open sebgoti opened 1 week ago

sebgoti commented 1 week ago

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 commented 4 days ago

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,