Namespace: Rx.LFR.Net – Class: Calibration – Assembly: Rx.LFR.Net

Calibration Class

C#
class Calibration : NativeWrapper<Rx.LFR.CCalibration>, ICalibration

Defines a single camera or ray image calibration, including a possible gray image.

Constructors

Calibration()

Default constructor. Creates an uninitialized calibration. Call SetToDefault to initialize it.

Calibration(native)

Constructor.

Properties

IsDisposed

True if this object is disposed.

(Inherited from NativeWrapper)
SyncRoot

A SyncRoot object that can be used to lock this object externally.

(Inherited from NativeWrapper)

Methods

SetToDefault(iHeightPX, iWidthPX)

Sets this calibration to default. All applied parameters are reset. The gray image is not affected.

SetCameraFormat(pvData)

Sets the camera format by using pointer. Only for internal purposes.

SetCameraFormat(calibration)

Sets the camera format from the given calibration.

GetCameraFormat()

Gets the pointer to the internal camera format. Only for internal purposes.

HasGrayImage()

Queries if this calibration has a gray image.

GetGrayImage()

Gets the gray image. The gray image is invalid if this calibration has no gray image.

SetGrayImage(xImg)

Sets the given image as the gray image. This copies the given image into this calibration.

SetGrayImage(xImg, bMove)

Sets the given image as the gray image. This moves or copies the given image into this calibration.

HasMetricCalibrationSettings()

Query if this object has metric calibration settings.

GetMetricCalibrationSettings()

Gets the metric calibration settings.

SetMetricCalibrationSettings(settings)

Sets the metric calibration settings. This copies the given settings into this calibration.

GetGridData(adLensData2D)

Gets the grid data of this calibration.

SaveAsXmlFile(sFilename)

Saves some details of this calibration as a XML file.

SaveAsXmlString(sXml)

Saves some details of this calibration as a XML string.

GetParams()

Gets the parameters object for Rx.LFR.Net.ECalibrationParam parameters.

GetInterface(ifcId)

Gets the interface.

GetNative()

Gets the native instance.

SaveAsXmlString(sXml)

Saves some details of this calibration as a XML string.

(Inherited from ICalibration)
Dispose()

Default Destructor.