Skip to content

Commit

Permalink
bug fix for fiber segmentation BG subtraction that was always True
Browse files Browse the repository at this point in the history
  • Loading branch information
ronshnapp committed Feb 22, 2024
1 parent 5618704 commit 1aa5ccd
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions example/workflow.py
Original file line number Diff line number Diff line change
Expand Up @@ -735,7 +735,8 @@ def calculate_BG_image(dirname, extension):
extension=ext,
image_start=image_start,
N_img=N_img,
sigma=sigma,
sigma=sigma,
remove_ststic_BG=remove_BG,
median=median,
threshold=threshold,
local_filter=local_filter,
Expand All @@ -748,7 +749,7 @@ def calculate_BG_image(dirname, extension):
mask=mask,
method=method,
pca_limit=1.0)
print('RON!')

loopSegment.segment_folder_images()

print('\n','blobs found:', len(loopSegment.blobs))
Expand Down

0 comments on commit 1aa5ccd

Please sign in to comment.