空格调整

This commit is contained in:
13038267101 2022-09-13 11:48:34 +08:00
parent 5c91ba50b3
commit 55df2fef9a
1 changed files with 45 additions and 45 deletions

View File

@ -781,53 +781,53 @@ typedef struct tagHhardware_Params
//
typedef struct _scan_conf
{
unsigned char papertype; /**< the current paper source ADF or Flatbed*/
unsigned char papertype; /**< the current paper source ADF or Flatbed>*/
unsigned char paperAlign;
unsigned char en_sizecheck; /**< 尺寸检测*/
float imageRotateDegree; /**< 旋转 */
unsigned char en_sizecheck; /**< 尺寸检测>*/
float imageRotateDegree; /**< 旋转>*/
unsigned char is_duplex; /**< True to use duplex false for simplex, ignored if flatbed*/
unsigned char en_fold; /**<对折*/
int pixtype; /**< type of pixels to transfer image as */
int automaticcolor; /**<顔色自動識別*/
int automaticcolortype; /**<顔色自動識別后非彩色上傳類型*/
//ScanRect scanrect;
float resolution_dst; /**< horizontal resolution */
unsigned char en_fold; /**< 对折>*/
int pixtype; /**< type of pixels to transfer image as>*/
int automaticcolor; /**< 顔色自動識別>*/
int automaticcolortype; /**< 顔色自動識別后非彩色上傳類型>*/
float resolution_dst; /**< horizontal resolution>*/
float resolution_native;
float gamma; /**< Gamma */
float contrast; /**< Contrast */
float brightness; /**< Brightness */
float threshold; /**< Threshold */
unsigned char is_autocontrast; /**< 自动对比度*/
unsigned char is_autocrop; /**< 自动裁切*/
unsigned char is_autodiscradblank_normal; /**< 自动丢弃空白页通用*/
int discardblank_percent; /**<跳过空白页阀值*/
unsigned char is_autodiscradblank_vince; /**自动丢弃空白页发票*/
unsigned char is_switchfrontback; /**交换正反面*/
unsigned char autodescrew; /**< 自动纠偏*/
unsigned char multi_output_red; /*多流输出*/
unsigned char hsvcorrect; /**<答题卡除红*/
unsigned char filter; /**< 除色*/
unsigned char sharpen; /**< 锐化*/
unsigned char enhance_color; /**< 颜色增强*/
unsigned char fillbackground; /**< 填黑框*/
bool is_convex; /**< 填黑框模式true为凸多边形填充false为凹多边形填充默认true*/
int noise; /**< 除噪像素能够消除noise宽度的背景竖条纹干扰默认40*/
int indent; /**< 轮廓缩进裁剪、纠偏或者黑底填充时对探索到的纸张轮廓进行缩进indent像素默认5*/
int AutoCrop_threshold; /**< 自动裁剪二值化阈值,取值范围(0, 255)默认40*/
unsigned short scannum; /**< 扫描张数*/
unsigned char is_backrotate180; /**< 背面旋转180*/
unsigned char is_dogeardetection; /**<折角检测*/
HardwareCaps hardwarecaps; /**< 硬件扫描参数*/
FillHole fillhole; /**< 填穿孔*/
DetachNoise detachnoise; /**< 黑白降噪*/
unsigned char is_autotext; /**< 自动文本方向识别*/
float gamma; /**< Gamma>*/
float contrast; /**< Contrast>*/
float brightness; /**< Brightness>*/
float threshold; /**< Threshold>*/
unsigned char is_autocontrast; /**< 自动对比度>*/
unsigned char is_autocrop; /**< 自动裁切>*/
unsigned char is_autodiscradblank_normal; /**< 自动丢弃空白页通用>*/
int discardblank_percent; /**< 跳过空白页阀值*/
unsigned char is_autodiscradblank_vince; /**< 自动丢弃空白页发票>*/
unsigned char is_switchfrontback; /**< 交换正反面>*/
unsigned char autodescrew; /**< 自动纠偏>*/
unsigned char multi_output_red; /**< 多流输出>*/
unsigned char hsvcorrect; /**< 答题卡除红>*/
unsigned char filter; /**< 除色>*/
unsigned char sharpen; /**< 锐化>*/
unsigned char enhance_color; /**< 颜色增强>*/
unsigned char fillbackground; /**< 填黑框>*/
bool is_convex; /**< 填黑框模式true为凸多边形填充false为凹多边形填充默认true>*/
int noise; /**< 除噪像素能够消除noise宽度的背景竖条纹干扰默认40>*/
int indent; /**< 轮廓缩进裁剪、纠偏或者黑底填充时对探索到的纸张轮廓进行缩进indent像素默认5>*/
int AutoCrop_threshold; /**< 自动裁剪二值化阈值,取值范围(0, 255)默认40>*/
unsigned short scannum; /**< 扫描张数>*/
unsigned char is_backrotate180; /**< 背面旋转180>*/
unsigned char is_dogeardetection; /**< 折角检测>*/
HardwareCaps hardwarecaps; /**< 硬件扫描参数>*/
FillHole fillhole; /**< 填穿孔>*/
DetachNoise detachnoise; /**< 黑白降噪>*/
unsigned char is_autotext; /**< 自动文本方向识别>*/
bool isfillcolor; /**< 自动裁切颜色填充>*/
int refuseInflow; /**< 防止渗透>*/
int colorCorrection; /**< 色彩校正>*/
int removeMorr; /**< 去除摩尔纹>*/
int errorExtention; /** < 错误扩散>*/
int textureRemove; /** < 除网纹>*/
int splitImage; /** < 图像拆分>*/
int errorExtention; /**< 错误扩散>*/
int textureRemove; /**< 除网纹>*/
int splitImage; /**< 图像拆分>*/
CropRect cropRect; /**< 自定义裁切>*/
MultiOutput multiOutput; /**< 多流输出>*/
bool normalCrop; /**< 自动裁切深色样张>*/
@ -835,11 +835,11 @@ typedef struct _scan_conf
bool fadeback; /**< 背景除色>*/
int fadebackrange; /**< 背景除色阈值>*/
bool isuoloadexceptionimage; /**< 是否保留双张出图>*/
int fillholeratio_up; /**<上侧除穿孔比率0为不除。[050]added on 2022-09-12>*/
int fillholeratio_down; /**<下侧除穿孔比率0为不除。[050]added on 2022-09-12>*/
int fillholeratio_left; /**<左侧除穿孔比率0为不除。[050]added on 2022-09-12>*/
int fillholeratio_right; /**<右侧除穿孔比率0为不除。[050]added on 2022-09-12>*/
uint32_t reserve[1024]; /**<预留4096字节做协议扩展*/
int fillholeratio_up; /**< 上侧除穿孔比率0为不除。[050]added on 2022-09-12>*/
int fillholeratio_down; /**< 下侧除穿孔比率0为不除。[050]added on 2022-09-12>*/
int fillholeratio_left; /**< 左侧除穿孔比率0为不除。[050]added on 2022-09-12>*/
int fillholeratio_right; /**< 右侧除穿孔比率0为不除。[050]added on 2022-09-12>*/
uint32_t reserve[1024]; /**< 预留4096字节做协议扩展*/
}SCANCONF ,*LPSCANCONF;
//图像参数设置 -OVER