Skip to content

Commit d7b9a1a

Browse files
committed
exclude SV at boundary for automatic analysis
1 parent 2fa3925 commit d7b9a1a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

scripts/cooper/revision/updated_data_analysis/analysis_segmentations.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,8 @@ def SV_pred(raw: np.ndarray, SV_model: str, output_path: str = None, store: bool
5656
Returns:
5757
np.ndarray: Segmentation result.
5858
"""
59-
seg, pred = segment_vesicles(input_volume=raw, model_path=SV_model, verbose=False, return_predictions=True)
59+
#Excluding boundary SV, because they would also not be used in the manual annotation
60+
seg, pred = segment_vesicles(input_volume=raw, model_path=SV_model, exclude_boundary=True, verbose=False, return_predictions=True)
6061

6162
if store and output_path:
6263
pred_key = f"predictions/SV/pred"

0 commit comments

Comments
 (0)