loli / medpy

Medical image processing in Python
http://loli.github.io/medpy/
GNU General Public License v3.0
559 stars 136 forks source link

anisotropic_diffusion slicer error #115

Closed nbianka99 closed 6 months ago

nbianka99 commented 1 year ago

I get the error from below, even if I use the test function from your test file. My input is an image, which looks like the following: img = np.array(img, dtype=float) filtered_img = anisotropic_diffusion(img) The same error I get for: arr = np.random.uniform(size=(64,64)) filtered_img = anisotropic_diffusion(arr) What am I doing wrong here?

error
16jiu7 commented 10 months ago

https://github.com/loli/medpy/issues/90

StellarStorm commented 7 months ago

107 looks to be the fix - will be merged in soon!

loli commented 6 months ago

Merged and fixed in Release 0.5.0