mirror of
https://github.com/KrisKennaway/ii-vision.git
synced 2025-01-03 11:31:06 +00:00
Allow edit transposes again, there doesn't seem to be a good reason to prevent it and I'm not sure it can even happen in practice
This commit is contained in:
parent
efe821d215
commit
5c728e7ff1
@ -39,7 +39,7 @@ class EditDistanceParams:
|
||||
# Smallest substitution value is ~20 from palette.diff_matrices, i.e.
|
||||
# we always prefer to transpose 2 pixels rather than substituting colours.
|
||||
# TODO: is quality really better allowing transposes?
|
||||
transpose_costs = np.ones((128, 128), dtype=np.float64) * 100000 # 10
|
||||
transpose_costs = np.ones((128, 128), dtype=np.float64)
|
||||
|
||||
# These will be filled in later
|
||||
substitute_costs = np.zeros((128, 128), dtype=np.float64)
|
||||
|
Loading…
Reference in New Issue
Block a user