| KSJ_WB_CALLBACK. | |
| typedef void(__stdcall * | KSJ_WB_CALLBACK_EX )(float fMatrixR, float fMatrixG, float fMatrixB, void *lpContext) |
| The nPhi decide auto calculate Matrix. | |
枚举 | |
| enum | KSJ_WB_MODE { KSJ_WB_DISABLE, KSJ_SWB_PRESETTINGS, KSJ_SWB_AUTO_ONCE, KSJ_SWB_AUTO_CONITNUOUS, KSJ_SWB_MANUAL, KSJ_HWB_PRESETTINGS, KSJ_HWB_AUTO_ONCE, KSJ_HWB_AUTO_CONITNUOUS, KSJ_HWB_MANUAL } |
白平衡模式枚举类型 更多... | |
| enum | KSJ_COLOR_TEMPRATURE { KSJ_CT_5000K, KSJ_CT_6500K, KSJ_CT_2800K } |
色温枚举 更多... | |
| enum | KSJ_CCM_MODE { KSJ_CCM_DISABLE, KSJ_SCCM_PRESETTINGS, KSJ_SCCM_MANUAL, KSJ_HCCM_PRESETTINGS, KSJ_HCCM_MANUAL } |
颜色校正矩阵枚举 更多... | |
函数 | |
| KSJ_API int __stdcall | KSJ_WhiteBalanceSet (int nIndex, KSJ_WB_MODE WbMode) |
| KSJ_WhiteBalanceSet. | |
| KSJ_API int __stdcall | KSJ_WhiteBalanceGet (int nIndex, KSJ_WB_MODE *pWbMode) |
| KSJ_WhiteBalanceGet. | |
| KSJ_API int __stdcall | KSJ_WhiteBalanceMatrixSet (int nIndex, float fMatrix[3]) |
| KSJ_WhiteBalanceMatrixSet. | |
| KSJ_API int __stdcall | KSJ_WhiteBalanceMatrixGet (int nIndex, float fMatrix[3]) |
| KSJ_WhiteBalanceMatrixGet. | |
| KSJ_API int __stdcall | KSJ_WhiteBalanceAutoSetCallBack (int nIndex, KSJ_WB_CALLBACK pfCallBack, void *lpContext) |
| KSJ_WhiteBalanceAutoSetCallBack. | |
| KSJ_API int __stdcall | KSJ_WhiteBalanceAutoSetCallBackEx (int nIndex, KSJ_WB_CALLBACK_EX pfCallBackEx, void *lpContext) |
| KSJ_WhiteBalanceAutoSetCallBackEx. | |
| KSJ_API int __stdcall | KSJ_WhiteBalanceAutoSet (int nIndex, int nPhi) |
| KSJ_WhiteBalanceAutoSet. | |
| KSJ_API int __stdcall | KSJ_WhiteBalanceAutoGet (int nIndex, int *pnPhi) |
| KSJ_WhiteBalanceAutoGet. | |
| KSJ_API int __stdcall | KSJ_WhiteBalancePresettingSet (int nIndex, KSJ_COLOR_TEMPRATURE WbPresetting) |
| KSJ_WhiteBalancePresettingSet. | |
| KSJ_API int __stdcall | KSJ_WhiteBalancePresettingGet (int nIndex, KSJ_COLOR_TEMPRATURE *pWbPresetting) |
| KSJ_WhiteBalancePresettingGet. | |
| KSJ_API int __stdcall | KSJ_ColorCorrectionSet (int nIndex, KSJ_CCM_MODE CcmMode) |
| KSJ_ColorCorrectionSet. | |
| KSJ_API int __stdcall | KSJ_ColorCorrectionGet (int nIndex, KSJ_CCM_MODE *pCcmMode) |
| KSJ_ColorCorrectionGet. | |
| KSJ_API int __stdcall | KSJ_ColorCorrectionMatrixSet (int nIndex, float fMatrix[3][3]) |
| KSJ_ColorCorrectionMatrixSet. | |
| KSJ_API int __stdcall | KSJ_ColorCorrectionMatrixGet (int nIndex, float fMatrix[3][3]) |
| KSJ_ColorCorrectionMatrixGet. | |
| KSJ_API int __stdcall | KSJ_ColorCorrectionPresettingSet (int nIndex, KSJ_COLOR_TEMPRATURE CcmPresetting) |
| KSJ_ColorCorrectionPresettingSet. | |
| KSJ_API int __stdcall | KSJ_ColorCorrectionPresettingGet (int nIndex, KSJ_COLOR_TEMPRATURE *pCcmPresetting) |
| KSJ_ColorCorrectionPresettingGet. | |
| typedef void(__stdcall * KSJ_WB_CALLBACK)(float fMatrix[3], void *lpContext) |
KSJ_WB_CALLBACK.
-----------------------------------------------------------------------------
白平衡回调函数类型定义
| fMatrix | [out] 回传给用户的白平衡校正矩阵 | |
| lpContext | [out] 用户调用KSJ_WhiteBalanceAutoSetCallBack时传入的上下文指针 |
| typedef void(__stdcall * KSJ_WB_CALLBACK_EX)(float fMatrixR, float fMatrixG, float fMatrixB, void *lpContext) |
The nPhi decide auto calculate Matrix.
-----------------------------------------------------------------------------
KSJ_WB_CALLBACK_EX 白平衡回调函数类型定义
| fMatrixR | [out] 回传给用户的白平衡红色校正值 | |
| fMatrixG | [out] 回传给用户的白平衡绿色校正值 | |
| fMatrixB | [out] 回传给用户的白平衡蓝色校正值 | |
| lpContext | [out] 用户调用KSJ_WhiteBalanceAutoSetCallBack时传入的上下文指针 |
| enum KSJ_WB_MODE |
| enum KSJ_COLOR_TEMPRATURE |
| enum KSJ_CCM_MODE |
| KSJ_API int __stdcall KSJ_WhiteBalanceSet | ( | int | nIndex, | |
| KSJ_WB_MODE | WbMode | |||
| ) |
KSJ_WhiteBalanceSet.
-----------------------------------------------------------------------------
设置白平衡模式
| nIndex | [in] 相机索引(从0开始,最大索引数为:连接到主机的相机数目减一) | |
| WbMode | [in] 设置的白平衡模式 |
-----------------------------------------------------------------------------
| KSJ_API int __stdcall KSJ_WhiteBalanceGet | ( | int | nIndex, | |
| KSJ_WB_MODE * | pWbMode | |||
| ) |
KSJ_WhiteBalanceGet.
-----------------------------------------------------------------------------
获取当前的白平衡模式
| nIndex | [in] 相机索引(从0开始,最大索引数为:连接到主机的相机数目减一) | |
| pWbMode | [out] 返回相机白平衡模式 |
-----------------------------------------------------------------------------
| KSJ_API int __stdcall KSJ_WhiteBalanceMatrixSet | ( | int | nIndex, | |
| float | fMatrix[3] | |||
| ) |
KSJ_WhiteBalanceMatrixSet.
-----------------------------------------------------------------------------
手动设置白平衡校正矩阵
| nIndex | [in] 相机索引(从0开始,最大索引数为:连接到主机的相机数目减一) | |
| fMatrix | [in] 用于设置白平衡校正矩阵,校正矩阵为1x3的数组,其中中R、G、B三个分量的系数分别为fMatrix [0] 、fMatrix [1] 、fMatrix [2] |
| KSJ_API int __stdcall KSJ_WhiteBalanceMatrixGet | ( | int | nIndex, | |
| float | fMatrix[3] | |||
| ) |
KSJ_WhiteBalanceMatrixGet.
-----------------------------------------------------------------------------
获取当前的白平衡校正矩阵
| nIndex | [in] 相机索引(从0开始,最大索引数为:连接到主机的相机数目减一) | |
| fMatrix | [out] 返回获取的白平衡调整系数,数组中R、G、B三个分量的系数分别为fMatrix [0] 、fMatrix [1] 、fMatrix [2] |
-----------------------------------------------------------------------------
| KSJ_API int __stdcall KSJ_WhiteBalanceAutoSetCallBack | ( | int | nIndex, | |
| KSJ_WB_CALLBACK | pfCallBack, | |||
| void * | lpContext | |||
| ) |
KSJ_WhiteBalanceAutoSetCallBack.
-----------------------------------------------------------------------------
白平衡回调函数类型定义
| nIndex | [in] 相机索引(从0开始,最大索引数为:连接到主机的相机数目减一) | |
| pfCallBack | [in] 自动白平衡回调函数指针 | |
| lpContext | [in] 上下文指针 |
-----------------------------------------------------------------------------
| KSJ_API int __stdcall KSJ_WhiteBalanceAutoSetCallBackEx | ( | int | nIndex, | |
| KSJ_WB_CALLBACK_EX | pfCallBackEx, | |||
| void * | lpContext | |||
| ) |
KSJ_WhiteBalanceAutoSetCallBackEx.
-----------------------------------------------------------------------------
设置白平衡回调函数
| nIndex | [in] 相机索引(从0开始,最大索引数为:连接到主机的相机数目减一) | |
| pfCallBackEx | [in] 自动白平衡回调函数指针 | |
| lpContext | [in] 上下文指针 |
| KSJ_API int __stdcall KSJ_WhiteBalanceAutoSet | ( | int | nIndex, | |
| int | nPhi | |||
| ) |
KSJ_WhiteBalanceAutoSet.
-----------------------------------------------------------------------------
设置软件自动白平衡的参考像素,是一个阈值
| nIndex | [in] 相机索引(从0开始,最大索引数为:连接到主机的相机数目减一) | |
| nPhi | [in] 默认值为0,用户无需改动 |
| KSJ_API int __stdcall KSJ_WhiteBalanceAutoGet | ( | int | nIndex, | |
| int * | pnPhi | |||
| ) |
KSJ_WhiteBalanceAutoGet.
-----------------------------------------------------------------------------
获取自动白平衡的阈值
| nIndex | [in] 相机索引(从0开始,最大索引数为:连接到主机的相机数目减一) | |
| pnPhi | [out] 返回当前的阈值参数 |
-----------------------------------------------------------------------------
| KSJ_API int __stdcall KSJ_WhiteBalancePresettingSet | ( | int | nIndex, | |
| KSJ_COLOR_TEMPRATURE | WbPresetting | |||
| ) |
KSJ_WhiteBalancePresettingSet.
-----------------------------------------------------------------------------
选择白平衡预设组值
| nIndex | [in] 相机索引(从0开始,最大索引数为:连接到主机的相机数目减一) | |
| WbPresetting | [in] 预设色温白平衡。 |
| KSJ_API int __stdcall KSJ_WhiteBalancePresettingGet | ( | int | nIndex, | |
| KSJ_COLOR_TEMPRATURE * | pWbPresetting | |||
| ) |
KSJ_WhiteBalancePresettingGet.
-----------------------------------------------------------------------------
获取并返回相机当前使用的预设色温白平衡
| nIndex | [in] 相机索引(从0开始,最大索引数为:连接到主机的相机数目减一) | |
| pWbPresetting | [out] 获取并返回相机当前使用的预设色温白平衡 |
-----------------------------------------------------------------------------
| KSJ_API int __stdcall KSJ_ColorCorrectionSet | ( | int | nIndex, | |
| KSJ_CCM_MODE | CcmMode | |||
| ) |
KSJ_ColorCorrectionSet.
-----------------------------------------------------------------------------
设置颜色校正模式
| nIndex | [in] 相机索引(从0开始,最大索引数为:连接到主机的相机数目减一) | |
| CcmMode | [in] 颜色校正模式 |
-----------------------------------------------------------------------------
| KSJ_API int __stdcall KSJ_ColorCorrectionGet | ( | int | nIndex, | |
| KSJ_CCM_MODE * | pCcmMode | |||
| ) |
KSJ_ColorCorrectionGet.
-----------------------------------------------------------------------------
获取颜色校正模式
| nIndex | [in] 相机索引(从0开始,最大索引数为:连接到主机的相机数目减一) | |
| pCcmMode | [out] 颜色校正模式 |
-----------------------------------------------------------------------------
| KSJ_API int __stdcall KSJ_ColorCorrectionMatrixSet | ( | int | nIndex, | |
| float | fMatrix[3][3] | |||
| ) |
KSJ_ColorCorrectionMatrixSet.
-----------------------------------------------------------------------------
手动设置颜色校正矩阵
| nIndex | [in] 相机索引(从0开始,最大索引数为:连接到主机的相机数目减一) | |
| fMatrix | [in] 颜色校正系数矩阵,为3x3 float型的矩阵 |
| KSJ_API int __stdcall KSJ_ColorCorrectionMatrixGet | ( | int | nIndex, | |
| float | fMatrix[3][3] | |||
| ) |
KSJ_ColorCorrectionMatrixGet.
-----------------------------------------------------------------------------
获取当前的颜色校正矩阵
| nIndex | [in] 相机索引(从0开始,最大索引数为:连接到主机的相机数目减一) | |
| fMatrix | [in] 颜色校正系数矩阵,为3x3 float型的矩阵 |
-----------------------------------------------------------------------------
| KSJ_API int __stdcall KSJ_ColorCorrectionPresettingSet | ( | int | nIndex, | |
| KSJ_COLOR_TEMPRATURE | CcmPresetting | |||
| ) |
KSJ_ColorCorrectionPresettingSet.
-----------------------------------------------------------------------------
设置颜色校正的预设组值
| nIndex | [in] 相机索引(从0开始,最大索引数为:连接到主机的相机数目减一) | |
| CcmPresetting | [in] 预设色温颜色校正,凯视佳工业相机预设三种色温下的颜色校正矩阵 |
-----------------------------------------------------------------------------
| KSJ_API int __stdcall KSJ_ColorCorrectionPresettingGet | ( | int | nIndex, | |
| KSJ_COLOR_TEMPRATURE * | pCcmPresetting | |||
| ) |
KSJ_ColorCorrectionPresettingGet.
-----------------------------------------------------------------------------
获取当前选择的颜色校正预设组值
| nIndex | [in] 相机索引(从0开始,最大索引数为:连接到主机的相机数目减一) | |
| pCcmPresetting | [out] 获取并返回相机当前使用的预设色温颜色校正 |
-----------------------------------------------------------------------------