Skip to content
Snippets Groups Projects
Commit 9a094bcc authored by Kai Schleicher's avatar Kai Schleicher
Browse files

Don't use z-slice option, input is a MIP

parent f6b804c8
No related branches found
No related tags found
1 merge request!2Initial commit
...@@ -765,7 +765,7 @@ canvas.close() ...@@ -765,7 +765,7 @@ canvas.close()
fiber_label_imp.show() fiber_label_imp.show()
# threshold DAPI channel and convert to binary # threshold DAPI channel and convert to binary
dapi_channel = BFopen_image(path_to_image, dapi_channel_number, series_number, z_slice_number=dapi_channel_zslice) dapi_channel = BFopen_image(path_to_image, dapi_channel_number, series_number)
if threshold <= 0: if threshold <= 0:
threshold = get_threshold_from_method(dapi_channel, "otsu") threshold = get_threshold_from_method(dapi_channel, "otsu")
dapi_binary = convert_to_binary(dapi_channel, threshold) dapi_binary = convert_to_binary(dapi_channel, threshold)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment