IMVBarcodeDecoderResults Interface
The IMVBarcodeDecoderResults interface contains methods to access the results of the MontiVision Barcode Decoder filter. The results for a decoding process are available after the filter fired the MV_ALGORITHM_END COM Event. Please refer to the MontiVision Development Kit documentation for details regarding the MontiVision DirectShow Filter COM Events.
Methods:
GetAxialNonuniformity
Get the axial nonuniformity.
GetCode
Get code characters.
GetCodeDimension
Get code dimension.
GetCodeRectangle
Get code rectangle.
GetCodeSubType
Get the subtype of the code.
GetCodeType
Get the type of the code.
GetDecodingTime
Get decoding time in ms.
GetNumOfCodes
Get the number of decoded codes.
GetNumOfReedSolomons
Get the number of Reed-Solomon errors.
GetPatternQuality
Get the percentage of wrong pixels.
GetPrintGrowth
Get the print growth for X and Y.
GetRejectionReason
Get rejection reason.
Header file: IMVBarcodeDecoder.h
Interface definition language file: IMVBarcodeDecoder.idl
Type Library: MVBarcodeDecoderStandard, MVBarcodeDecoderAdvanced
Interface ID: IID_IMVBarcodeDecoderResults
Methods:
Method IMVBarcodeDecoderResults::GetAxialNonuniformity
Declaration: Sub GetAxialNonuniformity(Index As Long, AxialNU As Double)
Get the axial nonuniformity.
Parameter:
Index
-
AxialNU
-
C Prototype:
HRESULT GetAxialNonuniformity(LONG Index, DOUBLE AxialNU);
Method IMVBarcodeDecoderResults::GetCode
Declaration: Sub GetCode(Index As Long, Code As String)
Get code characters.
Parameter:
| Index | - | |
| Code | - |
C Prototype:
HRESULT GetCode(LONG Index, STRING Code);
Method IMVBarcodeDecoderResults::GetCodeDimension
Declaration: Sub GetCodeDimension(Index As Long, X As Long, Y As Long)
Get code dimension.
Parameter:
| Index | - | |
| X | - | |
| Y | - |
C Prototype:
HRESULT GetCodeDimension(LONG Index, LONG X, LONG Y);
Method IMVBarcodeDecoderResults::GetCodeRectangle
Declaration: Sub GetCodeRectangle(Index As Long, X1 As Long, Y1 As Long, X2 As Long, Y2 As Long, X3 As Long, Y3 As Long, X4 As Long, Y4 As Long)
Get code rectangle.
Parameter:
| Index | - | |
| X1 | - | |
| Y1 | - | |
| X2 | - | |
| Y2 | - | |
| X3 | - | |
| Y3 | - | |
| X4 | - | |
| Y4 | - |
C Prototype:
HRESULT GetCodeRectangle(LONG Index, LONG X1, LONG Y1, LONG X2, LONG Y2, LONG X3, LONG Y3, LONG X4, LONG Y4);
Method IMVBarcodeDecoderResults::GetCodeSubType
Declaration: Sub GetCodeSubType(Index As Long, SubType As Long)
Get the subtype of the code.
Parameter:
| Index | - | |
| SubType | - |
C Prototype:
HRESULT GetCodeSubType(LONG Index, LONG SubType);
Method IMVBarcodeDecoderResults::GetCodeType
Declaration: Sub GetCodeType(Index As Long, Type As Long)
Get the type of the code.
Parameter:
| Index | - | |
| Type | - |
C Prototype:
HRESULT GetCodeType(LONG Index, LONG Type);
Method IMVBarcodeDecoderResults::GetDecodingTime
Declaration: Sub GetDecodingTime(Index As Long, Time As Long)
Get decoding time in ms.
Parameter:
| Index | - | |
| Time | - |
C Prototype:
HRESULT GetDecodingTime(LONG Index, LONG Time);
Method IMVBarcodeDecoderResults::GetNumOfCodes
Declaration: Sub GetNumOfCodes(NumOfCodes As Long)
Get the number of decoded codes.
Parameter:
| NumOfCodes | - |
C Prototype:
HRESULT GetNumOfCodes(LONG NumOfCodes);
Method IMVBarcodeDecoderResults::GetNumOfReedSolomons
Declaration: Sub GetNumOfReedSolomons(Index As Long, NumOfReedSolomons As Long)
Get the number of Reed-Solomon errors.
Parameter:
| Index | - | |
| NumOfReedSolomons | - |
C Prototype:
HRESULT GetNumOfReedSolomons(LONG Index, LONG NumOfReedSolomons);
Method IMVBarcodeDecoderResults::GetPatternQuality
Declaration: Sub GetPatternQuality(Index As Long, Quality As Long)
Get the percentage of wrong pixels.
Parameter:
| Index | - | |
| Quality | - |
C Prototype:
HRESULT GetPatternQuality(LONG Index, LONG Quality);
Method IMVBarcodeDecoderResults::GetPrintGrowth
Declaration: Sub GetPrintGrowth(Index As Long, XPrintGrowth As Double, YPrintGrowth As Double)
Get the print growth for X and Y.
Parameter:
| Index | - | |
| XPrintGrowth | - | |
| YPrintGrowth | - |
C Prototype:
HRESULT GetPrintGrowth(LONG Index, DOUBLE XPrintGrowth, DOUBLE YPrintGrowth);
Method IMVBarcodeDecoderResults::GetRejectionReason
Declaration: Sub GetRejectionReason(Index As Long, RejectionReason As Long)
Get rejection reason.
Parameter:
| Index | - | |
| RejectionReason | - |
C Prototype:
HRESULT GetRejectionReason(LONG Index, LONG RejectionReason);