1451 lines
112 KiB
C++
1451 lines
112 KiB
C++
// CodeGear C++Builder
|
|
// Copyright (c) 1995, 2025 by Embarcadero Technologies, Inc.
|
|
// All rights reserved
|
|
|
|
// (DO NOT EDIT: machine generated header) 'ievision.pas' rev: 37.00 (Windows)
|
|
|
|
#ifndef ievisionHPP
|
|
#define ievisionHPP
|
|
|
|
#pragma delphiheader begin
|
|
#pragma option push
|
|
#if defined(__BORLANDC__) && !defined(__clang__)
|
|
#pragma option -w- // All warnings off
|
|
#pragma option -Vx // Zero-length empty class member
|
|
#endif
|
|
#pragma pack(push,8)
|
|
#include <System.hpp>
|
|
#include <SysInit.hpp>
|
|
#include <System.Types.hpp>
|
|
#include <Winapi.Windows.hpp>
|
|
#include <System.SysUtils.hpp>
|
|
#include <System.Classes.hpp>
|
|
#include <System.Math.hpp>
|
|
#include <Winapi.ActiveX.hpp>
|
|
|
|
//-- user supplied -----------------------------------------------------------
|
|
|
|
namespace Ievision
|
|
{
|
|
//-- forward type declarations -----------------------------------------------
|
|
struct TIEVisionRect;
|
|
struct TIEVisionSize;
|
|
struct TIEVisionSize2f;
|
|
struct TIEVisionPoint;
|
|
struct TIEVisionPoint2f;
|
|
struct TIEVisionScalar;
|
|
struct TIEVisionScalarInt32;
|
|
struct TIEVisionFloatPair;
|
|
struct TIEVisionTermCriteria;
|
|
struct TIEVisionBox2D;
|
|
struct TIEVisionRotatedRect;
|
|
struct TIEVisionRGB8;
|
|
struct TIEVisionRGB16;
|
|
struct TIEVisionBGR8;
|
|
struct TIEVisionBGR16;
|
|
struct TIEVisionOCRBox;
|
|
__interface DELPHIINTERFACE TIEVisionBase;
|
|
typedef System::DelphiInterface<TIEVisionBase> _di_TIEVisionBase;
|
|
__interface DELPHIINTERFACE TIEVisionString;
|
|
typedef System::DelphiInterface<TIEVisionString> _di_TIEVisionString;
|
|
__interface DELPHIINTERFACE TIEVisionWString;
|
|
typedef System::DelphiInterface<TIEVisionWString> _di_TIEVisionWString;
|
|
__interface DELPHIINTERFACE TIEVisionBaseVector;
|
|
typedef System::DelphiInterface<TIEVisionBaseVector> _di_TIEVisionBaseVector;
|
|
__interface DELPHIINTERFACE TIEVisionVectorString;
|
|
typedef System::DelphiInterface<TIEVisionVectorString> _di_TIEVisionVectorString;
|
|
__interface DELPHIINTERFACE TIEVisionVectorInt32;
|
|
typedef System::DelphiInterface<TIEVisionVectorInt32> _di_TIEVisionVectorInt32;
|
|
__interface DELPHIINTERFACE TIEVisionVectorByte;
|
|
typedef System::DelphiInterface<TIEVisionVectorByte> _di_TIEVisionVectorByte;
|
|
__interface DELPHIINTERFACE TIEVisionVectorFloatPair;
|
|
typedef System::DelphiInterface<TIEVisionVectorFloatPair> _di_TIEVisionVectorFloatPair;
|
|
__interface DELPHIINTERFACE TIEVisionVectorScalarInt32;
|
|
typedef System::DelphiInterface<TIEVisionVectorScalarInt32> _di_TIEVisionVectorScalarInt32;
|
|
__interface DELPHIINTERFACE TIEVisionVectorPoint;
|
|
typedef System::DelphiInterface<TIEVisionVectorPoint> _di_TIEVisionVectorPoint;
|
|
__interface DELPHIINTERFACE TIEVisionVectorRect;
|
|
typedef System::DelphiInterface<TIEVisionVectorRect> _di_TIEVisionVectorRect;
|
|
__interface DELPHIINTERFACE TIEVisionVectorDouble;
|
|
typedef System::DelphiInterface<TIEVisionVectorDouble> _di_TIEVisionVectorDouble;
|
|
__interface DELPHIINTERFACE TIEVisionVectorOCRBox;
|
|
typedef System::DelphiInterface<TIEVisionVectorOCRBox> _di_TIEVisionVectorOCRBox;
|
|
__interface DELPHIINTERFACE TIEVisionOCRWordBox;
|
|
typedef System::DelphiInterface<TIEVisionOCRWordBox> _di_TIEVisionOCRWordBox;
|
|
__interface DELPHIINTERFACE TIEVisionVectorImageRef;
|
|
typedef System::DelphiInterface<TIEVisionVectorImageRef> _di_TIEVisionVectorImageRef;
|
|
__interface DELPHIINTERFACE TIEVisionVectorObjRef;
|
|
typedef System::DelphiInterface<TIEVisionVectorObjRef> _di_TIEVisionVectorObjRef;
|
|
__interface DELPHIINTERFACE TIEVisionStream;
|
|
typedef System::DelphiInterface<TIEVisionStream> _di_TIEVisionStream;
|
|
__interface DELPHIINTERFACE TIEVisionFileStream;
|
|
typedef System::DelphiInterface<TIEVisionFileStream> _di_TIEVisionFileStream;
|
|
__interface DELPHIINTERFACE TIEVisionTempFileStream;
|
|
typedef System::DelphiInterface<TIEVisionTempFileStream> _di_TIEVisionTempFileStream;
|
|
__interface DELPHIINTERFACE TIEVisionMemoryStream;
|
|
typedef System::DelphiInterface<TIEVisionMemoryStream> _di_TIEVisionMemoryStream;
|
|
__interface DELPHIINTERFACE TIEVisionExistingMemoryStream;
|
|
typedef System::DelphiInterface<TIEVisionExistingMemoryStream> _di_TIEVisionExistingMemoryStream;
|
|
__interface DELPHIINTERFACE TIEVisionTempFileName;
|
|
typedef System::DelphiInterface<TIEVisionTempFileName> _di_TIEVisionTempFileName;
|
|
__interface DELPHIINTERFACE TIEVisionTempDirName;
|
|
typedef System::DelphiInterface<TIEVisionTempDirName> _di_TIEVisionTempDirName;
|
|
__interface DELPHIINTERFACE TIEVisionPropertyTree;
|
|
typedef System::DelphiInterface<TIEVisionPropertyTree> _di_TIEVisionPropertyTree;
|
|
__interface DELPHIINTERFACE TIEVisionImage;
|
|
typedef System::DelphiInterface<TIEVisionImage> _di_TIEVisionImage;
|
|
__interface DELPHIINTERFACE TIEVisionHistogram;
|
|
typedef System::DelphiInterface<TIEVisionHistogram> _di_TIEVisionHistogram;
|
|
__interface DELPHIINTERFACE TIEVisionCascadeClassifier;
|
|
typedef System::DelphiInterface<TIEVisionCascadeClassifier> _di_TIEVisionCascadeClassifier;
|
|
__interface DELPHIINTERFACE TIEVisionImageList;
|
|
typedef System::DelphiInterface<TIEVisionImageList> _di_TIEVisionImageList;
|
|
__interface DELPHIINTERFACE TIEVisionMemoryImageList;
|
|
typedef System::DelphiInterface<TIEVisionMemoryImageList> _di_TIEVisionMemoryImageList;
|
|
__interface DELPHIINTERFACE TIEVisionMemorySharedImageList;
|
|
typedef System::DelphiInterface<TIEVisionMemorySharedImageList> _di_TIEVisionMemorySharedImageList;
|
|
__interface DELPHIINTERFACE TIEVisionTempFileImageList;
|
|
typedef System::DelphiInterface<TIEVisionTempFileImageList> _di_TIEVisionTempFileImageList;
|
|
__interface DELPHIINTERFACE TIEVisionHaarTraining;
|
|
typedef System::DelphiInterface<TIEVisionHaarTraining> _di_TIEVisionHaarTraining;
|
|
__interface DELPHIINTERFACE TIEVisionInputOutput;
|
|
typedef System::DelphiInterface<TIEVisionInputOutput> _di_TIEVisionInputOutput;
|
|
__interface DELPHIINTERFACE TIEVisionMath;
|
|
typedef System::DelphiInterface<TIEVisionMath> _di_TIEVisionMath;
|
|
__interface DELPHIINTERFACE TIEVisionDrawing;
|
|
typedef System::DelphiInterface<TIEVisionDrawing> _di_TIEVisionDrawing;
|
|
__interface DELPHIINTERFACE TIEVisionObjectTracker;
|
|
typedef System::DelphiInterface<TIEVisionObjectTracker> _di_TIEVisionObjectTracker;
|
|
__interface DELPHIINTERFACE TIEVisionObjectsFinder;
|
|
typedef System::DelphiInterface<TIEVisionObjectsFinder> _di_TIEVisionObjectsFinder;
|
|
__interface DELPHIINTERFACE TIEVisionOCR;
|
|
typedef System::DelphiInterface<TIEVisionOCR> _di_TIEVisionOCR;
|
|
__interface DELPHIINTERFACE TIEVisionPeopleDetector;
|
|
typedef System::DelphiInterface<TIEVisionPeopleDetector> _di_TIEVisionPeopleDetector;
|
|
__interface DELPHIINTERFACE TIEVisionBarCodeSymbol;
|
|
typedef System::DelphiInterface<TIEVisionBarCodeSymbol> _di_TIEVisionBarCodeSymbol;
|
|
__interface DELPHIINTERFACE TIEVisionBarCodeScanner;
|
|
typedef System::DelphiInterface<TIEVisionBarCodeScanner> _di_TIEVisionBarCodeScanner;
|
|
__interface DELPHIINTERFACE TIEVisionStitcher;
|
|
typedef System::DelphiInterface<TIEVisionStitcher> _di_TIEVisionStitcher;
|
|
__interface DELPHIINTERFACE TIEVisionBackgroundSubtractor;
|
|
typedef System::DelphiInterface<TIEVisionBackgroundSubtractor> _di_TIEVisionBackgroundSubtractor;
|
|
__interface DELPHIINTERFACE TIEVisionFaceRecognizer;
|
|
typedef System::DelphiInterface<TIEVisionFaceRecognizer> _di_TIEVisionFaceRecognizer;
|
|
__interface DELPHIINTERFACE TIEVisionLibrary;
|
|
typedef System::DelphiInterface<TIEVisionLibrary> _di_TIEVisionLibrary;
|
|
struct TIEVisionLanguages;
|
|
__interface DELPHIINTERFACE TIEVisionCustomStreamProvider;
|
|
typedef System::DelphiInterface<TIEVisionCustomStreamProvider> _di_TIEVisionCustomStreamProvider;
|
|
__interface DELPHIINTERFACE TIEVisionCustomStream;
|
|
typedef System::DelphiInterface<TIEVisionCustomStream> _di_TIEVisionCustomStream;
|
|
__interface DELPHIINTERFACE TIELibJPEGErrorManager;
|
|
typedef System::DelphiInterface<TIELibJPEGErrorManager> _di_TIELibJPEGErrorManager;
|
|
__interface DELPHIINTERFACE TIELibJPEGMarker;
|
|
typedef System::DelphiInterface<TIELibJPEGMarker> _di_TIELibJPEGMarker;
|
|
__interface DELPHIINTERFACE TIELibJPEGDecompressor;
|
|
typedef System::DelphiInterface<TIELibJPEGDecompressor> _di_TIELibJPEGDecompressor;
|
|
__interface DELPHIINTERFACE TIELibJPEGCompressor;
|
|
typedef System::DelphiInterface<TIELibJPEGCompressor> _di_TIELibJPEGCompressor;
|
|
__interface DELPHIINTERFACE TIELibJPEGTransform;
|
|
typedef System::DelphiInterface<TIELibJPEGTransform> _di_TIELibJPEGTransform;
|
|
__interface DELPHIINTERFACE TIELibJPEGCopy;
|
|
typedef System::DelphiInterface<TIELibJPEGCopy> _di_TIELibJPEGCopy;
|
|
__interface DELPHIINTERFACE TIELibPNGText;
|
|
typedef System::DelphiInterface<TIELibPNGText> _di_TIELibPNGText;
|
|
__interface DELPHIINTERFACE TIELibPNGDecompressor;
|
|
typedef System::DelphiInterface<TIELibPNGDecompressor> _di_TIELibPNGDecompressor;
|
|
__interface DELPHIINTERFACE TIELibPNGTextList;
|
|
typedef System::DelphiInterface<TIELibPNGTextList> _di_TIELibPNGTextList;
|
|
__interface DELPHIINTERFACE TIELibPNGCompressor;
|
|
typedef System::DelphiInterface<TIELibPNGCompressor> _di_TIELibPNGCompressor;
|
|
__interface DELPHIINTERFACE TIELibJP2KComponentParamsList;
|
|
typedef System::DelphiInterface<TIELibJP2KComponentParamsList> _di_TIELibJP2KComponentParamsList;
|
|
__interface DELPHIINTERFACE TIELibJP2KMatrix;
|
|
typedef System::DelphiInterface<TIELibJP2KMatrix> _di_TIELibJP2KMatrix;
|
|
__interface DELPHIINTERFACE TIELibJP2KImage;
|
|
typedef System::DelphiInterface<TIELibJP2KImage> _di_TIELibJP2KImage;
|
|
__interface DELPHIINTERFACE TIELibDCRAWDecoder;
|
|
typedef System::DelphiInterface<TIELibDCRAWDecoder> _di_TIELibDCRAWDecoder;
|
|
__interface DELPHIINTERFACE TIELib;
|
|
typedef System::DelphiInterface<TIELib> _di_TIELib;
|
|
//-- type declarations -------------------------------------------------------
|
|
typedef System::Byte uint8_t;
|
|
|
|
typedef System::Word uint16_t;
|
|
|
|
typedef System::LongWord uint32_t;
|
|
|
|
typedef System::Int8 int8_t;
|
|
|
|
typedef short int16_t;
|
|
|
|
typedef int int32_t;
|
|
|
|
typedef __int64 int64_t;
|
|
|
|
typedef System::LongBool bool32;
|
|
|
|
typedef System::Byte *uint8_p;
|
|
|
|
typedef System::Word *uint16_p;
|
|
|
|
typedef unsigned *uint32_p;
|
|
|
|
typedef System::Int8 *int8_p;
|
|
|
|
typedef short *int16_p;
|
|
|
|
typedef int *int32_p;
|
|
|
|
typedef __int64 *int64_p;
|
|
|
|
typedef System::LongBool *bool32_p;
|
|
|
|
typedef float *float_p;
|
|
|
|
typedef double *double_p;
|
|
|
|
enum DECLSPEC_DENUM TIEVisionLibraryInfo : unsigned int { ievLIBNAME, ievLIBVERSION, ievLIBPLATFORM, ievLIBFILENAME, ievISTRIAL };
|
|
|
|
enum DECLSPEC_DENUM TIEVisionChannelFormat: int { ievUINT8, ievSINT8, ievUINT16, ievSINT16, ievSINT32, ievFLOAT32, ievFLOAT64, ievUINT1 = -1610612735 };
|
|
|
|
enum DECLSPEC_DENUM TIEVisionCvtColorCode : unsigned int { ievBGR2BGRA, ievRGB2RGBA = 0, ievBGRA2BGR, ievRGBA2RGB = 1, ievBGR2RGBA, ievRGB2BGRA = 2, ievRGBA2BGR, ievBGRA2RGB = 3, ievBGR2RGB, ievRGB2BGR = 4, ievBGRA2RGBA, ievRGBA2BGRA = 5, ievBGR2GRAY, ievRGB2GRAY, ievGRAY2BGR, ievGRAY2RGB = 8, ievGRAY2BGRA, ievGRAY2RGBA = 9, ievBGRA2GRAY, ievRGBA2GRAY, ievBGR2BGR565, ievRGB2BGR565, ievBGR5652BGR, ievBGR5652RGB, ievBGRA2BGR565, ievRGBA2BGR565, ievBGR5652BGRA, ievBGR5652RGBA, ievGRAY2BGR565, ievBGR5652GRAY, ievBGR2BGR555, ievRGB2BGR555, ievBGR5552BGR, ievBGR5552RGB, ievBGRA2BGR555, ievRGBA2BGR555, ievBGR5552BGRA, ievBGR5552RGBA, ievGRAY2BGR555, ievBGR5552GRAY, ievBGR2XYZ, ievRGB2XYZ, ievXYZ2BGR, ievXYZ2RGB, ievBGR2YCrCb, ievRGB2YCrCb, ievYCrCb2BGR,
|
|
ievYCrCb2RGB, ievBGR2HSV, ievRGB2HSV, ievRGB2Lab = 45, ievBGR2Lab = 44, ievBayerBG2BGR = 46, ievBayerGB2BGR, ievBayerRG2BGR, ievBayerGR2BGR, ievBayerBG2RGB = 48, ievBayerGB2RGB, ievBayerRG2RGB = 46, ievBayerGR2RGB, ievBGR2Luv = 50, ievRGB2Luv, ievBGR2HLS, ievRGB2HLS, ievHSV2BGR, ievHSV2RGB, ievLab2BGR, ievLab2RGB, ievLuv2BGR, ievLuv2RGB, ievHLS2BGR, ievHLS2RGB };
|
|
|
|
enum DECLSPEC_DENUM TIEVisionInterpolation : unsigned int { ievNEAREST, ievLINEAR, ievCUBIC, ievAREA, ievLANCZOS4 };
|
|
|
|
enum DECLSPEC_DENUM TIEVisionFlipMode: int { ievX_AXIS, ievY_AXIS, ievXY_AXISES = -1 };
|
|
|
|
enum DECLSPEC_DENUM TIEVisionFileStreamMode : unsigned int { ievREAD, ievCREATE, ievREADWRITE };
|
|
|
|
enum DECLSPEC_DENUM TIEVisionSeekOffset : unsigned int { ievSET, ievCUR, ievEND };
|
|
|
|
enum DECLSPEC_DENUM TIEVisionFileFormat : unsigned int { ievTIFF = 1, ievJPEG = 3, ievBMP = 5, ievPNG = 8, ievPXM = 12, ievJ2K = 14, ievRAS = 30, ievHEX = 100 };
|
|
|
|
enum DECLSPEC_DENUM TIEVisionHaarInvert : unsigned int { ievNOINVERT, ievINVERT, ievRANDOM_INVERT = 2147483647 };
|
|
|
|
enum DECLSPEC_DENUM TIEVisionHaarMode : unsigned int { ievBASIC, ievCORE, ievALL };
|
|
|
|
enum DECLSPEC_DENUM TIEVisionHaarBoostType : unsigned int { ievDISCRETE_ADABOOST, ievREAL_ADABOOST, ievLOGITBOOST, ievGENTLE_ADABOOST };
|
|
|
|
enum DECLSPEC_DENUM TIEVisionHaarStumpError : unsigned int { ievMISCLASSIFICATION_ERROR, ievGINI_ERROR, ievENTROPY_ERROR };
|
|
|
|
enum DECLSPEC_DENUM TIEVisionPropertyTreeFormat : unsigned int { ievXML, ievINFO, ievINI, ievJSON };
|
|
|
|
enum DECLSPEC_DENUM TIEVisionBorderType : unsigned int { ievBORDER_CONSTANT, ievBORDER_REPLICATE, ievBORDER_REFLECT, ievBORDER_WRAP, ievBORDER_REFLECT_101, ievBORDER_TRANSPARENT, ievBORDER_ISOLATED = 16 };
|
|
|
|
enum DECLSPEC_DENUM TIEVisionSmoothType : unsigned int { ievBLUR_NO_SCALE, ievBLUR, ievGAUSSIAN, ievMEDIAN, ievBILATERAL };
|
|
|
|
enum DECLSPEC_DENUM TIEVisionHistogramType : unsigned int { ievARRAY, ievSPARSE };
|
|
|
|
enum DECLSPEC_DENUM TIEVisionSortOrder : unsigned int { ievASCENDING, ievDESCENDING };
|
|
|
|
enum DECLSPEC_DENUM TIEVisionCovarFlags : unsigned int { ievSCRAMBLED, ievNORMAL, ievUSE_AVG, ievSCALE = 0x4, ievROWS = 0x8, ievCOLS = 0x10 };
|
|
|
|
enum DECLSPEC_DENUM TIEVisionCmpOp : unsigned int { ievEQUAL, ievGREATER, ievGREATER_EQUAL, ievLESS, ievLESS_EQUAL, ievNOT_EQUAL };
|
|
|
|
enum DECLSPEC_DENUM TIEVisionDCTFlags : unsigned int { ievDCT_FORWARD, ievDCT_INVERSE, ievDCT_ROWS = 0x4 };
|
|
|
|
enum DECLSPEC_DENUM TIEVisionDFTFlags : unsigned int { ievDFT_FORWARD, ievDFT_INVERSE, ievDFT_SCALE, ievDFT_INVERSE_SCALE, ievDFT_ROWS };
|
|
|
|
enum DECLSPEC_DENUM TIEVisionGEMMFlags : unsigned int { ievGEMM_NONE, ievGEMM_A_T, ievGEMM_B_T, ievGEMM_C_T = 0x4 };
|
|
|
|
enum DECLSPEC_DENUM TIEVisionInvertMethod : unsigned int { ievLU, ievSVD, ievSVD_SYM };
|
|
|
|
enum DECLSPEC_DENUM TIEVisionReduceOp : unsigned int { ievREDUCE_SUM, ievREDUCE_AVG, ievREDUCE_MAX, ievREDUCE_MIN };
|
|
|
|
enum DECLSPEC_DENUM TIEVisionSolveMethod : unsigned int { ievSOLVE_LU, ievSOLVE_SVD, ievSOLVE_SVD_SYM };
|
|
|
|
enum DECLSPEC_DENUM TIEVisionSVBFlags : unsigned int { ievSVB_NONE, ievSVB_MODIFY_A, ievSVB_U_T, ievSVB_V_T = 0x4 };
|
|
|
|
enum DECLSPEC_DENUM TIEVisionSVDFlags : unsigned int { ievSVD_NONE, ievSVD_MODIFY_A, ievSVD_U_T, ievSVD_V_T = 0x4 };
|
|
|
|
enum DECLSPEC_DENUM TIEVisionContourRetrMode : unsigned int { ievEXTERNAL, ievLIST, ievCCOMP, ievTREE };
|
|
|
|
enum DECLSPEC_DENUM TIEVisionContourApproxMethod : unsigned int { ievCHAIN_CODE, ievCHAIN_APPROX_NONE, ievCHAIN_APPROX_SIMPLE, ievCHAIN_APPROX_TC89_L1, ievCHAIN_APPROX_TC89_KCOS, ievLINK_RUNS };
|
|
|
|
enum DECLSPEC_DENUM TIEVisionInpaintMethod : unsigned int { ievINPAINT_NS, ievINPAINT_TELEA };
|
|
|
|
enum DECLSPEC_DENUM TIEVisionOCRPageSegmentationMode : unsigned int { ievOCROSD_ONLY, ievOCRAUTO_OSD, ievOCRAUTO_ONLY, ievOCRAUTO, ievOCRSINGLE_COLUMN, ievOCRSINGLE_BLOCK_VERT_TEXT, ievOCRSINGLE_BLOCK, ievOCRSINGLE_LINE, ievOCRSINGLE_WORD, ievOCRCIRCLE_WORD, ievOCRSINGLE_CHAR };
|
|
|
|
enum DECLSPEC_DENUM TIEVisionOCRScriptDirection : unsigned int { ievOCRDIR_NEUTRAL, ievOCRDIR_LEFT_TO_RIGHT, ievOCRDIR_RIGHT_TO_LEFT, ievOCRDIR_MIX };
|
|
|
|
enum DECLSPEC_DENUM TIEVisionOCROrientation : unsigned int { ievOCROrientPAGE_UP, ievOCROrientPAGE_RIGHT, ievOCROrientPAGE_DOWN, ievOCROrientPAGE_LEFT };
|
|
|
|
enum DECLSPEC_DENUM TIEVisionOCRWritingDirection : unsigned int { ievOCRWritDirLEFT_TO_RIGHT, ievOCRWritDirRIGHT_TO_LEFT, ievOCRWritDirTOP_TO_BOTTOM };
|
|
|
|
enum DECLSPEC_DENUM TIEVisionOCRTextlineOrder : unsigned int { ievOCRTxtlineOrderLEFT_TO_RIGHT, ievOCRTxtlineOrderRIGHT_TO_LEFT, ievOCRTxtlineOrderTOP_TO_BOTTOM };
|
|
|
|
enum DECLSPEC_DENUM TIEVisionOCREngine : unsigned int { ievOCRFAST, ievOCRCUBE, ievOCRACCURATE };
|
|
|
|
typedef int32_t TIEVisionTermCriteriaType;
|
|
|
|
typedef int32_t TIEVisionMulSpectrumsFlags;
|
|
|
|
typedef int32_t TIEVisionHaarDetectObjectsFlags;
|
|
|
|
enum DECLSPEC_DENUM TIEVisionStitchingStatus : unsigned int { ievSSOK, ievSSERR_NEED_MORE_IMGS, ievSSERR_HOMOGRAPHY_EST_FAIL, ievSSERR_CAMERA_PARAMS_ADJUST_FAIL };
|
|
|
|
typedef int32_t TIEVisionThresholdType;
|
|
|
|
enum DECLSPEC_DENUM TIEVisionAdaptiveMethod : unsigned int { ievADAPTIVE_THRESH_MEAN_C, ievADAPTIVE_THRESH_GAUSSIAN_C };
|
|
|
|
enum DECLSPEC_DENUM TIEVisionStructuringElementShape : unsigned int { ievMORPH_RECT, ievMORPH_CROSS, ievMORPH_ELLIPSE };
|
|
|
|
#pragma pack(push,1)
|
|
struct DECLSPEC_DRECORD TIEVisionRect
|
|
{
|
|
public:
|
|
int32_t x;
|
|
int32_t y;
|
|
int32_t width;
|
|
int32_t height;
|
|
};
|
|
#pragma pack(pop)
|
|
|
|
|
|
typedef TIEVisionRect *PIEVisionRect;
|
|
|
|
#pragma pack(push,1)
|
|
struct DECLSPEC_DRECORD TIEVisionSize
|
|
{
|
|
public:
|
|
int32_t width;
|
|
int32_t height;
|
|
};
|
|
#pragma pack(pop)
|
|
|
|
|
|
#pragma pack(push,1)
|
|
struct DECLSPEC_DRECORD TIEVisionSize2f
|
|
{
|
|
public:
|
|
float width;
|
|
float height;
|
|
};
|
|
#pragma pack(pop)
|
|
|
|
|
|
#pragma pack(push,1)
|
|
struct DECLSPEC_DRECORD TIEVisionPoint
|
|
{
|
|
public:
|
|
int32_t x;
|
|
int32_t y;
|
|
};
|
|
#pragma pack(pop)
|
|
|
|
|
|
#pragma pack(push,1)
|
|
struct DECLSPEC_DRECORD TIEVisionPoint2f
|
|
{
|
|
public:
|
|
float x;
|
|
float y;
|
|
};
|
|
#pragma pack(pop)
|
|
|
|
|
|
#pragma pack(push,1)
|
|
struct DECLSPEC_DRECORD TIEVisionScalar
|
|
{
|
|
public:
|
|
System::StaticArray<double, 4> val;
|
|
};
|
|
#pragma pack(pop)
|
|
|
|
|
|
#pragma pack(push,1)
|
|
struct DECLSPEC_DRECORD TIEVisionScalarInt32
|
|
{
|
|
public:
|
|
System::StaticArray<int, 4> val;
|
|
};
|
|
#pragma pack(pop)
|
|
|
|
|
|
#pragma pack(push,1)
|
|
struct DECLSPEC_DRECORD TIEVisionFloatPair
|
|
{
|
|
public:
|
|
float first;
|
|
float second;
|
|
};
|
|
#pragma pack(pop)
|
|
|
|
|
|
#pragma pack(push,1)
|
|
struct DECLSPEC_DRECORD TIEVisionTermCriteria
|
|
{
|
|
public:
|
|
TIEVisionTermCriteriaType ctype;
|
|
int32_t maxIter;
|
|
double epsilon;
|
|
};
|
|
#pragma pack(pop)
|
|
|
|
|
|
#pragma pack(push,1)
|
|
struct DECLSPEC_DRECORD TIEVisionBox2D
|
|
{
|
|
public:
|
|
float centerX;
|
|
float centerY;
|
|
float width;
|
|
float height;
|
|
float angle;
|
|
};
|
|
#pragma pack(pop)
|
|
|
|
|
|
#pragma pack(push,1)
|
|
struct DECLSPEC_DRECORD TIEVisionRotatedRect
|
|
{
|
|
public:
|
|
TIEVisionPoint2f center;
|
|
TIEVisionSize2f size;
|
|
float angle;
|
|
};
|
|
#pragma pack(pop)
|
|
|
|
|
|
#pragma pack(push,1)
|
|
struct DECLSPEC_DRECORD TIEVisionRGB8
|
|
{
|
|
public:
|
|
uint8_t r;
|
|
uint8_t g;
|
|
uint8_t b;
|
|
};
|
|
#pragma pack(pop)
|
|
|
|
|
|
typedef TIEVisionRGB8 *PIEVisionRGB8;
|
|
|
|
#pragma pack(push,1)
|
|
struct DECLSPEC_DRECORD TIEVisionRGB16
|
|
{
|
|
public:
|
|
uint16_t r;
|
|
uint16_t g;
|
|
uint16_t b;
|
|
};
|
|
#pragma pack(pop)
|
|
|
|
|
|
typedef TIEVisionRGB16 *PIEVisionRGB16;
|
|
|
|
#pragma pack(push,1)
|
|
struct DECLSPEC_DRECORD TIEVisionBGR8
|
|
{
|
|
public:
|
|
uint8_t b;
|
|
uint8_t g;
|
|
uint8_t r;
|
|
};
|
|
#pragma pack(pop)
|
|
|
|
|
|
typedef TIEVisionBGR8 *PIEVisionBGR8;
|
|
|
|
#pragma pack(push,1)
|
|
struct DECLSPEC_DRECORD TIEVisionBGR16
|
|
{
|
|
public:
|
|
uint16_t b;
|
|
uint16_t g;
|
|
uint16_t r;
|
|
};
|
|
#pragma pack(pop)
|
|
|
|
|
|
typedef TIEVisionBGR16 *PIEVisionBGR16;
|
|
|
|
#pragma pack(push,1)
|
|
struct DECLSPEC_DRECORD TIEVisionOCRBox
|
|
{
|
|
public:
|
|
uint32_t text;
|
|
float cost;
|
|
TIEVisionRect rect;
|
|
};
|
|
#pragma pack(pop)
|
|
|
|
|
|
typedef TIEVisionOCRBox *PIEVisionOCRBox;
|
|
|
|
__interface INTERFACE_UUID("{1DECDC99-E370-4E33-B5E5-EB7F84AAFAE2}") TIEVisionBase : public System::IInterface
|
|
{
|
|
virtual void __stdcall dispose() = 0 ;
|
|
virtual int32_t __stdcall getRefCount() = 0 ;
|
|
virtual void __cdecl internal_destructor() = 0 ;
|
|
};
|
|
|
|
__interface TIEVisionString : public TIEVisionBase
|
|
{
|
|
virtual HRESULT __safecall length(bool32 wantExceptions, int32_t &__length_result) = 0 ;
|
|
virtual HRESULT __safecall operatorASSIGN(_di_TIEVisionString src, bool32 wantExceptions = false) = 0 ;
|
|
virtual HRESULT __safecall operatorEQUAL(_di_TIEVisionString src, bool32 wantExceptions, bool32 &__operatorEQUAL_result) = 0 ;
|
|
virtual HRESULT __safecall at(int32_t pos, bool32 wantExceptions, char &__at_result) = 0 ;
|
|
virtual HRESULT __safecall append(_di_TIEVisionString src, bool32 wantExceptions = false) = 0 /* overload */;
|
|
virtual HRESULT __safecall append(char * src, bool32 wantExceptions = false) = 0 /* overload */;
|
|
virtual HRESULT __safecall c_str(bool32 wantExceptions, char * &__c_str_result) = 0 ;
|
|
virtual HRESULT __safecall saveToFile(char * filename, bool32 wantExceptions = false) = 0 ;
|
|
};
|
|
|
|
__interface TIEVisionWString : public TIEVisionBase
|
|
{
|
|
virtual HRESULT __safecall length(bool32 wantExceptions, int32_t &__length_result) = 0 ;
|
|
virtual HRESULT __safecall operatorASSIGN(_di_TIEVisionWString src, bool32 wantExceptions = false) = 0 ;
|
|
virtual HRESULT __safecall operatorEQUAL(_di_TIEVisionWString src, bool32 wantExceptions, bool32 &__operatorEQUAL_result) = 0 ;
|
|
virtual HRESULT __safecall at(int32_t pos, bool32 wantExceptions, System::WideChar &__at_result) = 0 ;
|
|
virtual HRESULT __safecall append(_di_TIEVisionWString src, bool32 wantExceptions = false) = 0 /* overload */;
|
|
virtual HRESULT __safecall append(System::WideChar * src, bool32 wantExceptions = false) = 0 /* overload */;
|
|
virtual HRESULT __safecall c_str(bool32 wantExceptions, System::WideChar * &__c_str_result) = 0 ;
|
|
virtual HRESULT __safecall saveToFile(char * filename, bool32 wantExceptions = false) = 0 ;
|
|
virtual HRESULT __safecall convertFromUTF8(char * src, bool32 wantExceptions = false) = 0 ;
|
|
};
|
|
|
|
__interface TIEVisionBaseVector : public TIEVisionBase
|
|
{
|
|
virtual HRESULT __safecall size(bool32 wantExceptions, int32_t &__size_result) = 0 ;
|
|
virtual HRESULT __safecall operatorASSIGN(_di_TIEVisionBaseVector src, bool32 wantExceptions = false) = 0 ;
|
|
virtual HRESULT __safecall max_size(bool32 wantExceptions, uint32_t &__max_size_result) = 0 ;
|
|
virtual HRESULT __safecall resize(uint32_t sz, bool32 wantExceptions = false) = 0 ;
|
|
virtual HRESULT __safecall capacity(bool32 wantExceptions, uint32_t &__capacity_result) = 0 ;
|
|
virtual HRESULT __safecall empty(bool32 wantExceptions, bool32 &__empty_result) = 0 ;
|
|
virtual HRESULT __safecall reserve(uint32_t n, bool32 wantExceptions = false) = 0 ;
|
|
virtual HRESULT __safecall pop_back(bool32 wantExceptions = false) = 0 ;
|
|
virtual HRESULT __safecall erase(uint32_t position, bool32 wantExceptions, uint32_t &__erase_result) = 0 /* overload */;
|
|
virtual HRESULT __safecall erase(uint32_t first, uint32_t last, bool32 wantExceptions, uint32_t &__erase_result) = 0 /* overload */;
|
|
virtual HRESULT __safecall swap(_di_TIEVisionBaseVector vec, bool32 wantExceptions = false) = 0 ;
|
|
virtual HRESULT __safecall clear(bool32 wantExceptions = false) = 0 ;
|
|
virtual HRESULT __safecall sort(TIEVisionSortOrder order = (TIEVisionSortOrder)(0x0), bool32 wantExceptions = false) = 0 ;
|
|
virtual HRESULT __safecall data(bool32 wantExceptions, void * &__data_result) = 0 ;
|
|
};
|
|
|
|
__interface TIEVisionVectorString : public TIEVisionBaseVector
|
|
{
|
|
virtual HRESULT __safecall getString(int32_t pos, bool32 wantExceptions, _di_TIEVisionString &__getString_result) = 0 ;
|
|
virtual HRESULT __safecall getCString(int32_t pos, bool32 wantExceptions, char * &__getCString_result) = 0 ;
|
|
virtual HRESULT __safecall push_back(_di_TIEVisionString str, bool32 wantExceptions = false) = 0 /* overload */;
|
|
virtual HRESULT __safecall push_back(char * str, bool32 wantExceptions = false) = 0 /* overload */;
|
|
virtual HRESULT __safecall setString(int32_t pos, _di_TIEVisionString value, bool32 wantExceptions = false) = 0 /* overload */;
|
|
virtual HRESULT __safecall setString(int32_t pos, char * value, bool32 wantExceptions = false) = 0 /* overload */;
|
|
};
|
|
|
|
__interface TIEVisionVectorInt32 : public TIEVisionBaseVector
|
|
{
|
|
virtual HRESULT __safecall getInt32(int32_t pos, bool32 wantExceptions, int32_t &__getInt32_result) = 0 ;
|
|
virtual HRESULT __safecall push_back(int32_t value, bool32 wantExceptions = false) = 0 ;
|
|
virtual HRESULT __safecall setInt32(int32_t pos, int32_t value, bool32 wantExceptions = false) = 0 ;
|
|
};
|
|
|
|
__interface TIEVisionVectorByte : public TIEVisionBaseVector
|
|
{
|
|
virtual HRESULT __safecall getUInt8(int32_t pos, bool32 wantExceptions, uint8_t &__getUInt8_result) = 0 ;
|
|
virtual HRESULT __safecall push_back(uint8_t value, bool32 wantExceptions = false) = 0 ;
|
|
virtual HRESULT __safecall setUInt8(int32_t pos, uint8_t value, bool32 wantExceptions = false) = 0 ;
|
|
};
|
|
|
|
__interface TIEVisionVectorFloatPair : public TIEVisionBaseVector
|
|
{
|
|
virtual HRESULT __safecall getFloatPair(int32_t pos, bool32 wantExceptions, TIEVisionFloatPair &__getFloatPair_result) = 0 ;
|
|
virtual HRESULT __safecall push_back(TIEVisionFloatPair value, bool32 wantExceptions = false) = 0 ;
|
|
virtual HRESULT __safecall setFloatPair(int32_t pos, TIEVisionFloatPair value, bool32 wantExceptions = false) = 0 ;
|
|
};
|
|
|
|
__interface TIEVisionVectorScalarInt32 : public TIEVisionBaseVector
|
|
{
|
|
virtual HRESULT __safecall getScalarInt32(int32_t pos, bool32 wantExceptions, TIEVisionScalarInt32 &__getScalarInt32_result) = 0 ;
|
|
virtual HRESULT __safecall push_back(const TIEVisionScalarInt32 &value, bool32 wantExceptions = false) = 0 ;
|
|
virtual HRESULT __safecall setScalarInt32(int32_t pos, const TIEVisionScalarInt32 &value, bool32 wantExceptions = false) = 0 ;
|
|
};
|
|
|
|
__interface TIEVisionVectorPoint : public TIEVisionBaseVector
|
|
{
|
|
virtual HRESULT __safecall getPoint(int32_t pos, bool32 wantExceptions, TIEVisionPoint &__getPoint_result) = 0 ;
|
|
virtual HRESULT __safecall push_back(TIEVisionPoint value, bool32 wantExceptions = false) = 0 ;
|
|
virtual HRESULT __safecall setPoint(int32_t pos, TIEVisionPoint value, bool32 wantExceptions = false) = 0 ;
|
|
};
|
|
|
|
__interface TIEVisionVectorRect : public TIEVisionBaseVector
|
|
{
|
|
virtual HRESULT __safecall getRect(int32_t pos, bool32 wantExceptions, TIEVisionRect &__getRect_result) = 0 ;
|
|
virtual HRESULT __safecall push_back(const TIEVisionRect &value, bool32 wantExceptions = false) = 0 ;
|
|
virtual HRESULT __safecall setRect(int32_t pos, const TIEVisionRect &value, bool32 wantExceptions = false) = 0 ;
|
|
};
|
|
|
|
__interface TIEVisionVectorDouble : public TIEVisionBaseVector
|
|
{
|
|
virtual HRESULT __safecall getDouble(int32_t pos, bool32 wantExceptions, double &__getDouble_result) = 0 ;
|
|
virtual HRESULT __safecall push_back(double value, bool32 wantExceptions = false) = 0 ;
|
|
virtual HRESULT __safecall setDouble(int32_t pos, double value, bool32 wantExceptions = false) = 0 ;
|
|
};
|
|
|
|
__interface TIEVisionVectorOCRBox : public TIEVisionBaseVector
|
|
{
|
|
virtual HRESULT __safecall getOCRBox(int32_t pos, bool32 wantExceptions, TIEVisionOCRBox &__getOCRBox_result) = 0 ;
|
|
virtual HRESULT __safecall push_back(const TIEVisionOCRBox &value, bool32 wantExceptions = false) = 0 ;
|
|
virtual HRESULT __safecall setOCRBox(int32_t pos, const TIEVisionOCRBox &value, bool32 wantExceptions = false) = 0 ;
|
|
};
|
|
|
|
__interface TIEVisionOCRWordBox : public TIEVisionBase
|
|
{
|
|
virtual HRESULT __safecall getText(bool32 wantExceptions, _di_TIEVisionWString &__getText_result) = 0 ;
|
|
virtual HRESULT __safecall getBox(bool32 wantExceptions, TIEVisionRect &__getBox_result) = 0 ;
|
|
virtual HRESULT __safecall getConfidence(bool32 wantExceptions, float &__getConfidence_result) = 0 ;
|
|
virtual HRESULT __safecall isBold(bool32 wantExceptions, bool32 &__isBold_result) = 0 ;
|
|
virtual HRESULT __safecall isItalic(bool32 wantExceptions, bool32 &__isItalic_result) = 0 ;
|
|
virtual HRESULT __safecall isUnderlined(bool32 wantExceptions, bool32 &__isUnderlined_result) = 0 ;
|
|
virtual HRESULT __safecall isMonospace(bool32 wantExceptions, bool32 &__isMonospace_result) = 0 ;
|
|
virtual HRESULT __safecall isSerif(bool32 wantExceptions, bool32 &__isSerif_result) = 0 ;
|
|
virtual HRESULT __safecall isSmallCaps(bool32 wantExceptions, bool32 &__isSmallCaps_result) = 0 ;
|
|
virtual HRESULT __safecall getPointSize(bool32 wantExceptions, int32_t &__getPointSize_result) = 0 ;
|
|
virtual HRESULT __safecall getLanguage(bool32 wantExceptions, _di_TIEVisionString &__getLanguage_result) = 0 ;
|
|
virtual HRESULT __safecall getScriptDirection(bool32 wantExceptions, TIEVisionOCRScriptDirection &__getScriptDirection_result) = 0 ;
|
|
};
|
|
|
|
__interface TIEVisionVectorImageRef : public TIEVisionBaseVector
|
|
{
|
|
virtual HRESULT __safecall getImage(int32_t pos, bool32 wantExceptions, _di_TIEVisionImage &__getImage_result) = 0 ;
|
|
virtual HRESULT __safecall push_back(_di_TIEVisionImage value, bool32 wantExceptions = false) = 0 ;
|
|
virtual HRESULT __safecall setImage(int32_t pos, _di_TIEVisionImage value, bool32 wantExceptions = false) = 0 ;
|
|
};
|
|
|
|
__interface TIEVisionVectorObjRef : public TIEVisionBaseVector
|
|
{
|
|
virtual HRESULT __safecall getObj(int32_t pos, bool32 wantExceptions, _di_TIEVisionBase &__getObj_result) = 0 ;
|
|
virtual HRESULT __safecall push_back(_di_TIEVisionBase value, bool32 wantExceptions = false) = 0 ;
|
|
virtual HRESULT __safecall setObj(int32_t pos, _di_TIEVisionBase value, bool32 wantExceptions = false) = 0 ;
|
|
};
|
|
|
|
__interface TIEVisionStream : public TIEVisionBase
|
|
{
|
|
virtual HRESULT __safecall seek(__int64 offset, TIEVisionSeekOffset whence, bool32 wantExceptions = false) = 0 ;
|
|
virtual HRESULT __safecall tell(bool32 wantExceptions, __int64 &__tell_result) = 0 ;
|
|
virtual HRESULT __safecall silent_read(void * ptr, __int64 size, bool32 wantExceptions, __int64 &__silent_read_result) = 0 ;
|
|
virtual HRESULT __safecall silent_write(void * ptr, __int64 size, bool32 wantExceptions, __int64 &__silent_write_result) = 0 ;
|
|
virtual HRESULT __safecall silent_getc(bool32 wantExceptions, int32_t &__silent_getc_result) = 0 ;
|
|
virtual HRESULT __safecall eof(bool32 wantExceptions, bool32 &__eof_result) = 0 ;
|
|
virtual HRESULT __safecall saveToFile(char * filename, bool32 wantExceptions = false) = 0 /* overload */;
|
|
virtual HRESULT __safecall saveToFile(System::WideChar * filename, bool32 wantExceptions = false) = 0 /* overload */;
|
|
virtual HRESULT __safecall loadFromFile(char * filename, bool32 wantExceptions = false) = 0 /* overload */;
|
|
virtual HRESULT __safecall loadFromFile(System::WideChar * filename, bool32 wantExceptions = false) = 0 /* overload */;
|
|
virtual HRESULT __safecall read(void * ptr, __int64 size, bool32 wantExceptions = false) = 0 ;
|
|
virtual HRESULT __safecall write(void * ptr, __int64 size, bool32 wantExceptions = false) = 0 ;
|
|
virtual void __cdecl iostream() = 0 ;
|
|
virtual HRESULT __safecall size(bool32 wantExceptions, __int64 &__size_result) = 0 ;
|
|
virtual HRESULT __safecall convertToCPlusPlus(_di_TIEVisionStream outputStream, char * className, bool32 compressed, bool32 wantExceptions = false) = 0 ;
|
|
};
|
|
|
|
__interface TIEVisionFileStream : public TIEVisionStream
|
|
{
|
|
virtual HRESULT __safecall close(bool32 wantExceptions = false) = 0 ;
|
|
virtual HRESULT __safecall open(char * filename, TIEVisionFileStreamMode mode, bool32 wantExceptions = false) = 0 /* overload */;
|
|
virtual HRESULT __safecall open(System::WideChar * filename, TIEVisionFileStreamMode mode, bool32 wantExceptions = false) = 0 /* overload */;
|
|
};
|
|
|
|
__interface TIEVisionTempFileStream : public TIEVisionFileStream
|
|
{
|
|
virtual HRESULT __safecall getFilename(bool32 wantExceptions, char * &__getFilename_result) = 0 ;
|
|
};
|
|
|
|
__interface TIEVisionMemoryStream : public TIEVisionStream
|
|
{
|
|
virtual HRESULT __safecall clear(bool32 wantExceptions = false) = 0 ;
|
|
virtual HRESULT __safecall reserve(int32_t count, bool32 wantExceptions = false) = 0 ;
|
|
};
|
|
|
|
__interface TIEVisionExistingMemoryStream : public TIEVisionStream
|
|
{
|
|
virtual HRESULT __safecall reset(void * existingBuffer, int32_t existingBufferSize, bool32 wantExceptions = false) = 0 ;
|
|
};
|
|
|
|
__interface TIEVisionTempFileName : public TIEVisionBase
|
|
{
|
|
virtual HRESULT __safecall c_str(bool32 wantExceptions, char * &__c_str_result) = 0 ;
|
|
};
|
|
|
|
__interface TIEVisionTempDirName : public TIEVisionBase
|
|
{
|
|
virtual HRESULT __safecall c_str(bool32 wantExceptions, char * &__c_str_result) = 0 ;
|
|
};
|
|
|
|
__interface TIEVisionPropertyTree : public TIEVisionBase
|
|
{
|
|
virtual HRESULT __safecall size(bool32 wantExceptions, int32_t &__size_result) = 0 ;
|
|
virtual HRESULT __safecall clear(bool32 wantExceptions = false) = 0 ;
|
|
virtual HRESULT __safecall save(_di_TIEVisionStream stream, TIEVisionPropertyTreeFormat format = (TIEVisionPropertyTreeFormat)(0x0), bool32 wantExceptions = false) = 0 /* overload */;
|
|
virtual HRESULT __safecall save(char * filename, TIEVisionPropertyTreeFormat format = (TIEVisionPropertyTreeFormat)(0x0), bool32 wantExceptions = false) = 0 /* overload */;
|
|
virtual HRESULT __safecall load(_di_TIEVisionStream stream, TIEVisionPropertyTreeFormat format = (TIEVisionPropertyTreeFormat)(0x0), bool32 wantExceptions = false) = 0 /* overload */;
|
|
virtual HRESULT __safecall load(char * filename, TIEVisionPropertyTreeFormat format = (TIEVisionPropertyTreeFormat)(0x0), bool32 wantExceptions = false) = 0 /* overload */;
|
|
virtual HRESULT __safecall operatorEQUAL(_di_TIEVisionPropertyTree rhs, bool32 wantExceptions, bool32 &__operatorEQUAL_result) = 0 ;
|
|
virtual HRESULT __safecall operatorASSIGN(_di_TIEVisionPropertyTree rhs, bool32 wantExceptions = false) = 0 ;
|
|
virtual HRESULT __safecall swap(_di_TIEVisionPropertyTree rhs, bool32 wantExceptions = false) = 0 ;
|
|
virtual HRESULT __safecall exists(char * keypath, bool32 wantExceptions, bool32 &__exists_result) = 0 ;
|
|
virtual HRESULT __safecall erase(char * keypath, bool32 wantExceptions = false) = 0 ;
|
|
virtual HRESULT __safecall sort(bool32 wantExceptions = false) = 0 ;
|
|
virtual HRESULT __safecall getPropertyTree(char * keypath, bool32 wantExceptions, _di_TIEVisionPropertyTree &__getPropertyTree_result) = 0 ;
|
|
virtual HRESULT __safecall putPropertyTree(char * keypath, _di_TIEVisionPropertyTree propertyTree, bool32 wantExceptions = false) = 0 ;
|
|
virtual HRESULT __safecall putString(char * keypath, char * value, bool32 wantExceptions = false) = 0 /* overload */;
|
|
virtual HRESULT __safecall putString(char * keypath, _di_TIEVisionString value, bool32 wantExceptions = false) = 0 /* overload */;
|
|
virtual HRESULT __safecall getString(char * keypath, bool32 wantExceptions, _di_TIEVisionString &__getString_result) = 0 ;
|
|
virtual HRESULT __safecall putInt32(char * keypath, int32_t value, bool32 wantExceptions = false) = 0 ;
|
|
virtual HRESULT __safecall getInt32(char * keypath, bool32 wantExceptions, int32_t &__getInt32_result) = 0 ;
|
|
virtual HRESULT __safecall putDouble(char * keypath, double value, bool32 wantExceptions = false) = 0 ;
|
|
virtual HRESULT __safecall getDouble(char * keypath, bool32 wantExceptions, double &__getDouble_result) = 0 ;
|
|
virtual HRESULT __safecall putRect(char * keypath, const TIEVisionRect &rect, bool32 wantExceptions = false) = 0 ;
|
|
virtual HRESULT __safecall getRect(char * keypath, bool32 wantExceptions, TIEVisionRect &__getRect_result) = 0 ;
|
|
};
|
|
|
|
__interface TIEVisionImage : public TIEVisionBase
|
|
{
|
|
virtual HRESULT __safecall create(int32_t width, int32_t height, TIEVisionChannelFormat channelFormat, int32_t channels, bool32 wantExceptions = false) = 0 ;
|
|
virtual HRESULT __safecall swap(_di_TIEVisionImage secondImage, bool32 wantExceptions = false) = 0 ;
|
|
virtual HRESULT __safecall operatorASSIGN(_di_TIEVisionImage src, bool32 wantExceptions = false) = 0 ;
|
|
virtual HRESULT __safecall share(_di_TIEVisionImage src, bool32 wantExceptions = false) = 0 ;
|
|
virtual HRESULT __safecall getWidth(bool32 wantExceptions, int32_t &__getWidth_result) = 0 ;
|
|
virtual HRESULT __safecall getHeight(bool32 wantExceptions, int32_t &__getHeight_result) = 0 ;
|
|
virtual HRESULT __safecall getChannels(bool32 wantExceptions, int32_t &__getChannels_result) = 0 ;
|
|
virtual HRESULT __safecall getChannelFormat(bool32 wantExceptions, TIEVisionChannelFormat &__getChannelFormat_result) = 0 ;
|
|
virtual HRESULT __safecall getRowLen(bool32 wantExceptions, int32_t &__getRowLen_result) = 0 ;
|
|
virtual HRESULT __safecall isEmpty(bool32 wantExceptions, bool32 &__isEmpty_result) = 0 ;
|
|
virtual HRESULT __safecall getScanline(int32_t row, bool32 wantExceptions, void * &__getScanline_result) = 0 ;
|
|
virtual HRESULT __safecall pixel_uint8(int32_t row, int32_t col, bool32 wantExceptions, uint8_p &__pixel_uint8_result) = 0 ;
|
|
virtual HRESULT __safecall pixel_uint16(int32_t row, int32_t col, bool32 wantExceptions, uint16_p &__pixel_uint16_result) = 0 ;
|
|
virtual HRESULT __safecall pixel_float32(int32_t row, int32_t col, bool32 wantExceptions, float_p &__pixel_float32_result) = 0 ;
|
|
virtual HRESULT __safecall pixel_float64(int32_t row, int32_t col, bool32 wantExceptions, double_p &__pixel_float64_result) = 0 ;
|
|
virtual HRESULT __safecall pixel_RGB8(int32_t row, int32_t col, bool32 wantExceptions, PIEVisionRGB8 &__pixel_RGB8_result) = 0 ;
|
|
virtual HRESULT __safecall pixel_BGR8(int32_t row, int32_t col, bool32 wantExceptions, PIEVisionBGR8 &__pixel_BGR8_result) = 0 ;
|
|
virtual HRESULT __safecall getRect(const TIEVisionRect &rect, bool32 wantExceptions, _di_TIEVisionImage &__getRect_result) = 0 ;
|
|
virtual HRESULT __safecall getColumn(int32_t col, bool32 wantExceptions, _di_TIEVisionImage &__getColumn_result) = 0 ;
|
|
virtual HRESULT __safecall getColumns(int32_t startCol, int32_t endCol, bool32 wantExceptions, _di_TIEVisionImage &__getColumns_result) = 0 ;
|
|
virtual HRESULT __safecall getRow(int32_t row, bool32 wantExceptions, _di_TIEVisionImage &__getRow_result) = 0 ;
|
|
virtual HRESULT __safecall getRows(int32_t startRow, int32_t endRow, bool32 wantExceptions, _di_TIEVisionImage &__getRows_result) = 0 ;
|
|
virtual HRESULT __safecall getDiagonal(int32_t diag, bool32 wantExceptions, _di_TIEVisionImage &__getDiagonal_result) = 0 ;
|
|
virtual HRESULT __safecall getAlphaMask(bool32 wantExceptions, _di_TIEVisionImage &__getAlphaMask_result) = 0 ;
|
|
virtual HRESULT __safecall createAlphaMask(bool32 wantExceptions = false) = 0 ;
|
|
virtual HRESULT __safecall hasAlphaMask(bool32 wantExceptions, bool32 &__hasAlphaMask_result) = 0 ;
|
|
virtual HRESULT __safecall save(char * filename, bool32 wantExceptions = false) = 0 /* overload */;
|
|
virtual HRESULT __safecall save(char * filename, TIEVisionFileFormat fileType, bool32 wantExceptions = false) = 0 /* overload */;
|
|
virtual HRESULT __safecall getMetadata(bool32 wantExceptions, _di_TIEVisionPropertyTree &__getMetadata_result) = 0 ;
|
|
virtual HRESULT __safecall resize(_di_TIEVisionImage dst, TIEVisionInterpolation interpolation, bool32 wantExceptions, _di_TIEVisionImage &__resize_result) = 0 /* overload */;
|
|
virtual HRESULT __safecall resize(int32_t newWidth, int32_t newHeight, TIEVisionInterpolation interpolation, bool32 wantExceptions, _di_TIEVisionImage &__resize_result) = 0 /* overload */;
|
|
virtual HRESULT __safecall convertColor(_di_TIEVisionImage dst, TIEVisionCvtColorCode code, bool32 wantExceptions, _di_TIEVisionImage &__convertColor_result) = 0 /* overload */;
|
|
virtual HRESULT __safecall convertColor(TIEVisionCvtColorCode code, bool32 wantExceptions, _di_TIEVisionImage &__convertColor_result) = 0 /* overload */;
|
|
virtual HRESULT __safecall flip(_di_TIEVisionImage dst, TIEVisionFlipMode flipMode, bool32 wantExceptions, _di_TIEVisionImage &__flip_result) = 0 /* overload */;
|
|
virtual HRESULT __safecall flip(TIEVisionFlipMode flipMode, bool32 wantExceptions, _di_TIEVisionImage &__flip_result) = 0 /* overload */;
|
|
virtual HRESULT __safecall equalizeHistogram(_di_TIEVisionImage dst, bool32 wantExceptions = false) = 0 /* overload */;
|
|
virtual HRESULT __safecall equalizeHistogram(bool32 wantExceptions = false) = 0 /* overload */;
|
|
virtual HRESULT __safecall makeBorder(_di_TIEVisionImage dst, int32_t top, int32_t bottom, int32_t left, int32_t right, TIEVisionBorderType borderType, const TIEVisionScalar &value, bool32 wantExceptions = false) = 0 /* overload */;
|
|
virtual HRESULT __safecall makeBorder(int32_t top, int32_t bottom, int32_t left, int32_t right, TIEVisionBorderType borderType, const TIEVisionScalar &value, bool32 wantExceptions = false) = 0 /* overload */;
|
|
virtual HRESULT __safecall smooth(_di_TIEVisionImage dst, TIEVisionSmoothType smoothType = (TIEVisionSmoothType)(0x2), int32_t param1 = 0x3, int32_t param2 = 0x0, double param3 = 0.000000E+00, double param4 = 0.000000E+00, bool32 wantExceptions = false) = 0 /* overload */;
|
|
virtual HRESULT __safecall smooth(TIEVisionSmoothType smoothType = (TIEVisionSmoothType)(0x2), int32_t param1 = 0x3, int32_t param2 = 0x0, double param3 = 0.000000E+00, double param4 = 0.000000E+00, bool32 wantExceptions = false) = 0 /* overload */;
|
|
virtual HRESULT __safecall filter2D(_di_TIEVisionImage dst, _di_TIEVisionImage kernel, TIEVisionPoint anchor, bool32 wantExceptions = false) = 0 /* overload */;
|
|
virtual HRESULT __safecall filter2D(_di_TIEVisionImage kernel, TIEVisionPoint anchor, bool32 wantExceptions = false) = 0 /* overload */;
|
|
virtual HRESULT __safecall integral(_di_TIEVisionImage sum, bool32 wantExceptions = false) = 0 /* overload */;
|
|
virtual HRESULT __safecall integral(_di_TIEVisionImage sum, _di_TIEVisionImage sqsum, _di_TIEVisionImage tilted_sum, bool32 wantExceptions = false) = 0 /* overload */;
|
|
virtual HRESULT __safecall pyrDown(_di_TIEVisionImage dst, bool32 wantExceptions = false) = 0 /* overload */;
|
|
virtual HRESULT __safecall pyrDown(bool32 wantExceptions = false) = 0 /* overload */;
|
|
virtual HRESULT __safecall pyrUp(_di_TIEVisionImage dst, bool32 wantExceptions = false) = 0 /* overload */;
|
|
virtual HRESULT __safecall pyrUp(bool32 wantExceptions = false) = 0 /* overload */;
|
|
virtual HRESULT __safecall splitPlanes(_di_TIEVisionImage plane0, bool32 wantExceptions = false) = 0 /* overload */;
|
|
virtual HRESULT __safecall splitPlanes(_di_TIEVisionImage plane0, _di_TIEVisionImage plane1, bool32 wantExceptions = false) = 0 /* overload */;
|
|
virtual HRESULT __safecall splitPlanes(_di_TIEVisionImage plane0, _di_TIEVisionImage plane1, _di_TIEVisionImage plane2, bool32 wantExceptions = false) = 0 /* overload */;
|
|
virtual HRESULT __safecall splitPlanes(_di_TIEVisionImage plane0, _di_TIEVisionImage plane1, _di_TIEVisionImage plane2, _di_TIEVisionImage plane3, bool32 wantExceptions = false) = 0 /* overload */;
|
|
virtual HRESULT __safecall minMax(/* out */ double &minVal, /* out */ double &maxVal, bool32 wantExceptions = false) = 0 /* overload */;
|
|
virtual HRESULT __safecall minMax(/* out */ double &minVal, /* out */ double &maxVal, /* out */ TIEVisionPoint &minLoc, /* out */ TIEVisionPoint &maxLoc, bool32 wantExceptions = false) = 0 /* overload */;
|
|
virtual HRESULT __safecall minMax(/* out */ double &minVal, /* out */ double &maxVal, /* out */ TIEVisionPoint &minLoc, /* out */ TIEVisionPoint &maxLoc, _di_TIEVisionImage mask, bool32 wantExceptions = false) = 0 /* overload */;
|
|
virtual HRESULT __safecall camShift(TIEVisionRect &window, const TIEVisionTermCriteria &criteria, /* out */ double &area, /* out */ TIEVisionBox2D &box, bool32 wantExceptions = false) = 0 /* overload */;
|
|
virtual HRESULT __safecall camShift(TIEVisionRect &window, const TIEVisionTermCriteria &criteria, bool32 wantExceptions, TIEVisionRotatedRect &__camShift_result) = 0 /* overload */;
|
|
virtual HRESULT __safecall inRange(const TIEVisionScalar &lower, const TIEVisionScalar &upper, _di_TIEVisionImage dest, bool32 wantExceptions = false) = 0 /* overload */;
|
|
virtual HRESULT __safecall inRange(_di_TIEVisionImage lower, _di_TIEVisionImage upper, _di_TIEVisionImage dest, bool32 wantExceptions = false) = 0 /* overload */;
|
|
virtual HRESULT __safecall convertScale(_di_TIEVisionImage dest, double scale, double shift, bool32 wantExceptions, _di_TIEVisionImage &__convertScale_result) = 0 /* overload */;
|
|
virtual HRESULT __safecall convertScale(TIEVisionChannelFormat channelFormat, double scale, double shift, bool32 wantExceptions, _di_TIEVisionImage &__convertScale_result) = 0 /* overload */;
|
|
virtual HRESULT __safecall countNonZero(bool32 wantExceptions, int32_t &__countNonZero_result) = 0 ;
|
|
virtual HRESULT __safecall isAllWhite(bool32 wantExceptions, bool32 &__isAllWhite_result) = 0 ;
|
|
virtual HRESULT __safecall addWeighted(double alpha, _di_TIEVisionImage rhs, double beta, double gamma, _di_TIEVisionImage dest, bool32 wantExceptions = false) = 0 /* overload */;
|
|
virtual HRESULT __safecall avg(_di_TIEVisionImage mask, bool32 wantExceptions, TIEVisionScalar &__avg_result) = 0 /* overload */;
|
|
virtual HRESULT __safecall avg(bool32 wantExceptions, TIEVisionScalar &__avg_result) = 0 /* overload */;
|
|
virtual HRESULT __safecall avgSdv(/* out */ TIEVisionScalar &mean, /* out */ TIEVisionScalar &stdDev, _di_TIEVisionImage mask, bool32 wantExceptions = false) = 0 /* overload */;
|
|
virtual HRESULT __safecall avgSdv(/* out */ TIEVisionScalar &mean, /* out */ TIEVisionScalar &stdDev, bool32 wantExceptions = false) = 0 /* overload */;
|
|
virtual HRESULT __safecall cmp(_di_TIEVisionImage rhs, _di_TIEVisionImage dest, TIEVisionCmpOp cmpOp, bool32 wantExceptions = false) = 0 /* overload */;
|
|
virtual HRESULT __safecall cmp(double rhs, _di_TIEVisionImage dest, TIEVisionCmpOp cmpOp, bool32 wantExceptions = false) = 0 /* overload */;
|
|
virtual HRESULT __safecall copy(_di_TIEVisionImage dest, _di_TIEVisionImage mask, bool32 wantExceptions = false) = 0 /* overload */;
|
|
virtual HRESULT __safecall copy(_di_TIEVisionImage dest, bool32 wantExceptions = false) = 0 /* overload */;
|
|
virtual HRESULT __safecall copy(const TIEVisionRect &srcRect, _di_TIEVisionImage dest, bool32 wantExceptions = false) = 0 /* overload */;
|
|
virtual HRESULT __safecall copy(const TIEVisionRect &srcRect, bool32 wantExceptions, _di_TIEVisionImage &__copy_result) = 0 /* overload */;
|
|
virtual HRESULT __safecall copy(const TIEVisionRect &srcRect, const TIEVisionRect &dstRect, _di_TIEVisionImage dest, bool32 wantExceptions = false) = 0 /* overload */;
|
|
virtual HRESULT __safecall copy(const TIEVisionRect &srcRect, void * destPtr, int32_t rowLen, bool32 wantExceptions = false) = 0 /* overload */;
|
|
virtual HRESULT __safecall copyFrom(TIEVisionChannelFormat srcChannelFormat, int32_t srcChannels, int32_t srcRowLen, void * srcData, bool32 wantExceptions = false) = 0 ;
|
|
virtual HRESULT __safecall setZero(bool32 wantExceptions = false) = 0 ;
|
|
virtual HRESULT __safecall DCT(_di_TIEVisionImage dest, TIEVisionDCTFlags flags, bool32 wantExceptions = false) = 0 ;
|
|
virtual HRESULT __safecall DFT(_di_TIEVisionImage dest, TIEVisionDFTFlags flags, int32_t nonZeroRows = 0x0, bool32 wantExceptions = false) = 0 ;
|
|
virtual HRESULT __safecall determinant(bool32 wantExceptions, double &__determinant_result) = 0 ;
|
|
virtual HRESULT __safecall dotProduct(_di_TIEVisionImage rhs, bool32 wantExceptions, double &__dotProduct_result) = 0 ;
|
|
virtual HRESULT __safecall eigenVV(_di_TIEVisionImage evects, _di_TIEVisionImage evals, bool32 wantExceptions = false) = 0 ;
|
|
virtual HRESULT __safecall invert(_di_TIEVisionImage dest, TIEVisionInvertMethod invertMethod, bool32 wantExceptions, double &__invert_result) = 0 ;
|
|
virtual HRESULT __safecall LUT(_di_TIEVisionImage dest, _di_TIEVisionImage lut, bool32 wantExceptions = false) = 0 ;
|
|
virtual HRESULT __safecall max(_di_TIEVisionImage source1, _di_TIEVisionImage source2, bool32 wantExceptions = false) = 0 /* overload */;
|
|
virtual HRESULT __safecall max(_di_TIEVisionImage source1, double source2, bool32 wantExceptions = false) = 0 /* overload */;
|
|
virtual HRESULT __safecall merge(_di_TIEVisionImage channel1, _di_TIEVisionImage channel2, _di_TIEVisionImage channel3, bool32 wantExceptions = false) = 0 /* overload */;
|
|
virtual HRESULT __safecall merge(_di_TIEVisionImage channel1, _di_TIEVisionImage channel2, _di_TIEVisionImage channel3, _di_TIEVisionImage channel4, bool32 wantExceptions = false) = 0 /* overload */;
|
|
virtual HRESULT __safecall min(_di_TIEVisionImage source1, _di_TIEVisionImage source2, bool32 wantExceptions = false) = 0 /* overload */;
|
|
virtual HRESULT __safecall min(_di_TIEVisionImage source1, double source2, bool32 wantExceptions = false) = 0 /* overload */;
|
|
virtual HRESULT __safecall mulSpectrums(_di_TIEVisionImage rhs, _di_TIEVisionImage dest, TIEVisionMulSpectrumsFlags flags, bool32 wantExceptions = false) = 0 ;
|
|
virtual HRESULT __safecall mulTransposed(_di_TIEVisionImage dest, bool32 order, _di_TIEVisionImage delta, double scale = 1.000000E+00, bool32 wantExceptions = false) = 0 /* overload */;
|
|
virtual HRESULT __safecall mulTransposed(_di_TIEVisionImage dest, bool32 order, double scale = 1.000000E+00, bool32 wantExceptions = false) = 0 /* overload */;
|
|
virtual HRESULT __safecall norm(bool32 wantExceptions, double &__norm_result) = 0 /* overload */;
|
|
virtual HRESULT __safecall norm(_di_TIEVisionImage mask, bool32 wantExceptions, double &__norm_result) = 0 /* overload */;
|
|
virtual HRESULT __safecall opNot(_di_TIEVisionImage dest, bool32 wantExceptions = false) = 0 ;
|
|
virtual HRESULT __safecall perspectiveTransform(_di_TIEVisionImage dest, _di_TIEVisionImage matrix, bool32 wantExceptions = false) = 0 ;
|
|
virtual HRESULT __safecall reduce(_di_TIEVisionImage dest, int32_t dim = 0xffffffff, TIEVisionReduceOp op = (TIEVisionReduceOp)(0x0), bool32 wantExceptions = false) = 0 ;
|
|
virtual HRESULT __safecall repeatImage(int32_t ny, int32_t nx, _di_TIEVisionImage dest, bool32 wantExceptions = false) = 0 ;
|
|
virtual HRESULT __safecall scaleAdd(double scale, _di_TIEVisionImage rhs, _di_TIEVisionImage dest, bool32 wantExceptions = false) = 0 ;
|
|
virtual HRESULT __safecall setValue(const TIEVisionScalar &value, _di_TIEVisionImage mask, bool32 wantExceptions = false) = 0 /* overload */;
|
|
virtual HRESULT __safecall setValue(const TIEVisionScalar &value, bool32 wantExceptions = false) = 0 /* overload */;
|
|
virtual HRESULT __safecall setIdentity(bool32 wantExceptions = false) = 0 ;
|
|
virtual HRESULT __safecall transpose(bool32 wantExceptions = false) = 0 ;
|
|
virtual HRESULT __safecall findContours(TIEVisionContourRetrMode mode, TIEVisionContourApproxMethod method, TIEVisionPoint offset, bool32 wantExceptions, _di_TIEVisionVectorObjRef &__findContours_result) = 0 ;
|
|
virtual HRESULT __safecall inpaint(_di_TIEVisionImage mask, double range, TIEVisionInpaintMethod method = (TIEVisionInpaintMethod)(0x0), bool32 wantExceptions = false) = 0 /* overload */;
|
|
virtual HRESULT __safecall inpaint(int32_t brushWidth, int32_t brushHeight, const TIEVisionRect &subimageRect, double range, TIEVisionInpaintMethod method = (TIEVisionInpaintMethod)(0x0), bool32 wantExceptions = false) = 0 /* overload */;
|
|
virtual HRESULT __safecall floodFill(_di_TIEVisionImage outMask, TIEVisionPoint startingPoint, const TIEVisionScalar &loDiff, const TIEVisionScalar &upDiff, int32_t connectivity = 0x4, bool32 fixedRange = false, bool32 wantExceptions = false) = 0 ;
|
|
virtual HRESULT __safecall canny(double threshold1, double threshold2, int32_t apertureSize = 0x3, bool32 L2gradient = false, bool32 wantExceptions = false) = 0 /* overload */;
|
|
virtual HRESULT __safecall canny(_di_TIEVisionImage outImage, double threshold1, double threshold2, int32_t apertureSize = 0x3, bool32 L2gradient = false, bool32 wantExceptions = false) = 0 /* overload */;
|
|
virtual HRESULT __safecall blur(TIEVisionSize ksize, TIEVisionPoint anchor, TIEVisionBorderType borderType = (TIEVisionBorderType)(0x4), bool32 wantExceptions = false) = 0 /* overload */;
|
|
virtual HRESULT __safecall blur(_di_TIEVisionImage outImage, TIEVisionSize ksize, TIEVisionPoint anchor, TIEVisionBorderType borderType = (TIEVisionBorderType)(0x4), bool32 wantExceptions = false) = 0 /* overload */;
|
|
virtual HRESULT __safecall houghLines(double rho, double theta, int32_t threshold, double srn, double stn, bool32 wantExceptions, _di_TIEVisionVectorFloatPair &__houghLines_result) = 0 ;
|
|
virtual HRESULT __safecall houghLinesP(double rho, double theta, int32_t threshold, double minLineLength, double maxLineGap, bool32 wantExceptions, _di_TIEVisionVectorScalarInt32 &__houghLinesP_result) = 0 ;
|
|
virtual HRESULT __safecall fastNlMeansDenoisingColored(float h = 3.000000E+00f, float hColor = 3.000000E+00f, int32_t templateWindowSize = 0x7, int32_t searchWindowSize = 0x15, bool32 wantExceptions = false) = 0 /* overload */;
|
|
virtual HRESULT __safecall fastNlMeansDenoisingColored(_di_TIEVisionImage outImage, float h = 3.000000E+00f, float hColor = 3.000000E+00f, int32_t templateWindowSize = 0x7, int32_t searchWindowSize = 0x15, bool32 wantExceptions = false) = 0 /* overload */;
|
|
virtual HRESULT __safecall threshold(double thresh, double maxval, TIEVisionThresholdType threshType, bool32 wantExceptions = false) = 0 ;
|
|
virtual HRESULT __safecall adaptiveThreshold(double maxValue, TIEVisionAdaptiveMethod adaptiveMethod = (TIEVisionAdaptiveMethod)(0x0), TIEVisionThresholdType thresholdType = 0x0, int32_t blockSize = 0x3, double C = 5.000000E+00, bool32 wantExceptions = false) = 0 ;
|
|
virtual HRESULT __safecall erode(TIEVisionStructuringElementShape erosionType, uint32_t erosionSize, bool32 wantExceptions = false) = 0 ;
|
|
virtual HRESULT __safecall dilate(TIEVisionStructuringElementShape dilationType, uint32_t dilationSize, bool32 wantExceptions = false) = 0 ;
|
|
};
|
|
|
|
__interface TIEVisionHistogram : public TIEVisionBase
|
|
{
|
|
virtual HRESULT __safecall getValue(int32_t index0, bool32 wantExceptions, float &__getValue_result) = 0 /* overload */;
|
|
virtual HRESULT __safecall getValue(int32_t index0, int32_t index1, bool32 wantExceptions, float &__getValue_result) = 0 /* overload */;
|
|
virtual HRESULT __safecall getValue(int32_t index0, int32_t index1, int32_t index2, bool32 wantExceptions, float &__getValue_result) = 0 /* overload */;
|
|
virtual HRESULT __safecall size(int32_t index, bool32 wantExceptions, int32_t &__size_result) = 0 ;
|
|
virtual HRESULT __safecall clear(bool32 wantExceptions = false) = 0 ;
|
|
virtual HRESULT __safecall swap(_di_TIEVisionHistogram secondHist, bool32 wantExceptions = false) = 0 ;
|
|
virtual HRESULT __safecall operatorASSIGN(_di_TIEVisionHistogram src, bool32 wantExceptions = false) = 0 ;
|
|
virtual HRESULT __safecall normalize(double factor, bool32 wantExceptions = false) = 0 ;
|
|
virtual HRESULT __safecall calc(_di_TIEVisionImage image, bool32 accumulate = false, bool32 wantExceptions = false) = 0 /* overload */;
|
|
virtual HRESULT __safecall calc(_di_TIEVisionImage image, bool32 accumulate, _di_TIEVisionImage mask, bool32 wantExceptions = false) = 0 /* overload */;
|
|
virtual HRESULT __safecall calcBackProject(_di_TIEVisionImage image, _di_TIEVisionImage backProject, bool32 wantExceptions = false) = 0 ;
|
|
virtual HRESULT __safecall minMax(/* out */ float &vmin, /* out */ float &vmax, bool32 wantExceptions = false) = 0 ;
|
|
};
|
|
|
|
__interface TIEVisionCascadeClassifier : public TIEVisionBase
|
|
{
|
|
virtual HRESULT __safecall load(_di_TIEVisionStream stream, bool32 wantExceptions = false) = 0 /* overload */;
|
|
virtual HRESULT __safecall load(char * filename, bool32 wantExceptions = false) = 0 /* overload */;
|
|
virtual HRESULT __safecall detectObjects(_di_TIEVisionImage image, double scaleFactor, int32_t minNeighbors, TIEVisionHaarDetectObjectsFlags flags, TIEVisionSize minSize, TIEVisionSize maxSize, bool32 wantExceptions, _di_TIEVisionVectorRect &__detectObjects_result) = 0 ;
|
|
virtual HRESULT __safecall empty(bool32 wantExceptions, bool32 &__empty_result) = 0 ;
|
|
};
|
|
|
|
__interface TIEVisionImageList : public TIEVisionBase
|
|
{
|
|
virtual HRESULT __safecall insert(int32_t position, _di_TIEVisionImage image, bool32 wantExceptions, int32_t &__insert_result) = 0 /* overload */;
|
|
virtual HRESULT __safecall insert(int32_t position, char * filename, bool32 wantExceptions, int32_t &__insert_result) = 0 /* overload */;
|
|
virtual HRESULT __safecall remove(int32_t position, bool32 wantExceptions = false) = 0 ;
|
|
virtual HRESULT __safecall clear(bool32 wantExceptions = false) = 0 ;
|
|
virtual HRESULT __safecall getImage(int32_t position, bool32 wantExceptions, _di_TIEVisionImage &__getImage_result) = 0 ;
|
|
virtual HRESULT __safecall size(bool32 wantExceptions, int32_t &__size_result) = 0 ;
|
|
virtual HRESULT __safecall setImage(int32_t position, _di_TIEVisionImage image, bool32 wantExceptions = false) = 0 ;
|
|
virtual HRESULT __safecall pushBack(_di_TIEVisionImage image, bool32 wantExceptions, int32_t &__pushBack_result) = 0 /* overload */;
|
|
virtual HRESULT __safecall pushBack(char * filename, bool32 wantExceptions, int32_t &__pushBack_result) = 0 /* overload */;
|
|
};
|
|
|
|
__interface TIEVisionMemoryImageList : public TIEVisionImageList
|
|
{
|
|
|
|
};
|
|
|
|
__interface TIEVisionMemorySharedImageList : public TIEVisionImageList
|
|
{
|
|
|
|
};
|
|
|
|
__interface TIEVisionTempFileImageList : public TIEVisionImageList
|
|
{
|
|
virtual HRESULT __safecall insertExistingFile(int32_t position, char * filename, bool32 deleteOnDestroy, bool32 wantExceptions, int32_t &__insertExistingFile_result) = 0 ;
|
|
virtual HRESULT __safecall pushBackExistingFile(char * filename, bool32 deleteOnDestroy, bool32 wantExceptions, int32_t &__pushBackExistingFile_result) = 0 ;
|
|
virtual HRESULT __safecall getFilename(int32_t position, bool32 wantExceptions, char * &__getFilename_result) = 0 ;
|
|
};
|
|
|
|
__interface TIEVisionHaarTraining : public TIEVisionBase
|
|
{
|
|
virtual HRESULT __safecall createTrainingSamples(char * dstSamplesFilename, _di_TIEVisionImage sampleImage, _di_TIEVisionImageList backgroundImageList, int32_t samplesCount, int32_t bgColor, int32_t bgThreshold = 0x50, TIEVisionHaarInvert invert = (TIEVisionHaarInvert)(0x0), int32_t maxIntensityDeviation = 0x28, double maxXAngle = 1.100000E+00, double maxYAngle = 1.100000E+00, double maxZAngle = 5.000000E-01, int32_t width = 0x18, int32_t height = 0x18, bool32 wantExceptions = false) = 0 /* overload */;
|
|
virtual HRESULT __safecall createTrainingSamples(char * dstSamplesFilename, _di_TIEVisionImageList srcImageList, int32_t width = 0x18, int32_t height = 0x18, bool32 wantExceptions = false) = 0 /* overload */;
|
|
virtual HRESULT __safecall trainCascadeClassifier(char * dstFilename, char * srcSamplesFilename, _di_TIEVisionImageList backgroundImageList, bool32 treeCascade = true, int32_t stagesCount = 0xe, int32_t numPrecalculated = 0xc8, int32_t splitsCount = 0x1, double minHitRate = 9.950000E-01, double maxFalseAlarm = 5.000000E-01, double weightFraction = 9.500000E-01, TIEVisionHaarMode haarMode = (TIEVisionHaarMode)(0x0), bool32 verticalSymmetry = false, bool32 equalWeights = true, int32_t width = 0x18, int32_t height = 0x18, TIEVisionHaarBoostType boostType = (TIEVisionHaarBoostType)(0x3), TIEVisionHaarStumpError stumpError = (TIEVisionHaarStumpError)(0x0), int32_t maxTreeSplits = 0x0, int32_t minPos = 0x1f4, bool32 wantExceptions = false) = 0 ;
|
|
virtual HRESULT __safecall createCascadeClassifier(_di_TIEVisionImage sampleImage, _di_TIEVisionImageList backgroundImageList, int32_t samplesCount, bool32 treeCascade, int32_t bgColor, int32_t bgThreshold, TIEVisionHaarInvert invert, int32_t maxIntensityDeviation, double maxXAngle, double maxYAngle, double maxZAngle, int32_t width, int32_t height, int32_t stagesCount, int32_t numPrecalculated, int32_t splitsCount, double minHitRate, double maxFalseAlarm, double weightFraction, TIEVisionHaarMode haarMode, bool32 verticalSymmetry, bool32 equalWeights, TIEVisionHaarBoostType boostType, TIEVisionHaarStumpError stumpError, int32_t maxTreeSplits, int32_t minPos, bool32 wantExceptions, _di_TIEVisionCascadeClassifier &__createCascadeClassifier_result) = 0 ;
|
|
};
|
|
|
|
__interface TIEVisionInputOutput : public TIEVisionBase
|
|
{
|
|
virtual HRESULT __safecall zcompress(_di_TIEVisionStream inputStream, _di_TIEVisionStream outputStream, int32_t compressionLevel = 0xffffffff, bool32 wantExceptions = false) = 0 ;
|
|
virtual HRESULT __safecall zdecompress(_di_TIEVisionStream inputStream, _di_TIEVisionStream outputStream, bool32 wantExceptions = false) = 0 ;
|
|
};
|
|
|
|
typedef double __stdcall (*TIEVisionOptimizerFunction)(void * userData, _di_TIEVisionVectorDouble variables);
|
|
|
|
__interface TIEVisionMath : public TIEVisionBase
|
|
{
|
|
virtual HRESULT __safecall optimizeWith_NelderMeadSimplexMethod(TIEVisionOptimizerFunction func, void * funcUserData, _di_TIEVisionVectorDouble solutions, /* out */ double &optimalValue, double length, int32_t timeout, double eps, bool32 wantExceptions, bool32 &__optimizeWith_NelderMeadSimplexMethod_result) = 0 ;
|
|
virtual HRESULT __safecall calcCovarMatrix(_di_TIEVisionVectorImageRef images, _di_TIEVisionImage covMat, _di_TIEVisionImage avg, TIEVisionCovarFlags flags, bool32 wantExceptions = false) = 0 ;
|
|
virtual HRESULT __safecall cartToPolar(_di_TIEVisionImage x, _di_TIEVisionImage y, _di_TIEVisionImage magnitude, _di_TIEVisionImage angle, bool32 angleInDegrees = false, bool32 wantExceptions = false) = 0 ;
|
|
virtual HRESULT __safecall genericMultiply(_di_TIEVisionImage src1, _di_TIEVisionImage src2, double alpha, _di_TIEVisionImage src3, double beta, _di_TIEVisionImage dest, TIEVisionGEMMFlags flags = (TIEVisionGEMMFlags)(0x0), bool32 wantExceptions = false) = 0 ;
|
|
virtual HRESULT __safecall mahalonobisDistance(_di_TIEVisionImage vec1, _di_TIEVisionImage vec2, _di_TIEVisionImage invCovMatrix, bool32 wantExceptions, double &__mahalonobisDistance_result) = 0 ;
|
|
virtual HRESULT __safecall solve(_di_TIEVisionImage source1, _di_TIEVisionImage source2, _di_TIEVisionImage dest, TIEVisionSolveMethod method, bool32 wantExceptions, int32_t &__solve_result) = 0 ;
|
|
virtual HRESULT __safecall solveCubic(_di_TIEVisionImage coeffs, _di_TIEVisionImage roots, bool32 wantExceptions = false) = 0 ;
|
|
virtual HRESULT __safecall sub(_di_TIEVisionImage lhs, _di_TIEVisionImage rhs, _di_TIEVisionImage dest, _di_TIEVisionImage mask, bool32 wantExceptions = false) = 0 /* overload */;
|
|
virtual HRESULT __safecall sub(_di_TIEVisionImage lhs, _di_TIEVisionImage rhs, _di_TIEVisionImage dest, bool32 wantExceptions = false) = 0 /* overload */;
|
|
virtual HRESULT __safecall sub(const TIEVisionScalar &lhs, _di_TIEVisionImage rhs, _di_TIEVisionImage dest, _di_TIEVisionImage mask, bool32 wantExceptions = false) = 0 /* overload */;
|
|
virtual HRESULT __safecall sub(const TIEVisionScalar &lhs, _di_TIEVisionImage rhs, _di_TIEVisionImage dest, bool32 wantExceptions = false) = 0 /* overload */;
|
|
virtual HRESULT __safecall sub(_di_TIEVisionImage lhs, const TIEVisionScalar &rhs, _di_TIEVisionImage dest, _di_TIEVisionImage mask, bool32 wantExceptions = false) = 0 /* overload */;
|
|
virtual HRESULT __safecall sub(_di_TIEVisionImage lhs, const TIEVisionScalar &rhs, _di_TIEVisionImage dest, bool32 wantExceptions = false) = 0 /* overload */;
|
|
virtual HRESULT __safecall add(_di_TIEVisionImage lhs, _di_TIEVisionImage rhs, _di_TIEVisionImage dest, _di_TIEVisionImage mask, bool32 wantExceptions = false) = 0 /* overload */;
|
|
virtual HRESULT __safecall add(_di_TIEVisionImage lhs, _di_TIEVisionImage rhs, _di_TIEVisionImage dest, bool32 wantExceptions = false) = 0 /* overload */;
|
|
virtual HRESULT __safecall add(_di_TIEVisionImage lhs, const TIEVisionScalar &rhs, _di_TIEVisionImage dest, _di_TIEVisionImage mask, bool32 wantExceptions = false) = 0 /* overload */;
|
|
virtual HRESULT __safecall add(_di_TIEVisionImage lhs, const TIEVisionScalar &rhs, _di_TIEVisionImage dest, bool32 wantExceptions = false) = 0 /* overload */;
|
|
virtual HRESULT __safecall absDiff(_di_TIEVisionImage lhs, _di_TIEVisionImage rhs, _di_TIEVisionImage dest, bool32 wantExceptions = false) = 0 /* overload */;
|
|
virtual HRESULT __safecall absDiff(_di_TIEVisionImage lhs, const TIEVisionScalar &rhs, _di_TIEVisionImage dest, bool32 wantExceptions = false) = 0 /* overload */;
|
|
virtual HRESULT __safecall opAnd(_di_TIEVisionImage lhs, _di_TIEVisionImage rhs, _di_TIEVisionImage dest, bool32 wantExceptions = false) = 0 /* overload */;
|
|
virtual HRESULT __safecall opAnd(_di_TIEVisionImage lhs, _di_TIEVisionImage rhs, _di_TIEVisionImage dest, _di_TIEVisionImage mask, bool32 wantExceptions = false) = 0 /* overload */;
|
|
virtual HRESULT __safecall opAnd(_di_TIEVisionImage lhs, const TIEVisionScalar &rhs, _di_TIEVisionImage dest, _di_TIEVisionImage mask, bool32 wantExceptions = false) = 0 /* overload */;
|
|
virtual HRESULT __safecall opAnd(_di_TIEVisionImage lhs, const TIEVisionScalar &rhs, _di_TIEVisionImage dest, bool32 wantExceptions = false) = 0 /* overload */;
|
|
virtual HRESULT __safecall opDiv(_di_TIEVisionImage lhs, _di_TIEVisionImage rhs, _di_TIEVisionImage dest, double scale = 1.000000E+00, bool32 wantExceptions = false) = 0 ;
|
|
virtual HRESULT __safecall exp(_di_TIEVisionImage src, _di_TIEVisionImage dest, bool32 wantExceptions = false) = 0 ;
|
|
virtual HRESULT __safecall log(_di_TIEVisionImage src, _di_TIEVisionImage dest, bool32 wantExceptions = false) = 0 ;
|
|
virtual HRESULT __safecall mul(_di_TIEVisionImage lhs, _di_TIEVisionImage rhs, _di_TIEVisionImage dest, double scale = 1.000000E+00, bool32 wantExceptions = false) = 0 ;
|
|
virtual HRESULT __safecall opOr(_di_TIEVisionImage lhs, _di_TIEVisionImage rhs, _di_TIEVisionImage dest, _di_TIEVisionImage mask, bool32 wantExceptions = false) = 0 /* overload */;
|
|
virtual HRESULT __safecall opOr(_di_TIEVisionImage lhs, _di_TIEVisionImage rhs, _di_TIEVisionImage dest, bool32 wantExceptions = false) = 0 /* overload */;
|
|
virtual HRESULT __safecall opOr(_di_TIEVisionImage lhs, const TIEVisionScalar &rhs, _di_TIEVisionImage dest, _di_TIEVisionImage mask, bool32 wantExceptions = false) = 0 /* overload */;
|
|
virtual HRESULT __safecall opOr(_di_TIEVisionImage lhs, const TIEVisionScalar &rhs, _di_TIEVisionImage dest, bool32 wantExceptions = false) = 0 /* overload */;
|
|
virtual HRESULT __safecall pow(_di_TIEVisionImage src, _di_TIEVisionImage dest, double power, bool32 wantExceptions = false) = 0 ;
|
|
virtual HRESULT __safecall trace(_di_TIEVisionImage src, bool32 wantExceptions, TIEVisionScalar &__trace_result) = 0 ;
|
|
virtual HRESULT __safecall transform(_di_TIEVisionImage src, _di_TIEVisionImage dest, _di_TIEVisionImage transfMatrix, bool32 wantExceptions = false) = 0 /* overload */;
|
|
virtual HRESULT __safecall transpose(_di_TIEVisionImage src, _di_TIEVisionImage dest, bool32 wantExceptions = false) = 0 ;
|
|
virtual HRESULT __safecall opXor(_di_TIEVisionImage lhs, _di_TIEVisionImage rhs, _di_TIEVisionImage dest, _di_TIEVisionImage mask, bool32 wantExceptions = false) = 0 /* overload */;
|
|
virtual HRESULT __safecall opXor(_di_TIEVisionImage lhs, _di_TIEVisionImage rhs, _di_TIEVisionImage dest, bool32 wantExceptions = false) = 0 /* overload */;
|
|
virtual HRESULT __safecall opXor(_di_TIEVisionImage lhs, const TIEVisionScalar &rhs, _di_TIEVisionImage dest, _di_TIEVisionImage mask, bool32 wantExceptions = false) = 0 /* overload */;
|
|
virtual HRESULT __safecall opXor(_di_TIEVisionImage lhs, const TIEVisionScalar &rhs, _di_TIEVisionImage dest, bool32 wantExceptions = false) = 0 /* overload */;
|
|
virtual HRESULT __safecall boundingRect(_di_TIEVisionVectorPoint points, bool32 wantExceptions, TIEVisionRect &__boundingRect_result) = 0 ;
|
|
virtual HRESULT __safecall contourArea(_di_TIEVisionVectorPoint points, bool32 wantExceptions, double &__contourArea_result) = 0 ;
|
|
virtual HRESULT __safecall rectIntersect(const TIEVisionRect &rect1, const TIEVisionRect &rect2, bool32 wantExceptions, TIEVisionRect &__rectIntersect_result) = 0 ;
|
|
virtual HRESULT __safecall rectTestIntersect(const TIEVisionRect &rect1, const TIEVisionRect &rect2, bool32 wantExceptions, bool32 &__rectTestIntersect_result) = 0 ;
|
|
virtual HRESULT __safecall rectUnion(const TIEVisionRect &rect1, const TIEVisionRect &rect2, bool32 wantExceptions, TIEVisionRect &__rectUnion_result) = 0 ;
|
|
virtual HRESULT __safecall rectContains(const TIEVisionRect &rect, const TIEVisionPoint point, bool32 wantExceptions, bool32 &__rectContains_result) = 0 ;
|
|
};
|
|
|
|
__interface TIEVisionDrawing : public TIEVisionBase
|
|
{
|
|
virtual HRESULT __safecall rectangle(_di_TIEVisionImage image, TIEVisionPoint pt1, TIEVisionPoint pt2, const TIEVisionScalar &color, int32_t thickness = 0x1, int32_t linetype = 0x8, int32_t shift = 0x0, bool32 wantExceptions = false) = 0 /* overload */;
|
|
virtual HRESULT __safecall rectangle(_di_TIEVisionImage image, const TIEVisionRect &rect, const TIEVisionScalar &color, int32_t thickness = 0x1, int32_t linetype = 0x8, int32_t shift = 0x0, bool32 wantExceptions = false) = 0 /* overload */;
|
|
virtual HRESULT __safecall circle(_di_TIEVisionImage image, TIEVisionPoint center, int32_t radius, const TIEVisionScalar &color, int32_t thickness = 0x1, int32_t linetype = 0x8, int32_t shift = 0x0, bool32 wantExceptions = false) = 0 ;
|
|
virtual HRESULT __safecall ellipse(_di_TIEVisionImage image, TIEVisionPoint center, TIEVisionSize axes, double angle, double startAngle, double endAngle, const TIEVisionScalar &color, int32_t thickness = 0x1, int32_t linetype = 0x8, int32_t shift = 0x0, bool32 wantExceptions = false) = 0 ;
|
|
virtual HRESULT __safecall drawContours(_di_TIEVisionImage image, _di_TIEVisionVectorObjRef contours, const TIEVisionScalar &color, int32_t contourIdx = 0xffffffff, int32_t thickness = 0x1, int32_t linetype = 0x8, bool32 wantExceptions = false) = 0 ;
|
|
};
|
|
|
|
__interface TIEVisionObjectTracker : public TIEVisionBase
|
|
{
|
|
virtual HRESULT __safecall setInitialPosition(_di_TIEVisionImage image, const TIEVisionRect &window, bool32 wantExceptions = false) = 0 ;
|
|
virtual HRESULT __safecall locateNewPosition(_di_TIEVisionImage image, /* out */ _di_TIEVisionImage &backProjectedImage, bool32 wantExceptions, TIEVisionRotatedRect &__locateNewPosition_result) = 0 ;
|
|
};
|
|
|
|
__interface TIEVisionObjectsFinder : public TIEVisionBase
|
|
{
|
|
virtual HRESULT __safecall addClassifier(char * name, _di_TIEVisionBase classifier, bool32 wantExceptions = false) = 0 ;
|
|
virtual HRESULT __safecall getClassifier(char * name, bool32 wantExceptions, _di_TIEVisionBase &__getClassifier_result) = 0 ;
|
|
virtual HRESULT __safecall findIn(_di_TIEVisionImage image, bool32 wantExceptions = false) = 0 ;
|
|
virtual HRESULT __safecall getFoundRectCount(char * name, bool32 wantExceptions, int32_t &__getFoundRectCount_result) = 0 ;
|
|
virtual HRESULT __safecall getFoundRect(char * name, int32_t index, bool32 wantExceptions, TIEVisionRect &__getFoundRect_result) = 0 ;
|
|
virtual HRESULT __safecall mergeRects(char * name1, char * name2, bool32 wantExceptions, _di_TIEVisionVectorRect &__mergeRects_result) = 0 ;
|
|
virtual HRESULT __safecall mergeAllRects(bool32 wantExceptions, _di_TIEVisionVectorRect &__mergeAllRects_result) = 0 ;
|
|
virtual HRESULT __safecall removeAllClassifiers(bool32 wantExceptions = false) = 0 ;
|
|
virtual HRESULT __safecall classifierExists(char * name, bool32 wantExceptions, bool32 &__classifierExists_result) = 0 ;
|
|
virtual HRESULT __safecall removeClassifier(char * name, bool32 wantExceptions = false) = 0 ;
|
|
virtual HRESULT __safecall setDivisor(int32_t value, bool32 wantExceptions = false) = 0 ;
|
|
virtual HRESULT __safecall setHaarScaleFactor(double value, bool32 wantExceptions = false) = 0 ;
|
|
virtual HRESULT __safecall setHaarMinNeighbors(int32_t value, bool32 wantExceptions = false) = 0 ;
|
|
virtual HRESULT __safecall setHaarFlags(TIEVisionHaarDetectObjectsFlags value, bool32 wantExceptions = false) = 0 ;
|
|
virtual HRESULT __safecall setEqualizeHistogram(bool32 value, bool32 wantExceptions = false) = 0 ;
|
|
virtual HRESULT __safecall setHaarMinSize(TIEVisionSize size, bool32 wantExceptions = false) = 0 ;
|
|
virtual HRESULT __safecall setHaarMaxSize(TIEVisionSize size, bool32 wantExceptions = false) = 0 ;
|
|
};
|
|
|
|
__interface TIEVisionOCR : public TIEVisionBase
|
|
{
|
|
virtual HRESULT __safecall recognize(_di_TIEVisionImage image, const TIEVisionRect &rect, bool32 wantExceptions, _di_TIEVisionWString &__recognize_result) = 0 ;
|
|
virtual HRESULT __safecall clearAdaptiveInfo(bool32 wantExceptions = false) = 0 ;
|
|
virtual HRESULT __safecall isWordValid(char * word, bool32 wantExceptions, bool32 &__isWordValid_result) = 0 ;
|
|
virtual HRESULT __safecall getBoxes(bool32 wantExceptions, _di_TIEVisionVectorOCRBox &__getBoxes_result) = 0 ;
|
|
virtual HRESULT __safecall getTextAngle(bool32 wantExceptions, float &__getTextAngle_result) = 0 /* overload */;
|
|
virtual HRESULT __safecall getTextAngle(_di_TIEVisionImage image, bool32 wantExceptions, float &__getTextAngle_result) = 0 /* overload */;
|
|
virtual HRESULT __safecall getRegions(bool32 textOnly, bool32 wantExceptions, _di_TIEVisionVectorRect &__getRegions_result) = 0 /* overload */;
|
|
virtual HRESULT __safecall getRegions(_di_TIEVisionImage image, bool32 textOnly, bool32 wantExceptions, _di_TIEVisionVectorRect &__getRegions_result) = 0 /* overload */;
|
|
virtual HRESULT __safecall setSegmentationMode(TIEVisionOCRPageSegmentationMode value, bool32 wantExceptions = false) = 0 ;
|
|
virtual HRESULT __safecall getWordBoxes(bool32 wantExceptions, _di_TIEVisionVectorObjRef &__getWordBoxes_result) = 0 ;
|
|
virtual HRESULT __safecall getOrientation(/* out */ TIEVisionOCROrientation &orientation, /* out */ TIEVisionOCRWritingDirection &writingDirection, /* out */ TIEVisionOCRTextlineOrder &textlineOrder, /* out */ float &deskewAngle, bool32 wantExceptions = false) = 0 ;
|
|
};
|
|
|
|
__interface TIEVisionPeopleDetector : public TIEVisionBase
|
|
{
|
|
virtual HRESULT __safecall detect(_di_TIEVisionImage image, bool32 wantExceptions, _di_TIEVisionVectorRect &__detect_result) = 0 ;
|
|
};
|
|
|
|
__interface TIEVisionBarCodeSymbol : public TIEVisionBase
|
|
{
|
|
virtual HRESULT __safecall getSymbolType(bool32 wantExceptions, _di_TIEVisionWString &__getSymbolType_result) = 0 ;
|
|
virtual HRESULT __safecall getData(bool32 wantExceptions, _di_TIEVisionWString &__getData_result) = 0 ;
|
|
virtual HRESULT __safecall getBoundingBox(bool32 wantExceptions, TIEVisionRect &__getBoundingBox_result) = 0 ;
|
|
virtual HRESULT __safecall getXML(bool32 wantExceptions, _di_TIEVisionWString &__getXML_result) = 0 ;
|
|
};
|
|
|
|
__interface TIEVisionBarCodeScanner : public TIEVisionBase
|
|
{
|
|
virtual HRESULT __safecall scan(_di_TIEVisionImage image, const TIEVisionRect &rect, bool32 wantExceptions, _di_TIEVisionVectorObjRef &__scan_result) = 0 ;
|
|
};
|
|
|
|
__interface TIEVisionStitcher : public TIEVisionBase
|
|
{
|
|
virtual HRESULT __safecall stitch(_di_TIEVisionVectorImageRef images, /* out */ TIEVisionStitchingStatus &status, bool32 wantExceptions, _di_TIEVisionImage &__stitch_result) = 0 ;
|
|
};
|
|
|
|
__interface TIEVisionBackgroundSubtractor : public TIEVisionBase
|
|
{
|
|
virtual HRESULT __safecall selectMethodMOG2(int32_t history = 0x1f4, double varThreshold = 1.600000E+01, bool32 detectShadows = true, bool32 wantExceptions = false) = 0 ;
|
|
virtual HRESULT __safecall selectMethodKNN(int32_t history = 0x1f4, double dist2Threshold = 4.000000E+02, bool32 detectShadows = true, bool32 wantExceptions = false) = 0 ;
|
|
virtual HRESULT __safecall apply(_di_TIEVisionImage image, double learningRate, bool32 wantExceptions, _di_TIEVisionImage &__apply_result) = 0 ;
|
|
};
|
|
|
|
__interface TIEVisionFaceRecognizer : public TIEVisionBase
|
|
{
|
|
virtual HRESULT __safecall selectEigenFaceRecognizer(uint32_t imageWidth = (unsigned)(0x64), uint32_t imageHeight = (unsigned)(0x82), int32_t numComponents = 0x0, bool32 wantExceptions = false) = 0 ;
|
|
virtual HRESULT __safecall selectFisherFaceRecognizer(uint32_t imageWidth = (unsigned)(0x64), uint32_t imageHeight = (unsigned)(0x82), int32_t numComponents = 0x0, bool32 wantExceptions = false) = 0 ;
|
|
virtual HRESULT __safecall selectLBPHFaceRecognizer(int32_t radius = 0x1, int32_t neighbors = 0x8, int32_t grid_x = 0x8, int32_t grid_y = 0x8, bool32 wantExceptions = false) = 0 ;
|
|
virtual HRESULT __safecall addTrainImage(_di_TIEVisionImage image, System::WideChar * imlabel, bool32 wantExceptions = false) = 0 ;
|
|
virtual HRESULT __safecall clear(bool32 wantExceptions = false) = 0 ;
|
|
virtual HRESULT __safecall isTrained(bool32 wantExceptions, bool32 &__isTrained_result) = 0 ;
|
|
virtual HRESULT __safecall train(bool32 update = false, bool32 wantExceptions = false) = 0 ;
|
|
virtual HRESULT __safecall detect(_di_TIEVisionImage image, /* out */ double &confidence, bool32 wantExceptions, System::WideChar * &__detect_result) = 0 ;
|
|
virtual HRESULT __safecall save(_di_IStream stream, bool32 wantExceptions = false) = 0 /* overload */;
|
|
virtual HRESULT __safecall save(System::WideChar * filename, bool32 wantExceptions = false) = 0 /* overload */;
|
|
virtual HRESULT __safecall load(_di_IStream stream, bool32 wantExceptions = false) = 0 /* overload */;
|
|
virtual HRESULT __safecall load(System::WideChar * filename, bool32 wantExceptions = false) = 0 /* overload */;
|
|
};
|
|
|
|
__interface TIEVisionLibrary : public TIEVisionBase
|
|
{
|
|
virtual HRESULT __safecall debug(bool32 wantExceptions = false) = 0 ;
|
|
virtual HRESULT __safecall createHaarTraining(bool32 wantExceptions, _di_TIEVisionHaarTraining &__createHaarTraining_result) = 0 ;
|
|
virtual HRESULT __safecall createInputOutput(bool32 wantExceptions, _di_TIEVisionInputOutput &__createInputOutput_result) = 0 ;
|
|
virtual HRESULT __safecall createMath(bool32 wantExceptions, _di_TIEVisionMath &__createMath_result) = 0 ;
|
|
virtual HRESULT __safecall createDrawing(bool32 wantExceptions, _di_TIEVisionDrawing &__createDrawing_result) = 0 ;
|
|
virtual HRESULT __safecall createImage(int32_t width, int32_t height, TIEVisionChannelFormat channelFormat, int32_t channels, bool32 wantExceptions, _di_TIEVisionImage &__createImage_result) = 0 /* overload */;
|
|
virtual HRESULT __safecall createImage(_di_TIEVisionImage c, bool32 wantExceptions, _di_TIEVisionImage &__createImage_result) = 0 /* overload */;
|
|
virtual HRESULT __safecall createImage(bool32 wantExceptions, _di_TIEVisionImage &__createImage_result) = 0 /* overload */;
|
|
virtual HRESULT __safecall createImage(int32_t width, int32_t height, TIEVisionChannelFormat channelFormat, int32_t channels, int32_t rowlen, void * data, bool32 wantExceptions, _di_TIEVisionImage &__createImage_result) = 0 /* overload */;
|
|
virtual HRESULT __safecall createImage(char * filename, bool32 wantExceptions, _di_TIEVisionImage &__createImage_result) = 0 /* overload */;
|
|
virtual HRESULT __safecall createCascadeClassifier(bool32 wantExceptions, _di_TIEVisionCascadeClassifier &__createCascadeClassifier_result) = 0 /* overload */;
|
|
virtual HRESULT __safecall createCascadeClassifier(_di_TIEVisionCascadeClassifier c, bool32 wantExceptions, _di_TIEVisionCascadeClassifier &__createCascadeClassifier_result) = 0 /* overload */;
|
|
virtual HRESULT __safecall createCascadeClassifier(char * filename, bool32 wantExceptions, _di_TIEVisionCascadeClassifier &__createCascadeClassifier_result) = 0 /* overload */;
|
|
virtual HRESULT __safecall createFileStream(char * filename, TIEVisionFileStreamMode mode, bool32 wantExceptions, _di_TIEVisionFileStream &__createFileStream_result) = 0 /* overload */;
|
|
virtual HRESULT __safecall createFileStream(System::WideChar * filename, TIEVisionFileStreamMode mode, bool32 wantExceptions, _di_TIEVisionFileStream &__createFileStream_result) = 0 /* overload */;
|
|
virtual HRESULT __safecall createFileStream(bool32 wantExceptions, _di_TIEVisionFileStream &__createFileStream_result) = 0 /* overload */;
|
|
virtual HRESULT __safecall createMemoryStream(bool32 wantExceptions, _di_TIEVisionMemoryStream &__createMemoryStream_result) = 0 ;
|
|
virtual HRESULT __safecall createExistingMemoryStream(void * existingBuffer, int32_t existingBufferSize, bool32 wantExceptions, _di_TIEVisionExistingMemoryStream &__createExistingMemoryStream_result) = 0 ;
|
|
virtual HRESULT __safecall createTempFileStream(bool32 deleteOnDestroy, bool32 wantExceptions, _di_TIEVisionTempFileStream &__createTempFileStream_result) = 0 /* overload */;
|
|
virtual HRESULT __safecall createTempFileStream(char * filename, bool32 deleteOnDestroy, bool32 wantExceptions, _di_TIEVisionTempFileStream &__createTempFileStream_result) = 0 /* overload */;
|
|
virtual HRESULT __safecall createMemoryImageList(bool32 wantExceptions, _di_TIEVisionMemoryImageList &__createMemoryImageList_result) = 0 ;
|
|
virtual HRESULT __safecall createMemorySharedImageList(bool32 wantExceptions, _di_TIEVisionMemorySharedImageList &__createMemorySharedImageList_result) = 0 ;
|
|
virtual HRESULT __safecall createTempFileImageList(bool32 wantExceptions, _di_TIEVisionTempFileImageList &__createTempFileImageList_result) = 0 ;
|
|
virtual HRESULT __safecall createString(bool32 wantExceptions, _di_TIEVisionString &__createString_result) = 0 /* overload */;
|
|
virtual HRESULT __safecall createString(_di_TIEVisionString src, bool32 wantExceptions, _di_TIEVisionString &__createString_result) = 0 /* overload */;
|
|
virtual HRESULT __safecall createString(char * src, bool32 wantExceptions, _di_TIEVisionString &__createString_result) = 0 /* overload */;
|
|
virtual HRESULT __safecall createWString(bool32 wantExceptions, _di_TIEVisionWString &__createWString_result) = 0 /* overload */;
|
|
virtual HRESULT __safecall createWString(_di_TIEVisionWString src, bool32 wantExceptions, _di_TIEVisionWString &__createWString_result) = 0 /* overload */;
|
|
virtual HRESULT __safecall createWString(System::WideChar * src, bool32 wantExceptions, _di_TIEVisionWString &__createWString_result) = 0 /* overload */;
|
|
virtual HRESULT __safecall createVectorString(bool32 wantExceptions, _di_TIEVisionVectorString &__createVectorString_result) = 0 /* overload */;
|
|
virtual HRESULT __safecall createVectorString(_di_TIEVisionVectorString src, bool32 wantExceptions, _di_TIEVisionVectorString &__createVectorString_result) = 0 /* overload */;
|
|
virtual HRESULT __safecall createPropertyTree(bool32 wantExceptions, _di_TIEVisionPropertyTree &__createPropertyTree_result) = 0 /* overload */;
|
|
virtual HRESULT __safecall createPropertyTree(_di_TIEVisionPropertyTree src, bool32 wantExceptions, _di_TIEVisionPropertyTree &__createPropertyTree_result) = 0 /* overload */;
|
|
virtual HRESULT __safecall createTempFileName(bool32 deleteOnDestroy, bool32 wantExceptions, _di_TIEVisionTempFileName &__createTempFileName_result) = 0 /* overload */;
|
|
virtual HRESULT __safecall createTempFileName(char * filename, bool32 deleteOnDestroy, bool32 wantExceptions, _di_TIEVisionTempFileName &__createTempFileName_result) = 0 /* overload */;
|
|
virtual HRESULT __safecall createTempDirName(bool32 deleteOnDestroy, bool32 wantExceptions, _di_TIEVisionTempDirName &__createTempDirName_result) = 0 /* overload */;
|
|
virtual HRESULT __safecall createTempDirName(char * dirname, bool32 deleteOnDestroy, bool32 wantExceptions, _di_TIEVisionTempDirName &__createTempDirName_result) = 0 /* overload */;
|
|
virtual HRESULT __safecall createHistogram(_di_TIEVisionVectorInt32 sizes, TIEVisionHistogramType histType, _di_TIEVisionVectorFloatPair ranges, bool32 uniform, bool32 wantExceptions, _di_TIEVisionHistogram &__createHistogram_result) = 0 /* overload */;
|
|
virtual HRESULT __safecall createHistogram(int32_t bins, TIEVisionHistogramType histType, float rangeMin, float rangeMax, bool32 uniform, bool32 wantExceptions, _di_TIEVisionHistogram &__createHistogram_result) = 0 /* overload */;
|
|
virtual HRESULT __safecall createVectorInt32(bool32 wantExceptions, _di_TIEVisionVectorInt32 &__createVectorInt32_result) = 0 /* overload */;
|
|
virtual HRESULT __safecall createVectorInt32(_di_TIEVisionVectorInt32 src, bool32 wantExceptions, _di_TIEVisionVectorInt32 &__createVectorInt32_result) = 0 /* overload */;
|
|
virtual HRESULT __safecall createVectorFloatPair(bool32 wantExceptions, _di_TIEVisionVectorFloatPair &__createVectorFloatPair_result) = 0 /* overload */;
|
|
virtual HRESULT __safecall createVectorFloatPair(_di_TIEVisionVectorFloatPair src, bool32 wantExceptions, _di_TIEVisionVectorFloatPair &__createVectorFloatPair_result) = 0 /* overload */;
|
|
virtual HRESULT __safecall createVectorPoint(bool32 wantExceptions, _di_TIEVisionVectorPoint &__createVectorPoint_result) = 0 /* overload */;
|
|
virtual HRESULT __safecall createVectorPoint(_di_TIEVisionVectorPoint src, bool32 wantExceptions, _di_TIEVisionVectorPoint &__createVectorPoint_result) = 0 /* overload */;
|
|
virtual HRESULT __safecall createVectorRect(bool32 wantExceptions, _di_TIEVisionVectorRect &__createVectorRect_result) = 0 /* overload */;
|
|
virtual HRESULT __safecall createVectorRect(_di_TIEVisionVectorRect src, bool32 wantExceptions, _di_TIEVisionVectorRect &__createVectorRect_result) = 0 /* overload */;
|
|
virtual HRESULT __safecall createVectorByte(bool32 wantExceptions, _di_TIEVisionVectorByte &__createVectorByte_result) = 0 /* overload */;
|
|
virtual HRESULT __safecall createVectorByte(_di_TIEVisionVectorByte src, bool32 wantExceptions, _di_TIEVisionVectorByte &__createVectorByte_result) = 0 /* overload */;
|
|
virtual HRESULT __safecall createVectorDouble(bool32 wantExceptions, _di_TIEVisionVectorDouble &__createVectorDouble_result) = 0 /* overload */;
|
|
virtual HRESULT __safecall createVectorDouble(_di_TIEVisionVectorDouble src, bool32 wantExceptions, _di_TIEVisionVectorDouble &__createVectorDouble_result) = 0 /* overload */;
|
|
virtual HRESULT __safecall createVectorImageRef(bool32 wantExceptions, _di_TIEVisionVectorImageRef &__createVectorImageRef_result) = 0 /* overload */;
|
|
virtual HRESULT __safecall createVectorImageRef(_di_TIEVisionVectorImageRef src, bool32 wantExceptions, _di_TIEVisionVectorImageRef &__createVectorImageRef_result) = 0 /* overload */;
|
|
virtual HRESULT __safecall createObjectTracker(bool32 wantExceptions, _di_TIEVisionObjectTracker &__createObjectTracker_result) = 0 ;
|
|
virtual HRESULT __safecall createObjectsFinder(bool32 wantExceptions, _di_TIEVisionObjectsFinder &__createObjectsFinder_result) = 0 ;
|
|
virtual HRESULT __safecall createOCR(char * language, TIEVisionOCREngine engine, bool32 wantExceptions, _di_TIEVisionOCR &__createOCR_result) = 0 /* overload */;
|
|
virtual HRESULT __safecall createOCR(char * path, char * language, TIEVisionOCREngine engine, bool32 wantExceptions, _di_TIEVisionOCR &__createOCR_result) = 0 /* overload */;
|
|
virtual HRESULT __safecall createOCR(char * path, _di_TIEVisionVectorString languages, TIEVisionOCREngine engine, bool32 wantExceptions, _di_TIEVisionOCR &__createOCR_result) = 0 /* overload */;
|
|
virtual HRESULT __safecall createPeopleDetector(bool32 wantExceptions, _di_TIEVisionPeopleDetector &__createPeopleDetector_result) = 0 ;
|
|
virtual HRESULT __safecall createBarCodeScanner(bool32 wantExceptions, _di_TIEVisionBarCodeScanner &__createBarCodeScanner_result) = 0 ;
|
|
virtual HRESULT __safecall getLibraryInfo(TIEVisionLibraryInfo info, bool32 wantExceptions, _di_TIEVisionString &__getLibraryInfo_result) = 0 ;
|
|
virtual HRESULT __safecall createStitcher(bool32 tryUseGPU, bool32 wantExceptions, _di_TIEVisionStitcher &__createStitcher_result) = 0 ;
|
|
virtual HRESULT __safecall createBackgroundSubtractor(bool32 wantExceptions, _di_TIEVisionBackgroundSubtractor &__createBackgroundSubtractor_result) = 0 ;
|
|
virtual HRESULT __safecall createFaceRecognizer(bool32 wantExceptions, _di_TIEVisionFaceRecognizer &__createFaceRecognizer_result) = 0 ;
|
|
};
|
|
|
|
enum DECLSPEC_DENUM TIEOCRLanguages : unsigned int { OCR_Ancient_Greek_Language, OCR_German_Fraktur_Language, OCR_English_Language, OCR_Ukrainian_Language, OCR_Turkish_Language, OCR_Thai_Language, OCR_Tagalog_Language, OCR_Telugu_Language, OCR_Tamil_Language, OCR_Swedish_Language, OCR_Swahili_Language, OCR_Serbian_Latin_Language, OCR_Albanian_Language, OCR_Spanish_Old_Language, OCR_Spanish_Language, OCR_Slovenian_Language, OCR_Slovakian_Language, OCR_Romanian_Language, OCR_Portuguese_Language, OCR_Polish_Language, OCR_Norwegian_Language, OCR_Dutch_Language, OCR_Malay_Language, OCR_Maltese_Language, OCR_Macedonian_Language, OCR_Malayalam_Language, OCR_Lithuanian_Language, OCR_Latvian_Language, OCR_Korean_Language, OCR_Kannada_Language,
|
|
OCR_Italian_Old_Language, OCR_Italian_Language, OCR_Icelandic_Language, OCR_Indonesian_Language, OCR_Cherokee_Language, OCR_Hungarian_Language, OCR_Croatian_Language, OCR_Hindi_Language, OCR_Hebrew_Language, OCR_Galician_Language, OCR_Middle_French_1400_1600_Language, OCR_Frankish_Language, OCR_French_Language, OCR_Finnish_Language, OCR_Basque_Language, OCR_Estonian_Language, OCR_Esperanto_Language, OCR_Middle_English_1100_1500_Language, OCR_Greek_Language, OCR_German_Language, OCR_Danish_Language, OCR_Czech_Language, OCR_Catalan_Language, OCR_Bulgarian_Language, OCR_Bengali_Language, OCR_Belarusian_Language, OCR_Azerbaijani_Language, OCR_Arabic_Language, OCR_Afrikaans_Language, OCR_Japanese_Language, OCR_Chinese_Simplified_Language,
|
|
OCR_Chinese_Traditional_Language, OCR_Russian_Language, OCR_Vietnamese_Language, OCR_MICR_Code, OCR_Amharic_Language, OCR_Assamese_Language, OCR_Azerbaijani_Cyrillic_Language, OCR_Tibetan_Language, OCR_Bosnian_Language, OCR_Cebuano_Language, OCR_Welsh_Language, OCR_Danish_Fraktur_Language, OCR_Dzongkha_Language, OCR_Equations_Language, OCR_Persian_Language, OCR_Irish_Language, OCR_Gujarati_Language, OCR_Haitian_Language, OCR_Inuktitut_Language, OCR_Javanese_Language, OCR_Georgian_Language, OCR_Georgian_Old_Language, OCR_Kazakh_Language, OCR_Khmer_Language, OCR_Kyrgyz_Language, OCR_Kurdish_Language, OCR_Lao_Language, OCR_Latin_Language, OCR_Marathi_Language, OCR_Burmese_Language, OCR_Nepali_Language, OCR_Oriya_Language, OCR_Punjabi_Language,
|
|
OCR_Pashto_Language, OCR_Sanskrit_Language, OCR_Sinhala_Language, OCR_Slovakian_Fraktur_Language, OCR_Serbian_Language, OCR_Syriac_Language, OCR_Tajik_Language, OCR_Tigrinya_Language, OCR_Uyghur_Language, OCR_Urdu_Language, OCR_Uzbek_Language, OCR_Uzbek_Cyrillic_Language, OCR_Yiddish_Language };
|
|
|
|
struct DECLSPEC_DRECORD TIEVisionLanguages
|
|
{
|
|
public:
|
|
char *Code;
|
|
System::UnicodeString DisplayName;
|
|
};
|
|
|
|
|
|
typedef System::StaticArray<TIEVisionLanguages, 107> Ievision__1;
|
|
|
|
__interface TIEVisionCustomStreamProvider : public System::IInterface
|
|
{
|
|
virtual HRESULT __safecall size(__int64 &__size_result) = 0 ;
|
|
virtual HRESULT __safecall seek(__int64 offset, TIEVisionSeekOffset whence) = 0 ;
|
|
virtual HRESULT __safecall tell(__int64 &__tell_result) = 0 ;
|
|
virtual HRESULT __safecall silent_read(void * ptr, __int64 size, __int64 &__silent_read_result) = 0 ;
|
|
virtual HRESULT __safecall silent_write(void * ptr, __int64 size, __int64 &__silent_write_result) = 0 ;
|
|
virtual HRESULT __safecall silent_getc(int32_t &__silent_getc_result) = 0 ;
|
|
virtual HRESULT __safecall eof(bool32 &__eof_result) = 0 ;
|
|
};
|
|
|
|
__interface TIEVisionCustomStream : public TIEVisionStream
|
|
{
|
|
virtual HRESULT __safecall reset(_di_TIEVisionCustomStreamProvider provider, bool32 wantExceptions = false) = 0 ;
|
|
};
|
|
|
|
__interface TIELibJPEGErrorManager : public TIEVisionBase
|
|
{
|
|
virtual HRESULT __safecall getNumWarnings(bool32 wantExceptions, int32_t &__getNumWarnings_result) = 0 ;
|
|
virtual HRESULT __safecall getErrMsgCode(bool32 wantExceptions, int32_t &__getErrMsgCode_result) = 0 ;
|
|
};
|
|
|
|
__interface TIELibJPEGMarker : public TIEVisionBase
|
|
{
|
|
virtual HRESULT __safecall getID(bool32 wantExceptions, uint8_t &__getID_result) = 0 ;
|
|
virtual HRESULT __safecall getData(bool32 wantExceptions, void * &__getData_result) = 0 ;
|
|
virtual HRESULT __safecall getLength(bool32 wantExceptions, uint32_t &__getLength_result) = 0 ;
|
|
virtual HRESULT __safecall next(bool32 wantExceptions, _di_TIELibJPEGMarker &__next_result) = 0 ;
|
|
};
|
|
|
|
__interface TIELibJPEGDecompressor : public TIEVisionBase
|
|
{
|
|
virtual HRESULT __safecall setErrorManager(_di_TIELibJPEGErrorManager errorManager, bool32 wantExceptions = false) = 0 ;
|
|
virtual HRESULT __safecall createDecompress(bool32 wantExceptions = false) = 0 ;
|
|
virtual HRESULT __safecall destroyDecompress(bool32 wantExceptions = false) = 0 ;
|
|
virtual HRESULT __safecall setupReadStream(_di_TIEVisionStream stream, uint32_t bufferSize, bool32 wantExceptions = false) = 0 ;
|
|
virtual HRESULT __safecall readHeader(bool32 requireImage, bool32 wantExceptions = false) = 0 ;
|
|
virtual HRESULT __safecall saveMarkers(int32_t markerCode, uint32_t lengthLimit, bool32 wantExceptions = false) = 0 ;
|
|
virtual HRESULT __safecall startDecompress(bool32 wantExceptions = false) = 0 ;
|
|
virtual HRESULT __safecall getOutputWidth(bool32 wantExceptions, uint32_t &__getOutputWidth_result) = 0 ;
|
|
virtual HRESULT __safecall getOutputHeight(bool32 wantExceptions, uint32_t &__getOutputHeight_result) = 0 ;
|
|
virtual HRESULT __safecall getOutputComponents(bool32 wantExceptions, uint32_t &__getOutputComponents_result) = 0 ;
|
|
virtual HRESULT __safecall getOutputScanline(bool32 wantExceptions, uint32_t &__getOutputScanline_result) = 0 ;
|
|
virtual HRESULT __safecall readScanlines(void * scanlines, uint32_t maxLines, bool32 wantExceptions, uint32_t &__readScanlines_result) = 0 ;
|
|
virtual HRESULT __safecall finishDecompress(bool32 wantExceptions = false) = 0 ;
|
|
virtual HRESULT __safecall setOutColorSpace(uint32_t colorSpace, bool32 wantExceptions = false) = 0 ;
|
|
virtual HRESULT __safecall getOutColorSpace(bool32 wantExceptions, uint32_t &__getOutColorSpace_result) = 0 ;
|
|
virtual HRESULT __safecall getJpegColorSpace(bool32 wantExceptions, uint32_t &__getJpegColorSpace_result) = 0 ;
|
|
virtual HRESULT __safecall setDCTMethod(uint32_t DCTMethod, bool32 wantExceptions = false) = 0 ;
|
|
virtual HRESULT __safecall getDensityUnit(bool32 wantExceptions, uint8_t &__getDensityUnit_result) = 0 ;
|
|
virtual HRESULT __safecall getXDensity(bool32 wantExceptions, uint16_t &__getXDensity_result) = 0 ;
|
|
virtual HRESULT __safecall getYDensity(bool32 wantExceptions, uint16_t &__getYDensity_result) = 0 ;
|
|
virtual HRESULT __safecall getProgressiveMode(bool32 wantExceptions, bool32 &__getProgressiveMode_result) = 0 ;
|
|
virtual HRESULT __safecall getImageWidth(bool32 wantExceptions, uint32_t &__getImageWidth_result) = 0 ;
|
|
virtual HRESULT __safecall getImageHeight(bool32 wantExceptions, uint32_t &__getImageHeight_result) = 0 ;
|
|
virtual HRESULT __safecall setScale(uint32_t num, uint32_t den, bool32 wantExceptions = false) = 0 ;
|
|
virtual HRESULT __safecall getMarkerList(bool32 wantExceptions, _di_TIELibJPEGMarker &__getMarkerList_result) = 0 ;
|
|
};
|
|
|
|
__interface TIELibJPEGCompressor : public TIEVisionBase
|
|
{
|
|
virtual HRESULT __safecall setErrorManager(_di_TIELibJPEGErrorManager errorManager, bool32 wantExceptions = false) = 0 ;
|
|
virtual HRESULT __safecall setupWriteStream(_di_TIEVisionStream stream, uint32_t bufferSize, bool32 wantExceptions = false) = 0 ;
|
|
virtual HRESULT __safecall createCompress(bool32 wantExceptions = false) = 0 ;
|
|
virtual HRESULT __safecall destroyCompress(bool32 wantExceptions = false) = 0 ;
|
|
virtual HRESULT __safecall setImageWidth(uint32_t imageWidth, bool32 wantExceptions = false) = 0 ;
|
|
virtual HRESULT __safecall setImageHeight(uint32_t imageHeight, bool32 wantExceptions = false) = 0 ;
|
|
virtual HRESULT __safecall setInputComponents(uint32_t inputComponents, bool32 wantExceptions = false) = 0 ;
|
|
virtual HRESULT __safecall setInColorSpace(uint32_t colorSpace, bool32 wantExceptions = false) = 0 ;
|
|
virtual HRESULT __safecall setColorSpace(uint32_t colorSpace, bool32 wantExceptions = false) = 0 ;
|
|
virtual HRESULT __safecall setDefaults(bool32 wantExceptions = false) = 0 ;
|
|
virtual HRESULT __safecall setDensityUnit(uint8_t densityUnit, bool32 wantExceptions = false) = 0 ;
|
|
virtual HRESULT __safecall setXDensity(uint16_t XDensity, bool32 wantExceptions = false) = 0 ;
|
|
virtual HRESULT __safecall setYDensity(uint16_t YDensity, bool32 wantExceptions = false) = 0 ;
|
|
virtual HRESULT __safecall setDCTMethod(uint32_t DCTMethod, bool32 wantExceptions = false) = 0 ;
|
|
virtual HRESULT __safecall setOptimizeCoding(bool32 optimizeCoding, bool32 wantExceptions = false) = 0 ;
|
|
virtual HRESULT __safecall setSmoothingFactor(int32_t smoothingFactor, bool32 wantExceptions = false) = 0 ;
|
|
virtual HRESULT __safecall setQuality(int32_t quality, bool32 baseline, bool32 wantExceptions = false) = 0 ;
|
|
virtual HRESULT __safecall setSampleFactor(int32_t componentIndex, int32_t H, int32_t V, bool32 wantExceptions = false) = 0 ;
|
|
virtual HRESULT __safecall setWriteJFIFHeader(bool32 writeJFIFHeader, bool32 wantExceptions = false) = 0 ;
|
|
virtual HRESULT __safecall simpleProgression(bool32 wantExceptions = false) = 0 ;
|
|
virtual HRESULT __safecall startCompress(bool32 writeAllTables, bool32 wantExceptions = false) = 0 ;
|
|
virtual HRESULT __safecall writeMarker(int32_t markerID, void * markerPtr, uint32_t markerLength, bool32 wantExceptions = false) = 0 ;
|
|
virtual HRESULT __safecall getNextScanlineIndex(bool32 wantExceptions, uint32_t &__getNextScanlineIndex_result) = 0 ;
|
|
virtual HRESULT __safecall writeScanlines(void * scanlines, uint32_t maxLines, bool32 wantExceptions, uint32_t &__writeScanlines_result) = 0 ;
|
|
virtual HRESULT __safecall finishCompress(bool32 wantExceptions = false) = 0 ;
|
|
};
|
|
|
|
__interface TIELibJPEGTransform : public TIEVisionBase
|
|
{
|
|
virtual HRESULT __safecall requestWorkspace(_di_TIELibJPEGDecompressor source, bool32 wantExceptions = false) = 0 ;
|
|
virtual HRESULT __safecall adjustParameters(_di_TIELibJPEGDecompressor source, _di_TIELibJPEGCompressor dest, void * sourceCoefArrays, bool32 wantExceptions, void * &__adjustParameters_result) = 0 ;
|
|
virtual HRESULT __safecall executeTransformation(_di_TIELibJPEGDecompressor source, _di_TIELibJPEGCompressor dest, void * sourceCoefArrays, bool32 wantExceptions = false) = 0 ;
|
|
};
|
|
|
|
__interface TIELibJPEGCopy : public TIEVisionBase
|
|
{
|
|
virtual HRESULT __safecall copyMarkersSetup(_di_TIELibJPEGDecompressor source, int32_t copyOption, bool32 wantExceptions = false) = 0 ;
|
|
virtual HRESULT __safecall readCoefficients(_di_TIELibJPEGDecompressor source, bool32 wantExceptions, void * &__readCoefficients_result) = 0 ;
|
|
virtual HRESULT __safecall copyCriticalParameters(_di_TIELibJPEGDecompressor source, _di_TIELibJPEGCompressor dest, bool32 wantExceptions = false) = 0 ;
|
|
virtual HRESULT __safecall writeCoefficients(_di_TIELibJPEGCompressor dest, void * destCoefArrays, bool32 wantExceptions = false) = 0 ;
|
|
virtual HRESULT __safecall copyMarkersExecute(_di_TIELibJPEGDecompressor source, _di_TIELibJPEGCompressor dest, int32_t copyOption, bool32 wantExceptions = false) = 0 ;
|
|
};
|
|
|
|
__interface TIELibPNGText : public TIEVisionBase
|
|
{
|
|
virtual HRESULT __safecall getKey(bool32 wantExceptions, char * &__getKey_result) = 0 ;
|
|
virtual HRESULT __safecall getText(bool32 wantExceptions, char * &__getText_result) = 0 ;
|
|
virtual HRESULT __safecall getNext(bool32 wantExceptions, _di_TIELibPNGText &__getNext_result) = 0 ;
|
|
};
|
|
|
|
__interface TIELibPNGDecompressor : public TIEVisionBase
|
|
{
|
|
virtual HRESULT __safecall isValid(bool32 wantExceptions, bool32 &__isValid_result) = 0 ;
|
|
virtual HRESULT __safecall setReadFunction(void * ioPtr, void * readDataFunction, bool32 wantExceptions = false) = 0 ;
|
|
virtual HRESULT __safecall readInfo(bool32 wantExceptions = false) = 0 ;
|
|
virtual HRESULT __safecall getIHDR(/* out */ uint32_t &width, /* out */ uint32_t &height, /* out */ int32_t &bitDepth, /* out */ int32_t &colorType, /* out */ int32_t &interlaceType, /* out */ int32_t &compressionType, /* out */ int32_t &filterType, bool32 wantExceptions, uint32_t &__getIHDR_result) = 0 ;
|
|
virtual HRESULT __safecall getText(/* out */ _di_TIELibPNGText &outPngText, bool32 wantExceptions, uint32_t &__getText_result) = 0 ;
|
|
virtual HRESULT __safecall getBackground(TIEVisionBGR8 defaultValue, bool32 wantExceptions, TIEVisionBGR8 &__getBackground_result) = 0 ;
|
|
virtual HRESULT __safecall setExpand(bool32 wantExceptions = false) = 0 ;
|
|
virtual HRESULT __safecall setStrip16(bool32 wantExceptions = false) = 0 ;
|
|
virtual HRESULT __safecall setPacking(bool32 wantExceptions = false) = 0 ;
|
|
virtual HRESULT __safecall setGrayToRGB(bool32 wantExceptions = false) = 0 ;
|
|
virtual HRESULT __safecall setBGR(bool32 wantExceptions = false) = 0 ;
|
|
virtual HRESULT __safecall setSwap(bool32 wantExceptions = false) = 0 ;
|
|
virtual HRESULT __safecall setTRNStoAlpha(bool32 wantExceptions = false) = 0 ;
|
|
virtual HRESULT __safecall setInterlaceHandling(bool32 wantExceptions, int32_t &__setInterlaceHandling_result) = 0 ;
|
|
virtual HRESULT __safecall readUpdateInfo(bool32 wantExceptions = false) = 0 ;
|
|
virtual HRESULT __safecall getXPixelsPerMeter(bool32 wantExceptions, uint32_t &__getXPixelsPerMeter_result) = 0 ;
|
|
virtual HRESULT __safecall getYPixelsPerMeter(bool32 wantExceptions, uint32_t &__getYPixelsPerMeter_result) = 0 ;
|
|
virtual HRESULT __safecall getPalette(void * palette, /* out */ int32_t &numPalette, bool32 wantExceptions, uint32_t &__getPalette_result) = 0 ;
|
|
virtual HRESULT __safecall getInterlaceType(bool32 wantExceptions, uint8_t &__getInterlaceType_result) = 0 ;
|
|
virtual HRESULT __safecall getChannels(bool32 wantExceptions, uint8_t &__getChannels_result) = 0 ;
|
|
virtual HRESULT __safecall readRows(void * row, void * displayRow, uint32_t numRows, bool32 wantExceptions = false) = 0 ;
|
|
virtual HRESULT __safecall readEnd(bool32 wantExceptions = false) = 0 ;
|
|
virtual HRESULT __safecall getTRNS(void * trans, /* out */ int32_t &numTrans, bool32 wantExceptions, uint32_t &__getTRNS_result) = 0 ;
|
|
};
|
|
|
|
__interface TIELibPNGTextList : public TIEVisionBase
|
|
{
|
|
virtual HRESULT __safecall assign(int32_t index, int32_t compression, char * key, char * text, bool32 wantExceptions = false) = 0 ;
|
|
};
|
|
|
|
__interface TIELibPNGCompressor : public TIEVisionBase
|
|
{
|
|
virtual HRESULT __safecall isValid(bool32 wantExceptions, bool32 &__isValid_result) = 0 ;
|
|
virtual HRESULT __safecall setWriteFunction(void * ioPtr, void * writeFunc, void * flushFunc, bool32 wantExceptions = false) = 0 ;
|
|
virtual HRESULT __safecall setPalette(void * palette, int32_t numPalette, bool32 wantExceptions = false) = 0 ;
|
|
virtual HRESULT __safecall setTRNS(Winapi::Windows::PByte trans, int32_t numTrans, bool32 wantExceptions = false) = 0 ;
|
|
virtual HRESULT __safecall setIHDR(uint32_t width, uint32_t height, int32_t bitDepth, int32_t colorType, int32_t interlaceType, int32_t compressionType, int32_t filterType, bool32 wantExceptions = false) = 0 ;
|
|
virtual HRESULT __safecall setPHYS(uint32_t resX, uint32_t resY, int32_t unitType, bool32 wantExceptions = false) = 0 ;
|
|
virtual HRESULT __safecall setFilter(int32_t method, int32_t filters, bool32 wantExceptions = false) = 0 ;
|
|
virtual HRESULT __safecall setBackground(TIEVisionBGR8 colorValue, uint8_t colorIndex, bool32 wantExceptions = false) = 0 ;
|
|
virtual HRESULT __safecall setCompressionLevel(int32_t level, bool32 wantExceptions = false) = 0 ;
|
|
virtual HRESULT __safecall setBGR(bool32 wantExceptions = false) = 0 ;
|
|
virtual HRESULT __safecall writeInfo(bool32 wantExceptions = false) = 0 ;
|
|
virtual HRESULT __safecall setInterlaceHandling(bool32 wantExceptions, int32_t &__setInterlaceHandling_result) = 0 ;
|
|
virtual HRESULT __safecall writeRows(void * row, uint32_t numRows, bool32 wantExceptions = false) = 0 ;
|
|
virtual HRESULT __safecall writeEnd(bool32 wantExceptions = false) = 0 ;
|
|
virtual HRESULT __safecall setText(_di_TIELibPNGTextList textList, bool32 wantExceptions = false) = 0 ;
|
|
};
|
|
|
|
__interface TIELibJP2KComponentParamsList : public TIEVisionBase
|
|
{
|
|
virtual HRESULT __safecall assign(int32_t index, uint32_t tlx, uint32_t tly, uint32_t hstep, uint32_t vstep, uint32_t width, uint32_t height, uint16_t prec, int32_t sgnd, bool32 wantExceptions = false) = 0 ;
|
|
};
|
|
|
|
__interface TIELibJP2KMatrix : public TIEVisionBase
|
|
{
|
|
virtual HRESULT __safecall getValue(int32_t i, int32_t j, bool32 wantExceptions, int32_t &__getValue_result) = 0 ;
|
|
};
|
|
|
|
__interface TIELibJP2KImage : public TIEVisionBase
|
|
{
|
|
virtual HRESULT __safecall getWidth(bool32 wantExceptions, int32_t &__getWidth_result) = 0 ;
|
|
virtual HRESULT __safecall getHeight(bool32 wantExceptions, int32_t &__getHeight_result) = 0 ;
|
|
virtual HRESULT __safecall getColorSpace(bool32 wantExceptions, int32_t &__getColorSpace_result) = 0 ;
|
|
virtual HRESULT __safecall getComponentByType(int32_t component, bool32 wantExceptions, int32_t &__getComponentByType_result) = 0 ;
|
|
virtual HRESULT __safecall getComponentPrecision(int32_t index, bool32 wantExceptions, int32_t &__getComponentPrecision_result) = 0 ;
|
|
virtual HRESULT __safecall getNumComponents(bool32 wantExceptions, int32_t &__getNumComponents_result) = 0 ;
|
|
virtual HRESULT __safecall getComponentHeight(int32_t index, bool32 wantExceptions, int32_t &__getComponentHeight_result) = 0 ;
|
|
virtual HRESULT __safecall getComponentWidth(int32_t index, bool32 wantExceptions, int32_t &__getComponentWidth_result) = 0 ;
|
|
virtual HRESULT __safecall readComponent(uint16_t index, int32_t x, int32_t y, int32_t width, int32_t height, _di_TIELibJP2KMatrix data, bool32 wantExceptions, int32_t &__readComponent_result) = 0 ;
|
|
virtual HRESULT __safecall getComponentTopLeftY(int32_t index, bool32 wantExceptions, int32_t &__getComponentTopLeftY_result) = 0 ;
|
|
virtual HRESULT __safecall getComponentTopLeftX(int32_t index, bool32 wantExceptions, int32_t &__getComponentTopLeftX_result) = 0 ;
|
|
virtual HRESULT __safecall getComponentVStep(int32_t index, bool32 wantExceptions, int32_t &__getComponentVStep_result) = 0 ;
|
|
virtual HRESULT __safecall getComponentHStep(int32_t index, bool32 wantExceptions, int32_t &__getComponentHStep_result) = 0 ;
|
|
virtual HRESULT __safecall encode(_di_TIEVisionStream stream, int32_t format, char * options, bool32 wantExceptions = false) = 0 ;
|
|
virtual HRESULT __safecall setComponentType(int32_t index, int32_t component, bool32 wantExceptions = true) = 0 ;
|
|
virtual HRESULT __safecall writeComponentSample(int32_t index, int32_t x, int32_t y, uint32_t v, bool32 wantExceptions = false) = 0 ;
|
|
virtual HRESULT __safecall writeRowRGB8(int32_t width, int32_t rowIndex, Winapi::Windows::PByte bgr8Array, Winapi::Windows::PByte alphaArray, int32_t colors, bool32 wantExceptions = false) = 0 ;
|
|
virtual HRESULT __safecall readLinearBGR8(_di_TIELibJP2KMatrix blueMatrix, _di_TIELibJP2KMatrix greenMatrix, _di_TIELibJP2KMatrix redMatrix, int32_t rowIndex, int32_t bluePrec, int32_t greenPrec, int32_t redPrec, Winapi::Windows::PByte destBGR8, int32_t width, bool32 wantExceptions = true) = 0 ;
|
|
};
|
|
|
|
enum DECLSPEC_DENUM TIELibDCRAWTextInfo : unsigned int { ievCOLOR_DESCRIPTION, ievIMAGE_DESCRIPTION, ievMAKE, ievMODEL, ievMODEL2, ievARTIST };
|
|
|
|
enum DECLSPEC_DENUM TIELibDCRAWIntInfo : unsigned int { ievWIDTH, ievHEIGHT, ievORIGINAL_WIDTH, ievORIGINAL_HEIGHT, ievPIXELFORMAT };
|
|
|
|
enum DECLSPEC_DENUM TIELibDCRAWPixelFormat : unsigned int { ievRGB24, ievRGB48 };
|
|
|
|
__interface TIELibDCRAWDecoder : public TIEVisionBase
|
|
{
|
|
virtual HRESULT __safecall getTextInfo(TIELibDCRAWTextInfo info, bool32 wantExceptions, _di_TIEVisionString &__getTextInfo_result) = 0 ;
|
|
virtual HRESULT __safecall getIntInfo(TIELibDCRAWIntInfo info, bool32 wantExceptions, int32_t &__getIntInfo_result) = 0 ;
|
|
virtual HRESULT __safecall getRow(uint32_t rowIndex, void * destBuffer, bool32 wantExceptions = false) = 0 ;
|
|
virtual HRESULT __safecall imageLoaded(bool32 wantExceptions, System::LongBool &__imageLoaded_result) = 0 ;
|
|
virtual HRESULT __safecall getOutStream(bool32 wantExceptions, _di_TIEVisionMemoryStream &__getOutStream_result) = 0 ;
|
|
};
|
|
|
|
__interface TIELib : public TIEVisionBase
|
|
{
|
|
virtual HRESULT __safecall debug(bool32 wantExceptions = false) = 0 ;
|
|
virtual HRESULT __safecall createString(bool32 wantExceptions, _di_TIEVisionString &__createString_result) = 0 /* overload */;
|
|
virtual HRESULT __safecall createString(_di_TIEVisionString src, bool32 wantExceptions, _di_TIEVisionString &__createString_result) = 0 /* overload */;
|
|
virtual HRESULT __safecall createString(char * src, bool32 wantExceptions, _di_TIEVisionString &__createString_result) = 0 /* overload */;
|
|
virtual HRESULT __safecall createVectorString(bool32 wantExceptions, _di_TIEVisionVectorString &__createVectorString_result) = 0 /* overload */;
|
|
virtual HRESULT __safecall createVectorString(_di_TIEVisionVectorString src, bool32 wantExceptions, _di_TIEVisionVectorString &__createVectorString_result) = 0 /* overload */;
|
|
virtual HRESULT __safecall createCustomStream(_di_TIEVisionCustomStreamProvider provider, bool32 wantExceptions, _di_TIEVisionCustomStream &__createCustomStream_result) = 0 ;
|
|
virtual HRESULT __safecall createJPEGErrorManager(bool32 wantExceptions, _di_TIELibJPEGErrorManager &__createJPEGErrorManager_result) = 0 ;
|
|
virtual HRESULT __safecall createJPEGDecompressor(bool32 wantExceptions, _di_TIELibJPEGDecompressor &__createJPEGDecompressor_result) = 0 ;
|
|
virtual HRESULT __safecall createJPEGCompressor(bool32 wantExceptions, _di_TIELibJPEGCompressor &__createJPEGCompressor_result) = 0 ;
|
|
virtual HRESULT __safecall createJPEGTransform(int32_t transform, bool32 trim, bool32 forceGrayscale, uint32_t xoffs, uint32_t yoffs, uint32_t newWidth, uint32_t newHeight, bool32 wantExceptions, _di_TIELibJPEGTransform &__createJPEGTransform_result) = 0 ;
|
|
virtual HRESULT __safecall createJPEGCopy(bool32 wantExceptions, _di_TIELibJPEGCopy &__createJPEGCopy_result) = 0 ;
|
|
virtual HRESULT __safecall createPNGDecompressor(void * errorPtr, void * errorFunc, void * warnFunc, bool32 wantExceptions, _di_TIELibPNGDecompressor &__createPNGDecompressor_result) = 0 ;
|
|
virtual HRESULT __safecall PNGGetIOPtr(void * pngPtr, bool32 wantExceptions, void * &__PNGGetIOPtr_result) = 0 ;
|
|
virtual HRESULT __safecall PNGGetErrorPtr(void * pngPtr, bool32 wantExceptions, void * &__PNGGetErrorPtr_result) = 0 ;
|
|
virtual HRESULT __safecall PNGSigCmp(void * sig, uint32_t start, uint32_t numToCheck, bool32 wantExceptions, int32_t &__PNGSigCmp_result) = 0 ;
|
|
virtual HRESULT __safecall createPNGTextList(uint32_t size, bool32 wantExceptions, _di_TIELibPNGTextList &__createPNGTextList_result) = 0 ;
|
|
virtual HRESULT __safecall createPNGCompressor(void * errorPtr, void * errorFunc, void * warnFunc, bool32 wantExceptions, _di_TIELibPNGCompressor &__createPNGCompressor_result) = 0 ;
|
|
virtual HRESULT __safecall JP2KInitialize(bool32 wantExceptions = false) = 0 ;
|
|
virtual HRESULT __safecall JP2KFinalize(bool32 wantExceptions = false) = 0 ;
|
|
virtual HRESULT __safecall createJP2KImage(_di_TIEVisionStream stream, bool32 wantExceptions, _di_TIELibJP2KImage &__createJP2KImage_result) = 0 /* overload */;
|
|
virtual HRESULT __safecall createJP2KImage(uint16_t numComponents, _di_TIELibJP2KComponentParamsList parameters, int32_t colorModel, bool32 wantExceptions, _di_TIELibJP2KImage &__createJP2KImage_result) = 0 /* overload */;
|
|
virtual HRESULT __safecall createJP2KComponentParamsList(int32_t size, bool32 wantExceptions, _di_TIELibJP2KComponentParamsList &__createJP2KComponentParamsList_result) = 0 ;
|
|
virtual HRESULT __safecall createJP2KMatrix(int32_t numRows, int32_t numCols, bool32 wantExceptions, _di_TIELibJP2KMatrix &__createJP2KMatrix_result) = 0 ;
|
|
virtual HRESULT __safecall createDCRAWDecoder(_di_TIEVisionStream inStream, _di_TIEVisionVectorString parameters, void * progressCallback, void * progressUserData, bool32 wantExceptions, _di_TIELibDCRAWDecoder &__createDCRAWDecoder_result) = 0 ;
|
|
};
|
|
|
|
typedef System::StaticArray<System::UnicodeString, 6> Ievision__2;
|
|
|
|
//-- var, const, procedure ---------------------------------------------------
|
|
#define IEVC_EYE L":EYE"
|
|
#define IEVC_EYE_TREE_EYE_GLASSES L":EYETREEEYEGLASSES"
|
|
#define IEVC_FRONTAL_FACE_ALT L":FRONTALFACEALT"
|
|
#define IEVC_FRONTAL_FACE_ALT_2 L":FRONTALFACEALT2"
|
|
#define IEVC_FRONTAL_FACE_ALT_TREE L":FRONTALFACEALTTREE"
|
|
#define IEVC_FRONTAL_FACE_DEFAULT L":FRONTALFACEDEFAULT"
|
|
#define IEVC_FULL_BODY L":FULLBODY"
|
|
#define IEVC_LOWER_BODY L":LOWERBODY"
|
|
#define IEVC_PROFILE_FACE L":PROFILEFACE"
|
|
#define IEVC_UPPER_BODY L":UPPERBODY"
|
|
#define IEVC_LEFT_EYE_2_SPLITS L":LEFTEYE2SPLITS"
|
|
#define IEVC_RIGHT_EYE_2_SPLITS L":RIGHTEYE2SPLITS"
|
|
#define IEVC_LBP_FRONTAL_FACE L":LBPFRONTALFACE"
|
|
#define IEVC_CASCADE_SMILE L":CASCADESMILE"
|
|
#define IEVC_FRONTAL_CAT_FACE L":FRONTALCATFACE"
|
|
#define IEVC_FRONTAL_CAT_FACE_EXT L":FRONTALCATFACEEXTENDED"
|
|
#define IEVC_LICENSE_PLATE_RUS L":LICENSEPLATERUS"
|
|
#define IEVC_RUSSIAN_PLATE_NUMBER L":RUSSIANPLATENUMBER"
|
|
#define IEVC_ALL_CLASSIFIERS L":EYE\r\n:EYETREEEYEGLASSES\r\n:FRONTALFACEALT\r\n:FRONTALF"\
|
|
L"ACEALT2\r\n:FRONTALFACEALTTREE\r\n:FRONTALFACEDEFAULT\r\n:"\
|
|
L"FULLBODY\r\n:LOWERBODY\r\n:PROFILEFACE\r\n:UPPERBODY\r\n:L"\
|
|
L"EFTEYE2SPLITS\r\n:RIGHTEYE2SPLITS\r\n:LBPFRONTALFACE\r\n:C"\
|
|
L"ASCADESMILE\r\n:FRONTALCATFACE\r\n:FRONTALCATFACEEXTENDED\r"\
|
|
L"\n:LICENSEPLATERUS\r\n:RUSSIANPLATENUMBER"
|
|
static _DELPHI_CONST System::Int8 ievITER = System::Int8(0x1);
|
|
static _DELPHI_CONST System::Int8 ievNUMBER = System::Int8(0x1);
|
|
static _DELPHI_CONST System::Int8 ievEPS = System::Int8(0x2);
|
|
static _DELPHI_CONST System::Int8 ievMUL_ROWS = System::Int8(0x4);
|
|
static _DELPHI_CONST System::Int8 ievMUL_CONJ = System::Int8(0x8);
|
|
static _DELPHI_CONST System::Int8 ievNONE = System::Int8(0x0);
|
|
static _DELPHI_CONST System::Int8 ievDO_CANNY_PRUNING = System::Int8(0x1);
|
|
static _DELPHI_CONST System::Int8 ievSCALE_IMAGE = System::Int8(0x2);
|
|
static _DELPHI_CONST System::Int8 ievFIND_BIGGEST_OBJECT = System::Int8(0x4);
|
|
static _DELPHI_CONST System::Int8 ievDO_ROUGH_SEARCH = System::Int8(0x8);
|
|
static _DELPHI_CONST System::Int8 ievTHRESH_BINARY = System::Int8(0x0);
|
|
static _DELPHI_CONST System::Int8 ievTHRESH_BINARY_INV = System::Int8(0x1);
|
|
static _DELPHI_CONST System::Int8 ievTHRESH_TRUNC = System::Int8(0x2);
|
|
static _DELPHI_CONST System::Int8 ievTHRESH_TOZERO = System::Int8(0x3);
|
|
static _DELPHI_CONST System::Int8 ievTHRESH_TOZERO_INV = System::Int8(0x4);
|
|
static _DELPHI_CONST System::Int8 ievTHRESH_OTSU = System::Int8(0x8);
|
|
static _DELPHI_CONST System::Int8 ievTHRESH_TRIANGLE = System::Int8(0x10);
|
|
extern DELPHI_PACKAGE Ievision__1 IEOCRLanguageList;
|
|
#define IEV_OCR_Language_Data_Ext L".traineddata"
|
|
#define IELIB_32BIT_DLL_FILENAME1 L"ielib.dll"
|
|
#define IELIB_32BIT_DLL_FILENAME2 L"ielib32.dll"
|
|
#define IELIB_64BIT_DLL_FILENAME L"ielib64.dll"
|
|
#define IEVISION_32BIT_DLL_FILENAME1 L"ievision.dll"
|
|
#define IEVISION_32BIT_DLL_FILENAME2 L"ievision32.dll"
|
|
#define IEVISION_64BIT_DLL_FILENAME L"ievision64.dll"
|
|
extern DELPHI_PACKAGE Ievision__2 IELib_DLL_Filenames;
|
|
extern DELPHI_PACKAGE _di_TIEVisionLibrary __fastcall IEVisionLib(void);
|
|
extern DELPHI_PACKAGE bool __fastcall IEVisionAvailable(void);
|
|
extern DELPHI_PACKAGE void __fastcall IEInitialize_ievision(const System::WideString sDLLPath = System::WideString(), bool reinitialize = true);
|
|
extern DELPHI_PACKAGE void __fastcall IEFinalize_ievision(void);
|
|
extern DELPHI_PACKAGE _di_TIELib __fastcall IELib(void);
|
|
extern DELPHI_PACKAGE bool __fastcall IELibAvailable(void);
|
|
extern DELPHI_PACKAGE void __fastcall IEInitialize_ielib(const System::WideString sDLLPath = System::WideString(), bool reinitialize = true);
|
|
extern DELPHI_PACKAGE void __fastcall IEFinalize_ielib(void);
|
|
extern DELPHI_PACKAGE TIEVisionSize __fastcall IEVisionSize(int32_t width, int32_t height);
|
|
extern DELPHI_PACKAGE TIEVisionRect __fastcall IEVisionRect(int32_t x, int32_t y, int32_t width, int32_t height);
|
|
extern DELPHI_PACKAGE Winapi::Windows::TRect __fastcall IEVisionRectToTRect(const TIEVisionRect &Rect);
|
|
extern DELPHI_PACKAGE TIEVisionPoint __fastcall IEVisionPoint(int32_t x, int32_t y);
|
|
extern DELPHI_PACKAGE TIEVisionScalar __fastcall IEVisionScalar(double val0, double val1 = 0.000000E+00, double val2 = 0.000000E+00, double val3 = 0.000000E+00);
|
|
extern DELPHI_PACKAGE TIEVisionFloatPair __fastcall IEVisionFloatPair(double first, double second);
|
|
extern DELPHI_PACKAGE TIEVisionTermCriteria __fastcall IEVisionTermCriteria(TIEVisionTermCriteriaType ctype, int32_t maxIter, double epsilon);
|
|
extern DELPHI_PACKAGE System::UnicodeString __fastcall IEVisionLanguageCodeToName(const System::UnicodeString sLangCode);
|
|
extern DELPHI_PACKAGE System::UnicodeString __fastcall IEVisionLanguageNameToCode(const System::UnicodeString sLangName);
|
|
extern DELPHI_PACKAGE bool __fastcall IEVisionGetLanguagesInFolder(System::Classes::TStrings* ssDest, const System::UnicodeString sFolder, bool bDisplayName = false);
|
|
extern DELPHI_PACKAGE bool __fastcall LanguageExistsInFolder(TIEOCRLanguages aLanguage, const System::UnicodeString sFolder)/* overload */;
|
|
extern DELPHI_PACKAGE bool __fastcall LanguageExistsInFolder(const System::UnicodeString sLangCode, const System::UnicodeString sFolder)/* overload */;
|
|
extern DELPHI_PACKAGE bool __fastcall CubeEngineExistsInFolder(TIEOCRLanguages aLanguage, const System::UnicodeString sFolder)/* overload */;
|
|
extern DELPHI_PACKAGE bool __fastcall CubeEngineExistsInFolder(const System::UnicodeString sLangCode, const System::UnicodeString sFolder)/* overload */;
|
|
} /* namespace Ievision */
|
|
#if !defined(DELPHIHEADER_NO_IMPLICIT_NAMESPACE_USE) && !defined(NO_USING_NAMESPACE_IEVISION)
|
|
using namespace Ievision;
|
|
#endif
|
|
#pragma pack(pop)
|
|
#pragma option pop
|
|
|
|
#pragma delphiheader end.
|
|
//-- end unit ----------------------------------------------------------------
|
|
#endif // ievisionHPP
|