From d4547915c82dbaf8a1fc31239cfd8d9bee23aaf0 Mon Sep 17 00:00:00 2001 From: "mo1027728827@qq.com" Date: Thu, 12 May 2022 16:19:08 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4JSON=20=E4=BA=92=E6=96=A5?= =?UTF-8?q?=E5=8F=8A=E4=BC=98=E5=85=88=E7=BA=A7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/G100-G200.txt | 266 ++++++++++++++++++++++---------------------- docs/G139-239.txt | 268 ++++++++++++++++++++++----------------------- docs/G300.txt | 262 ++++++++++++++++++++++---------------------- docs/G400.txt | 248 ++++++++++++++++++++--------------------- 4 files changed, 522 insertions(+), 522 deletions(-) diff --git a/docs/G100-G200.txt b/docs/G100-G200.txt index cbee6a5..e4b9fa0 100644 --- a/docs/G100-G200.txt +++ b/docs/G100-G200.txt @@ -94,13 +94,58 @@ "size": 4, "range": { "min": 1, - "max": 40 + "max": 100 }, "depend_or": ["8==true"] }, "10": { "category": "base", "name": "cfg-10", + "title": "锐化与模糊", + "desc": "锐化与模糊", + "type": "string", + "cur": "无", + "default": "无", + "size": 24, + "range": ["无", "锐化", "进一步锐化", "模糊", "进一步模糊"], + "depend_and": ["4!=黑白", "4!=颜色自动识别"] + }, + "11": { + "category": "base", + "name": "cfg-11", + "title": "去除摩尔纹", + "desc": "", + "type": "bool", + "cur": false, + "default": false, + "size": 4, + "depend_and": ["4!=黑白", "4!=颜色自动识别"] + }, + "12": { + "category": "base", + "name": "cfg-12", + "title": "除网纹", + "desc": "", + "type": "bool", + "cur": false, + "default": false, + "size": 4, + "depend_and": ["4!=黑白", "4!=颜色自动识别"] + }, + "13": { + "category": "base", + "name": "cfg-13", + "title": "错误扩散", + "desc": "", + "type": "bool", + "cur": false, + "default": false, + "size": 4, + "depend_or": ["4==黑白"] + }, + "14": { + "category": "base", + "name": "cfg-14", "title": "黑白图像噪点优化", "desc": "噪点优化", "type": "bool", @@ -109,9 +154,9 @@ "size": 4, "depend_or": ["4==黑白"] }, - "11": { + "15": { "category": "base", - "name": "cfg-11", + "name": "cfg-15", "title": " 噪点优化尺寸", "desc": "噪点优化尺寸", "type": "int", @@ -122,11 +167,11 @@ "min": 10, "max": 50 }, - "depend_or": ["10==true"] + "depend_or": ["14==true"] }, - "12": { + "16": { "category": "base", - "name": "cfg-12", + "name": "cfg-16", "title": "纸张尺寸", "desc": "设置纸张大小", "type": "string", @@ -135,18 +180,18 @@ "size": 48, "range": ["A3", "8开", "A4", "A4横向", "16开", "16开横向", "A5", "A5横向", "A6", "A6横向", "B4", "B5", "B5横向", "B6", "B6横向", "Letter", "Letter横向", "Double Letter", "LEGAL", "匹配原始尺寸", "最大扫描尺寸自动裁切", "最大扫描尺寸", "三联试卷"] }, - "13": { + "17": { "category": "base", - "name": "cfg-13", + "name": "cfg-17", "title": "自定义扫描区域", "desc": "自定义扫描区域", "type": "bool", "cur": false, "default": false, "size": 4, - "depend_and": ["12!=匹配原始尺寸", "12!=最大扫描尺寸", "12!=最大扫描尺寸自动裁切"] + "depend_and": ["16!=匹配原始尺寸", "16!=最大扫描尺寸", "16!=最大扫描尺寸自动裁切"] }, - "14": { + "18": { "category": "base", "name": "tl-x", "title": "扫描区域左侧(mm)", @@ -159,9 +204,9 @@ "min": 0.000000, "max": 210.000000 }, - "depend_and": ["13==true"] + "depend_and": ["17==true"] }, - "15": { + "19": { "category": "base", "name": "br-x", "title": "扫描区域右侧(mm)", @@ -174,9 +219,9 @@ "min": 0.000000, "max": 210.000000 }, - "depend_and": ["13==true"] + "depend_and": ["17==true"] }, - "16": { + "20": { "category": "base", "name": "tl-y", "title": "扫描区域上侧(mm)", @@ -189,9 +234,9 @@ "min": 0.000000, "max": 297.000000 }, - "depend_and": ["13==true"] + "depend_and": ["17==true"] }, - "17": { + "21": { "category": "base", "name": "br-y", "title": "扫描区域下侧(mm)", @@ -204,11 +249,11 @@ "min": 0.000000, "max": 297.000000 }, - "depend_and": ["13==true"] + "depend_and": ["17==true"] }, - "18": { + "22": { "category": "base", - "name": "cfg-18", + "name": "cfg-22", "title": "扫描页面", "desc": "设置页面扫描方式", "type": "string", @@ -217,9 +262,9 @@ "size": 40, "range": ["单面", "双面", "跳过空白页(通用)", "跳过空白页(发票纸)", "对折"] }, - "19": { + "23": { "category": "base", - "name": "cfg-19", + "name": "cfg-23", "title": " 跳过空白页灵敏度", "desc": "灵敏度越高,则越容易跳过", "type": "int", @@ -230,11 +275,11 @@ "min": 1, "max": 100 }, - "depend_or": ["18==跳过空白页(通用)", "18==跳过空白页(发票纸)"] + "depend_or": ["22==跳过空白页(通用)", "22==跳过空白页(发票纸)"] }, - "20": { + "24": { "category": "base", - "name": "cfg-20", + "name": "cfg-24", "title": "分辨率", "desc": "扫描仪分辨率", "type": "int", @@ -243,83 +288,58 @@ "size": 4, "range": [100, 150, 200, 240, 300] }, - "21": { + "25": { "category": "base", - "name": "cfg-21", + "name": "cfg-25", "title": "交换正反面", "desc": "交换正反面", "type": "bool", "cur": false, "default": false, "size": 4, - "depend_and": ["18!=单面"] + "depend_and": ["22!=单面"] }, - "22": { + "26": { "category": "base", - "name": "cfg-22", + "name": "cfg-26", "title": "图像拆分", "desc": "自动拆分图像", "type": "bool", "cur": false, "default": false, "size": 4, - "depend_or": ["18!=对折"] + "depend_or": ["22!=对折"] }, - "23": { + "27": { "category": "base", - "name": "cfg-23", + "name": "cfg-27", "title": "自动纠偏", "desc": "自动纠偏", "type": "bool", "cur": true, "default": true, "size": 4, - "depend_or": ["18!=对折"] + "depend_or": ["22!=对折"] }, - "24": { - "category": "base", - "name": "cfg-24", - "title": "穿孔移除", - "desc": "移除纸张中的穿孔", - "type": "bool", - "cur": false, - "default": false, - "size": 4 - }, - "25": { - "category": "base", - "name": "cfg-25", - "title": " 穿孔搜索范围占幅面比例", - "desc": "穿孔搜索范围占幅面比例", - "type": "float", - "cur": 0.100000, - "default": 0.100000, - "size": 4, - "range": { - "min": 0.010000, - "max": 0.500000 - }, - "depend_or": ["24==true"] - }, - "26": { + "28": { "category": "base", "name": "grp-2", "title": "亮度", "type": "group" }, - "27": { + "29": { "category": "base", - "name": "cfg-27", + "name": "cfg-29", "title": "启用色调曲线", - "desc": "通过色调曲线来设置图像伽玛值", + "desc": "通过色调曲线来设置图像伽马值", "type": "bool", "cur": false, "default": false, "size": 4 }, - "28": { + "30": { "category": "base", - "name": "cfg-28", + "name": "cfg-30", "title": "亮度值", "desc": "调整图片亮度", "type": "int", @@ -330,11 +350,11 @@ "min": 1, "max": 255 }, - "depend_and": ["27==false"] + "depend_and": ["29==false"] }, - "29": { + "31": { "category": "base", - "name": "cfg-29", + "name": "cfg-31", "title": "对比度", "desc": "调整图片对比度", "type": "int", @@ -345,13 +365,13 @@ "min": 1, "max": 7 }, - "depend_and": ["27==false"] + "depend_and": ["29==false"] }, - "30": { + "32": { "category": "base", - "name": "cfg-30", - "title": "伽玛值", - "desc": "调整图片伽玛值", + "name": "cfg-32", + "title": "伽马值", + "desc": "调整图片伽马值", "type": "float", "cur": 1.000000, "default": 1.000000, @@ -360,29 +380,17 @@ "min": 0.010000, "max": 5.000000 }, - "depend_and": ["27==false"] + "depend_and": ["29==false"] }, - "31": { + "33": { "category": "base", "name": "grp-3", "title": "图像处理", "type": "group" }, - "32": { + "34": { "category": "base", - "name": "cfg-32", - "title": "锐化与模糊", - "desc": "锐化与模糊", - "type": "string", - "cur": "无", - "default": "无", - "size": 24, - "range": ["无", "锐化", "进一步锐化", "模糊", "进一步模糊"], - "depend_and": ["4!=黑白", "4!=颜色自动识别"] - }, - "33": { - "category": "base", - "name": "cfg-33", + "name": "cfg-34", "title": "消除黑框", "desc": "消除黑框", "type": "bool", @@ -390,20 +398,20 @@ "default": true, "size": 4 }, - "34": { + "35": { "category": "base", - "name": "cfg-34", + "name": "cfg-35", "title": "深色样张", "desc": "深色样张", "type": "bool", "cur": false, "default": false, "size": 4, - "depend_and": ["18!=对折", "33!=true", "12!=匹配原始尺寸", "12!=最大扫描尺寸", "12!=最大扫描尺寸自动裁切", "23!=true"] + "depend_and": ["22!=对折", "34!=true", "16!=匹配原始尺寸", "16!=最大扫描尺寸", "16!=最大扫描尺寸自动裁切", "27!=true"] }, - "35": { + "36": { "category": "advanced", - "name": "cfg-35", + "name": "cfg-36", "title": "阈值", "desc": "阈值", "type": "int", @@ -414,11 +422,11 @@ "min": 30, "max": 50 }, - "depend_or": ["33==true", "12==匹配原始尺寸", "12==最大扫描尺寸", "12==最大扫描尺寸自动裁切", "23==true"] + "depend_or": ["34==true", "16==匹配原始尺寸", "16==最大扫描尺寸", "16==最大扫描尺寸自动裁切", "27==true"] }, - "36": { + "37": { "category": "advanced", - "name": "cfg-36", + "name": "cfg-37", "title": "背景抗噪等级", "desc": "背景抗噪等级", "type": "int", @@ -429,11 +437,11 @@ "min": 1, "max": 20 }, - "depend_or": ["33==true", "12==匹配原始尺寸", "12==最大扫描尺寸", "12==最大扫描尺寸自动裁切", "23==true"] + "depend_or": ["34==true", "16==匹配原始尺寸", "16==最大扫描尺寸", "16==最大扫描尺寸自动裁切", "27==true"] }, - "37": { + "38": { "category": "advanced", - "name": "cfg-37", + "name": "cfg-38", "title": "边缘缩进", "desc": "边缘缩进", "type": "int", @@ -444,11 +452,11 @@ "min": 5, "max": 30 }, - "depend_or": ["33==true", "12==匹配原始尺寸", "12==最大扫描尺寸自动裁切", "23==true", "12==最大扫描尺寸"] + "depend_or": ["34==true", "16==匹配原始尺寸", "16==最大扫描尺寸自动裁切", "27==true", "16==最大扫描尺寸"] }, - "38": { + "39": { "category": "advanced", - "name": "cfg-38", + "name": "cfg-39", "title": "背景填充方式", "desc": "背景填充方式", "type": "string", @@ -456,11 +464,11 @@ "default": "凸多边形", "size": 40, "range": ["凸多边形", "凹多边形"], - "depend_or": ["33==true"] + "depend_or": ["34==true"] }, - "39": { + "40": { "category": "base", - "name": "cfg-39", + "name": "cfg-40", "title": "防止渗透", "desc": "", "type": "bool", @@ -468,9 +476,9 @@ "default": false, "size": 4 }, - "40": { + "41": { "category": "base", - "name": "cfg-40", + "name": "cfg-41", "title": " 防止渗透等级", "desc": "", "type": "string", @@ -478,40 +486,32 @@ "default": "较弱", "size": 16, "range": ["较弱", "弱", "一般", "强", "较强"], - "depend_or": ["39==true"] - }, - "41": { - "category": "base", - "name": "cfg-41", - "title": "去除摩尔纹", - "desc": "", - "type": "bool", - "cur": false, - "default": false, - "size": 4, - "depend_and": ["4!=黑白", "4!=颜色自动识别"] + "depend_or": ["40==true"] }, "42": { "category": "base", "name": "cfg-42", - "title": "错误扩散", - "desc": "", + "title": "穿孔移除", + "desc": "移除纸张中的穿孔", "type": "bool", "cur": false, "default": false, - "size": 4, - "depend_or": ["4==黑白"] + "size": 4 }, "43": { "category": "base", "name": "cfg-43", - "title": "除网纹", - "desc": "", - "type": "bool", - "cur": false, - "default": false, + "title": " 穿孔搜索范围占幅面比例", + "desc": "穿孔搜索范围占幅面比例", + "type": "float", + "cur": 0.100000, + "default": 0.100000, "size": 4, - "depend_and": ["4!=黑白", "4!=颜色自动识别"] + "range": { + "min": 0.010000, + "max": 0.500000 + }, + "depend_or": ["42==true"] }, "44": { "category": "base", @@ -569,7 +569,7 @@ "type": "string", "cur": "0°", "default": "0°", - "size": 24, + "size": 40, "range": ["0°", "90°", "180°", "-90°", "自动文本方向识别°"] }, "50": { @@ -581,7 +581,7 @@ "cur": false, "default": false, "size": 4, - "depend_and": ["18!=单面", "18!=对折", "49!=自动文本方向识别°"] + "depend_and": ["22!=单面", "22!=对折", "49!=自动文本方向识别°"] }, "51": { "category": "base", @@ -596,8 +596,8 @@ "52": { "category": "base", "name": "cfg-52", - "title": " 歪斜检测复杂度", - "desc": "纸张歪斜检测复杂度", + "title": " 歪斜检测难易度", + "desc": "纸张歪斜检测难易度", "type": "int", "cur": 3, "default": 3, diff --git a/docs/G139-239.txt b/docs/G139-239.txt index 5806149..82227f9 100644 --- a/docs/G139-239.txt +++ b/docs/G139-239.txt @@ -94,13 +94,58 @@ "size": 4, "range": { "min": 1, - "max": 40 + "max": 100 }, "depend_or": ["8==true"] }, "10": { "category": "base", "name": "cfg-10", + "title": "锐化与模糊", + "desc": "锐化与模糊", + "type": "string", + "cur": "无", + "default": "无", + "size": 24, + "range": ["无", "锐化", "进一步锐化", "模糊", "进一步模糊"], + "depend_and": ["4!=黑白", "4!=颜色自动识别"] + }, + "11": { + "category": "base", + "name": "cfg-11", + "title": "去除摩尔纹", + "desc": "", + "type": "bool", + "cur": false, + "default": false, + "size": 4, + "depend_and": ["4!=黑白", "4!=颜色自动识别"] + }, + "12": { + "category": "base", + "name": "cfg-12", + "title": "除网纹", + "desc": "", + "type": "bool", + "cur": false, + "default": false, + "size": 4, + "depend_and": ["4!=黑白", "4!=颜色自动识别"] + }, + "13": { + "category": "base", + "name": "cfg-13", + "title": "错误扩散", + "desc": "", + "type": "bool", + "cur": false, + "default": false, + "size": 4, + "depend_or": ["4==黑白"] + }, + "14": { + "category": "base", + "name": "cfg-14", "title": "黑白图像噪点优化", "desc": "噪点优化", "type": "bool", @@ -109,9 +154,9 @@ "size": 4, "depend_or": ["4==黑白"] }, - "11": { + "15": { "category": "base", - "name": "cfg-11", + "name": "cfg-15", "title": " 噪点优化尺寸", "desc": "噪点优化尺寸", "type": "int", @@ -122,11 +167,11 @@ "min": 10, "max": 50 }, - "depend_or": ["10==true"] + "depend_or": ["14==true"] }, - "12": { + "16": { "category": "base", - "name": "cfg-12", + "name": "cfg-16", "title": "纸张尺寸", "desc": "设置纸张大小", "type": "string", @@ -135,18 +180,18 @@ "size": 48, "range": ["A3", "8开", "A4", "A4横向", "16开", "16开横向", "A5", "A5横向", "A6", "A6横向", "B4", "B5", "B5横向", "B6", "B6横向", "Letter", "Letter横向", "Double Letter", "LEGAL", "匹配原始尺寸", "最大扫描尺寸自动裁切", "最大扫描尺寸", "三联试卷"] }, - "13": { + "17": { "category": "base", - "name": "cfg-13", + "name": "cfg-17", "title": "自定义扫描区域", "desc": "自定义扫描区域", "type": "bool", "cur": false, "default": false, "size": 4, - "depend_and": ["12!=匹配原始尺寸", "12!=最大扫描尺寸", "12!=最大扫描尺寸自动裁切"] + "depend_and": ["16!=匹配原始尺寸", "16!=最大扫描尺寸", "16!=最大扫描尺寸自动裁切"] }, - "14": { + "18": { "category": "base", "name": "tl-x", "title": "扫描区域左侧(mm)", @@ -159,9 +204,9 @@ "min": 0.000000, "max": 210.000000 }, - "depend_and": ["13==true"] + "depend_and": ["17==true"] }, - "15": { + "19": { "category": "base", "name": "br-x", "title": "扫描区域右侧(mm)", @@ -174,9 +219,9 @@ "min": 0.000000, "max": 210.000000 }, - "depend_and": ["13==true"] + "depend_and": ["17==true"] }, - "16": { + "20": { "category": "base", "name": "tl-y", "title": "扫描区域上侧(mm)", @@ -189,9 +234,9 @@ "min": 0.000000, "max": 297.000000 }, - "depend_and": ["13==true"] + "depend_and": ["17==true"] }, - "17": { + "21": { "category": "base", "name": "br-y", "title": "扫描区域下侧(mm)", @@ -204,22 +249,22 @@ "min": 0.000000, "max": 297.000000 }, - "depend_and": ["13==true"] + "depend_and": ["17==true"] }, - "18": { + "22": { "category": "base", - "name": "cfg-18", + "name": "cfg-22", "title": "尺寸检测", "desc": "检测纸张实际尺寸", "type": "bool", "cur": false, "default": false, "size": 4, - "depend_or": ["12==A3", "12==A4", "12==A4横向", "12==A5", "12==A5横向", "12==A6", "12==A6横向", "12==B4", "12==B5", "12==B5横向", "12==B6", "12==B6横向", "12==Double Letter", "12==LEGAL", "12==Letter", "12==Letter横向"] + "depend_or": ["16==A3", "16==A4", "16==A4横向", "16==A5", "16==A5横向", "16==A6", "16==A6横向", "16==B4", "16==B5", "16==B5横向", "16==B6", "16==B6横向", "16==Double Letter", "16==LEGAL", "16==Letter", "16==Letter横向"] }, - "19": { + "23": { "category": "base", - "name": "cfg-19", + "name": "cfg-23", "title": "扫描页面", "desc": "设置页面扫描方式", "type": "string", @@ -228,9 +273,9 @@ "size": 40, "range": ["单面", "双面", "跳过空白页(通用)", "跳过空白页(发票纸)", "对折"] }, - "20": { + "24": { "category": "base", - "name": "cfg-20", + "name": "cfg-24", "title": " 跳过空白页灵敏度", "desc": "灵敏度越高,则越容易跳过", "type": "int", @@ -241,11 +286,11 @@ "min": 1, "max": 100 }, - "depend_or": ["19==跳过空白页(通用)", "19==跳过空白页(发票纸)"] + "depend_or": ["23==跳过空白页(通用)", "23==跳过空白页(发票纸)"] }, - "21": { + "25": { "category": "base", - "name": "cfg-21", + "name": "cfg-25", "title": "分辨率", "desc": "扫描仪分辨率", "type": "int", @@ -254,9 +299,9 @@ "size": 4, "range": [100, 150, 200, 240, 300] }, - "22": { + "26": { "category": "base", - "name": "cfg-22", + "name": "cfg-26", "title": "画质", "desc": "", "type": "string", @@ -264,75 +309,50 @@ "default": "速度优先", "size": 24, "range": ["速度优先", "画质优先"], - "depend_or": ["21==300"] + "depend_or": ["25==300"] }, - "23": { + "27": { "category": "base", - "name": "cfg-23", + "name": "cfg-27", "title": "交换正反面", "desc": "交换正反面", "type": "bool", "cur": false, "default": false, "size": 4, - "depend_and": ["19!=单面"] + "depend_and": ["23!=单面"] }, - "24": { + "28": { "category": "base", - "name": "cfg-24", + "name": "cfg-28", "title": "图像拆分", "desc": "自动拆分图像", "type": "bool", "cur": false, "default": false, "size": 4, - "depend_or": ["19!=对折"] + "depend_or": ["23!=对折"] }, - "25": { + "29": { "category": "base", - "name": "cfg-25", + "name": "cfg-29", "title": "自动纠偏", "desc": "自动纠偏", "type": "bool", "cur": true, "default": true, "size": 4, - "depend_or": ["19!=对折"] + "depend_or": ["23!=对折"] }, - "26": { - "category": "base", - "name": "cfg-26", - "title": "穿孔移除", - "desc": "移除纸张中的穿孔", - "type": "bool", - "cur": false, - "default": false, - "size": 4 - }, - "27": { - "category": "base", - "name": "cfg-27", - "title": " 穿孔搜索范围占幅面比例", - "desc": "穿孔搜索范围占幅面比例", - "type": "float", - "cur": 0.100000, - "default": 0.100000, - "size": 4, - "range": { - "min": 0.010000, - "max": 0.500000 - }, - "depend_or": ["26==true"] - }, - "28": { + "30": { "category": "base", "name": "grp-2", "title": "亮度", "type": "group" }, - "29": { + "31": { "category": "base", - "name": "cfg-29", + "name": "cfg-31", "title": "启用色调曲线", "desc": "", "type": "bool", @@ -340,9 +360,9 @@ "default": false, "size": 4 }, - "30": { + "32": { "category": "base", - "name": "cfg-30", + "name": "cfg-32", "title": "亮度", "desc": "调整图片亮度", "type": "int", @@ -354,9 +374,9 @@ "max": 255 } }, - "31": { + "33": { "category": "base", - "name": "cfg-31", + "name": "cfg-33", "title": "对比度", "desc": "调整图片对比度", "type": "int", @@ -368,10 +388,10 @@ "max": 7 } }, - "32": { + "34": { "category": "base", - "name": "cfg-32", - "title": "伽玛", + "name": "cfg-34", + "title": "伽马", "desc": "调整图片伽玛值", "type": "float", "cur": 1.000000, @@ -382,27 +402,15 @@ "max": 5.000000 } }, - "33": { + "35": { "category": "base", "name": "grp-3", "title": "图像处理", "type": "group" }, - "34": { + "36": { "category": "base", - "name": "cfg-34", - "title": "锐化与模糊", - "desc": "锐化与模糊", - "type": "string", - "cur": "无", - "default": "无", - "size": 24, - "range": ["无", "锐化", "进一步锐化", "模糊", "进一步模糊"], - "depend_and": ["4!=黑白", "4!=颜色自动识别"] - }, - "35": { - "category": "base", - "name": "cfg-35", + "name": "cfg-36", "title": "消除黑框", "desc": "消除黑框", "type": "bool", @@ -410,20 +418,20 @@ "default": true, "size": 4 }, - "36": { + "37": { "category": "base", - "name": "cfg-36", + "name": "cfg-37", "title": "深色样张", "desc": "深色样张", "type": "bool", "cur": false, "default": false, "size": 4, - "depend_and": ["19!=对折", "35!=true", "12!=匹配原始尺寸", "12!=最大扫描尺寸", "12!=最大扫描尺寸自动裁切", "25!=true"] + "depend_and": ["23!=对折", "36!=true", "16!=匹配原始尺寸", "16!=最大扫描尺寸", "16!=最大扫描尺寸自动裁切", "29!=true"] }, - "37": { + "38": { "category": "advanced", - "name": "cfg-37", + "name": "cfg-38", "title": "阈值", "desc": "阈值", "type": "int", @@ -434,11 +442,11 @@ "min": 30, "max": 50 }, - "depend_or": ["35==true", "12==匹配原始尺寸", "12==最大扫描尺寸", "12==最大扫描尺寸自动裁切", "25==true"] + "depend_or": ["36==true", "16==匹配原始尺寸", "16==最大扫描尺寸", "16==最大扫描尺寸自动裁切", "29==true"] }, - "38": { + "39": { "category": "advanced", - "name": "cfg-38", + "name": "cfg-39", "title": "背景抗噪等级", "desc": "背景抗噪等级", "type": "int", @@ -449,11 +457,11 @@ "min": 1, "max": 20 }, - "depend_or": ["35==true", "12==匹配原始尺寸", "12==最大扫描尺寸", "12==最大扫描尺寸自动裁切", "25==true"] + "depend_or": ["36==true", "16==匹配原始尺寸", "16==最大扫描尺寸", "16==最大扫描尺寸自动裁切", "29==true"] }, - "39": { + "40": { "category": "advanced", - "name": "cfg-39", + "name": "cfg-40", "title": "边缘缩进", "desc": "边缘缩进", "type": "int", @@ -464,11 +472,11 @@ "min": 5, "max": 30 }, - "depend_or": ["35==true", "12==匹配原始尺寸", "12==最大扫描尺寸自动裁切", "25==true", "12==最大扫描尺寸"] + "depend_or": ["36==true", "16==匹配原始尺寸", "16==最大扫描尺寸自动裁切", "29==true", "16==最大扫描尺寸"] }, - "40": { + "41": { "category": "advanced", - "name": "cfg-40", + "name": "cfg-41", "title": "背景填充方式", "desc": "背景填充方式", "type": "string", @@ -476,11 +484,11 @@ "default": "凸多边形", "size": 40, "range": ["凸多边形", "凹多边形"], - "depend_or": ["35==true"] + "depend_or": ["36==true"] }, - "41": { + "42": { "category": "base", - "name": "cfg-41", + "name": "cfg-42", "title": "防止渗透", "desc": "", "type": "bool", @@ -488,9 +496,9 @@ "default": false, "size": 4 }, - "42": { + "43": { "category": "base", - "name": "cfg-42", + "name": "cfg-43", "title": " 防止渗透等级", "desc": "", "type": "string", @@ -498,40 +506,32 @@ "default": "较弱", "size": 16, "range": ["较弱", "弱", "一般", "强", "较强"], - "depend_or": ["41==true"] - }, - "43": { - "category": "base", - "name": "cfg-43", - "title": "去除摩尔纹", - "desc": "", - "type": "bool", - "cur": false, - "default": false, - "size": 4, - "depend_and": ["4!=黑白", "4!=颜色自动识别"] + "depend_or": ["42==true"] }, "44": { "category": "base", "name": "cfg-44", - "title": "错误扩散", - "desc": "", + "title": "穿孔移除", + "desc": "移除纸张中的穿孔", "type": "bool", "cur": false, "default": false, - "size": 4, - "depend_or": ["4==黑白"] + "size": 4 }, "45": { "category": "base", "name": "cfg-45", - "title": "除网纹", - "desc": "", - "type": "bool", - "cur": false, - "default": false, + "title": " 穿孔搜索范围占幅面比例", + "desc": "穿孔搜索范围占幅面比例", + "type": "float", + "cur": 0.100000, + "default": 0.100000, "size": 4, - "depend_and": ["4!=黑白", "4!=颜色自动识别"] + "range": { + "min": 0.010000, + "max": 0.500000 + }, + "depend_or": ["44==true"] }, "46": { "category": "base", @@ -590,7 +590,7 @@ "cur": "0°", "default": "0°", "size": 40, - "range": ["0°", "90°", "180°", "-90°","自动文本方向识别°"] + "range": ["0°", "90°", "180°", "-90°", "自动文本方向识别°"] }, "52": { "category": "base", @@ -601,7 +601,7 @@ "cur": false, "default": false, "size": 4, - "depend_and": ["19!=单面", "19!=对折", "51!=自动文本方向识别°"] + "depend_and": ["23!=单面", "23!=对折", "51!=自动文本方向识别°"] }, "53": { "category": "base", @@ -616,7 +616,7 @@ "54": { "category": "base", "name": "cfg-54", - "title": " 折角检测复杂度", + "title": " 折角检测难易度", "desc": "纸张折角检测复杂度", "type": "int", "cur": 10, @@ -641,7 +641,7 @@ "56": { "category": "base", "name": "cfg-56", - "title": " 歪斜检测复杂度", + "title": " 歪斜检测难易度", "desc": "纸张歪斜检测复杂度", "type": "int", "cur": 3, diff --git a/docs/G300.txt b/docs/G300.txt index d3e7c2b..a65d97f 100644 --- a/docs/G300.txt +++ b/docs/G300.txt @@ -94,13 +94,58 @@ "size": 4, "range": { "min": 1, - "max": 40 + "max": 100 }, "depend_or": ["8==true"] }, "10": { "category": "base", "name": "cfg-10", + "title": "锐化与模糊", + "desc": "锐化与模糊", + "type": "string", + "cur": "无", + "default": "无", + "size": 24, + "range": ["无", "锐化", "进一步锐化", "模糊", "进一步模糊"], + "depend_and": ["4!=黑白", "4!=颜色自动识别"] + }, + "11": { + "category": "base", + "name": "cfg-11", + "title": "去除摩尔纹", + "desc": "", + "type": "bool", + "cur": false, + "default": false, + "size": 4, + "depend_and": ["4!=黑白", "4!=颜色自动识别"] + }, + "12": { + "category": "base", + "name": "cfg-12", + "title": "错误扩散", + "desc": "", + "type": "bool", + "cur": false, + "default": false, + "size": 4, + "depend_or": ["4==黑白"] + }, + "13": { + "category": "base", + "name": "cfg-13", + "title": "除网纹", + "desc": "", + "type": "bool", + "cur": false, + "default": false, + "size": 4, + "depend_and": ["4!=黑白", "4!=颜色自动识别"] + }, + "14": { + "category": "base", + "name": "cfg-14", "title": "黑白图像噪点优化", "desc": "噪点优化", "type": "bool", @@ -109,9 +154,9 @@ "size": 4, "depend_or": ["4==黑白"] }, - "11": { + "15": { "category": "base", - "name": "cfg-11", + "name": "cfg-15", "title": " 噪点优化尺寸", "desc": "噪点优化尺寸", "type": "int", @@ -122,11 +167,11 @@ "min": 10, "max": 50 }, - "depend_or": ["10==true"] + "depend_or": ["14==true"] }, - "12": { + "16": { "category": "base", - "name": "cfg-12", + "name": "cfg-16", "title": "纸张尺寸", "desc": "设置纸张大小", "type": "string", @@ -135,18 +180,18 @@ "size": 40, "range": ["A4", "A5", "A5横向", "A6", "A6横向", "B5", "B5横向", "B6", "B6横向", "匹配原始尺寸", "最大扫描尺寸自动裁切", "最大扫描尺寸"] }, - "13": { + "17": { "category": "base", - "name": "cfg-13", + "name": "cfg-17", "title": "自定义扫描区域", "desc": "", "type": "bool", "cur": false, "default": false, "size": 4, - "depend_and": ["12!=匹配原始尺寸", "12!=最大扫描尺寸", "12!=最大扫描尺寸自动裁切"] + "depend_and": ["16!=匹配原始尺寸", "16!=最大扫描尺寸", "16!=最大扫描尺寸自动裁切"] }, - "14": { + "18": { "category": "base", "name": "tl-x", "title": "扫描区域左侧(mm)", @@ -159,9 +204,9 @@ "min": 0.000000, "max": 210.000000 }, - "depend_and": ["13==true"] + "depend_and": ["17==true"] }, - "15": { + "19": { "category": "base", "name": "br-x", "title": "扫描区域右侧(mm)", @@ -174,9 +219,9 @@ "min": 0.000000, "max": 210.000000 }, - "depend_and": ["13==true"] + "depend_and": ["17==true"] }, - "16": { + "20": { "category": "base", "name": "tl-y", "title": "扫描区域上侧(mm)", @@ -189,9 +234,9 @@ "min": 0.000000, "max": 297.000000 }, - "depend_and": ["13==true"] + "depend_and": ["17==true"] }, - "17": { + "21": { "category": "base", "name": "br-y", "title": "扫描区域下侧(mm)", @@ -204,11 +249,11 @@ "min": 0.000000, "max": 297.000000 }, - "depend_and": ["13==true"] + "depend_and": ["17==true"] }, - "18": { + "22": { "category": "base", - "name": "cfg-18", + "name": "cfg-22", "title": "扫描页面", "desc": "设置页面扫描方式", "type": "string", @@ -217,9 +262,9 @@ "size": 50, "range": ["单面", "双面", "跳过空白页(通用)", "跳过空白页(发票纸)", "对折"] }, - "19": { + "23": { "category": "base", - "name": "cfg-19", + "name": "cfg-23", "title": " 跳过空白页灵敏度", "desc": "灵敏度越高,则越容易跳过", "type": "int", @@ -230,11 +275,11 @@ "min": 1, "max": 100 }, - "depend_or": ["18==跳过空白页(通用)", "18==跳过空白页(发票纸)"] + "depend_or": ["22==跳过空白页(通用)", "22==跳过空白页(发票纸)"] }, - "20": { + "24": { "category": "base", - "name": "cfg-20", + "name": "cfg-24", "title": "分辨率", "desc": "扫描仪分辨率", "type": "int", @@ -243,83 +288,58 @@ "size": 4, "range": [100, 150, 200, 240, 300] }, - "21": { + "25": { "category": "base", - "name": "cfg-21", + "name": "cfg-25", "title": "交换正反面", "desc": "交换正反面", "type": "bool", "cur": false, "default": false, "size": 4, - "depend_and": ["18!=单面"] + "depend_and": ["22!=单面"] }, - "22": { + "26": { "category": "base", - "name": "cfg-22", + "name": "cfg-26", "title": "图像拆分", "desc": "自动拆分图像", "type": "bool", "cur": false, "default": false, "size": 4, - "depend_or": ["18!=对折"] + "depend_or": ["22!=对折"] }, - "23": { + "27": { "category": "base", - "name": "cfg-23", + "name": "cfg-27", "title": "自动纠偏", "desc": "自动纠偏", "type": "bool", "cur": true, "default": true, "size": 4, - "depend_or": ["18!=对折"] + "depend_or": ["22!=对折"] }, - "24": { - "category": "base", - "name": "cfg-24", - "title": "穿孔移除", - "desc": "移除纸张中的穿孔", - "type": "bool", - "cur": false, - "default": false, - "size": 4 - }, - "25": { - "category": "base", - "name": "cfg-25", - "title": " 穿孔搜索范围占幅面比例", - "desc": "穿孔搜索范围占幅面比例", - "type": "float", - "cur": 0.100000, - "default": 0.100000, - "size": 4, - "range": { - "min": 0.010000, - "max": 0.500000 - }, - "depend_or": ["24==true"] - }, - "26": { + "28": { "category": "base", "name": "grp-2", "title": "亮度", "type": "group" }, - "27": { + "29": { "category": "base", - "name": "cfg-27", + "name": "cfg-29", "title": "启用色调曲线", - "desc": "通过色调曲线来设置图像伽玛值", + "desc": "通过色调曲线来设置图像伽马值", "type": "bool", "cur": false, "default": false, "size": 4 }, - "28": { + "30": { "category": "base", - "name": "cfg-28", + "name": "cfg-30", "title": "亮度", "desc": "调整图片亮度", "type": "int", @@ -330,11 +350,11 @@ "min": 1, "max": 255 }, - "depend_and": ["27==false"] + "depend_and": ["29==false"] }, - "29": { + "31": { "category": "base", - "name": "cfg-29", + "name": "cfg-31", "title": "对比度", "desc": "调整图片对比度", "type": "int", @@ -345,13 +365,13 @@ "min": 1, "max": 7 }, - "depend_and": ["27==false"] + "depend_and": ["29==false"] }, - "30": { + "32": { "category": "base", - "name": "cfg-30", - "title": "伽玛", - "desc": "调整图片伽玛值", + "name": "cfg-32", + "title": "伽马", + "desc": "调整图片伽马值", "type": "float", "cur": 1.000000, "default": 1.000000, @@ -360,29 +380,17 @@ "min": 1.000000, "max": 5.000000 }, - "depend_and": ["27==false"] + "depend_and": ["29==false"] }, - "31": { + "33": { "category": "base", "name": "grp-3", "title": "图像处理", "type": "group" }, - "32": { + "34": { "category": "base", - "name": "cfg-32", - "title": "锐化与模糊", - "desc": "锐化与模糊", - "type": "string", - "cur": "无", - "default": "无", - "size": 24, - "range": ["无", "锐化", "进一步锐化", "模糊", "进一步模糊"], - "depend_and": ["4!=黑白", "4!=颜色自动识别"] - }, - "33": { - "category": "base", - "name": "cfg-33", + "name": "cfg-34", "title": "消除黑框", "desc": "消除黑框", "type": "bool", @@ -390,20 +398,20 @@ "default": true, "size": 4 }, - "34": { + "35": { "category": "base", - "name": "cfg-34", + "name": "cfg-35", "title": "深色样张", "desc": "深色样张", "type": "bool", "cur": false, "default": false, "size": 4, - "depend_and": ["18!=对折", "33!=true", "12!=匹配原始尺寸", "12!=最大扫描尺寸", "12!=最大扫描尺寸自动裁切", "23!=true"] + "depend_and": ["22!=对折", "34!=true", "16!=匹配原始尺寸", "16!=最大扫描尺寸", "16!=最大扫描尺寸自动裁切", "27!=true"] }, - "35": { + "36": { "category": "advanced", - "name": "cfg-35", + "name": "cfg-36", "title": "阈值", "desc": "阈值", "type": "int", @@ -414,11 +422,11 @@ "min": 30, "max": 50 }, - "depend_or": ["33==true", "12==匹配原始尺寸", "12==最大扫描尺寸", "12==最大扫描尺寸自动裁切", "23==true"] + "depend_or": ["34==true", "16==匹配原始尺寸", "16==最大扫描尺寸", "16==最大扫描尺寸自动裁切", "27==true"] }, - "36": { + "37": { "category": "advanced", - "name": "cfg-36", + "name": "cfg-37", "title": "背景抗噪等级", "desc": "背景抗噪等级", "type": "int", @@ -429,11 +437,11 @@ "min": 1, "max": 20 }, - "depend_or": ["33==true", "12==匹配原始尺寸", "12==最大扫描尺寸", "12==最大扫描尺寸自动裁切", "23==true"] + "depend_or": ["34==true", "16==匹配原始尺寸", "16==最大扫描尺寸", "16==最大扫描尺寸自动裁切", "27==true"] }, - "37": { + "38": { "category": "advanced", - "name": "cfg-37", + "name": "cfg-38", "title": "边缘缩进", "desc": "边缘缩进", "type": "int", @@ -444,11 +452,11 @@ "min": 5, "max": 30 }, - "depend_or": ["33==true", "12==匹配原始尺寸", "12==最大扫描尺寸自动裁切", "23==true", "12==最大扫描尺寸"] + "depend_or": ["34==true", "16==匹配原始尺寸", "16==最大扫描尺寸自动裁切", "27==true", "16==最大扫描尺寸"] }, - "38": { + "39": { "category": "advanced", - "name": "cfg-38", + "name": "cfg-39", "title": "背景填充方式", "desc": "背景填充方式", "type": "string", @@ -456,11 +464,11 @@ "default": "凸多边形", "size": 40, "range": ["凸多边形", "凹多边形"], - "depend_or": ["33==true"] + "depend_or": ["34==true"] }, - "39": { + "40": { "category": "base", - "name": "cfg-39", + "name": "cfg-40", "title": "防止渗透", "desc": "", "type": "bool", @@ -468,9 +476,9 @@ "default": false, "size": 4 }, - "40": { + "41": { "category": "base", - "name": "cfg-40", + "name": "cfg-41", "title": " 防止渗透等级", "desc": "", "type": "string", @@ -478,40 +486,32 @@ "default": "较弱", "size": 16, "range": ["较弱", "弱", "一般", "强", "较强"], - "depend_or": ["39==true"] - }, - "41": { - "category": "base", - "name": "cfg-41", - "title": "去除摩尔纹", - "desc": "", - "type": "bool", - "cur": false, - "default": false, - "size": 4, - "depend_and": ["4!=黑白", "4!=颜色自动识别"] + "depend_or": ["40==true"] }, "42": { "category": "base", "name": "cfg-42", - "title": "错误扩散", - "desc": "", + "title": "穿孔移除", + "desc": "移除纸张中的穿孔", "type": "bool", "cur": false, "default": false, - "size": 4, - "depend_or": ["4==黑白"] + "size": 4 }, "43": { "category": "base", "name": "cfg-43", - "title": "除网纹", - "desc": "", - "type": "bool", - "cur": false, - "default": false, + "title": " 穿孔搜索范围占幅面比例", + "desc": "穿孔搜索范围占幅面比例", + "type": "float", + "cur": 0.100000, + "default": 0.100000, "size": 4, - "depend_and": ["4!=黑白", "4!=颜色自动识别"] + "range": { + "min": 0.010000, + "max": 0.500000 + }, + "depend_or": ["42==true"] }, "44": { "category": "base", @@ -559,7 +559,7 @@ "type": "string", "cur": "0°", "default": "0°", - "size": 24, + "size": 40, "range": ["0°", "90°", "180°", "-90°", "自动文本方向识别°"] }, "49": { @@ -571,6 +571,6 @@ "cur": false, "default": false, "size": 4, - "depend_and": ["18!=单面", "18!=对折", "48!=自动文本方向识别°"] + "depend_and": ["22!=单面", "22!=对折", "48!=自动文本方向识别°"] } } \ No newline at end of file diff --git a/docs/G400.txt b/docs/G400.txt index 4a66a9e..379eac9 100644 --- a/docs/G400.txt +++ b/docs/G400.txt @@ -101,6 +101,51 @@ "10": { "category": "base", "name": "cfg-10", + "title": "锐化与模糊", + "desc": "锐化与模糊", + "type": "string", + "cur": "无", + "default": "无", + "size": 24, + "range": ["无", "锐化", "进一步锐化", "模糊", "进一步模糊"], + "depend_and": ["4!=黑白", "4!=颜色自动识别"] + }, + "11": { + "category": "base", + "name": "cfg-11", + "title": "去除摩尔纹", + "desc": "", + "type": "bool", + "cur": false, + "default": false, + "size": 4, + "depend_and": ["4!=黑白", "4!=颜色自动识别"] + }, + "12": { + "category": "base", + "name": "cfg-12", + "title": "除网纹", + "desc": "", + "type": "bool", + "cur": false, + "default": false, + "size": 4, + "depend_and": ["4!=黑白", "4!=颜色自动识别"] + }, + "13": { + "category": "base", + "name": "cfg-13", + "title": "错误扩散", + "desc": "", + "type": "bool", + "cur": false, + "default": false, + "size": 4, + "depend_or": ["4==黑白"] + }, + "14": { + "category": "base", + "name": "cfg-14", "title": "黑白图像噪点优化", "desc": "噪点优化", "type": "bool", @@ -109,9 +154,9 @@ "size": 4, "depend_or": ["4==黑白"] }, - "11": { + "15": { "category": "base", - "name": "cfg-11", + "name": "cfg-15", "title": " 噪点优化尺寸", "desc": "噪点优化尺寸", "type": "int", @@ -122,11 +167,11 @@ "min": 10, "max": 50 }, - "depend_or": ["10==true"] + "depend_or": ["14==true"] }, - "12": { + "16": { "category": "base", - "name": "cfg-12", + "name": "cfg-16", "title": "纸张尺寸", "desc": "设置纸张大小", "type": "string", @@ -135,18 +180,18 @@ "size": 48, "range": ["A3", "A4", "A4横向", "A5", "A5横向", "A6", "A6横向", "B4", "B5", "B5横向", "B6", "B6横向", "Letter", "Letter横向", "Double Letter", "LEGAL", "匹配原始尺寸", "最大扫描尺寸自动裁切", "最大扫描尺寸"] }, - "13": { + "17": { "category": "base", - "name": "cfg-13", + "name": "cfg-17", "title": "自定义扫描区域", "desc": "", "type": "bool", "cur": false, "default": false, "size": 4, - "depend_and": ["12!=匹配原始尺寸", "12!=最大扫描尺寸", "12!=最大扫描尺寸自动裁切"] + "depend_and": ["16!=匹配原始尺寸", "16!=最大扫描尺寸", "16!=最大扫描尺寸自动裁切"] }, - "14": { + "18": { "category": "base", "name": "tl-x", "title": "扫描区域左侧(mm)", @@ -159,9 +204,9 @@ "min": 0.000000, "max": 210.000000 }, - "depend_and": ["13==true"] + "depend_and": ["17==true"] }, - "15": { + "19": { "category": "base", "name": "br-x", "title": "扫描区域右侧(mm)", @@ -174,9 +219,9 @@ "min": 0.000000, "max": 210.000000 }, - "depend_and": ["13==true"] + "depend_and": ["17==true"] }, - "16": { + "20": { "category": "base", "name": "tl-y", "title": "扫描区域上侧(mm)", @@ -189,9 +234,9 @@ "min": 0.000000, "max": 297.000000 }, - "depend_and": ["13==true"] + "depend_and": ["17==true"] }, - "17": { + "21": { "category": "base", "name": "br-y", "title": "扫描区域下侧(mm)", @@ -204,11 +249,11 @@ "min": 0.000000, "max": 297.000000 }, - "depend_and": ["13==true"] + "depend_and": ["17==true"] }, - "18": { + "22": { "category": "base", - "name": "cfg-18", + "name": "cfg-22", "title": "扫描页面", "desc": "设置页面扫描方式", "type": "string", @@ -217,9 +262,9 @@ "size": 50, "range": ["单面", "双面", "跳过空白页(通用)", "跳过空白页(发票纸)", "对折"] }, - "19": { + "23": { "category": "base", - "name": "cfg-19", + "name": "cfg-23", "title": " 跳过空白页灵敏度", "desc": "灵敏度越高,则越容易跳过", "type": "int", @@ -230,11 +275,11 @@ "min": 1, "max": 100 }, - "depend_or": ["18==跳过空白页(发票纸)", "18==跳过空白页(通用)"] + "depend_or": ["22==跳过空白页(发票纸)", "22==跳过空白页(通用)"] }, - "20": { + "24": { "category": "base", - "name": "cfg-20", + "name": "cfg-24", "title": "分辨率", "desc": "扫描仪分辨率", "type": "int", @@ -243,73 +288,48 @@ "size": 4, "range": [100, 150, 200, 240, 300] }, - "21": { + "25": { "category": "base", - "name": "cfg-21", + "name": "cfg-25", "title": "交换正反面", "desc": "交换正反面", "type": "bool", "cur": false, "default": false, "size": 4, - "depend_and": ["18!=单面"] + "depend_and": ["22!=单面"] }, - "22": { + "26": { "category": "base", - "name": "cfg-22", + "name": "cfg-26", "title": "图像拆分", "desc": "自动拆分图像", "type": "bool", "cur": false, "default": false, "size": 4, - "depend_or": ["18!=对折"] + "depend_or": ["22!=对折"] }, - "23": { + "27": { "category": "base", - "name": "cfg-23", + "name": "cfg-27", "title": "自动纠偏", "desc": "自动纠偏", "type": "bool", "cur": true, "default": true, "size": 4, - "depend_or": ["18!=对折"] + "depend_or": ["22!=对折"] }, - "24": { - "category": "base", - "name": "cfg-24", - "title": "穿孔移除", - "desc": "移除纸张中的穿孔", - "type": "bool", - "cur": false, - "default": false, - "size": 4 - }, - "25": { - "category": "base", - "name": "cfg-25", - "title": " 穿孔搜索范围占幅面比例", - "desc": "穿孔搜索范围占幅面比例", - "type": "float", - "cur": 0.100000, - "default": 0.100000, - "size": 4, - "range": { - "min": 0.010000, - "max": 0.500000 - }, - "depend_or": ["24==true"] - }, - "26": { + "28": { "category": "base", "name": "grp-2", "title": "亮度", "type": "group" }, - "27": { + "29": { "category": "base", - "name": "cfg-27", + "name": "cfg-29", "title": "启用色调曲线", "desc": "通过色调曲线来设置图像伽玛值", "type": "bool", @@ -317,9 +337,9 @@ "default": false, "size": 4 }, - "28": { + "30": { "category": "base", - "name": "cfg-28", + "name": "cfg-30", "title": "亮度", "desc": "调整图片亮度", "type": "int", @@ -331,9 +351,9 @@ "max": 255 } }, - "29": { + "31": { "category": "base", - "name": "cfg-29", + "name": "cfg-31", "title": "对比度", "desc": "调整图片对比度", "type": "int", @@ -345,10 +365,10 @@ "max": 7 } }, - "30": { + "32": { "category": "base", - "name": "cfg-30", - "title": "伽玛", + "name": "cfg-32", + "title": "伽马", "desc": "调整图片伽玛值", "type": "float", "cur": 1.000000, @@ -359,27 +379,15 @@ "max": 5.000000 } }, - "31": { + "33": { "category": "base", "name": "grp-3", "title": "图像处理", "type": "group" }, - "32": { + "34": { "category": "base", - "name": "cfg-32", - "title": "锐化与模糊", - "desc": "锐化与模糊", - "type": "string", - "cur": "无", - "default": "无", - "size": 24, - "range": ["无", "锐化", "进一步锐化", "模糊", "进一步模糊"], - "depend_and": ["4!=黑白", "4!=颜色自动识别"] - }, - "33": { - "category": "base", - "name": "cfg-33", + "name": "cfg-34", "title": "消除黑框", "desc": "消除黑框", "type": "bool", @@ -387,20 +395,20 @@ "default": true, "size": 4 }, - "34": { + "35": { "category": "base", - "name": "cfg-34", + "name": "cfg-35", "title": "深色样张", "desc": "深色样张", "type": "bool", "cur": false, "default": false, "size": 4, - "depend_and": ["18!=对折", "33!=true", "12!=匹配原始尺寸", "12!=最大扫描尺寸", "12!=最大扫描尺寸自动裁切", "23!=true"] + "depend_and": ["22!=对折", "34!=true", "16!=匹配原始尺寸", "16!=最大扫描尺寸", "16!=最大扫描尺寸自动裁切", "27!=true"] }, - "35": { + "36": { "category": "advanced", - "name": "cfg-35", + "name": "cfg-36", "title": "阈值", "desc": "阈值", "type": "int", @@ -411,11 +419,11 @@ "min": 30, "max": 50 }, - "depend_or": ["33==true", "12==匹配原始尺寸", "12==最大扫描尺寸", "12==最大扫描尺寸自动裁切", "23==true"] + "depend_or": ["34==true", "16==匹配原始尺寸", "16==最大扫描尺寸", "16==最大扫描尺寸自动裁切", "27==true"] }, - "36": { + "37": { "category": "advanced", - "name": "cfg-36", + "name": "cfg-37", "title": "背景抗噪等级", "desc": "背景抗噪等级", "type": "int", @@ -426,11 +434,11 @@ "min": 1, "max": 20 }, - "depend_or": ["33==true", "12==匹配原始尺寸", "12==最大扫描尺寸", "12==最大扫描尺寸自动裁切", "23==true"] + "depend_or": ["34==true", "16==匹配原始尺寸", "16==最大扫描尺寸", "16==最大扫描尺寸自动裁切", "27==true"] }, - "37": { + "38": { "category": "advanced", - "name": "cfg-37", + "name": "cfg-38", "title": "边缘缩进", "desc": "边缘缩进", "type": "int", @@ -441,11 +449,11 @@ "min": 5, "max": 30 }, - "depend_or": ["33==true", "12==匹配原始尺寸", "12==最大扫描尺寸自动裁切", "23==true", "12==最大扫描尺寸"] + "depend_or": ["34==true", "16==匹配原始尺寸", "16==最大扫描尺寸自动裁切", "27==true", "16==最大扫描尺寸"] }, - "38": { + "39": { "category": "advanced", - "name": "cfg-38", + "name": "cfg-39", "title": "背景填充方式", "desc": "背景填充方式", "type": "string", @@ -453,11 +461,11 @@ "default": "凸多边形", "size": 40, "range": ["凸多边形", "凹多边形"], - "depend_or": ["33==true"] + "depend_or": ["34==true"] }, - "39": { + "40": { "category": "base", - "name": "cfg-39", + "name": "cfg-40", "title": "防止渗透", "desc": "", "type": "bool", @@ -465,9 +473,9 @@ "default": false, "size": 4 }, - "40": { + "41": { "category": "base", - "name": "cfg-40", + "name": "cfg-41", "title": " 防止渗透等级", "desc": "", "type": "string", @@ -475,40 +483,32 @@ "default": "较弱", "size": 16, "range": ["较弱", "弱", "一般", "强", "较强"], - "depend_or": ["39==true"] - }, - "41": { - "category": "base", - "name": "cfg-41", - "title": "去除摩尔纹", - "desc": "", - "type": "bool", - "cur": false, - "default": false, - "size": 4, - "depend_and": ["4!=黑白", "4!=颜色自动识别"] + "depend_or": ["40==true"] }, "42": { "category": "base", "name": "cfg-42", - "title": "错误扩散", - "desc": "", + "title": "穿孔移除", + "desc": "移除纸张中的穿孔", "type": "bool", "cur": false, "default": false, - "size": 4, - "depend_or": ["4==黑白"] + "size": 4 }, "43": { "category": "base", "name": "cfg-43", - "title": "除网纹", - "desc": "", - "type": "bool", - "cur": false, - "default": false, + "title": " 穿孔搜索范围占幅面比例", + "desc": "穿孔搜索范围占幅面比例", + "type": "float", + "cur": 0.100000, + "default": 0.100000, "size": 4, - "depend_and": ["4!=黑白", "4!=颜色自动识别"] + "range": { + "min": 0.010000, + "max": 0.500000 + }, + "depend_or": ["42==true"] }, "44": { "category": "base", @@ -568,6 +568,6 @@ "cur": false, "default": false, "size": 4, - "depend_and": ["18!=单面", "18!=对折", "48!=自动文本方向识别°"] + "depend_and": ["22!=单面", "22!=对折", "48!=自动文本方向识别°"] } } \ No newline at end of file