Frame Grabber SDK (Windows-C) Developer Guide
Return Value
Return MV_FG_SUCCESS on success, and return Error Code on failure.
3.6.6 MV_FG_ConvertPixelType
Convert the pixel format.
API Definition
int MV_FG_ConvertPixelType(
IMAGEHANDLE
MV_FG_CONVERT_PIXEL_INFO
);
Parameters
hImage,
*pstConvertPixelInfo
hImage
[IN] Image handle. You can use the handle of frame grabbers, devices, or stream channels.
pstConvertPixelInfo
[IN][OUT] Pixel format conversion information, see MV_FG_CONVERT_PIXEL_INFO for details.
Return Value
Return MV_FG_SUCCESS on success, and return Error Code on failure.
3.6.7 MV_FG_ReconstructImage
Reconstruct images.
API Definition
int MV_FG_ReconstructImage(
IMAGEHANDLE
MV_FG_RECONSTRUCT_INFO
);
Parameters
hImage,
*pstReconstructInfo
hImage
[IN] Image handle. You can use the handle of frame grabbers, devices, or stream channels.
pstReconstructInfo
[IN][OUT] Image reconstruction information, see MV_FG_RECONSTRUCT_INFO for details.
Return Value
Return MV_FG_SUCCESS on success, and return Error Code on failure.
Remarks
Image rotation, image flipping, and image splitting are supported, but the specific precondition is
required.
The supported pixel formats of image rotation and image flipping are: MV_FG_PIXEL_TYPE_Mono8,
24
    "