Calculate one progressive morphological ground-filter height threshold — Mixed surface materials
Calculate one progressive morphological ground-filter height threshold — a worked case for mixed surface materials, with explicit data, a sensitivity comparison and an independent.

The measurement question
A progressive morphological filter compares point elevation with an opened surface using a threshold that changes with window growth. In a hypothetical iteration, slope factor 0.15, cell size 1 m, window-size increase of four cells, and initial distance 0.20 m produce a threshold of 0.80 m, provided the maximum-distance cap is larger. A point exceeding that opened-surface difference becomes nonground under this test. The example explains parameter interaction rather than recommending these values for every terrain. A permissive threshold can retain low objects, while an aggressive threshold can reject genuine terrain. PDAL advises considering its SMRF alternative for most practical cases.
This is an educational case with constructed input data. It is not a report of a completed NiVO project, a flight authorization, a product performance guarantee, or evidence that the photographed location was surveyed for this example.
Case conditions and evidence
The work area contains several materials with different texture, reflectance or shape. Keep material groups identifiable throughout the review so that a strong result from one group does not conceal a weak result from another. The input data below describe the constructed comparison, not a universal material property.
Inspect at least one independent sample in each material group relevant to the decision. Record missing evidence as missing rather than replacing it with a neighbouring group mean.

Reproduce the numerical check
Illustrative input data: Maximum threshold cap (max_distance) = 2 m; PMF slope factor (slope) = 0.23 dimensionless; Filter grid-cell size (cell_size) = 1 m; Current window size (current_window) = 7 cells; Previous window size (previous_window) = 3 cells; Initial tolerance (initial_distance) = 0.2 m.
Calculation: min(max_distance,slope*cell_size*(current_window-previous_window)+initial_distance).
PMF iteration height threshold = 1.12 m.
The calculation below checks one part of the evidence chain. Keep the stated units and assumptions. The output does not replace field observations, the equipment manual, or an independent assessment of the complete deliverable.
Change one assumption
Increase only pmf slope factor (slope) from 0.23 to 0.253 dimensionless. Re-evaluating the same equation gives pmf iteration height threshold = 1.212 m. The arithmetic difference from the baseline is 0.092 m.
For the comparison, only the explicitly listed input changes. All other quantities stay fixed. This isolates the mathematical response; weather, image texture, viewing geometry and equipment behaviour can change together in a real mission, so do not interpret the comparison as a flight test.
Interpret the result
Tune interacting parameters on representative terrain and compare ground and nonground errors explicitly. Use this calculation to understand one PMF decision, while evaluating the documented SMRF alternative and retaining manual review of difficult surfaces and landform transitions.
The threshold is spatially uniform for an iteration and cannot capture every local terrain condition. Buildings, steep slopes, low vegetation, gaps, and noisy elevations can defeat simple tuning; reducing nonground contamination may simultaneously increase rejected terrain points.
Separate an arithmetic result from a verified measurement. A precise number can still be based on an uncertain input. Test the assumption with an independent observation before applying the result to an acceptance decision; retain the original value when the independent check disagrees.
Independent checks and delivery
Recompute one iteration's threshold and inspect points near its decision boundary against the opened surface. Compare classified profiles with independently surveyed terrain across flat, sloping, and vegetated patches, retaining confusion evidence rather than only an attractive coloured cloud.
Provide the material grouping and the observation identifiers used in each calculation. State which groups were suitable for a quantitative result and which were only documented visually.
Deliver the original observations, the calculation inputs, their units, the processing settings and an exception log alongside the interpreted output. A reviewer should be able to repeat the arithmetic and identify which observations support the conclusion. Preserve rejected observations with reasons instead of silently removing them.



