11 #ifndef GO_WEB_SCAN_CAL_DETECTOR_H
12 #define GO_WEB_SCAN_CAL_DETECTOR_H
32 #define GO_WEB_SCAN_CAL_DETECTOR_STATE_SEARCHING (0)
33 #define GO_WEB_SCAN_CAL_DETECTOR_STATE_SCANNING (1)
34 #define GO_WEB_SCAN_CAL_DETECTOR_STATE_ENDING (2)
118 #include <GoWebScanSdk/GoWebScanCalDetector.x.h>
Represents states of calibration bar detection state machine.
k32s minTiles
Minimum count of tiles needed for detection of the calibration bar.
Definition: GoWebScanCalDetector.h:45
k64f detectionThreshold
Minimum number of non-null profile spots for system calibration bar detection.
Definition: GoWebScanCalDetector.h:50
k32s trailMarginTiles
Trailing edge data capture margin in Y for calibration (mils).
Definition: GoWebScanCalDetector.h:48
kStatus GoWebScanCalDetector_Clear(GoWebScanCalDetector detector)
Clear all data from the detector.
k32s leadMarginTiles
Leading edge data capture margin in Y for calibration (mils).
Definition: GoWebScanCalDetector.h:47
Essential GoWebScan declarations.
k32s minGapTiles
Minimum Y-axis gap between successive objects for calibration object detection (mils).
Definition: GoWebScanCalDetector.h:49
Represents an algorithm for detecting a calibration bar in Y-matched system tiles of raw sensor messa...
kStatus GoWebScanCalDetector_SetDataHandler(GoWebScanCalDetector detector, GoWebScanCalDetectorDataFunction data, kPointer context)
Sets the handler for accepting the output data from the algorithm.
Represents parameters of the calibration detector algorithm.
Definition: GoWebScanCalDetector.h:43
k32s maxTiles
Maximum count of tiles needed for detection of the calibration bar.
Definition: GoWebScanCalDetector.h:46
kStatus GoWebScanCalDetector_Construct(GoWebScanCalDetector *detector, const GoWebScanCalDetectorParams *args, kAlloc allocator)
Constructs a GoWebScanCalDetector object.
kStatus GoWebScanCalDetector_AddTileSet(GoWebScanCalDetector detector, GoWebScanCalInputTileSet *tileSet)
Adds a set of input tiles to the detector.
GoWebScanCalDetectorState GoWebScanCalDetector_GetState(GoWebScanCalDetector detector)
Gets the current state of the detector.
kStatus(kCall * GoWebScanCalDetectorDataFunction)(kPointer context, k64s startTile, GoWebScanCalInputTileSet *tilesSets, kSize count)
Defines the signature for the handler for accepting the output dataset.
Definition: GoWebScanCalDetector.h:66
Declares a GoWebScanConfig object.