gen_region_histo — 将直方图转换为区域。
gen_region_histo converts a histogram created with
gray_histo, gray_histo_range ,or tuple_histo_range
into a region. Row and Column define the position of the
center of the graphic.
Scale allows scaling of the graphic, whereby 1 means
displaying all 256 values, 2 means displaying 128 values, 3
means displaying only 64 values, etc.
Region (输出对象) region → object
Region containing the histogram.
Histogram (输入控制) histogram-array → (integer)
Input histogram.
Row (输入控制) point.y → (integer)
Row coordinate of the center of the histogram.
默认值: 255
建议值: 100, 200, 255, 300, 400
值范围:
0
≤
Row
≤
511
Column (输入控制) point.x → (integer)
Column coordinate of the center of the histogram.
默认值: 255
建议值: 100, 200, 255, 300, 400
值范围:
0
≤
Column
≤
511
Scale (输入控制) integer → (integer)
Scale factor for the histogram.
默认值: 1
建议值: 1, 2, 3, 4, 5, 6, 7
值范围:
1
≤
Scale
≤
10 (lin)
最小增量: 1
建议增量: 1
gen_region_histo 在所有参数正确时返回 2 ( H_MSG_TRUE )。如有必要,则抛出异常。
gray_histo,
gray_histo_range,
tuple_histo_range
基础