.
Development status:
New development
Information status: Updated
Repository:
http://svn.code.sf.net/p/tango-ds/code/DeviceClasses/Calculation/ImgCalibration
Contact:
Class Description
Families: Calculation
Key words:
Language: Cpp
Contact:
Class interface
Attributes:
Name | Description |
---|---|
sourceImageImage: DevUShort | — |
correctedImageImage: DevUShort | — |
sourcePatternImage: DevUShort | — |
correctedPatternImage: DevUShort | — |
errorMapImage: DevUShort | — |
delaunaySubdivImage: DevUShort | — |
isCalibratedScalar: DevBoolean | — |
xMagFactorScalar: DevDouble | — |
yMagFactorScalar: DevDouble | — |
modelErrorScalar: DevDouble | — |
roiSpectrum: DevLong | — |
Commands:
Name | Description |
---|---|
StateInput: DevVoid Output: State |
This command gets the device state (stored in its device_state data member) and returns it to the caller. |
StatusInput: DevVoid Output: DevString |
This command gets the device status (stored in its device_status data member) and returns it to the caller. |
CalibrateInput: DevVoid Output: DevVoid |
Gets the image from the remote device, copies it to `sourcePattern`, calibrates with this grid, undistorts the grid, copies the result to `correctedPattern`, and updates the `errorMap` and `delaunaySubdiv` attributes. This command generates an exception if a remote device is not specified. |
UndistortInput: DevVoid Output: DevVoid |
This command gets a new image from the remote device, copies it to `SourceImage`, undistorts it with respect to the grid which was previously learned, and copies the result to `CalibratedImage`. This command is disabled in CONTINUOUS mode, and also in ONESHOT mode if a remote device has not been specified. |
StartInput: DevVoid Output: DevVoid |
[CONTINUOUS mode only] starts the periodic grabbing of image from the remote device |
StopInput: DevVoid Output: DevVoid |
[CONTINUOUS mode only] stops the periodic grabbing of image from the remote device |
Pipes:
Properties:
Name | Description |
---|---|
RemoteDeviceDevString | the name of the device on which the source image is taken |
RemoteAttributeDevString | the name of the attribute corresponding to the source image |
PullPeriodDevLong | the period in ms at which a new image is retrieved from the remote device and undistorted |
XSpacingDevDouble | the spacing of calibration points in the horizontal direction, in mm |
YSpacingDevDouble | the spacing of calibration points in the vertical direction, in mm |
ModeDevString | can be ONESHOT or CONTINUOUS. If ONESHOT, learning a calibration pattern is done by calling the `Learn` method (if RemoteDevice and RemoteAttribute are properly set) or by writing to the `CalibPattern` attribute (in that case there is no need to specify a remote device); undistorting an image is done by calling the `Undistort` method (if a remote device is specified) or by writing the `SourceImage` attribute (works either a remote device is specified or not). If CONTINUOUS, a remote device must be specified. Then a new image is undistorted at a frequency defined by the `PullPeriod` property. Learning a calibration pattern is done by calling the `Learn` method. The `Undistort` command is disabled and the `SourceImage` and `CalibPattern` attributes are not writable. |
AutoStartDevBoolean | [CONTINUOUS mode only] Automatically starts the grabbing of images from the remote device |
Please log in to comment.
Generated
Added by:pgoryl2
on:23 Feb 2017, 9:42 a.m.