Skip to main content

Module pattern

Module pattern 

Source

Constants§

BRIGHT
DARK
DOT_DST_HEIGHT
DOT_DST_WIDTH
DOT_HCENTER
DOT_HPIXELSPAN
DOT_NUM_STRIPS
DOT_SRC_HEIGHT
DOT_SRC_WIDTH
DOT_STRIP_HEIGHT
DOT_VCENTER
LINE_DST_HEIGHT
LINE_DST_WIDTH
LINE_SRC_HEIGHT
LINE_SRC_WIDTH

Functions§

generate_dot_pattern
Generate the dot test pattern for downscale analysis. 557x275 grayscale image with bright dots at phase-offset positions per strip.
generate_edge_pattern
Generate the edge test pattern for edge handling detection. 15x15 grayscale image with a bright column at x=1 (near left edge).
generate_line_pattern
Generate the line test pattern for upscale analysis. 15x15 grayscale image with a single bright column at the center (x=7).