histo_to_region ( : Region : Histogramm, Row, Column, Scale : )

Convert a histogram into a region.

histo_to_region converts a histogram created with histo__ into a region. The effect of the three control parameters is the same as in disp_image and set_paint.


Parameters

Region (output_object)
region -> object
Region containing the histogram.

Histogramm (input_control)
histogram.values-array -> integer
Input histogram.

Row (input_control)
point.y -> integer
Row coordinate of the center of the histogram.
Default value: 255
Suggested values: 100, 200, 255, 300, 400
Range of values: 0 <= Row <= 511

Column (input_control)
point.x -> integer
Row coordinate of the center of the histogram.
Default value: 255
Suggested values: 100, 200, 255, 300, 400
Range of values: 0 <= Column <= 511

Scale (input_control)
integer -> integer
Scale factor for the histogram.
Default value: 1
List of values: 1, 2, 3, 4, 5, 6, 7
Range of values: 1 <= Scale <= 10 (lin)
Minimum increment: 1
Recommended increment: 1


Possible Predecessors

histo__


See also

disp_grey, set_paint



Copyright © 1996-1997 MVTec Software GmbH