From dd3fb0e3ac9969fed80021205784f96f3932cfe3 Mon Sep 17 00:00:00 2001 From: 13038267101 Date: Sat, 26 Nov 2022 11:37:48 +0800 Subject: [PATCH] =?UTF-8?q?439=E5=A4=84=E7=90=86=E5=9B=BE=E5=83=8F?= =?UTF-8?q?=E6=B5=81=E7=A8=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- hgdriver/hgdev/image_process.cpp | 12 ++++-------- hgdriver/hgdev/image_process.h | 1 - 2 files changed, 4 insertions(+), 9 deletions(-) diff --git a/hgdriver/hgdev/image_process.cpp b/hgdriver/hgdev/image_process.cpp index 8f161bc..898441f 100644 --- a/hgdriver/hgdev/image_process.cpp +++ b/hgdriver/hgdev/image_process.cpp @@ -229,7 +229,7 @@ namespace hg_imgproc typedef unsigned int (__stdcall *SDKHGBase_FreeImage_)(void* image); class imgproc { - bool isx86_closeAdvan_ = true; + bool isx86_Advan_ = true; std::string my_path_; IMGPRCPARAM param_; SCANCONF img_conf_; @@ -276,16 +276,16 @@ namespace hg_imgproc } // construction public: - imgproc(int pid, bool isx86_Advan_) : pid_(pid),papersize_(pid_) + imgproc(int pid, bool isx86_Advan) : pid_(pid),papersize_(pid_) , img_statu_(SANE_Image_Statu_OK) , my_path_(hg_log::pe_path()) ,ocrinit_(NULL),ocrgetdirectimage_(NULL) ,ocrexit_(NULL),HGBase_CreatImg(NULL) ,HGBase_FreeImg(NULL),Auto_Txt_pHanld(NULL) ,Dynamicopen_HGBase_pHandle_(NULL) - ,Dynamicopen_HGImageprc_pHandle_(NULL),isx86_closeAdvan_(isx86_Advan_) + ,Dynamicopen_HGImageprc_pHandle_(NULL),isx86_Advan_(isx86_Advan) { - cv::setUseOptimized(isx86_closeAdvan_); //开关cpu高级指令集 + cv::setUseOptimized(isx86_Advan_); //开关cpu高级指令集 } ~imgproc() { @@ -1534,10 +1534,6 @@ namespace hg_imgproc { return ((imgproc*)himg)->fadeback(); } - int multi_out(HIMGPRC himg) - { - return ((imgproc*)himg)->multi_out(); - } int multi_out(HIMGPRC himg,int out_type) { return ((imgproc*)himg)->multi_out(out_type); diff --git a/hgdriver/hgdev/image_process.h b/hgdriver/hgdev/image_process.h index 2dc18a2..9f5c3ed 100644 --- a/hgdriver/hgdev/image_process.h +++ b/hgdriver/hgdev/image_process.h @@ -174,7 +174,6 @@ namespace hg_imgproc //拆分 int split(HIMGPRC himg,int split3399); int fadeback(HIMGPRC himg); - int multi_out(HIMGPRC himg); int multi_out(HIMGPRC himg,int out_type); int multi_out_red(HIMGPRC himg); int auto_matic_color(HIMGPRC himg,int color_type);