Dynamsoft Panorama - API Reference
Protected Attributes | List of all members
dynamsoft::dps::CPanoramaStitcher Class Reference

Public Member Functions

 CPanoramaStitcher ()
 
 ~CPanoramaStitcher ()
 
Initialization Functions
int InitLicense (const char *pLicense)
 
int InitLicenseFromServer (const char *pLicenseServer, const char *pLicenseKey)
 
int InitLicenseFromLicenseContent (const char *pLicenseKey, const char *pLicenseContent)
 
int OutputLicenseToStringPtr (char **content)
 
void FreeLicenseString (char **content)
 
Stitching Functions
int StartPanoramaStitchingByFile ()
 
int StartPanoramaStitchingByBuffer (int iWidth, int iHeight, int iStride, DPS_ImagePixelFormat format)
 
int AppendNewFrameByFile (const char *pFileName, int isVistaImg)
 
int AppendNewFrameByBuffer (const unsigned char *pBuffer, int isVistaImg)
 
void WaitForFinishStitching ()
 
void StopPanoramaStitching ()
 
Basic Setting Functions
int GetRuntimeSettings (DPS_RuntimeSettings *pSettings)
 
int UpdateRuntimeSettings (DPS_RuntimeSettings *pSettings, char error[], int errorMsgBufferLen)
 
Advanced Setting Functions
int InitRuntimeSettingsWithString (const char *pJsonSetting, char error[], int errorMsgBufferLen)
 
int OutputSettingsToStringPtr (char **content)
 
void FreeSettingsString (char **content)
 
int SetBlockImgSavePath (const char *path)
 
Callback Functions
int SetResultCallback (CB_PanoramaResult cbFunction, void *pUser)
 
int SetErrorCodeCallback (CB_PanoramaErrorCode cbFunction, void *pUser)
 

Static Public Member Functions

General Functions
static const char * GetErrorString (const int iErrorCode)
 
static const char * GetVersion ()
 

Protected Attributes

DM_Panorama * m_pStitcher
 

Result Functions

int GetFinalResults (PanoramaResultArray **pResult)
 
int GetRunningState (RunningState *pRunningState)
 
static int GetCompleteResultImage (PanoramaResult *pResult, DMBitmap **completeImage)
 
static void FreeDMBitmap (DMBitmap **pBmp)
 
static void FreePanoramaResults (PanoramaResultArray **pPresults)
 

Detailed Description

Defines a class that provides functions for working with image stitching and barcode data extracting.