Skip to content

Commit 0cd12a8

Browse files
committed
Increase cell_drift max -- improves decoding with distortion
The explicit `undistort` step we can run as part of the extract is not particularly great, so making the decoder smarter is useful. Also, it turns out that the flood decode does a pretty good job staying on the rails.
1 parent 36a94ed commit 0cd12a8

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

.gitmodules

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,4 @@
22
path = samples
33
url = https://github.com/sz3/cimbar-samples
44
branch = v0.5
5+
ignore = dirty

cimbar/encode/cell_positions.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
class cell_drift:
66
pairs = [(0, 0), (1, 0), (0, 1), (-1, 0), (0, -1), (1, 1), (-1, -1), (1, -1), (-1, 1)]
7-
limit = 2
7+
limit = 7
88

99
def __init__(self, x=0, y=0):
1010
self.x = x

0 commit comments

Comments
 (0)