Hist2 - Histogram MLx Home | MLx menu | MLx buttons | Widgets | Index | What's New
This is a flexible histogramming utility that works on the real (actual) image data, rather than the scaled image data. Hist1 is faster, works on the scaled data, and reflects the threshold slider bar.
Note that the image being histogrammed is the front gray scale image - if there are other images in front that are RGB images, for example, they will be ignored.
Example top
| Without zooming (which is not necessary here, and just increases the file size of the illustration) there is not enough room for the image name. The blue lettering is another way to show the image name for small images - see Annotate. Anyway, the image as read in looks like this. | ![]() |
| This is included here for comparison with Hist2. Note the 'toothed' appearance - similar to the hist1 example. | ![]() |
Clicking on the histogram displays the x (scaled pixel value) and val (number of pixels with this value for that x position (the y position of the cursor when clicking does not matter). Red arrows show clicked position and readout for the maximum peak on the histogram.
Black number to the upper left shows the maximum value for the plot (compare with the blue val: value).
Dragging vertically (green arrows) changes the y scale of the plot. Values that are past the top of the plot (greater than the black number at the upper left) wrap around.
| This histogram has been altered a bit by dragging (blue arrow - see below) and changing the bin size (violet arrow - see below). | ![]() |
This histogramming tool allows zooming in on any portion of the actual data, and changing the bin size: