Download HDevelop User`s Manual

Transcript
146
Graphical User Interface
Whenever you do so, the histogram of this image is computed and drawn, and the tool records the
graphics window from which the image was sent (the originating window).
• Whenever image data is displayed overlaid with region data in a graphics window (the graphics
window does not need to be active for this), you can click into any of the segmented regions, and
the histogram of the image within that region will be computed and shown. If you click into a part
of the image that is not contained in any of the overlaid regions, the histogram of the entire image
will be displayed.
• The same mechanism is used for regions that have gray value information, e.g., image objects
created by reduce_domain or add_channels. Here, the histogram of the image object you click
into will be displayed.
Freeze Gray Histogram
Sometimes, it is desirable to suppress the updating of the histogram when new image data is available,
e.g., if you want to select thresholds for a gradient image, but want to visualize the original image along
with the segmentation (see below). In that case you can freeze the histogram by unchecking Update. The
currently displayed histogram is preserved until Update is checked again in which case the histogram
will be re-calculated from the active graphics window.
Gray Histogram Display
The main part of the tool is the area, in which the histogram of the image is displayed in blue. This area
contains static parts and parts that can be interactively manipulated. The first static part is the horizontal
coordinate axis, which displays the gray values in the image. For byte images, this range is always
0...255. For all other image types, e.g., real images, the horizontal axis runs from the minimum to the
maximum gray value of the image, and the labeling of the axis is changed accordingly. To the left of the
display, the vertical axis representing the frequency of the gray values is drawn. The final static parts of
the display are three gray arrows. The two upward pointing arrows denote the maximum and minimum
gray value of the image. The downward pointing arrow denotes the peak of the histogram, i.e., the gray
value that occurs most frequently. This data is displayed in textual form within the Statistics area of
the display. For int4, int8, or real images, the peak value is displayed as a value range in the Statistics.
That is, the range of input values is divided in quantization steps to obtain a meaningful histogram, and,
as a consequence, the histogram’s “peak value” may actually represent a whole range of input values.
The dynamic parts of the histogram area are the two colored lines, which can be manipulated. The
vertical green and red lines denote the minimum and maximum selected gray value of the histogram,
respectively. The gray values on which the two vertical lines lie are displayed next to the lines in the
same color.
Histogram Options
• Quantization: Display the histogram quantized. The bucket size can be specified with the slider
or entered into the spinner box.