OptrisOptrisDocumentation

Documentation/OTC SDK/Optris.Sdk — C# API referencev12.0

NoiseFilterMode

public enum NoiseFilterMode

Which spatial noise filter runs inside the radiometric path.

One value means one filter on every camera. Before version 12 this was a bare int cast straight into whichever pipeline the camera happened to be running, and the two pipelines numbered their filters differently from 4 upwards: 7 was detail enhancement on one and anisotropic diffusion on the other, and the other is the default on every camera above the size threshold. This binding documented the first meaning. A caller who read it and passed 7 got a filter that moved measured temperatures.

The numbering here is neither of the old ones, see the CHANGELOG. Pass the enum rather than a literal.

These filters change reported temperatures. They run before the scene statistics, the measuring regions, the alarms, the recordings and the frame callback, because denoising a measurement is what they are for. Detail enhancement is not one of them and is deliberately absent: it is display-only and lives on ThermalCamera.SetDetailEnhancement(…).

NoiseFilterMode.None through NoiseFilterMode.Temporal work on every camera; the rest need the GPU pipeline. Asking for one a camera cannot run throws FeatureNotSupportedException rather than quietly selecting a different filter; ask ThermalCamera.IsNoiseFilterSupported(…) first if you would rather not offer it.

Value
None 0 No filtering. The default, and an exact identity.
Median3x3 1 3x3 median. Removes single-pixel spikes.
Gaussian3x3 2 3x3 Gaussian blur.
Bilateral3x3 3 3x3 edge-preserving, intensity-weighted.
Median5x5 4 5x5 median. Stronger, slower.
BoxBlur3x3 5 3x3 box mean.
UnsharpMask 6 Adaptive unsharp mask. Sharpens.
Temporal 7 IIR low-pass across frames.
Gaussian5x5 8 5x5 separable Gaussian.
BoxBlur5x5 9 5x5 box mean.
Guided 10 Self-guided edge-preserving filter.
Anisotropic 11 Perona-Malik anisotropic diffusion.
Nlm 12 Non-local means.
Gradient 13 Sobel gradient magnitude.
MorphMin 14 3x3 morphological erosion.
MorphMax 15 3x3 morphological dilation.
Kuwahara 16 5x5 Kuwahara, edge-preserving.
Wiener 17 3x3 adaptive Wiener.