ReyaLabColumbia commited on
Commit
fe87e38
·
verified ·
1 Parent(s): ab38378

Upload Colony_Analyzer_AI_zstack2_HF.py

Browse files
Files changed (1) hide show
  1. Colony_Analyzer_AI_zstack2_HF.py +2 -1
Colony_Analyzer_AI_zstack2_HF.py CHANGED
@@ -275,7 +275,8 @@ def main(args):
275
  for x in range(len(files)):
276
  if x == best:
277
  continue
278
- mask = np.zeros_like(cv2.cvtColor(img, cv2.COLOR_BGR2GRAY))
 
279
  contours = colonies[colonies["source"]==x]
280
  contours = list(contours["contour"])
281
  cv2.drawContours(mask, contours, -1, 255, thickness=cv2.FILLED)
 
275
  for x in range(len(files)):
276
  if x == best:
277
  continue
278
+ #mask = np.zeros_like(cv2.cvtColor(img, cv2.COLOR_BGR2GRAY))
279
+ mask = np.zeros_like(img)
280
  contours = colonies[colonies["source"]==x]
281
  contours = list(contours["contour"])
282
  cv2.drawContours(mask, contours, -1, 255, thickness=cv2.FILLED)