flipped Y axis compare
This commit is contained in:
parent
b2a0d798ab
commit
b770bce4e4
1 changed files with 2 additions and 2 deletions
|
|
@ -264,8 +264,8 @@ class StitchingScanner:
|
||||||
# Transition strips are at Y=0 to Y=transition_height
|
# Transition strips are at Y=0 to Y=transition_height
|
||||||
# So transition bottom is around Y=(transition_height - overlap) to Y=transition_height
|
# So transition bottom is around Y=(transition_height - overlap) to Y=transition_height
|
||||||
|
|
||||||
transition_compare_y_end = transition_height
|
transition_compare_y_start = transition_height
|
||||||
transition_compare_y_start = max(0, transition_height - vertical_overlap)
|
transition_compare_y_end = max(0, transition_height + vertical_overlap)
|
||||||
|
|
||||||
# Frame's TOP should overlap with transition BOTTOM
|
# Frame's TOP should overlap with transition BOTTOM
|
||||||
frame_top = frame[:vertical_overlap, :]
|
frame_top = frame[:vertical_overlap, :]
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue