OptrisOptrisDocumentation

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

IgnoredTemperatures

public readonly record struct IgnoredTemperatures : IEquatable<IgnoredTemperatures>

Temperatures to leave out of a measurement: PIX Connect's "Ignore pixels with temperatures below... and above...", each side switched on separately.

An ignored pixel had a reading, so RegionStats.Coverage still counts it, and ThermalCamera.GetRegionIgnoredPixels(…) says how many there were. Added in 12.0.42.

Example

// Keep a 300 C flame out of every area's statistics.
camera.SetIgnoredTemperatures(IgnoredTemperatureUse.RegionStatistics,
                              new IgnoredTemperatures(null, 300.0f));

IgnoredTemperatures: constructors

public IgnoredTemperatures(Nullable<float> BelowC, Nullable<float> AboveC)

Temperatures to leave out of a measurement: PIX Connect's "Ignore pixels with temperatures below... and above...", each side switched on separately.

  • BelowC: Leave out pixels colder than this, in the SDK's temperature unit (Celsius unless Sdk.TemperatureUnit chose Fahrenheit); null to keep every cold pixel. The limit itself is kept.
  • AboveC: Leave out pixels warmer than this, in the same unit; null to keep every warm pixel. The limit itself is kept. Not below BelowC when both are set.

An ignored pixel had a reading, so RegionStats.Coverage still counts it, and ThermalCamera.GetRegionIgnoredPixels(…) says how many there were. Added in 12.0.42.

Example

// Keep a 300 C flame out of every area's statistics.
camera.SetIgnoredTemperatures(IgnoredTemperatureUse.RegionStatistics,
                              new IgnoredTemperatures(null, 300.0f));

IgnoredTemperatures: properties

public Nullable<float> AboveC { get; init; }

Leave out pixels warmer than this, in the same unit; null to keep every warm pixel. The limit itself is kept. Not below BelowC when both are set.

public Nullable<float> BelowC { get; init; }

Leave out pixels colder than this, in the SDK's temperature unit (Celsius unless Sdk.TemperatureUnit chose Fahrenheit); null to keep every cold pixel. The limit itself is kept.

public static IgnoredTemperatures None { get; }

No band: every pixel counts. The default of every use.