Update detect_yeast.py
This commit is contained in:
parent
055db5ab99
commit
4b9bb7ad94
@ -130,7 +130,7 @@ def get_polygon_list(image, center_list):
|
|||||||
(slopes, gradx, grady, slopes2, grad2x, grad2y, gradxy) = findslopes(image)
|
(slopes, gradx, grady, slopes2, grad2x, grad2y, gradxy) = findslopes(image)
|
||||||
polygon_list = list()
|
polygon_list = list()
|
||||||
for i in range(len(center_list)):
|
for i in range(len(center_list)):
|
||||||
print("processing %s" %i)
|
print("processing cell %s" %i)
|
||||||
polygon = get_polygon(image, gradx, grady, center_list[i])
|
polygon = get_polygon(image, gradx, grady, center_list[i])
|
||||||
polygon_list.append(polygon)
|
polygon_list.append(polygon)
|
||||||
return polygon_list
|
return polygon_list
|
||||||
|
Loading…
Reference in New Issue
Block a user