Open flora-sun-zhixin opened 2 years ago
As I remember I added zoom because it was many times faster than skt.resize. I probably need to create some test script to show it.
Also I must note I almost not tested masks functionality with this package.
Hi, thanks for sharing the code. After reading and testing the part of what I need, may I ask why you use different resize function here for image(assume is 3 dimensions) and mask(assume is 4 dimensions)? For dim=3: you used skimage.transform.resize() For dim=4: you used scipy.ndimage.zoom() for each channel I tried the two on the same mask and in the resized masks there are some pixels labeled differently. So I am confused whether this will also trigger some mismatch between image and mask?