mirror of
https://github.com/wassname/scikit-image.git
synced 2026-10-30 13:40:44 +08:00
Local neighbourhood suppression on hspace_max.
This commit is contained in:
1 parent
33e36542d5
commit
bc52e4a411
1 file changed
+1
-1
@@ -105,7 +105,7 @@ def hough_line_peaks(hspace, angles, dists, min_distance=9, min_angle=10,
|
||||
angle_nh[angle_high] -= cols
|
||||
|
||||
# suppress neighbourhood
|
||||
hspace[dist_nh, angle_nh] = 0
|
||||
hspace_max[dist_nh, angle_nh] = 0
|
||||
|
||||
# add current line to peaks
|
||||
hspace_peaks.append(accum)
|
||||
|
||||
Reference in new issue
Block a user