Do not acquire GIL for hough_circle

This commit is contained in:
Johannes Schönberger
2015-05-19 18:42:53 -07:00
parent 7a8afbddf3
commit 83fe07097f
2 changed files with 19 additions and 15 deletions
@@ -4,6 +4,7 @@ from numpy.testing import assert_almost_equal, assert_equal
import skimage.transform as tf
from skimage.draw import line, circle_perimeter, ellipse_perimeter
from skimage._shared._warnings import expected_warnings
from skimage._shared.testing import test_parallel
def append_desc(func, description):
@@ -129,6 +130,7 @@ def test_hough_line_peaks_num():
min_angle=0, num_peaks=1)[0]) == 1
@test_parallel()
def test_hough_circle():
# Prepare picture
img = np.zeros((120, 100), dtype=int)