diff --git a/2d_spots_in_fibers.py b/2d_spots_in_fibers.py index 08f87b68666b1a9838a2f1f2c5dfd45021d05d05..53df4a20310c7de8db1e03ee238ccd16312061f3 100644 --- a/2d_spots_in_fibers.py +++ b/2d_spots_in_fibers.py @@ -757,7 +757,12 @@ processing_channels = processing_channels_string.split(",") quality_thresholds_string = quality_thresholds_string.replace(" ", "") quality_thresholds = quality_thresholds_string.split(",") -# TODO: Get the fiber segmentation and convert to labelimage +# Get the fiber segmentation and convert to labelimage +canvas = create_empty_image(32, image_width, image_height) +load_rois_from_zip(fiber_segmentation_roiset) +fiber_label_imp = convert_rois_to_labelimage(canvas) +canvas.close() +fiber_label_imp.show() # 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)