Closed vzickus closed 6 years ago
Hi! I agree, your correction fixes an error I also receive in the original code. It also looks like it should apply for all values of ftype
in filterKernel2D. Perhaps you could submit a pull request?
Will do later today and then close.
Pull request created.
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);
Closing.
L92-93 in filterKernel2D
Was it meant to be this:
x = g[0,:,:] + add[0];
y = g[1,:,:] + add[1];
?