Operators |
gen_region_histo — Convert a histogram into a region.
gen_region_histo converts a histogram created with gray_histo, gray_histo_range ,or tuple_histo_range into a region. The effect of the three control parameters is the same as in disp_image and set_paint.
Region containing the histogram.
Input histogram.
Row coordinate of the center of the histogram.
Default value: 255
Suggested values: 100, 200, 255, 300, 400
Typical range of values: 0 ≤ Row ≤ 511
Column coordinate of the center of the histogram.
Default value: 255
Suggested values: 100, 200, 255, 300, 400
Typical range of values: 0 ≤ Column ≤ 511
Scale factor for the histogram.
Default value: 1
Suggested values: 1, 2, 3, 4, 5, 6, 7
Typical range of values: 1 ≤ Scale ≤ 10 (lin)
Minimum increment: 1
Recommended increment: 1
gen_region_histo returns 2 (H_MSG_TRUE) if all parameters are correct. If necessary, an exception is raised.
gray_histo, gray_histo_range, tuple_histo_range
Foundation
Operators |