Skip to content

Commit

Permalink
Remove tiling TODO and add docstring for tiling args
Browse files Browse the repository at this point in the history
  • Loading branch information
anwai98 committed Sep 24, 2024
1 parent 31d93ff commit 2d66144
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion micro_sam/multi_dimensional_segmentation.py
Original file line number Diff line number Diff line change
Expand Up @@ -356,7 +356,6 @@ def merge_instance_segmentation_3d(
return segmentation


# TODO: Enable tiling
def automatic_3d_segmentation(
volume: np.ndarray,
predictor: SamPredictor,
Expand Down Expand Up @@ -385,6 +384,8 @@ def automatic_3d_segmentation(
operation. The value is used to determine the number of iterations for the closing.
min_z_extent: Require a minimal extent in z for the segmented objects.
This can help to prevent segmentation artifacts.
tile_shape: Shape of the tiles for tiled prediction. By default prediction is run without tiling.
halo: Overlap of the tiles for tiled prediction.
verbose: Verbosity flag.
kwargs: Keyword arguments for the 'generate' method of the 'segmentor'.
Expand Down

0 comments on commit 2d66144

Please sign in to comment.