We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1f6a8d9 commit 7206849Copy full SHA for 7206849
decimer_segmentation/complete_structure.py
@@ -223,6 +223,7 @@ def expand_masks(
223
Returns:
224
np.array: Expanded masks
225
"""
226
+ image_array = np.invert(image_array)
227
labeled_array, _ = label(image_array)
228
mask_array = np.zeros_like(image_array)
229
for seed_pixel in seed_pixels:
@@ -279,7 +280,6 @@ def complete_structure_mask(
279
280
if mask_array.size != 0:
281
# Binarization of input image
282
binarized_image_array = binarize_image(image_array, threshold=0.72)
- debug = True
283
if debug:
284
plot_it(binarized_image_array)
285
# Apply dilation with a resolution-dependent kernel to the image
0 commit comments