ChristophKirst / ClearMap

ClearMap is a python toolbox for the analysis and registration of volumetric data from cleared tissues.
http://christophkirst.github.io/ClearMap/build/html/index.html
GNU General Public License v3.0
49 stars 40 forks source link

filterKernel2D indices fix and log filter fix #15

Open vzickus opened 6 years ago

vzickus commented 6 years ago

1) filterKernel2D ftypes had indices assuming a 3D filter.

2) ftype== 'log' in filterKernel2D and filterKernel3D was missing radius test:

 if radius == None:
        radius = mo;
        radius = numpy.array(radius);