
Machine Vision Camera SDK (C) Developer Guide
Remarks
This API is used to convert the collected original data to required pixel format and save to specified
memory. There is no calling sequence requirement, the transformation will be executed when
there is image data. First call relative API to acquire the image, then call this API to convert the
format.
4.5.4 MV_CC_SetBayerCvtQuality
Set the interpolation method of Bayer format.
API Definition
int MV_CC_SetBayerCvtQuality(
void
unsigned int
);
*handle,
nBayerCvtQuality
Parameters
handle
[IN] Device handle, which is returned by MV_CC_CreateHandle or
MV_CC_CreateHandleWithoutLog .
nBayerCvtQuality
[IN] Interpolation method: 0-nearest neighbors, 1-bilinearity, 2-optimal; the default value is "0".
Return Value
Return MV_OK(0) on success, and return Error Code on failure.
Remarks
Call this API to set the Bayer interpolation quality parameter for the image conversion API
( MV_CC_ConvertPixelType and MV_CC_SaveImageEx2 ).
4.5.5 MV_CC_SetBayerGammaValue
Set the Gamma value after Bayer interpolation.
API Definition
int MV_CC_SetBayerGammaValue(
void
*handle,
float
fBayerGammaValue
);
102



































































































































































































































































































































































































