You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thanks for you to open source this amazing project. Recently I was searching for some pytorch-based resampling methods that support bspline interpolation to replace the skimage.transform.resize in my project for speed concerns, and fortunately I found this. I tested both methods(skimage resize and interpol.resize) on a 3D medical data and found that the results are consistent when order(interpolation) is 1 and 2, but not consistent when order is 3, 4 or 5, through the difference is very small. Is this expected?(I also tested SimpleITK's ResampleFilter, and the results are slightly different except for order 1) Are there some default params which I can utilize to make the results exactly the same? Thank you!
Thank you for the quick response. I added bound='nearest' to my code and get the same results. I think the difference may not come from edge paddings, here is my testing code on 2D example for order=3, and we can see that the difference can appear in the central area:
Thanks for you to open source this amazing project. Recently I was searching for some pytorch-based resampling methods that support bspline interpolation to replace the skimage.transform.resize in my project for speed concerns, and fortunately I found this. I tested both methods(skimage resize and interpol.resize) on a 3D medical data and found that the results are consistent when order(interpolation) is 1 and 2, but not consistent when order is 3, 4 or 5, through the difference is very small. Is this expected?(I also tested SimpleITK's ResampleFilter, and the results are slightly different except for order 1) Are there some default params which I can utilize to make the results exactly the same? Thank you!
here is a tiny test case
The text was updated successfully, but these errors were encountered: