diff --git a/2d_spots_in_fibers.py b/2d_spots_in_fibers.py index ae047bda06b5df1bf0bb6526569c577643262797..f16d7c78b08a1a73d20390073230011f185e6e8d 100644 --- a/2d_spots_in_fibers.py +++ b/2d_spots_in_fibers.py @@ -757,10 +757,10 @@ processing_channels = processing_channels_string.split(",") quality_thresholds_string = quality_thresholds_string.replace(" ", "") quality_thresholds = quality_thresholds_string.split(",") -# Get the fiber segmentation and convert to labelimage +# Get the fiber segmentation from ij roizip 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) +fibers_label_imp = convert_rois_to_labelimage(canvas) canvas.close() # threshold DAPI channel and convert to binary