GoWebScan API
 All Classes Files Functions Variables Typedefs Macros Modules Pages
GoWebScanCalProcessor.h
Go to the documentation of this file.
1 /**
2 * @file GoWebScanCalProcessor.h
3 * @brief Declares a GoWebScanCalProcessor object.
4 *
5 * @internal
6 * Copyright (C) 2017-2021 by LMI Technologies Inc.
7 * Licensed under the MIT License.
8 * Redistributed files must retain the above copyright notice.
9 */
10 
11 #ifndef GO_WEB_SCAN_CAL_PROCESSOR_H
12 #define GO_WEB_SCAN_CAL_PROCESSOR_H
13 
21 
22 /**
23 * @class GoWebScanCalProcessor
24 * @extends kObject
25 * @ingroup GoWebScanSdk-Calibration
26 * @brief Represents an algorithm for processing system tiles containing a calibration bar
27 * and generating the calibration containing profile Z and Y offsets and vision Y
28 * offsets and gains. Refer to GoWebScanCal for a description of the system
29 * calibration outputs and usage.
30 *
31 * Internally, GoWebScanCalProcessor delegates the processing of offsets and gains
32 * for each node to the GoWebScanCalProcessorNode class. After each node has been
33 * processed, GoWebScanCalProcessor adjusts the profile and vision Y offsets per
34 * node based on the overall system Y bias (per plane). If
35 * GoWebScanConfig_CalDetectLocators() is enabled, the class also calculates the X
36 * bias per plane and adjusts the node X offsets. If
37 * GoWebScanConfig_CalUseVisionIntensity() is not enabled, the class also calculates
38 * the vision gain bias per channel and adjusts the node gains.
39 *
40 * At the end of processing, a GoWebScanCal object is constructed and returned
41 * containing the offsets, gains, and other calibration properties.
42 *
43 * Refer to GoWebScanCalProcessorNode for a detailed explaination of the calibration
44 * processing sequence.
45 * @see GoWebScanCal, GoWebScanCalProcessorNode, GoWebScanConfig_CalDetectLocators,
46 * GoWebScanConfig_CalUseVisionIntensity
47 */
49 
50 /**
51  * Constructs a GoWebScanCalProcessor object.
52  *
53  * @public @memberof GoWebScanCalProcessor
54  * @param processor Receives the constructed GoWebScanCalProcessor object.
55  * @param config System configuration.
56  * @param allocator Memory allocator (or kNULL for default).
57  * @return Operation status.
58  */
59 GoWebScanFx(kStatus) GoWebScanCalProcessor_Construct(GoWebScanCalProcessor* processor, GoWebScanConfig config, kAlloc allocator);
60 
61 /**
62  * Executes the system calibration processing on an input dataset (consisting of
63  * Y-matched tile containing the calibration bar) and constructs and outputs
64  * the calibration object. Refer to GoWebScanCal for a description of the system
65  * calibration outputs and usage.
66  *
67  * @public @memberof GoWebScanCalProcessor
68  * @param processor GoWebScanCalProcessor object.
69  * @param input Calibration input dataset.
70  * @param calibration Receives the constructed GoWebScanCal object.
71  * @return Operation status.
72  * @see GoWebScanCal, GoWebScanCalProcessorNode
73  */
75 
76 /**
77  * Gets a flag for whether the processing of profile data had any warnings. Warnings
78 * mean the calibration completed but may be suboptimal.
79  *
80  * @public @memberof GoWebScanCalProcessor
81  * @param processor GoWebScanCalProcessor object.
82  * @return Boolean for whether profile calibration processing had warnings.
83  */
85 
86 /**
87 * Gets a flag for whether the processing of vision data had any warnings. Warnings
88 * mean the calibration completed but may be suboptimal.
89 *
90 * @public @memberof GoWebScanCalProcessor
91 * @param processor GoWebScanCalProcessor object.
92 * @return Boolean for whether vision calibration processing had warnings.
93 */
95 
96 /**
97 * Gets a flag for whether the processing of profile data had any errors. Errors mean all
98 * or some aspects of the processing were not able to proceed and the generated
99 * calibration file may be incomplete.
100 *
101 * @public @memberof GoWebScanCalProcessor
102 * @param processor GoWebScanCalProcessor object.
103 * @return Boolean for whether profile calibration processing had errors.
104 */
106 
107 /**
108 * Gets a flag for whether the processing of vision data had any errors. Errors mean all
109 * or some aspects of the processing were not able to proceed and the generated
110 * calibration file may be incomplete.
111 *
112 * @public @memberof GoWebScanCalProcessor
113 * @param processor GoWebScanCalProcessor object.
114 * @return Boolean for whether vision calibration processing had errors.
115 */
117 
118 #include <GoWebScanSdk/GoWebScanCalProcessor.x.h>
119 
120 #endif
Represents an algorithm for processing system tiles containing a calibration bar and generating the c...
Declares a GoWebScanCalInput object.
kStatus GoWebScanCalProcessor_Construct(GoWebScanCalProcessor *processor, GoWebScanConfig config, kAlloc allocator)
Constructs a GoWebScanCalProcessor object.
Essential GoWebScan declarations.
kBool GoWebScanCalProcessor_VisionHasErrors(GoWebScanCalProcessor processor)
Gets a flag for whether the processing of vision data had any errors.
Represents Y-matched system data containing a calibration bar, used for calibration processing...
Declares a GoWebScanCalNode object.
Declares a GoWebScanCalInputNode object.
kStatus GoWebScanCalProcessor_Execute(GoWebScanCalProcessor processor, GoWebScanCalInput input, GoWebScanCal *calibration)
Executes the system calibration processing on an input dataset (consisting of Y-matched tile containi...
Declares a GoWebScanCal object.
kBool GoWebScanCalProcessor_ProfileHasErrors(GoWebScanCalProcessor processor)
Gets a flag for whether the processing of profile data had any errors.
Represents a container for the system calibration. The system calibration corrects for mounting diffe...
kBool GoWebScanCalProcessor_VisionHasWarnings(GoWebScanCalProcessor processor)
Gets a flag for whether the processing of vision data had any warnings.
Declares a GoWebScanConfigGroup object.
Represents a container for system-level parameters which are translated from user parameters set in G...
Declares a GoWebScanConfig object.
kBool GoWebScanCalProcessor_ProfileHasWarnings(GoWebScanCalProcessor processor)
Gets a flag for whether the processing of profile data had any warnings.