This interface holds the configuration of an IntelliBlink task which involves multiple algorithm tools. More...
Public Member Functions | |
int | HandleEvent (LString algoName, LPVIBEventCode evtCode, ILIBData *data) |
ILIBAlgoConfig * | Item (int index) |
Public Member Functions inherited from ILObjects | |
int | Count () |
BOOL | Empty () |
ILObject * | ItemObject (int objIndex) |
Public Member Functions inherited from ILObject | |
ILObject * | Copy () |
LPVErrorCode | Load (LString filename) |
void | Reset () |
LPVErrorCode | Save (LString filename) |
BOOL | Valid () |
Properties | |
ILIBAlgoConfig | AlgoConfig (LString algoName) [get, set] |
The configuration of the algorithm tool, queried by its name. Return null if failed to find the algorithm with the specified name. More... | |
LString | Name [get] |
The name of the task. For a task loaded into via LPV IB service, the name is usually the same as the file name. | |
This interface holds the configuration of an IntelliBlink task which involves multiple algorithm tools.
Usually you get the LIBTaskConfig object from ILIBService::GetTaskConfig(). You can then use this interface to access individual algorithm configuration, and modify them.
Note: This interface is currently not available on Linux / MacOS platform.
int HandleEvent | ( | LString | algoName, |
LPVIBEventCode | evtCode, | ||
ILIBData * | data | ||
) |
Call the handle event of the algorithm tool. Check the following event table for the supported event.
[in] | algoName | The unique name of the algorithm tool. |
[in] | evtCode | The event code. |
[in] | data | The input event data. It varies for individual event type, see the following event table for details. |
errCode | Return the error code if anything is wrong, you may check the error code lookup table, return LPVNoError if succeed. |
Event | Event Code | Event Data | Supported IntelliBlink Tools |
---|---|---|---|
Reset | LPVIBEventReset | – | Event Wrapper, Statistics, NG / OK, Data Fitting, Collect Points, Foreground Detect, Multi-Frame Blending, HDR, Normal Reconstruct, Foreground Extract, Optical Flow, 4 Points Calibration, 9 Points Calibration, 1 Points Calibration In Multi-Frame, Grid Calibration, FFD Grid Calibration, Flat Field Calibration |
Import | LPVIBEventImport | File path(String) | Event Wrapper, Data Fitting, Import Calibration, Import Flat Field Calibration |
Export | LPVIBEventExport | File path(String) | Event Wrapper, Data Fitting, 4 Points Calibration, 9 Points Calibration, 1 Points Calibration In Multi-Frame, Grid Calibration, FFD Grid Calibration, Flat Field Calibration |
Re-Execute | LPVIBEventReExecute | Custom event name(String) | Event Wrapper |
Note: For Event Wrapper tool, you may trigger set the custom event name to the pass-in data name (LIBData::Name), to trigger the exact one event.
ILIBAlgoConfig* Item | ( | int | index | ) |
Fetch one algorithm tool's configuration object with the given index.
[in] | index | The input index, it should be a 0-based number smaller than total count. |
config | Return the algorithm configuration object. |
|
getset |
The configuration of the algorithm tool, queried by its name. Return null if failed to find the algorithm with the specified name.
[in] | algoName | The unique name of the algorithm tool. |