Outlier Elimination and Filtering for Scanned Features
Clean up noisy scan data in two clicks.
Ever scanned a bore that you know is round, then watched CALYPSO report a roundness that makes no sense? Usually the part isn't the problem. The data is. A scanning probe picks up everything it touches, including chips, burrs, dust, and the vibration of the stylus as it rides along the surface. That's why it's a good habit to turn on Outlier Elimination and Filter for every scanned feature.
What Outliers and Filters Actually Do
These two settings do different jobs:
- Outlier elimination removes spikes. A bump, a defect, a speck of dirt, or anything else that puts a spike in the data gets taken out. CALYPSO calculates the feature, finds the standard deviation (σ) of the points, and drops any point farther away than Factor × σ. With the default factor of 3, a feature with a σ of 10 µm loses every point more than 30 µm from the calculated feature.
- The filter smooths the scan. It evens out the small ups and downs the probe picks up as it rides along the surface. For circles, the filter is set in UPR (undulations per revolution). A low-pass filter at 50 UPR keeps the longer waves that make up real form error (oval, three-lobe, and so on) and smooths out the high-frequency noise above that.
Filtering won't erase real roundness or flatness. It improves the quality of the measurement so you're reporting the part and not the noise.
How to Turn Them On
- Go to the Measurement tab > Measurement Plan Editor.
- From the upper-left dropdown, choose Geometry (evaluation settings) > Outlier Elimination.
- Check every feature that uses scanning. In this example, that's just Circle1, Circle2, and Circle3.
- In the top row, click the Outlier checkbox. This applies the default settings (Factor 3.0000 inside and outside, Only Outlier, Repeat Outlier 1), which are fine for most jobs.
- Switch the dropdown to Filter, then click Filter in the top row to apply the default filtering (Spline, Low-pass, 50 UPR).
- Click OK.
Point density is what makes these settings work. Outliers and filters only make a difference on features with enough points, such as scans or dense point sets. On a sparse feature like a 4-point plane, the filter simply has no effect and the data doesn't change. A good rule of thumb is at least 7 points per undulation, so a 50 UPR filter needs a circle scanned with 350 or more points.
Why the Factor Is 3
If your points follow a normal (bell-curve) distribution, about 99.7% of them fall within ±3σ. A factor of 3 throws out only the few points that really don't belong, which is why it's the default and a safe starting point.
Lowering the factor makes outlier removal more aggressive. That can be useful. On a tight-tolerance feature where only the size (the diameter) matters and form doesn't, dropping the factor to 2 removes more of the stray points that can push the diameter around. Just keep an eye on how many points are being removed. If it's more than about 5%, something is wrong with the part, the probe, or the settings. And when form matters (roundness, flatness, cylindricity), don't use a lower factor to make a bad result look good.
Pro tip: A chip or burr rarely shows up as just one bad point. The points leading up to and away from it are usually off too. Many programmers change Only Outlier to remove a few adjacent points (the ZEISS Cookbook suggests 5 on each side) to clean up the whole bump. Start with the defaults, and then compare results before you tighten anything up.
Still have questions? Send a message to steven@learncmm.com.