diff --git a/debian/libsvbony/changelog b/debian/libsvbony/changelog index 4429aad03..a6443104c 100644 --- a/debian/libsvbony/changelog +++ b/debian/libsvbony/changelog @@ -1,3 +1,15 @@ +libsvbony (1.12.1) bionic; urgency=low + + * Upgraded to upstream SVBONY SDK vers. 1.12.1 : + * *** Note: The following changes were made both 1.12.1 and 1.12.1 *** + * Support SC432M camera + * Add the SVB_BAD_PIXEL_CORRECTION_THRESHOLD parameter to set the threshold for bad pixel correction. + * If the difference with surrounding pixels exceeds the threshold, it will be dynamically corrected. + * It takes effect only when the SVB_BAD_PIXEL_CORRECTION_ENABLE parameter is turned on + * The cooling camera will no longer turn off cooling and fan when certain parameters are set + + -- Tetsuya Kakura Fri, 1 Dec 2023 12:00:00 +0900 + libsvbony (1.11.4) bionic; urgency=low * Upgraded to upstream SVBONY SDK vers. 1.11.4 : diff --git a/libsvbony/CMakeLists.txt b/libsvbony/CMakeLists.txt index 1b754bc12..ef0ecdde4 100644 --- a/libsvbony/CMakeLists.txt +++ b/libsvbony/CMakeLists.txt @@ -1,7 +1,7 @@ cmake_minimum_required (VERSION 3.0) project (libsvbony) -set (SVBCAMERASDK_VERSION "1.11.4") +set (SVBCAMERASDK_VERSION "1.12.1") set (SVBCAMERASDK_SOVERSION "1") list (APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/cmake_modules/") diff --git a/libsvbony/SVBCameraSDK.h b/libsvbony/SVBCameraSDK.h index eb99ca81c..160ac91db 100644 --- a/libsvbony/SVBCameraSDK.h +++ b/libsvbony/SVBCameraSDK.h @@ -188,6 +188,7 @@ typedef enum SVB_CONTROL_TYPE{ //Control type// SVB_COOLER_POWER, //range: 0-100 SVB_BAD_PIXEL_CORRECTION_ENABLE, + SVB_BAD_PIXEL_CORRECTION_THRESHOLD, }SVB_CONTROL_TYPE; typedef struct _SVB_CONTROL_CAPS @@ -478,6 +479,29 @@ SVB_ERROR_INVALID_IMGTYPE, //unsupported image format, make sure iWidth and iHei ***************************************************************************/ SVBCAMERA_API SVB_ERROR_CODE SVBSetROIFormat(int iCameraID, int iStartX, int iStartY, int iWidth, int iHeight, int iBin); +/*************************************************************************** +Descriptions: +set the ROI area before capture. +you must stop capture before call it. +the width and height is the value after binning. +ie. you need to set width to 640 and height to 480 if you want to run at 640X480@BIN2 +SVB120's data size must be times of 1024 which means width*height%1024=0SVBSetStartPos +Paras: +int CameraID: this is get from the camera property use the API SVBGetCameraInfo +int iWidth, the width of the ROI area. Make sure iWidth%8 = 0. +int iHeight, the height of the ROI area. Make sure iHeight%2 = 0, +further, for USB2.0 camera SVB120, please make sure that iWidth*iHeight%1024=0. +int iBin, binning method. bin1=1, bin2=2 +int iMode, binning mode, binning average is 0 and binning sum is 1 + +return: +SVB_SUCCESS : Operation is successful +SVB_ERROR_CAMERA_CLOSED : camera didn't open +SVB_ERROR_INVALID_ID :no camera of this ID is connected or ID value is out of boundary +SVB_ERROR_INVALID_SIZE, //wrong video format size +SVB_ERROR_INVALID_IMGTYPE, //unsupported image format, make sure iWidth and iHeight and binning is set correct +***************************************************************************/ +SVBCAMERA_API SVB_ERROR_CODE SVBSetROIFormatEx(int iCameraID, int iStartX, int iStartY, int iWidth, int iHeight, int iBin, int iMode); /*************************************************************************** Descriptions: @@ -497,6 +521,25 @@ SVB_ERROR_INVALID_ID :no camera of this ID is connected or ID value is out of b ***************************************************************************/ SVBCAMERA_API SVB_ERROR_CODE SVBGetROIFormat(int iCameraID, int *piStartX, int *piStartY, int *piWidth, int *piHeight, int *piBin); +/*************************************************************************** +Descriptions: +Get the current ROI area setting . + +Paras: +int CameraID: this is get from the camera property use the API SVBGetCameraInfo +int *piWidth, pointer to the width of the ROI area +int *piHeight, pointer to the height of the ROI area. +int *piBin, pointer to binning method. bin1=1, bin2=2 +int *piMode, pointer to binning mode, binning average is 0 and binning sum is 1 + +return: +SVB_SUCCESS : Operation is successful +SVB_ERROR_CAMERA_CLOSED : camera didn't open +SVB_ERROR_INVALID_ID :no camera of this ID is connected or ID value is out of boundary + +***************************************************************************/ +SVBCAMERA_API SVB_ERROR_CODE SVBGetROIFormatEx(int iCameraID, int *piStartX, int *piStartY, int *piWidth, int *piHeight, int *piBin, int *piMode); + /*************************************************************************** Descriptions: Get the droped frames . diff --git a/libsvbony/libSVBCameraSDK_amd64.bin b/libsvbony/libSVBCameraSDK_amd64.bin index dad22b6a9..15284b81a 100644 Binary files a/libsvbony/libSVBCameraSDK_amd64.bin and b/libsvbony/libSVBCameraSDK_amd64.bin differ diff --git a/libsvbony/libSVBCameraSDK_armv6.bin b/libsvbony/libSVBCameraSDK_armv6.bin index ff947b0c8..0fa78c79e 100644 Binary files a/libsvbony/libSVBCameraSDK_armv6.bin and b/libsvbony/libSVBCameraSDK_armv6.bin differ diff --git a/libsvbony/libSVBCameraSDK_armv7.bin b/libsvbony/libSVBCameraSDK_armv7.bin index 4d304d64d..685465509 100644 Binary files a/libsvbony/libSVBCameraSDK_armv7.bin and b/libsvbony/libSVBCameraSDK_armv7.bin differ diff --git a/libsvbony/libSVBCameraSDK_armv8.bin b/libsvbony/libSVBCameraSDK_armv8.bin index 4e47b49a2..72fab07e3 100644 Binary files a/libsvbony/libSVBCameraSDK_armv8.bin and b/libsvbony/libSVBCameraSDK_armv8.bin differ diff --git a/libsvbony/libSVBCameraSDK_mac64.bin b/libsvbony/libSVBCameraSDK_mac64.bin index e22a54c80..392dbd30c 100644 Binary files a/libsvbony/libSVBCameraSDK_mac64.bin and b/libsvbony/libSVBCameraSDK_mac64.bin differ diff --git a/libsvbony/libSVBCameraSDK_x86.bin b/libsvbony/libSVBCameraSDK_x86.bin index 447e386e7..3d8a90ffd 100644 Binary files a/libsvbony/libSVBCameraSDK_x86.bin and b/libsvbony/libSVBCameraSDK_x86.bin differ