Skip to content

Commit 411d663

Browse files
committed
fix: modify line detection minimal length
1 parent 832f3bb commit 411d663

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

decimer_segmentation/complete_structure.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@ def detect_lines(
184184
1,
185185
np.pi / 180,
186186
threshold=5,
187-
minLineLength=int(min(max_depiction_size)/4),
187+
minLineLength=int(max(max_depiction_size)/4),
188188
maxLineGap=10)
189189
# Generate exclusion mask based on detected lines
190190
exclusion_mask = np.zeros_like(image)

0 commit comments

Comments
 (0)