From 9adb473067a993b4e0eacf3675baf14b29da3eca Mon Sep 17 00:00:00 2001 From: admin <weikou2014> Date: 星期五, 22 七月 2022 18:44:24 +0800 Subject: [PATCH] '测试' --- ConsoleApplication/OpenCLExcuter.h | 9 +++++++-- 1 files changed, 7 insertions(+), 2 deletions(-) diff --git a/ConsoleApplication/OpenCLExcuter.h b/ConsoleApplication/OpenCLExcuter.h index 90e796a..9d53c1e 100644 --- a/ConsoleApplication/OpenCLExcuter.h +++ b/ConsoleApplication/OpenCLExcuter.h @@ -61,10 +61,10 @@ unsigned char* result); - void rgb2GrayInvert(unsigned char* imgs, int imgWidth, int imgHeight, + void rgb2ThresholdInvert(unsigned char* imgs, int imgWidth, int imgHeight, unsigned char* result); - void rgba2GrayInvert(unsigned char* imgs, int imgWidth, int imgHeight, + void rgba2ThresholdInvert(unsigned char* imgs, int imgWidth, int imgHeight, unsigned char* result); @@ -82,6 +82,11 @@ //分隔板块数字,通用 void splitPlateNum(cv::Mat img, IntDataInfo pos, UcharDataInfo result, UcharDataInfo types, unsigned char* zero, int num_width, int num_height, int ele_count_per_line, int length_per_num); + + void splitL2NumNew(cv::Mat img, IntDataInfo pos, UcharDataInfo result, UcharDataInfo types, unsigned char* zero, int num_width, int num_height, int ele_count_per_line, int length_per_num); + + + //分隔板块数字 void splitPlateNum(unsigned char* img, int img_width, int img_height, int* pos, int pos_count, unsigned char* zero, int num_width, int num_height, int number_count, unsigned char* result); -- Gitblit v1.8.0