Histogram
The Histogram tool generates a histogram visualization of grayscale values from the active volume dataset. This tool helps analyze the distribution of pixel intensities, which is useful for understanding image characteristics, setting thresholds, and quality assessment.
Accessing the Tool
- Navigate to the Measure tab in the ribbon
- Click the Histogram button in the Measurement tools section
- An active volume dataset must be loaded in the project
- Optionally, masks can be used to filter the analysis region
User Interface
Description
Displays: "Generate a histogram of the grayscale values from the active volume dataset, with the option to filter by the active mask or the union of visible masks. The histogram can be generated for either the entire volume or the current slice."
Options
| Control | Description |
|---|---|
| Target | Select the data source for histogram generation |
| Slice | Choose which slice(s) to analyze |
Target Options
| Option | Description |
|---|---|
| Active volume | Generate a histogram of all pixels in the active volume dataset |
| Active mask | Generate a histogram of pixels in the active volume that are within the active mask |
| Visible masks | Generate a histogram of pixels within the union of all visible masks |
Slice Options
| Option | Description |
|---|---|
| Current sagittal slice | Analyze only the current sagittal slice |
| Current coronal slice | Analyze only the current coronal slice |
| Current axial slice | Analyze only the current axial slice |
| All slices | Analyze the entire volume (default) |
Histogram Display
| Control | Description |
|---|---|
| Y-axis | Linear or Logarithmic scale for the frequency axis |
| Graph type | Bar, Line, or Filled line visualization style |
| Number of bins | Number of histogram bins (range: 10–100,000, default: 128) |
Parameters
Y-axis Scale
| Option | Description |
|---|---|
| Linear | Standard linear frequency scale |
| Logarithmic | Logarithmic scale to better visualize low-frequency values |
Graph Type
| Option | Description |
|---|---|
| Bar | Traditional bar chart histogram |
| Line | Line graph connecting bin values |
| Filled line | Line graph with filled area below |
Number of Bins
Controls the granularity of the histogram. More bins provide finer detail but may increase noise. Fewer bins show broader trends.
- Minimum: 10 bins
- Maximum: 100,000 bins
- Default: 128 bins
For most applications, 128-256 bins provides a good balance between detail and noise. Use logarithmic Y-axis scale when examining datasets with wide intensity ranges.
Workflow
Basic Histogram Generation
- Ensure a volume dataset is active
- Open the Histogram tool
- Select Active volume as the target
- Choose All slices to analyze the complete volume
- Adjust the number of bins if needed
- The histogram updates automatically
Masked Region Analysis
- Create or activate a mask covering the region of interest
- Open the Histogram tool
- Select Active mask as the target
- The histogram shows only pixel values within the mask
Slice-Specific Analysis
- Navigate to the slice of interest using the slice views
- Open the Histogram tool
- Select the corresponding slice option (sagittal, coronal, or axial)
- The histogram reflects only that slice's pixel values
Export
Click the Export... button to save the histogram data to disk.
Export Options
The histogram can be exported for external analysis or documentation purposes.
Interpretation
Common Histogram Patterns
| Pattern | Description |
|---|---|
| Single peak | Uniform tissue type or material |
| Bimodal | Two distinct tissue types (e.g., bone and soft tissue) |
| Wide distribution | High variation in intensity values |
| Narrow distribution | Homogeneous region |
| Long tail | Presence of outliers or noise |
Medical Imaging Context
For CT data, the X-axis represents Hounsfield Units (HU):
- Air: approximately -1000 HU
- Fat: -100 to -50 HU
- Water: 0 HU
- Soft tissue: 20–80 HU
- Bone: 300–3000 HU
Related Tools
- Volume Statistics — Detailed statistical analysis with tabular output
- Draw Profile Line — Visualize intensity along a line
- Mask Statistics — Statistics for masked regions