Display images, save images, and convert pixel format. More...
Functions | |
| MV_CAMCTRL_API int __stdcall | MV_CC_SaveImageEx3 (IN void *handle, IN OUT MV_SAVE_IMAGE_PARAM_EX3 *pstSaveParam) |
| Convert the original image data to picture and save the images to specific memory. Support setting BMP and JPEG encoding quality. More... | |
| MV_CAMCTRL_API int __stdcall | MV_CC_SaveImageToFileEx (IN void *handle, IN OUT MV_SAVE_IMAGE_TO_FILE_PARAM_EX *pstSaveFileParam) |
| Save image to file (extended API 1). More... | |
| MV_CAMCTRL_API int __stdcall | MV_CC_SaveImageToFileEx2 (IN void *handle, IN MV_CC_IMAGE *pstImage, IN MV_CC_SAVE_IMAGE_PARAM *pSaveImageParam, IN const char *pcImagePath) |
| Save image to file (extended API 2). More... | |
| MV_CAMCTRL_API int __stdcall | MV_CC_RotateImage (IN void *handle, IN OUT MV_CC_ROTATE_IMAGE_PARAM *pstRotateParam) |
| Rotate images in MONO8/RGB24/BGR24 format. More... | |
| MV_CAMCTRL_API int __stdcall | MV_CC_FlipImage (IN void *handle, IN OUT MV_CC_FLIP_IMAGE_PARAM *pstFlipParam) |
| Flip images in MONO8/RGB24/BGR24 format. More... | |
| MV_CAMCTRL_API int __stdcall | MV_CC_ConvertPixelTypeEx (IN void *handle, IN OUT MV_CC_PIXEL_CONVERT_PARAM_EX *pstCvtParam) |
| Convert pixel format. More... | |
| MV_CAMCTRL_API int __stdcall | MV_CC_SetBayerCvtQuality (IN void *handle, IN unsigned int nBayerCvtQuality) |
| Set the interpolation method of Bayer format. More... | |
| MV_CAMCTRL_API int __stdcall | MV_CC_SetBayerFilterEnable (IN void *handle, IN bool bFilterEnable) |
| Enable or disable the smoothing function of interpolation algorithm. More... | |
| MV_CAMCTRL_API int __stdcall | MV_CC_SetBayerGammaValue (IN void *handle, IN float fBayerGammaValue) |
| Set the Gamma value after Bayer interpolation. More... | |
| MV_CAMCTRL_API int __stdcall | MV_CC_SetGammaValue (IN void *handle, IN enum MvGvspPixelType enSrcPixelType, IN float fGammaValue) |
| Set gamma value of Mono8 / Bayer8/10/12/16 pattern. More... | |
| MV_CAMCTRL_API int __stdcall | MV_CC_SetBayerGammaParam (IN void *handle, IN MV_CC_GAMMA_PARAM *pstGammaParam) |
| Set Gamma information of Bayer pattern. More... | |
| MV_CAMCTRL_API int __stdcall | MV_CC_SetBayerCCMParam (IN void *handle, IN MV_CC_CCM_PARAM *pstCCMParam) |
| Color correction after Bayer interpolation. The default quantitative scale is 1024. More... | |
| MV_CAMCTRL_API int __stdcall | MV_CC_SetBayerCCMParamEx (IN void *handle, IN MV_CC_CCM_PARAM_EX *pstCCMParam) |
| Enable/disable CCM and set CCM parameters of Bayer pattern. More... | |
| MV_CAMCTRL_API int __stdcall | MV_CC_ImageContrast (IN void *handle, IN OUT MV_CC_CONTRAST_PARAM *pstContrastParam) |
| Adjust image contrast. More... | |
| MV_CAMCTRL_API int __stdcall | MV_CC_PurpleFringing (IN void *handle, IN MV_CC_PURPLE_FRINGING_PARAM *pstPurpleFringingParam) |
| Correct purple fringing of the image. More... | |
| MV_CAMCTRL_API int __stdcall | MV_CC_HB_Decode (IN void *handle, IN OUT MV_CC_HB_DECODE_PARAM *pstDecodeParam) |
| Decode lossless compression stream into raw data. More... | |
| MV_CAMCTRL_API int __stdcall | MV_CC_DrawRect (IN void *handle, IN MVCC_RECT_INFO *pRectInfo) |
| Draw auxiliary rectangle frames on the image. More... | |
| MV_CAMCTRL_API int __stdcall | MV_CC_StartRecord (IN void *handle, IN MV_CC_RECORD_PARAM *pstRecordParam) |
| Start recording. More... | |
| MV_CAMCTRL_API int __stdcall | MV_CC_InputOneFrame (IN void *handle, IN MV_CC_INPUT_FRAME_INFO *pstInputFrameInfo) |
| Input raw data for recording. More... | |
| MV_CAMCTRL_API int __stdcall | MV_CC_StopRecord (IN void *handle) |
| Stop recording. More... | |
| MV_CAMCTRL_API int __stdcall | MV_CC_ReconstructImage (IN void *handle, IN OUT MV_RECONSTRUCT_IMAGE_PARAM *pstReconstructParam) |
| Reconstruct the image (for time-division exposure). More... | |
Display images, save images, and convert pixel format.
| MV_CAMCTRL_API int __stdcall MV_CC_SaveImageEx3 | ( | IN void * | handle, |
| IN OUT MV_SAVE_IMAGE_PARAM_EX3 * | pstSaveParam | ||
| ) |
Convert the original image data to picture and save the images to specific memory. Support setting BMP and JPEG encoding quality.
| handle | [IN] Device handle. |
| pstSaveParam | [IN][OUT] Input and output parameters of image data. |
| MV_CAMCTRL_API int __stdcall MV_CC_SaveImageToFileEx | ( | IN void * | handle, |
| IN OUT MV_SAVE_IMAGE_TO_FILE_PARAM_EX * | pstSaveFileParam | ||
| ) |
Save image to file (extended API 1).
| handle | [IN] Device handle. |
| pstSaveFileParam | [IN][OUT] Structure of image saving parameters. |
| MV_CAMCTRL_API int __stdcall MV_CC_SaveImageToFileEx2 | ( | IN void * | handle, |
| IN MV_CC_IMAGE * | pstImage, | ||
| IN MV_CC_SAVE_IMAGE_PARAM * | pSaveImageParam, | ||
| IN const char * | pcImagePath | ||
| ) |
Save image to file (extended API 2).
| handle | [IN] Device handle. |
| pstImage | [IN] Image information. |
| pSaveImageParam | [IN] Image saving parameter. |
| pcImagePath | [IN] Image saving path. |
| MV_CAMCTRL_API int __stdcall MV_CC_RotateImage | ( | IN void * | handle, |
| IN OUT MV_CC_ROTATE_IMAGE_PARAM * | pstRotateParam | ||
| ) |
Rotate images in MONO8/RGB24/BGR24 format.
| handle | [IN] Device handle. |
| pstRotateParam | [IN][OUT] Structure of image rotation parameters. |
| MV_CAMCTRL_API int __stdcall MV_CC_FlipImage | ( | IN void * | handle, |
| IN OUT MV_CC_FLIP_IMAGE_PARAM * | pstFlipParam | ||
| ) |
Flip images in MONO8/RGB24/BGR24 format.
| handle | [IN] Device handle. |
| pstFlipParam | [IN][OUT] Image flipping structure. |
| MV_CAMCTRL_API int __stdcall MV_CC_ConvertPixelTypeEx | ( | IN void * | handle, |
| IN OUT MV_CC_PIXEL_CONVERT_PARAM_EX * | pstCvtParam | ||
| ) |
Convert pixel format.
| handle | [IN] Device handle. |
| pstCvtParam | [IN][OUT] Structure of pixel format conversion parameters. |
| Input Format \ Output Format | Mono8 | RGB24 | BGR24 | YUV422 | YV12 | YUV422 YUYV |
|---|---|---|---|---|---|---|
| Mono8 | × | √ | √ | √ | √ | × |
| Mono10 | √ | √ | √ | √ | √ | × |
| Mono10P | √ | √ | √ | √ | √ | × |
| Mono12 | √ | √ | √ | √ | √ | × |
| Mono12P | √ | √ | √ | √ | √ | × |
| BayerGR8 | √ | √ | √ | √ | √ | × |
| BayerRG8 | √ | √ | √ | √ | √ | × |
| BayerGB8 | √ | √ | √ | √ | √ | × |
| BayerBG8 | √ | √ | √ | √ | √ | × |
| BayerRBGG8 | × | √ | √ | × | × | × |
| BayerGR10 | √ | √ | √ | √ | √ | × |
| BayerRG10 | √ | √ | √ | √ | √ | × |
| BayerGB10 | √ | √ | √ | √ | √ | × |
| BayerBG10 | √ | √ | √ | √ | √ | × |
| BayerGR12 | √ | √ | √ | √ | √ | × |
| BayerRG12 | √ | √ | √ | √ | √ | × |
| BayerGB12 | √ | √ | √ | √ | √ | × |
| BayerBG12 | √ | √ | √ | √ | √ | × |
| BayerGR10P | √ | √ | √ | √ | √ | × |
| BayerRG10P | √ | √ | √ | √ | √ | × |
| BayerGB10P | √ | √ | √ | √ | √ | × |
| BayerBG10P | √ | √ | √ | √ | √ | × |
| BayerGR12P | √ | √ | √ | √ | √ | × |
| BayerRG12P | √ | √ | √ | √ | √ | × |
| BayerGB12P | √ | √ | √ | √ | √ | × |
| BayerBG12P | √ | √ | √ | √ | √ | × |
| RGB8P | √ | × | √ | √ | √ | × |
| BGR8P | √ | √ | × | √ | √ | × |
| YUV422P | √ | √ | √ | × | √ | × |
| YUV422 YUYV | √ | √ | √ | √ | √ | × |
| MV_CAMCTRL_API int __stdcall MV_CC_SetBayerCvtQuality | ( | IN void * | handle, |
| IN unsigned int | nBayerCvtQuality | ||
| ) |
Set the interpolation method of Bayer format.
| handle | [IN] Device handle. |
| BayerCvtQuality | [IN] Interpolation mode: 0-fast, 1-equilibrated, 2-optimal (default for other values), 3-optimal plus. |
| MV_CAMCTRL_API int __stdcall MV_CC_SetBayerFilterEnable | ( | IN void * | handle, |
| IN bool | bFilterEnable | ||
| ) |
Enable or disable the smoothing function of interpolation algorithm.
| handle | [IN] Device handle. |
| bFilterEnable | [IN] Whether to enable the smoothing function of interpolation algorithm (disabled by default). |
| MV_CAMCTRL_API int __stdcall MV_CC_SetBayerGammaValue | ( | IN void * | handle, |
| IN float | fBayerGammaValue | ||
| ) |
Set the Gamma value after Bayer interpolation.
| handle | [IN] Device handle. |
| fBayerGammaValue | [IN] Gamma value: [0.1,4.0]. |
| MV_CAMCTRL_API int __stdcall MV_CC_SetGammaValue | ( | IN void * | handle, |
| IN enum MvGvspPixelType | enSrcPixelType, | ||
| IN float | fGammaValue | ||
| ) |
Set gamma value of Mono8 / Bayer8/10/12/16 pattern.
| handle | [IN] Device handle. |
| MvGvspPixelType | enSrcPixelType [IN] Pixel type. Supports PixelType_Gvsp_Mono8 and Bayer 8/10/12/16. |
| fGammaValue | [IN] Gamma value, range: [0.1,4.0]. |
| MV_CAMCTRL_API int __stdcall MV_CC_SetBayerGammaParam | ( | IN void * | handle, |
| IN MV_CC_GAMMA_PARAM * | pstGammaParam | ||
| ) |
Set Gamma information of Bayer pattern.
| handle | [IN] Device handle. |
| pstGammaParam | [IN] Gamma parameters structure. |
| MV_CAMCTRL_API int __stdcall MV_CC_SetBayerCCMParam | ( | IN void * | handle, |
| IN MV_CC_CCM_PARAM * | pstCCMParam | ||
| ) |
Color correction after Bayer interpolation. The default quantitative scale is 1024.
| handle | [IN] Device handle. |
| pstCCMParam | [IN] Color correction parameter structure. |
| MV_CAMCTRL_API int __stdcall MV_CC_SetBayerCCMParamEx | ( | IN void * | handle, |
| IN MV_CC_CCM_PARAM_EX * | pstCCMParam | ||
| ) |
Enable/disable CCM and set CCM parameters of Bayer pattern.
| handle | [IN] Device handle. |
| pstCCMParam | [IN] CCM parameter structure. |
| MV_CAMCTRL_API int __stdcall MV_CC_ImageContrast | ( | IN void * | handle, |
| IN OUT MV_CC_CONTRAST_PARAM * | pstContrastParam | ||
| ) |
Adjust image contrast.
| handle | [IN] Device handle. |
| pstContrastParam | [IN][OUT] Contrast parameter structure. |
| MV_CAMCTRL_API int __stdcall MV_CC_PurpleFringing | ( | IN void * | handle, |
| IN MV_CC_PURPLE_FRINGING_PARAM * | pstPurpleFringingParam | ||
| ) |
Correct purple fringing of the image.
| handle | [IN] Device handle. |
| pstPurpleFringingParam | [IN][OUT] Purple fringing correction parameter. |
| MV_CAMCTRL_API int __stdcall MV_CC_HB_Decode | ( | IN void * | handle, |
| IN OUT MV_CC_HB_DECODE_PARAM * | pstDecodeParam | ||
| ) |
Decode lossless compression stream into raw data.
| handle | [IN] Device handle. |
| pstDecodeParam | [IN][OUT] Lossless decoding parameter structure. |
| MV_CAMCTRL_API int __stdcall MV_CC_DrawRect | ( | IN void * | handle, |
| IN MVCC_RECT_INFO * | pRectInfo | ||
| ) |
Draw auxiliary rectangle frames on the image.
| handle | [IN] Device handle. |
| pRectInfo | [IN] Information of auxiliary rectangle frame. |
| MV_CAMCTRL_API int __stdcall MV_CC_StartRecord | ( | IN void * | handle, |
| IN MV_CC_RECORD_PARAM * | pstRecordParam | ||
| ) |
Start recording.
| handle | [IN] Device handle. |
| pstRecordParam | [IN] Recording parameter structure. |
| MV_CAMCTRL_API int __stdcall MV_CC_InputOneFrame | ( | IN void * | handle, |
| IN MV_CC_INPUT_FRAME_INFO * | pstInputFrameInfo | ||
| ) |
Input raw data for recording.
| handle | [IN] Device handle. |
| pstInputFrameInfo | [IN] Record data structure. |
| MV_CAMCTRL_API int __stdcall MV_CC_StopRecord | ( | IN void * | handle | ) |
Stop recording.
| handle | [IN] Device handle. |
| MV_CAMCTRL_API int __stdcall MV_CC_ReconstructImage | ( | IN void * | handle, |
| IN OUT MV_RECONSTRUCT_IMAGE_PARAM * | pstReconstructParam | ||
| ) |
Reconstruct the image (for time-division exposure).
| handle | [IN] Device handle. |
| pstRestruParam | [IN][OUT] Image reconstruction parameters. |