439处理图像流程

This commit is contained in:
13038267101 2022-11-26 11:37:48 +08:00
parent 14b35d1a2b
commit dd3fb0e3ac
2 changed files with 4 additions and 9 deletions

View File

@ -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);

View File

@ -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);