Skip to main content

Extrema Analysis

The Extrema Analysis tool identifies and visualizes local maximum and minimum points on a mask or surface object along a specified direction vector. This analysis is useful for finding peaks and valleys, measuring dimensional extents, locating feature points, and understanding the geometric distribution of an object relative to a reference axis.

Extrema Analysis

Understanding Extrema Detection

Extrema analysis projects surface points onto a direction vector and identifies where the surface reaches its highest (maximum) and lowest (minimum) values along that direction. The analysis produces both:

  • Global extrema: The absolute maximum and minimum points on the entire surface.
  • Local extrema: Points where the surface changes from increasing to decreasing (local maxima) or decreasing to increasing (local minima) along the specified direction.

The results are visualized as a color-mapped scalar field representing the projection distance of each point onto the direction vector, making it easy to understand the object's extent and identify extreme points.

Accessing the Tool

  1. Navigate to the Analyze ribbon tab.
  2. Click the Extrema Analysis button.
  3. Select the analysis mode from the dropdown menu:
    • Analyze Mask – Analyze extrema on a mask object's 3D preview surface.
    • Analyze Surface – Analyze extrema on a triangle mesh surface object.

Analysis Configuration

Creating a New Analysis

  1. In the Analysis Selection section, click Select analysis to open the Extrema Analysis Editor dialog.
  2. Click New Analysis to create a new analysis configuration.
  3. Configure the analysis parameters (detailed below).
  4. Click Load to load the selected analysis and close the dialog.

Analysis Parameters

ParameterDescription
Analysis NameUser-defined name for the analysis. Double-click to rename.
Actual ObjectThe mask or surface object to analyze.
Surface Quality(Mask analysis only) Quality of the 3D preview surface: Optimal, High, Medium, or Low.
MethodExtrema detection type: Maximum, Minimum, or Maximum & Minimum.
AxisDirection vector along which to find extrema. Click to open the axis selection dialog.
Above Max. Range ColorColor displayed for values above the visualization range.
LUTLookup table (color map) for visualizing projection values.
Below Min. Range ColorColor displayed for values below the visualization range.
RangeCurrent visualization range (read-only, updated after analysis).

Detection Methods

Maximum

Identifies the absolute and local maxima on the surface—points where the object reaches its highest position along the specified direction. These represent:

  • Peak areas: Points at the top of hills or protrusions
  • Convex features: Areas where the surface curves outward relative to the direction

Minimum

Identifies the absolute and local minima on the surface—points where the object reaches its lowest position along the specified direction. These represent:

  • Valley areas: Points at the bottom of depressions
  • Concave features: Areas where the surface curves inward relative to the direction

Maximum & Minimum

Combines both analyses to detect all extrema, providing a comprehensive view of both peaks and valleys across the surface. This is useful when you need to understand the full topographic character of the object.

Direction Vector (Axis)

The direction vector defines the axis along which extrema are calculated:

AxisVectorDescription
X-axis(1, 0, 0)Left-right direction
Y-axis(0, 1, 0)Front-back direction
Z-axis(0, 0, 1)Up-down direction (default)
Custom(x, y, z)Any user-defined direction

Click the Axis button in the editor to open a dialog where you can:

  • Select a predefined axis (X, Y, or Z)
  • Enter custom direction vector components
tip

Common use cases:

  • Use (0, 0, 1) for height/elevation analysis
  • Use (0, 1, 0) for depth measurements
  • Use custom vectors for oblique or tilted reference directions

Running the Analysis

  1. After loading an analysis configuration, click Run Analysis.
  2. A progress dialog appears while the analysis computes.
  3. Upon completion:
    • The object displays color-mapped projection values in 3D and 2D views.
    • The histogram updates with the distribution of projection values.
    • The statistics table populates with extrema locations and summary metrics.

Interpreting Results

Visualization

The analyzed object displays a color gradient representing the projection distance along the specified direction:

  • Cool colors (blue): Lower values (closer to minimum along the direction)
  • Warm colors (red): Higher values (closer to maximum along the direction)

The color mapping essentially creates an elevation-style visualization relative to the chosen axis.

Statistics

The statistics table displays key metrics:

StatisticDescription
Actual ObjectName of the analyzed object.
MethodExtrema detection method used.
DirectionDirection vector used for the analysis.
Maximum Value (mm)Highest projection value (global maximum).
Maximum PointCoordinates of the global maximum location.
Minimum Value (mm)Lowest projection value (global minimum).
Minimum PointCoordinates of the global minimum location.
Mean Value (mm)Average projection value across all points.
Standard DeviationVariation in projection values.
RangeCurrent visualization range.
Area Below Min. Range (%)Percentage of surface below the minimum range.
Area Above Max. Range (%)Percentage of surface above the maximum range.
Area Within Range (%)Percentage of surface within the selected range.

Interactive Features

FeatureDescription
Show MaximumDisplays an annotation at the global maximum point.
Show MinimumDisplays an annotation at the global minimum point.
Pick PointEnable interactive picking to display projection values at any clicked location.

Typical Workflows

Height Distribution Analysis

  1. Load the object to analyze.
  2. Create a new Extrema Analysis with direction (0, 0, 1) (Z-axis).
  3. Select Maximum & Minimum method.
  4. Run the analysis.
  5. Review the color map to understand height distribution.
  6. Use Show Maximum and Show Minimum to identify extreme points.

Finding the Highest/Lowest Points

  1. Configure Extrema Analysis with the appropriate direction.
  2. Run the analysis.
  3. Enable Show Maximum to locate the highest point.
  4. Enable Show Minimum to locate the lowest point.
  5. Use Copy to Measurements to record these locations.

Dimensional Extent Measurement

  1. Analyze the object using the direction of interest.
  2. Note the Maximum and Minimum values in the statistics.
  3. The difference (Maximum - Minimum) gives the object's extent along that direction.

Feature Detection

  1. Analyze a surface using Maximum method to find peaks.
  2. Analyze the same surface using Minimum method to find valleys.
  3. Compare results to understand the topographic features of the object.

Oblique Reference Analysis

  1. Determine the custom direction vector for your reference axis.
  2. Enter the direction components in the Axis dialog.
  3. Run the analysis to project the surface onto the custom axis.
  4. Use results for measurements relative to tilted or angled references.

Exporting Results

CSV Export

Click Export and select CSV to save:

  • Statistical summary data
  • Projection value distribution histogram data
  • Extrema locations and values

PDF Report

Click Export and select PDF Report to generate a formatted document containing:

  • Analysis configuration and parameters
  • 3D visualization screenshots
  • Histogram and statistics
  • Extrema location annotations

See PDF Report for detailed report customization options.

Best Practices

  1. Choose the direction carefully: The direction vector determines what "maximum" and "minimum" mean. Align it with the measurement intent.

  2. Normalize custom vectors: While not required, using normalized direction vectors (length = 1) makes results easier to interpret.

  3. Consider object orientation: Ensure the object is oriented correctly relative to the analysis direction. Use Transform tools if needed.

  4. Use appropriate surface quality: For mask analyses, higher quality provides more accurate extrema detection.

  5. Combine with other analyses: Extrema analysis complements Curvature Analysis for understanding surface geometry.

Troubleshooting

IssuePossible CauseSolution
Unexpected maximum/minimum locationsObject not aligned with intended directionRotate the object or adjust the direction vector
Very similar max and min valuesObject is nearly flat along the directionChoose a different analysis direction
Noisy resultsRough mesh surfaceApply smoothing before analysis
Direction vector not acceptedInvalid or zero-length vectorEnsure at least one component is non-zero