Skip to content

Commit

Permalink
Merge branch 'master' of github.com:CellProfiler/centrosome
Browse files Browse the repository at this point in the history
  • Loading branch information
0x00b1 committed Dec 5, 2018
2 parents 4437a4d + 96077c7 commit 7bd9350
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion centrosome/filter.py
Original file line number Diff line number Diff line change
Expand Up @@ -744,7 +744,7 @@ def circular_average_filter(image, radius, mask=None):
This code is translated straight from MATLAB's fspecial function
'''

crad = np.ceil(radius-0.5)
crad = int(np.ceil(radius-0.5))
x,y = np.mgrid[-crad:crad+1,-crad:crad+1].astype(float)
maxxy = np.maximum(abs(x),abs(y))
minxy = np.minimum(abs(x),abs(y))
Expand Down

0 comments on commit 7bd9350

Please sign in to comment.