Click or drag to resize
Flir.Atlas.Image.Measurements Namespace
This namespace contains classes for managing Measurments in FLIR Images.
Classes
  ClassDescription
Public classCode exampleMeasurementDelta
This class represents a Delta measurement object.
Public classCode exampleMeasurementEllipse
Represents a MeasurementEllipse object.
Public classMeasurementEventArgs
This class represents the event data received in Measurement events.
Public classMeasurementLine
Represents a MeasurementLine object.
Public classMeasurementParameters
Encapsulates the object parameters for a MeasurementShape object
Public classCode exampleMeasurementRectangle
Represents a MeasurementRectangle object.
Public classMeasurementShape
The class is a base class for other measurement shapes. The class has the basic properties and methods for a measurement shape.
Public classMeasurementShapeCollectionT
This class represents a collection of measurement shapes for other classes to derive from.
Public classMeasurementSpot
Represents a MeasurementSpot object.
Enumerations
  EnumerationDescription
Public enumerationDeltaType
Specifies the delta type.
Public enumerationValueMember
Specifies the value members.
Examples
C#
using Flir.Atlas.Image;

using (ThermalImageFile image = new ThermalImageFile(File))
{   

        //clear all measurements
       image.Measurements.Clear();

        //add new Measurement Rectangle
       Rectangle rect = new Rectangle(160, 240, 200, 200);
       MeasurementRectangle rectangle = image.Measurements.Add(rect);

        //Read max and min value from rectangle
       rectangleMax = rectangle.Max.Value;
       rectangleMin = rectangle.Min.Value;
       rectangleAvg = rectangle.Average.Value;

        // Add new point measurement
       Point pt = new Point(320, 240); 
       MeasurementSpot spot =  image.Measurements.Add(pt);

        // add custom parameter to the spot 
       spot.ThermalParameters.UseCustomObjectParameters = true;
       spot.ThermalParameters.Emissivity = 0.86;
       spot.ThermalParameters.ReflectedTemperature = 22;
       spot.ThermalParameters.Distance = 12.0;
        // get the spot value
       spotVale = spot.Value.Value;

        //save the updated file
       image.Save(fileName);
}