Dynamsoft Panorama - API Reference
|
Functions | |
DPS_API int | DPS_StartPanoramaStitchingByFile (void *hStitcher) |
DPS_API int | DPS_StartPanoramaStitchingByBuffer (void *hStitcher, int iWidth, int iHeight, int iStride, DPS_ImagePixelFormat format) |
DPS_API int | DPS_AppendNewFrameByFile (void *hStitcher, const char *pFileName, int isVistaImg) |
DPS_API int | DPS_AppendNewFrameByBuffer (void *hStitcher, const unsigned char *pBuffer, int isVistaImg) |
DPS_API void | DPS_WaitForFinishStitching (void *hStitcher) |
DPS_API void | DPS_StopPanoramaStitching (void *hStitcher) |
DPS_API int DPS_AppendNewFrameByBuffer | ( | void * | hStitcher, |
const unsigned char * | pBuffer, | ||
int | isVistaImg | ||
) |
Appends a new frame image buffer from a file to the inner frame queue.
[in] | hStitcher | Handle of the Panorama instance. |
[in] | pBuffer | The array of bytes which contain the image data. |
[in] | isVistaImg | A parameter defining whether is a image captured from long-distance or not. |
DPS_API int DPS_AppendNewFrameByFile | ( | void * | hStitcher, |
const char * | pFileName, | ||
int | isVistaImg | ||
) |
Appends a new frame from a file to the inner frame queue.
[in] | hStitcher | Handle of the Panorama instance. |
[in] | pFileName | A string defining the file name. |
[in] | isVistaImg | A parameter defining whether is a image captured from long-distance or not. |
DPS_API int DPS_StartPanoramaStitchingByBuffer | ( | void * | hStitcher, |
int | iWidth, | ||
int | iHeight, | ||
int | iStride, | ||
DPS_ImagePixelFormat | format | ||
) |
Starts threads to manage images reading from buffer.
[in] | hStitcher | Handle of the Panorama instance. |
[in] | iWidth | The width of the frame image in pixels. |
[in] | iHeight | The height of the frame image in pixels. |
[in] | iStride | The stride (or scan width) of the frame image. |
[in] | format | The image pixel format used in the image byte array. |
DPS_API int DPS_StartPanoramaStitchingByFile | ( | void * | hStitcher | ) |
Starts threads to manage images reading from file.
[in] | hStitcher | Handle of the Panorama instance. |
DPS_API void DPS_StopPanoramaStitching | ( | void * | hStitcher | ) |
Stops stitching immediately, will not stitch the remaining frames in the inner frame queue.
[in] | hStitcher | Handle of the Panorama instance. |
DPS_API void DPS_WaitForFinishStitching | ( | void * | hStitcher | ) |
Waits for finish stitching all frames in the inner frame queue.
[in] | hStitcher | Handle of the Panorama instance. |