Skip to content

Commit

Permalink
fix: modify line detection minimal length
Browse files Browse the repository at this point in the history
  • Loading branch information
OBrink committed Dec 8, 2023
1 parent 832f3bb commit 411d663
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion decimer_segmentation/complete_structure.py
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ def detect_lines(
1,
np.pi / 180,
threshold=5,
minLineLength=int(min(max_depiction_size)/4),
minLineLength=int(max(max_depiction_size)/4),
maxLineGap=10)
# Generate exclusion mask based on detected lines
exclusion_mask = np.zeros_like(image)
Expand Down

0 comments on commit 411d663

Please sign in to comment.