Spaces:
Sleeping
Sleeping
Upload Colony_Analyzer_AI_zstack2_HF.py
Browse files
Colony_Analyzer_AI_zstack2_HF.py
CHANGED
|
@@ -287,7 +287,6 @@ def main(args):
|
|
| 287 |
print("ROI Shape:", roi.shape)
|
| 288 |
print("img Shape:", img.shape)
|
| 289 |
print("mask Shape:", mask.shape)
|
| 290 |
-
mask = np.repeat(mask[..., None], 3, axis=2)
|
| 291 |
print("mask Shape fixed:", mask.shape)
|
| 292 |
np.copyto(img, roi, where=(mask== 255))
|
| 293 |
try:
|
|
|
|
| 287 |
print("ROI Shape:", roi.shape)
|
| 288 |
print("img Shape:", img.shape)
|
| 289 |
print("mask Shape:", mask.shape)
|
|
|
|
| 290 |
print("mask Shape fixed:", mask.shape)
|
| 291 |
np.copyto(img, roi, where=(mask== 255))
|
| 292 |
try:
|