update after ojzm

This commit is contained in:
TPP-G6
2026-03-14 10:12:22 +08:00
parent aa781a7a2a
commit 88c8b8fa01
7 changed files with 247 additions and 15 deletions
+4 -2
View File
@@ -115,8 +115,10 @@ def generate_color_pattern(h, w, d, r):
def main():
# Parameters for the pattern.
# For example, using 100x100 pixels image with patches of 3x3 pixels.
height = 2750
width = 1950
# height = 2750
# width = 1950
height = 1200
width = 1000
patch_size = 12
# Set r to a value that gives sufficient difference.
# Note: r is the threshold for squared difference per channel, and the condition is