|
LPVAggregation | DataAggType [get, set] |
| The aggregation type of the data when SortBy is set to LPVDataBlobData. More...
|
|
LPVExcludeBoundaryMode | ExcludeBoundaryMode [get, set] |
| The mode how to handle data blobs at the start or end of the input data list, only LPVEBModeEntire and LPVEBModeNone is supported.
|
|
int | MaxCount [get, set] |
| The maximum of data blobs to find. If there are more than the setting counts of data blobs, sort the candidates then pick the tops. More...
|
|
LPVDataBlobFeatures | SortBy [get, set] |
| The method used to sort all data blob candidates, the top ones are reported as final results. More...
|
|
BOOL | SortByDescending [get, set] |
| Works together with SortBy. True to sort all data blob candidates descending(from large value to small), false for sorting in ascending order. More...
|
|
This interface provide functionalities of data blob analysis.
Data blob analysis extracts the ranges of interest out of the numeric data list. The data list may be the distances between the inspected contours and the expectations, then we use the data blobs to find out the defects. Or, it may be the collected execution results in frames, then the filtered out data blobs are the NG abnormals.
To use this interface, you should create a LBlobAnalysis object.
Example Code
C++
Code snippets: snippets/DataBlob.cpp
ILDataBlobAnalysisPtr dataBlobAna = LDataBlobAnalysis::Create();
dataBlobAna->SetRangeThresholdAdaptLocal(LPVPolarity::LPVWhiteOnBlack, 99, 20);
LPVErrorCode err = dataBlobAna->Build(dataList, &dataBlobResults);
if (err != LPVErrorCode::LPVNoError) return;
LPVErrorCode
This enumeration represents the type of a LPV function error.
Definition: LPVCore.idl:530
C#
Code snippets: snippets/DataBlob.cs
LDataBlobAnalysis dataBlobAna = new LDataBlobAnalysis();
dataBlobAna.SetRangeThresholdAdaptLocal(
LPVPolarity.LPVWhiteOnBlack, 99, 20);
LPVErrorCode err = dataBlobAna.Build(dataList, out dataBlobResults);
LPVPolarity
This enumeration represents the polarity of the edge or object to be located.
Definition: LPVCore.idl:1094
COM
ILDataBlobAnalysisPtr dataBlobAna = LDataBlobAnalysis::Create();
dataBlobAna->SetRangeThresholdAdaptLocal(LPVPolarity::LPVWhiteOnBlack, 99, 20);
LPVErrorCode err = dataBlobAna->Build(dataList, &dataBlobResults);
if (err != LPVErrorCode::LPVNoError) return;