diff --git a/docs/G100-G200.txt b/docs/G100-G200.txt index b180b9c..b009187 100644 --- a/docs/G100-G200.txt +++ b/docs/G100-G200.txt @@ -1,6 +1,6 @@ { "device_type": "G100", - "option_count": 53, + "option_count": 54, "1": { "category": "base", "name": "cfg-1", @@ -53,19 +53,20 @@ "6": { "category": "base", "name": "cfg-6", - "title": "24位彩色图像 - 多流输出除红", - "desc": "多通道输出中,去除红色", - "type": "bool", - "cur": false, - "default": false, - "size": 4, + "title": "多流输出", + "desc": "", + "type": "string", + "cur": "无", + "default": "无", + "size": 32, + "range": ["无", "彩色+灰度+黑白", "彩色+灰度", "彩色+黑白", "灰度+黑白"], "depend_or": ["4==24位彩色"] }, "7": { "category": "base", "name": "cfg-7", - "title": "24位彩色图像 - 答题卡除红", - "desc": "答题卡扫描中去除红色", + "title": "24位彩色图像 - 多流输出除红", + "desc": "多通道输出中,去除红色", "type": "bool", "cur": false, "default": false, @@ -75,8 +76,8 @@ "8": { "category": "base", "name": "cfg-8", - "title": "背景移除", - "desc": "移除彩色图像背景", + "title": "24位彩色图像 - 答题卡除红", + "desc": "答题卡扫描中去除红色", "type": "bool", "cur": false, "default": false, @@ -86,6 +87,17 @@ "9": { "category": "base", "name": "cfg-9", + "title": "背景移除", + "desc": "移除彩色图像背景", + "type": "bool", + "cur": false, + "default": false, + "size": 4, + "depend_or": ["4==24位彩色"] + }, + "10": { + "category": "base", + "name": "cfg-10", "title": " 背景色彩浮动范围", "desc": "设定背景色彩的浮动范围,在该范围内的都当作背景移除", "type": "int", @@ -96,11 +108,11 @@ "min": 1, "max": 128 }, - "depend_or": ["8==true"] + "depend_or": ["9==true"] }, - "10": { + "11": { "category": "base", - "name": "cfg-10", + "name": "cfg-11", "title": "锐化与模糊", "desc": "锐化与模糊", "type": "string", @@ -110,21 +122,10 @@ "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": "除网纹", + "title": "去除摩尔纹", "desc": "", "type": "bool", "cur": false, @@ -135,19 +136,19 @@ "13": { "category": "base", "name": "cfg-13", - "title": "错误扩散", + "title": "除网纹", "desc": "", "type": "bool", "cur": false, "default": false, "size": 4, - "depend_or": ["4==黑白"] + "depend_and": ["4!=黑白", "4!=颜色自动识别"] }, "14": { "category": "base", "name": "cfg-14", - "title": "黑白图像噪点优化", - "desc": "噪点优化", + "title": "错误扩散", + "desc": "", "type": "bool", "cur": false, "default": false, @@ -157,6 +158,17 @@ "15": { "category": "base", "name": "cfg-15", + "title": "黑白图像噪点优化", + "desc": "噪点优化", + "type": "bool", + "cur": false, + "default": false, + "size": 4, + "depend_or": ["4==黑白"] + }, + "16": { + "category": "base", + "name": "cfg-16", "title": " 噪点优化尺寸", "desc": "噪点优化尺寸", "type": "int", @@ -167,11 +179,11 @@ "min": 10, "max": 50 }, - "depend_or": ["14==true"] + "depend_or": ["15==true"] }, - "16": { + "17": { "category": "base", - "name": "cfg-16", + "name": "cfg-17", "title": "纸张尺寸", "desc": "设置纸张大小", "type": "string", @@ -180,18 +192,18 @@ "size": 48, "range": ["A3", "8开", "A4", "A4横向", "16开", "16开横向", "A5", "A5横向", "A6", "A6横向", "B4", "B5", "B5横向", "B6", "B6横向", "Letter", "Letter横向", "Double Letter", "LEGAL", "匹配原始尺寸", "最大扫描尺寸自动裁切", "最大扫描尺寸", "三联试卷"] }, - "17": { + "18": { "category": "base", - "name": "cfg-17", + "name": "cfg-18", "title": "自定义扫描区域", "desc": "自定义扫描区域", "type": "bool", "cur": false, "default": false, "size": 4, - "depend_and": ["16!=匹配原始尺寸", "16!=最大扫描尺寸", "16!=最大扫描尺寸自动裁切"] + "depend_and": ["17!=匹配原始尺寸", "17!=最大扫描尺寸", "17!=最大扫描尺寸自动裁切"] }, - "18": { + "19": { "category": "base", "name": "tl-x", "title": "扫描区域左侧(mm)", @@ -204,9 +216,9 @@ "min": 0.000000, "max": 210.000000 }, - "depend_and": ["17==true"] + "depend_and": ["18==true"] }, - "19": { + "20": { "category": "base", "name": "br-x", "title": "扫描区域右侧(mm)", @@ -219,9 +231,9 @@ "min": 0.000000, "max": 210.000000 }, - "depend_and": ["17==true"] + "depend_and": ["18==true"] }, - "20": { + "21": { "category": "base", "name": "tl-y", "title": "扫描区域上侧(mm)", @@ -234,9 +246,9 @@ "min": 0.000000, "max": 297.000000 }, - "depend_and": ["17==true"] + "depend_and": ["18==true"] }, - "21": { + "22": { "category": "base", "name": "br-y", "title": "扫描区域下侧(mm)", @@ -249,11 +261,11 @@ "min": 0.000000, "max": 297.000000 }, - "depend_and": ["17==true"] + "depend_and": ["18==true"] }, - "22": { + "23": { "category": "base", - "name": "cfg-22", + "name": "cfg-23", "title": "扫描页面", "desc": "设置页面扫描方式", "type": "string", @@ -262,9 +274,9 @@ "size": 40, "range": ["单面", "双面", "跳过空白页(通用)", "跳过空白页(发票纸)", "对折"] }, - "23": { + "24": { "category": "base", - "name": "cfg-23", + "name": "cfg-24", "title": " 跳过空白页灵敏度", "desc": "灵敏度越高,则越容易跳过", "type": "int", @@ -275,11 +287,11 @@ "min": 1, "max": 100 }, - "depend_or": ["22==跳过空白页(通用)", "22==跳过空白页(发票纸)"] + "depend_or": ["23==跳过空白页(通用)", "23==跳过空白页(发票纸)"] }, - "24": { + "25": { "category": "base", - "name": "cfg-24", + "name": "cfg-25", "title": "分辨率", "desc": "扫描仪分辨率", "type": "int", @@ -288,48 +300,48 @@ "size": 4, "range": [100, 150, 200, 240, 300] }, - "25": { + "26": { "category": "base", - "name": "cfg-25", + "name": "cfg-26", "title": "交换正反面", "desc": "交换正反面", "type": "bool", "cur": false, "default": false, "size": 4, - "depend_and": ["22!=单面"] + "depend_and": ["23!=单面"] }, - "26": { + "27": { "category": "base", - "name": "cfg-26", + "name": "cfg-27", "title": "图像拆分", "desc": "自动拆分图像", "type": "bool", "cur": false, "default": false, "size": 4, - "depend_or": ["22!=对折"] + "depend_or": ["23!=对折"] }, - "27": { + "28": { "category": "base", - "name": "cfg-27", + "name": "cfg-28", "title": "自动纠偏", "desc": "自动纠偏", "type": "bool", "cur": true, "default": true, "size": 4, - "depend_or": ["22!=对折"] + "depend_or": ["23!=对折"] }, - "28": { + "29": { "category": "base", "name": "grp-2", "title": "亮度", "type": "group" }, - "29": { + "30": { "category": "base", - "name": "cfg-29", + "name": "cfg-30", "title": "启用色调曲线", "desc": "通过色调曲线来设置图像伽马值", "type": "bool", @@ -337,9 +349,9 @@ "default": false, "size": 4 }, - "30": { + "31": { "category": "base", - "name": "cfg-30", + "name": "cfg-31", "title": "亮度值", "desc": "调整图片亮度", "type": "int", @@ -350,11 +362,11 @@ "min": 1, "max": 255 }, - "depend_and": ["29==false"] + "depend_and": ["30==false"] }, - "31": { + "32": { "category": "base", - "name": "cfg-31", + "name": "cfg-32", "title": "对比度", "desc": "调整图片对比度", "type": "int", @@ -365,11 +377,11 @@ "min": 1, "max": 7 }, - "depend_and": ["29==false"] + "depend_and": ["30==false"] }, - "32": { + "33": { "category": "base", - "name": "cfg-32", + "name": "cfg-33", "title": "伽马值", "desc": "调整图片伽马值", "type": "float", @@ -380,17 +392,17 @@ "min": 0.010000, "max": 5.000000 }, - "depend_and": ["29==false"] + "depend_and": ["30==false"] }, - "33": { + "34": { "category": "base", "name": "grp-3", "title": "图像处理", "type": "group" }, - "34": { + "35": { "category": "base", - "name": "cfg-34", + "name": "cfg-35", "title": "消除黑框", "desc": "消除黑框", "type": "bool", @@ -398,20 +410,20 @@ "default": true, "size": 4 }, - "35": { + "36": { "category": "base", - "name": "cfg-35", + "name": "cfg-36", "title": "深色样张", "desc": "深色样张", "type": "bool", "cur": false, "default": false, "size": 4, - "depend_and": ["22!=对折", "34!=true", "16!=匹配原始尺寸", "16!=最大扫描尺寸", "16!=最大扫描尺寸自动裁切", "27!=true"] + "depend_and": ["23!=对折", "35!=true", "17!=匹配原始尺寸", "17!=最大扫描尺寸", "17!=最大扫描尺寸自动裁切", "28!=true"] }, - "36": { + "37": { "category": "advanced", - "name": "cfg-36", + "name": "cfg-37", "title": "阈值", "desc": "阈值", "type": "int", @@ -422,11 +434,11 @@ "min": 30, "max": 50 }, - "depend_or": ["34==true", "16==匹配原始尺寸", "16==最大扫描尺寸", "16==最大扫描尺寸自动裁切", "27==true"] + "depend_or": ["35==true", "17==匹配原始尺寸", "17==最大扫描尺寸", "17==最大扫描尺寸自动裁切", "28==true"] }, - "37": { + "38": { "category": "advanced", - "name": "cfg-37", + "name": "cfg-38", "title": "背景抗噪等级", "desc": "背景抗噪等级", "type": "int", @@ -437,11 +449,11 @@ "min": 1, "max": 20 }, - "depend_or": ["34==true", "16==匹配原始尺寸", "16==最大扫描尺寸", "16==最大扫描尺寸自动裁切", "27==true"] + "depend_or": ["35==true", "17==匹配原始尺寸", "17==最大扫描尺寸", "17==最大扫描尺寸自动裁切", "28==true"] }, - "38": { + "39": { "category": "advanced", - "name": "cfg-38", + "name": "cfg-39", "title": "边缘缩进", "desc": "边缘缩进", "type": "int", @@ -452,11 +464,11 @@ "min": 5, "max": 30 }, - "depend_or": ["34==true", "16==匹配原始尺寸", "16==最大扫描尺寸自动裁切", "27==true", "16==最大扫描尺寸"] + "depend_or": ["35==true", "17==匹配原始尺寸", "17==最大扫描尺寸自动裁切", "28==true", "17==最大扫描尺寸"] }, - "39": { + "40": { "category": "advanced", - "name": "cfg-39", + "name": "cfg-40", "title": "背景填充方式", "desc": "背景填充方式", "type": "string", @@ -464,11 +476,11 @@ "default": "凸多边形", "size": 40, "range": ["凸多边形", "凹多边形"], - "depend_or": ["34==true"] + "depend_or": ["35==true"] }, - "40": { + "41": { "category": "base", - "name": "cfg-40", + "name": "cfg-41", "title": "防止渗透", "desc": "", "type": "bool", @@ -476,9 +488,9 @@ "default": false, "size": 4 }, - "41": { + "42": { "category": "base", - "name": "cfg-41", + "name": "cfg-42", "title": " 防止渗透等级", "desc": "", "type": "string", @@ -486,11 +498,11 @@ "default": "较弱", "size": 16, "range": ["较弱", "弱", "一般", "强", "较强"], - "depend_or": ["40==true"] + "depend_or": ["41==true"] }, - "42": { + "43": { "category": "base", - "name": "cfg-42", + "name": "cfg-43", "title": "穿孔移除", "desc": "移除纸张中的穿孔", "type": "bool", @@ -498,9 +510,9 @@ "default": false, "size": 4 }, - "43": { + "44": { "category": "base", - "name": "cfg-43", + "name": "cfg-44", "title": " 穿孔搜索范围占幅面比例", "desc": "穿孔搜索范围占幅面比例", "type": "float", @@ -511,17 +523,17 @@ "min": 0.010000, "max": 0.500000 }, - "depend_or": ["42==true"] + "depend_or": ["43==true"] }, - "44": { + "45": { "category": "base", "name": "grp-4", "title": "送纸方式设置", "type": "group" }, - "45": { + "46": { "category": "base", - "name": "cfg-45", + "name": "cfg-46", "title": "超声波检测", "desc": "超声波检测送纸状态", "type": "bool", @@ -529,9 +541,9 @@ "default": true, "size": 4 }, - "46": { + "47": { "category": "base", - "name": "cfg-46", + "name": "cfg-47", "title": "装订检测", "desc": "检测纸张上是否有钉书钉", "type": "bool", @@ -539,9 +551,9 @@ "default": false, "size": 4 }, - "47": { + "48": { "category": "base", - "name": "cfg-47", + "name": "cfg-48", "title": "扫描张数", "desc": "扫描纸张数量", "type": "string", @@ -550,20 +562,20 @@ "size": 32, "range": ["连续扫描", "扫描指定张数"] }, - "48": { + "49": { "category": "base", - "name": "cfg-48", + "name": "cfg-49", "title": " 扫描数量", "desc": "扫描指定数量", "type": "int", "cur": 1, "default": 1, "size": 4, - "depend_or": ["47==扫描指定张数"] + "depend_or": ["48==扫描指定张数"] }, - "49": { + "50": { "category": "base", - "name": "cfg-49", + "name": "cfg-50", "title": "文稿方向", "desc": "文稿方向", "type": "string", @@ -572,20 +584,20 @@ "size": 40, "range": ["0°", "90°", "180°", "-90°", "自动文本方向识别°"] }, - "50": { + "51": { "category": "base", - "name": "cfg-50", + "name": "cfg-51", "title": "背面旋转180°", "desc": "背面扫描的图像旋转180°", "type": "bool", "cur": false, "default": false, "size": 4, - "depend_and": ["22!=单面", "22!=对折", "49!=自动文本方向识别°"] + "depend_and": ["23!=单面", "23!=对折", "50!=自动文本方向识别°"] }, - "51": { + "52": { "category": "base", - "name": "cfg-51", + "name": "cfg-52", "title": "歪斜检测", "desc": "纸张歪斜检测", "type": "bool", @@ -593,9 +605,9 @@ "default": true, "size": 4 }, - "52": { + "53": { "category": "base", - "name": "cfg-52", + "name": "cfg-53", "title": " 歪斜容忍度", "desc": "值越小,代表能检测到纸张的歪斜角度越小", "type": "int", @@ -606,6 +618,6 @@ "min": 1, "max": 5 }, - "depend_or": ["51==true"] + "depend_or": ["52==true"] } } \ No newline at end of file diff --git a/docs/G139-239.txt b/docs/G139-239.txt index 00e94c8..e4f9267 100644 --- a/docs/G139-239.txt +++ b/docs/G139-239.txt @@ -1,6 +1,6 @@ { "device_type": "G239", - "option_count": 57, + "option_count": 58, "1": { "category": "base", "name": "cfg-1", @@ -53,19 +53,20 @@ "6": { "category": "base", "name": "cfg-6", - "title": "24位彩色图像 - 多流输出除红", - "desc": "多通道输出中,去除红色", - "type": "bool", - "cur": false, - "default": false, - "size": 4, + "title": "多流输出", + "desc": "", + "type": "string", + "cur": "无", + "default": "无", + "size": 32, + "range": ["无", "彩色+灰度+黑白", "彩色+灰度", "彩色+黑白", "灰度+黑白"], "depend_or": ["4==24位彩色"] }, "7": { "category": "base", "name": "cfg-7", - "title": "24位彩色图像 - 答题卡除红", - "desc": "答题卡扫描中去除红色", + "title": "24位彩色图像 - 多流输出除红", + "desc": "多通道输出中,去除红色", "type": "bool", "cur": false, "default": false, @@ -75,8 +76,8 @@ "8": { "category": "base", "name": "cfg-8", - "title": "背景移除", - "desc": "移除彩色图像背景", + "title": "24位彩色图像 - 答题卡除红", + "desc": "答题卡扫描中去除红色", "type": "bool", "cur": false, "default": false, @@ -86,6 +87,17 @@ "9": { "category": "base", "name": "cfg-9", + "title": "背景移除", + "desc": "移除彩色图像背景", + "type": "bool", + "cur": false, + "default": false, + "size": 4, + "depend_or": ["4==24位彩色"] + }, + "10": { + "category": "base", + "name": "cfg-10", "title": " 背景色彩浮动范围", "desc": "设定背景色彩的浮动范围,在该范围内的都当作背景移除", "type": "int", @@ -96,11 +108,11 @@ "min": 1, "max": 128 }, - "depend_or": ["8==true"] + "depend_or": ["9==true"] }, - "10": { + "11": { "category": "base", - "name": "cfg-10", + "name": "cfg-11", "title": "锐化与模糊", "desc": "锐化与模糊", "type": "string", @@ -110,21 +122,10 @@ "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": "除网纹", + "title": "去除摩尔纹", "desc": "", "type": "bool", "cur": false, @@ -135,19 +136,19 @@ "13": { "category": "base", "name": "cfg-13", - "title": "错误扩散", + "title": "除网纹", "desc": "", "type": "bool", "cur": false, "default": false, "size": 4, - "depend_or": ["4==黑白"] + "depend_and": ["4!=黑白", "4!=颜色自动识别"] }, "14": { "category": "base", "name": "cfg-14", - "title": "黑白图像噪点优化", - "desc": "噪点优化", + "title": "错误扩散", + "desc": "", "type": "bool", "cur": false, "default": false, @@ -157,6 +158,17 @@ "15": { "category": "base", "name": "cfg-15", + "title": "黑白图像噪点优化", + "desc": "噪点优化", + "type": "bool", + "cur": false, + "default": false, + "size": 4, + "depend_or": ["4==黑白"] + }, + "16": { + "category": "base", + "name": "cfg-16", "title": " 噪点优化尺寸", "desc": "噪点优化尺寸", "type": "int", @@ -167,11 +179,11 @@ "min": 10, "max": 50 }, - "depend_or": ["14==true"] + "depend_or": ["15==true"] }, - "16": { + "17": { "category": "base", - "name": "cfg-16", + "name": "cfg-17", "title": "纸张尺寸", "desc": "设置纸张大小", "type": "string", @@ -180,18 +192,18 @@ "size": 48, "range": ["A3", "8开", "A4", "A4横向", "16开", "16开横向", "A5", "A5横向", "A6", "A6横向", "B4", "B5", "B5横向", "B6", "B6横向", "Letter", "Letter横向", "Double Letter", "LEGAL", "匹配原始尺寸", "最大扫描尺寸自动裁切", "最大扫描尺寸", "三联试卷"] }, - "17": { + "18": { "category": "base", - "name": "cfg-17", + "name": "cfg-18", "title": "自定义扫描区域", "desc": "自定义扫描区域", "type": "bool", "cur": false, "default": false, "size": 4, - "depend_and": ["16!=匹配原始尺寸", "16!=最大扫描尺寸", "16!=最大扫描尺寸自动裁切"] + "depend_and": ["17!=匹配原始尺寸", "17!=最大扫描尺寸", "17!=最大扫描尺寸自动裁切"] }, - "18": { + "19": { "category": "base", "name": "tl-x", "title": "扫描区域左侧(mm)", @@ -204,9 +216,9 @@ "min": 0.000000, "max": 210.000000 }, - "depend_and": ["17==true"] + "depend_and": ["18==true"] }, - "19": { + "20": { "category": "base", "name": "br-x", "title": "扫描区域右侧(mm)", @@ -219,9 +231,9 @@ "min": 0.000000, "max": 210.000000 }, - "depend_and": ["17==true"] + "depend_and": ["18==true"] }, - "20": { + "21": { "category": "base", "name": "tl-y", "title": "扫描区域上侧(mm)", @@ -234,9 +246,9 @@ "min": 0.000000, "max": 297.000000 }, - "depend_and": ["17==true"] + "depend_and": ["18==true"] }, - "21": { + "22": { "category": "base", "name": "br-y", "title": "扫描区域下侧(mm)", @@ -249,22 +261,22 @@ "min": 0.000000, "max": 297.000000 }, - "depend_and": ["17==true"] + "depend_and": ["18==true"] }, - "22": { + "23": { "category": "base", - "name": "cfg-22", + "name": "cfg-23", "title": "尺寸检测", "desc": "检测纸张实际尺寸", "type": "bool", "cur": false, "default": false, "size": 4, - "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横向"] + "depend_or": ["17==A3", "17==A4", "17==A4横向", "17==A5", "17==A5横向", "17==A6", "17==A6横向", "17==B4", "17==B5", "17==B5横向", "17==B6", "17==B6横向", "17==Double Letter", "17==LEGAL", "17==Letter", "17==Letter横向"] }, - "23": { + "24": { "category": "base", - "name": "cfg-23", + "name": "cfg-24", "title": "扫描页面", "desc": "设置页面扫描方式", "type": "string", @@ -273,9 +285,9 @@ "size": 40, "range": ["单面", "双面", "跳过空白页(通用)", "跳过空白页(发票纸)", "对折"] }, - "24": { + "25": { "category": "base", - "name": "cfg-24", + "name": "cfg-25", "title": " 跳过空白页灵敏度", "desc": "灵敏度越高,则越容易跳过", "type": "int", @@ -286,22 +298,22 @@ "min": 1, "max": 100 }, - "depend_or": ["23==跳过空白页(通用)", "23==跳过空白页(发票纸)"] + "depend_or": ["24==跳过空白页(通用)", "24==跳过空白页(发票纸)"] }, - "25": { + "26": { "category": "base", - "name": "cfg-25", + "name": "cfg-26", "title": "分辨率", "desc": "扫描仪分辨率", "type": "int", "cur": 200, "default": 200, "size": 4, - "range": [100, 150, 200, 240, 300] + "range": [100, 150, 200, 240, 300, 600] }, - "26": { + "27": { "category": "base", - "name": "cfg-26", + "name": "cfg-27", "title": "画质", "desc": "", "type": "string", @@ -309,50 +321,50 @@ "default": "速度优先", "size": 24, "range": ["速度优先", "画质优先"], - "depend_or": ["25==300"] + "depend_or": ["26==300", "26==600"] }, - "27": { + "28": { "category": "base", - "name": "cfg-27", + "name": "cfg-28", "title": "交换正反面", "desc": "交换正反面", "type": "bool", "cur": false, "default": false, "size": 4, - "depend_and": ["23!=单面"] + "depend_and": ["24!=单面"] }, - "28": { + "29": { "category": "base", - "name": "cfg-28", + "name": "cfg-29", "title": "图像拆分", "desc": "自动拆分图像", "type": "bool", "cur": false, "default": false, "size": 4, - "depend_or": ["23!=对折"] + "depend_or": ["24!=对折"] }, - "29": { + "30": { "category": "base", - "name": "cfg-29", + "name": "cfg-30", "title": "自动纠偏", "desc": "自动纠偏", "type": "bool", "cur": true, "default": true, "size": 4, - "depend_or": ["23!=对折"] + "depend_or": ["24!=对折"] }, - "30": { + "31": { "category": "base", "name": "grp-2", "title": "亮度", "type": "group" }, - "31": { + "32": { "category": "base", - "name": "cfg-31", + "name": "cfg-32", "title": "启用色调曲线", "desc": "", "type": "bool", @@ -360,9 +372,9 @@ "default": false, "size": 4 }, - "32": { + "33": { "category": "base", - "name": "cfg-32", + "name": "cfg-33", "title": "亮度值", "desc": "调整图片亮度", "type": "int", @@ -374,9 +386,9 @@ "max": 255 } }, - "33": { + "34": { "category": "base", - "name": "cfg-33", + "name": "cfg-34", "title": "对比度", "desc": "调整图片对比度", "type": "int", @@ -388,9 +400,9 @@ "max": 7 } }, - "34": { + "35": { "category": "base", - "name": "cfg-34", + "name": "cfg-35", "title": "伽马值", "desc": "调整图片伽玛值", "type": "float", @@ -402,15 +414,15 @@ "max": 5.000000 } }, - "35": { + "36": { "category": "base", "name": "grp-3", "title": "图像处理", "type": "group" }, - "36": { + "37": { "category": "base", - "name": "cfg-36", + "name": "cfg-37", "title": "消除黑框", "desc": "消除黑框", "type": "bool", @@ -418,20 +430,20 @@ "default": true, "size": 4 }, - "37": { + "38": { "category": "base", - "name": "cfg-37", + "name": "cfg-38", "title": "深色样张", "desc": "深色样张", "type": "bool", "cur": false, "default": false, "size": 4, - "depend_and": ["23!=对折", "36!=true", "16!=匹配原始尺寸", "16!=最大扫描尺寸", "16!=最大扫描尺寸自动裁切", "29!=true"] + "depend_and": ["24!=对折", "37!=true", "17!=匹配原始尺寸", "17!=最大扫描尺寸", "17!=最大扫描尺寸自动裁切", "30!=true"] }, - "38": { + "39": { "category": "advanced", - "name": "cfg-38", + "name": "cfg-39", "title": "阈值", "desc": "阈值", "type": "int", @@ -442,11 +454,11 @@ "min": 30, "max": 50 }, - "depend_or": ["36==true", "16==匹配原始尺寸", "16==最大扫描尺寸", "16==最大扫描尺寸自动裁切", "29==true"] + "depend_or": ["37==true", "17==匹配原始尺寸", "17==最大扫描尺寸", "17==最大扫描尺寸自动裁切", "30==true"] }, - "39": { + "40": { "category": "advanced", - "name": "cfg-39", + "name": "cfg-40", "title": "背景抗噪等级", "desc": "背景抗噪等级", "type": "int", @@ -457,11 +469,11 @@ "min": 1, "max": 20 }, - "depend_or": ["36==true", "16==匹配原始尺寸", "16==最大扫描尺寸", "16==最大扫描尺寸自动裁切", "29==true"] + "depend_or": ["37==true", "17==匹配原始尺寸", "17==最大扫描尺寸", "17==最大扫描尺寸自动裁切", "30==true"] }, - "40": { + "41": { "category": "advanced", - "name": "cfg-40", + "name": "cfg-41", "title": "边缘缩进", "desc": "边缘缩进", "type": "int", @@ -472,11 +484,11 @@ "min": 5, "max": 30 }, - "depend_or": ["36==true", "16==匹配原始尺寸", "16==最大扫描尺寸自动裁切", "29==true", "16==最大扫描尺寸"] + "depend_or": ["37==true", "17==匹配原始尺寸", "17==最大扫描尺寸自动裁切", "30==true", "17==最大扫描尺寸"] }, - "41": { + "42": { "category": "advanced", - "name": "cfg-41", + "name": "cfg-42", "title": "背景填充方式", "desc": "背景填充方式", "type": "string", @@ -484,11 +496,11 @@ "default": "凸多边形", "size": 40, "range": ["凸多边形", "凹多边形"], - "depend_or": ["36==true"] + "depend_or": ["37==true"] }, - "42": { + "43": { "category": "base", - "name": "cfg-42", + "name": "cfg-43", "title": "防止渗透", "desc": "", "type": "bool", @@ -496,9 +508,9 @@ "default": false, "size": 4 }, - "43": { + "44": { "category": "base", - "name": "cfg-43", + "name": "cfg-44", "title": " 防止渗透等级", "desc": "", "type": "string", @@ -506,11 +518,11 @@ "default": "较弱", "size": 16, "range": ["较弱", "弱", "一般", "强", "较强"], - "depend_or": ["42==true"] + "depend_or": ["43==true"] }, - "44": { + "45": { "category": "base", - "name": "cfg-44", + "name": "cfg-45", "title": "穿孔移除", "desc": "移除纸张中的穿孔", "type": "bool", @@ -518,9 +530,9 @@ "default": false, "size": 4 }, - "45": { + "46": { "category": "base", - "name": "cfg-45", + "name": "cfg-46", "title": " 穿孔搜索范围占幅面比例", "desc": "穿孔搜索范围占幅面比例", "type": "float", @@ -531,17 +543,17 @@ "min": 0.010000, "max": 0.500000 }, - "depend_or": ["44==true"] + "depend_or": ["45==true"] }, - "46": { + "47": { "category": "base", "name": "grp-4", "title": "送纸方式设置", "type": "group" }, - "47": { + "48": { "category": "base", - "name": "cfg-47", + "name": "cfg-48", "title": "超声波检测", "desc": "超声波检测送纸状态", "type": "bool", @@ -549,9 +561,9 @@ "default": true, "size": 4 }, - "48": { + "49": { "category": "base", - "name": "cfg-48", + "name": "cfg-49", "title": "装订检测", "desc": "检测纸张上是否有钉书钉", "type": "bool", @@ -559,9 +571,9 @@ "default": false, "size": 4 }, - "49": { + "50": { "category": "base", - "name": "cfg-49", + "name": "cfg-50", "title": "扫描张数", "desc": "扫描纸张数量", "type": "string", @@ -570,20 +582,20 @@ "size": 32, "range": ["连续扫描", "扫描指定张数"] }, - "50": { + "51": { "category": "base", - "name": "cfg-50", + "name": "cfg-51", "title": " 扫描数量", "desc": "扫描指定数量", "type": "int", "cur": 1, "default": 1, "size": 4, - "depend_or": ["49==扫描指定张数"] + "depend_or": ["50==扫描指定张数"] }, - "51": { + "52": { "category": "base", - "name": "cfg-51", + "name": "cfg-52", "title": "文稿方向", "desc": "文稿方向", "type": "string", @@ -592,20 +604,20 @@ "size": 40, "range": ["0°", "90°", "180°", "-90°", "自动文本方向识别°"] }, - "52": { + "53": { "category": "base", - "name": "cfg-52", + "name": "cfg-53", "title": "背面旋转180°", "desc": "背面扫描的图像旋转180°", "type": "bool", "cur": false, "default": false, "size": 4, - "depend_and": ["23!=单面", "23!=对折", "51!=自动文本方向识别°"] + "depend_and": ["24!=单面", "24!=对折", "52!=自动文本方向识别°"] }, - "53": { + "54": { "category": "base", - "name": "cfg-53", + "name": "cfg-54", "title": "折角检测", "desc": "纸张折角检测", "type": "bool", @@ -613,9 +625,9 @@ "default": false, "size": 4 }, - "54": { + "55": { "category": "base", - "name": "cfg-54", + "name": "cfg-55", "title": " 折角大小", "desc": "值越小,代表能检测到的折角越小", "type": "int", @@ -626,11 +638,11 @@ "min": 0, "max": 100 }, - "depend_or": ["53==true"] + "depend_or": ["54==true"] }, - "55": { + "56": { "category": "base", - "name": "cfg-55", + "name": "cfg-56", "title": "歪斜检测", "desc": "纸张歪斜检测", "type": "bool", @@ -638,9 +650,9 @@ "default": true, "size": 4 }, - "56": { + "57": { "category": "base", - "name": "cfg-56", + "name": "cfg-57", "title": "歪斜容忍度", "desc": "值越小,代表能检测到纸张的歪斜角度越小", "type": "int", @@ -651,6 +663,6 @@ "min": 1, "max": 5 }, - "depend_or": ["55==true"] + "depend_or": ["56==true"] } } \ No newline at end of file diff --git a/docs/G300.txt b/docs/G300.txt index 4ac5dd5..65e7a03 100644 --- a/docs/G300.txt +++ b/docs/G300.txt @@ -1,6 +1,6 @@ { "device_type": "G300", - "option_count": 50, + "option_count": 51, "1": { "category": "base", "name": "cfg-1", @@ -53,19 +53,20 @@ "6": { "category": "base", "name": "cfg-6", - "title": "24位彩色图像 - 多流输出除红", - "desc": "多通道输出中,去除红色", - "type": "bool", - "cur": false, - "default": false, - "size": 4, + "title": "多流输出", + "desc": "", + "type": "string", + "cur": "无", + "default": "无", + "size": 32, + "range": ["无", "彩色+灰度+黑白", "彩色+灰度", "彩色+黑白", "灰度+黑白"], "depend_or": ["4==24位彩色"] }, "7": { "category": "base", "name": "cfg-7", - "title": "24位彩色图像 - 答题卡除红", - "desc": "答题卡扫描中去除红色", + "title": "24位彩色图像 - 多流输出除红", + "desc": "多通道输出中,去除红色", "type": "bool", "cur": false, "default": false, @@ -75,8 +76,8 @@ "8": { "category": "base", "name": "cfg-8", - "title": "背景移除", - "desc": "移除彩色图像背景", + "title": "24位彩色图像 - 答题卡除红", + "desc": "答题卡扫描中去除红色", "type": "bool", "cur": false, "default": false, @@ -86,6 +87,17 @@ "9": { "category": "base", "name": "cfg-9", + "title": "背景移除", + "desc": "移除彩色图像背景", + "type": "bool", + "cur": false, + "default": false, + "size": 4, + "depend_or": ["4==24位彩色"] + }, + "10": { + "category": "base", + "name": "cfg-10", "title": " 背景色彩浮动范围", "desc": "设定背景色彩的浮动范围,在该范围内的都当作背景移除", "type": "int", @@ -96,11 +108,11 @@ "min": 1, "max": 128 }, - "depend_or": ["8==true"] + "depend_or": ["9==true"] }, - "10": { + "11": { "category": "base", - "name": "cfg-10", + "name": "cfg-11", "title": "锐化与模糊", "desc": "锐化与模糊", "type": "string", @@ -110,9 +122,9 @@ "range": ["无", "锐化", "进一步锐化", "模糊", "进一步模糊"], "depend_and": ["4!=黑白", "4!=颜色自动识别"] }, - "11": { + "12": { "category": "base", - "name": "cfg-11", + "name": "cfg-12", "title": "去除摩尔纹", "desc": "", "type": "bool", @@ -121,9 +133,9 @@ "size": 4, "depend_and": ["4!=黑白", "4!=颜色自动识别"] }, - "12": { + "13": { "category": "base", - "name": "cfg-12", + "name": "cfg-13", "title": "错误扩散", "desc": "", "type": "bool", @@ -132,9 +144,9 @@ "size": 4, "depend_or": ["4==黑白"] }, - "13": { + "14": { "category": "base", - "name": "cfg-13", + "name": "cfg-14", "title": "除网纹", "desc": "", "type": "bool", @@ -143,9 +155,9 @@ "size": 4, "depend_and": ["4!=黑白", "4!=颜色自动识别"] }, - "14": { + "15": { "category": "base", - "name": "cfg-14", + "name": "cfg-15", "title": "黑白图像噪点优化", "desc": "噪点优化", "type": "bool", @@ -154,9 +166,9 @@ "size": 4, "depend_or": ["4==黑白"] }, - "15": { + "16": { "category": "base", - "name": "cfg-15", + "name": "cfg-16", "title": " 噪点优化尺寸", "desc": "噪点优化尺寸", "type": "int", @@ -167,11 +179,11 @@ "min": 10, "max": 50 }, - "depend_or": ["14==true"] + "depend_or": ["15==true"] }, - "16": { + "17": { "category": "base", - "name": "cfg-16", + "name": "cfg-17", "title": "纸张尺寸", "desc": "设置纸张大小", "type": "string", @@ -180,18 +192,18 @@ "size": 40, "range": ["A4", "A5", "A5横向", "A6", "A6横向", "B5", "B5横向", "B6", "B6横向", "匹配原始尺寸", "最大扫描尺寸自动裁切", "最大扫描尺寸"] }, - "17": { + "18": { "category": "base", - "name": "cfg-17", + "name": "cfg-18", "title": "自定义扫描区域", "desc": "", "type": "bool", "cur": false, "default": false, "size": 4, - "depend_and": ["16!=匹配原始尺寸", "16!=最大扫描尺寸", "16!=最大扫描尺寸自动裁切"] + "depend_and": ["17!=匹配原始尺寸", "17!=最大扫描尺寸", "17!=最大扫描尺寸自动裁切"] }, - "18": { + "19": { "category": "base", "name": "tl-x", "title": "扫描区域左侧(mm)", @@ -204,9 +216,9 @@ "min": 0.000000, "max": 210.000000 }, - "depend_and": ["17==true"] + "depend_and": ["18==true"] }, - "19": { + "20": { "category": "base", "name": "br-x", "title": "扫描区域右侧(mm)", @@ -219,9 +231,9 @@ "min": 0.000000, "max": 210.000000 }, - "depend_and": ["17==true"] + "depend_and": ["18==true"] }, - "20": { + "21": { "category": "base", "name": "tl-y", "title": "扫描区域上侧(mm)", @@ -234,9 +246,9 @@ "min": 0.000000, "max": 297.000000 }, - "depend_and": ["17==true"] + "depend_and": ["18==true"] }, - "21": { + "22": { "category": "base", "name": "br-y", "title": "扫描区域下侧(mm)", @@ -249,11 +261,11 @@ "min": 0.000000, "max": 297.000000 }, - "depend_and": ["17==true"] + "depend_and": ["18==true"] }, - "22": { + "23": { "category": "base", - "name": "cfg-22", + "name": "cfg-23", "title": "扫描页面", "desc": "设置页面扫描方式", "type": "string", @@ -262,9 +274,9 @@ "size": 50, "range": ["单面", "双面", "跳过空白页(通用)", "跳过空白页(发票纸)", "对折"] }, - "23": { + "24": { "category": "base", - "name": "cfg-23", + "name": "cfg-24", "title": " 跳过空白页灵敏度", "desc": "灵敏度越高,则越容易跳过", "type": "int", @@ -275,61 +287,61 @@ "min": 1, "max": 100 }, - "depend_or": ["22==跳过空白页(通用)", "22==跳过空白页(发票纸)"] + "depend_or": ["23==跳过空白页(通用)", "23==跳过空白页(发票纸)"] }, - "24": { + "25": { "category": "base", - "name": "cfg-24", + "name": "cfg-25", "title": "分辨率", "desc": "扫描仪分辨率", "type": "int", "cur": 200, "default": 200, "size": 4, - "range": [100, 150, 200, 240, 300] + "range": [100, 150, 200, 240, 300, 600] }, - "25": { + "26": { "category": "base", - "name": "cfg-25", + "name": "cfg-26", "title": "交换正反面", "desc": "交换正反面", "type": "bool", "cur": false, "default": false, "size": 4, - "depend_and": ["22!=单面"] + "depend_and": ["23!=单面"] }, - "26": { + "27": { "category": "base", - "name": "cfg-26", + "name": "cfg-27", "title": "图像拆分", "desc": "自动拆分图像", "type": "bool", "cur": false, "default": false, "size": 4, - "depend_or": ["22!=对折"] + "depend_or": ["23!=对折"] }, - "27": { + "28": { "category": "base", - "name": "cfg-27", + "name": "cfg-28", "title": "自动纠偏", "desc": "自动纠偏", "type": "bool", "cur": true, "default": true, "size": 4, - "depend_or": ["22!=对折"] + "depend_or": ["23!=对折"] }, - "28": { + "29": { "category": "base", "name": "grp-2", "title": "亮度", "type": "group" }, - "29": { + "30": { "category": "base", - "name": "cfg-29", + "name": "cfg-30", "title": "启用色调曲线", "desc": "通过色调曲线来设置图像伽马值", "type": "bool", @@ -337,9 +349,9 @@ "default": false, "size": 4 }, - "30": { + "31": { "category": "base", - "name": "cfg-30", + "name": "cfg-31", "title": "亮度值", "desc": "调整图片亮度", "type": "int", @@ -350,11 +362,11 @@ "min": 1, "max": 255 }, - "depend_and": ["29==false"] + "depend_and": ["30==false"] }, - "31": { + "32": { "category": "base", - "name": "cfg-31", + "name": "cfg-32", "title": "对比度", "desc": "调整图片对比度", "type": "int", @@ -365,11 +377,11 @@ "min": 1, "max": 7 }, - "depend_and": ["29==false"] + "depend_and": ["30==false"] }, - "32": { + "33": { "category": "base", - "name": "cfg-32", + "name": "cfg-33", "title": "伽马值", "desc": "调整图片伽马值", "type": "float", @@ -380,17 +392,17 @@ "min": 1.000000, "max": 5.000000 }, - "depend_and": ["29==false"] + "depend_and": ["30==false"] }, - "33": { + "34": { "category": "base", "name": "grp-3", "title": "图像处理", "type": "group" }, - "34": { + "35": { "category": "base", - "name": "cfg-34", + "name": "cfg-35", "title": "消除黑框", "desc": "消除黑框", "type": "bool", @@ -398,20 +410,20 @@ "default": true, "size": 4 }, - "35": { + "36": { "category": "base", - "name": "cfg-35", + "name": "cfg-36", "title": "深色样张", "desc": "深色样张", "type": "bool", "cur": false, "default": false, "size": 4, - "depend_and": ["22!=对折", "34!=true", "16!=匹配原始尺寸", "16!=最大扫描尺寸", "16!=最大扫描尺寸自动裁切", "27!=true"] + "depend_and": ["23!=对折", "35!=true", "17!=匹配原始尺寸", "17!=最大扫描尺寸", "17!=最大扫描尺寸自动裁切", "28!=true"] }, - "36": { + "37": { "category": "advanced", - "name": "cfg-36", + "name": "cfg-37", "title": "阈值", "desc": "阈值", "type": "int", @@ -422,11 +434,11 @@ "min": 30, "max": 50 }, - "depend_or": ["34==true", "16==匹配原始尺寸", "16==最大扫描尺寸", "16==最大扫描尺寸自动裁切", "27==true"] + "depend_or": ["35==true", "17==匹配原始尺寸", "17==最大扫描尺寸", "17==最大扫描尺寸自动裁切", "28==true"] }, - "37": { + "38": { "category": "advanced", - "name": "cfg-37", + "name": "cfg-38", "title": "背景抗噪等级", "desc": "背景抗噪等级", "type": "int", @@ -437,11 +449,11 @@ "min": 1, "max": 20 }, - "depend_or": ["34==true", "16==匹配原始尺寸", "16==最大扫描尺寸", "16==最大扫描尺寸自动裁切", "27==true"] + "depend_or": ["35==true", "17==匹配原始尺寸", "17==最大扫描尺寸", "17==最大扫描尺寸自动裁切", "28==true"] }, - "38": { + "39": { "category": "advanced", - "name": "cfg-38", + "name": "cfg-39", "title": "边缘缩进", "desc": "边缘缩进", "type": "int", @@ -452,11 +464,11 @@ "min": 5, "max": 30 }, - "depend_or": ["34==true", "16==匹配原始尺寸", "16==最大扫描尺寸自动裁切", "27==true", "16==最大扫描尺寸"] + "depend_or": ["35==true", "17==匹配原始尺寸", "17==最大扫描尺寸自动裁切", "28==true", "17==最大扫描尺寸"] }, - "39": { + "40": { "category": "advanced", - "name": "cfg-39", + "name": "cfg-40", "title": "背景填充方式", "desc": "背景填充方式", "type": "string", @@ -464,11 +476,11 @@ "default": "凸多边形", "size": 40, "range": ["凸多边形", "凹多边形"], - "depend_or": ["34==true"] + "depend_or": ["35==true"] }, - "40": { + "41": { "category": "base", - "name": "cfg-40", + "name": "cfg-41", "title": "防止渗透", "desc": "", "type": "bool", @@ -476,9 +488,9 @@ "default": false, "size": 4 }, - "41": { + "42": { "category": "base", - "name": "cfg-41", + "name": "cfg-42", "title": " 防止渗透等级", "desc": "", "type": "string", @@ -486,11 +498,11 @@ "default": "较弱", "size": 16, "range": ["较弱", "弱", "一般", "强", "较强"], - "depend_or": ["40==true"] + "depend_or": ["41==true"] }, - "42": { + "43": { "category": "base", - "name": "cfg-42", + "name": "cfg-43", "title": "穿孔移除", "desc": "移除纸张中的穿孔", "type": "bool", @@ -498,9 +510,9 @@ "default": false, "size": 4 }, - "43": { + "44": { "category": "base", - "name": "cfg-43", + "name": "cfg-44", "title": " 穿孔搜索范围占幅面比例", "desc": "穿孔搜索范围占幅面比例", "type": "float", @@ -511,17 +523,17 @@ "min": 0.010000, "max": 0.500000 }, - "depend_or": ["42==true"] + "depend_or": ["43==true"] }, - "44": { + "45": { "category": "base", "name": "grp-4", "title": "送纸方式设置", "type": "group" }, - "45": { + "46": { "category": "base", - "name": "cfg-45", + "name": "cfg-46", "title": "超声波检测", "desc": "超声波检测送纸状态", "type": "bool", @@ -529,9 +541,9 @@ "default": true, "size": 4 }, - "46": { + "47": { "category": "base", - "name": "cfg-46", + "name": "cfg-47", "title": "扫描张数", "desc": "扫描纸张数量", "type": "string", @@ -540,20 +552,20 @@ "size": 32, "range": ["连续扫描", "扫描指定张数"] }, - "47": { + "48": { "category": "base", - "name": "cfg-47", + "name": "cfg-48", "title": " 扫描数量", "desc": "扫描指定数量", "type": "int", "cur": 1, "default": 1, "size": 4, - "depend_or": ["46==扫描指定张数"] + "depend_or": ["47==扫描指定张数"] }, - "48": { + "49": { "category": "base", - "name": "cfg-48", + "name": "cfg-49", "title": "文稿方向", "desc": "文稿方向", "type": "string", @@ -562,15 +574,15 @@ "size": 40, "range": ["0°", "90°", "180°", "-90°", "自动文本方向识别°"] }, - "49": { + "50": { "category": "base", - "name": "cfg-49", + "name": "cfg-50", "title": "背面旋转180°", "desc": "背面扫描的图像旋转180°", "type": "bool", "cur": false, "default": false, "size": 4, - "depend_and": ["22!=单面", "22!=对折", "48!=自动文本方向识别°"] + "depend_and": ["23!=单面", "23!=对折", "49!=自动文本方向识别°"] } } \ No newline at end of file diff --git a/docs/G400.txt b/docs/G400.txt index cb37192..ea953db 100644 --- a/docs/G400.txt +++ b/docs/G400.txt @@ -1,6 +1,6 @@ { "device_type": "G400", - "option_count": 50, + "option_count": 51, "1": { "category": "base", "name": "cfg-1", @@ -53,19 +53,20 @@ "6": { "category": "base", "name": "cfg-6", - "title": "24位彩色图像 - 多流输出除红", - "desc": "多通道输出中,去除红色", - "type": "bool", - "cur": false, - "default": false, - "size": 4, + "title": "多流输出", + "desc": "", + "type": "string", + "cur": "无", + "default": "无", + "size": 32, + "range": ["无", "彩色+灰度+黑白", "彩色+灰度", "彩色+黑白", "灰度+黑白"], "depend_or": ["4==24位彩色"] }, "7": { "category": "base", "name": "cfg-7", - "title": "24位彩色图像 - 答题卡除红", - "desc": "答题卡扫描中去除红色", + "title": "24位彩色图像 - 多流输出除红", + "desc": "多通道输出中,去除红色", "type": "bool", "cur": false, "default": false, @@ -75,8 +76,8 @@ "8": { "category": "base", "name": "cfg-8", - "title": "背景移除", - "desc": "移除彩色图像背景", + "title": "24位彩色图像 - 答题卡除红", + "desc": "答题卡扫描中去除红色", "type": "bool", "cur": false, "default": false, @@ -86,6 +87,17 @@ "9": { "category": "base", "name": "cfg-9", + "title": "背景移除", + "desc": "移除彩色图像背景", + "type": "bool", + "cur": false, + "default": false, + "size": 4, + "depend_or": ["4==24位彩色"] + }, + "10": { + "category": "base", + "name": "cfg-10", "title": " 背景色彩浮动范围", "desc": "设定背景色彩的浮动范围,在该范围内的都当作背景移除", "type": "int", @@ -96,11 +108,11 @@ "min": 1, "max": 128 }, - "depend_or": ["8==true"] + "depend_or": ["9==true"] }, - "10": { + "11": { "category": "base", - "name": "cfg-10", + "name": "cfg-11", "title": "锐化与模糊", "desc": "锐化与模糊", "type": "string", @@ -110,21 +122,10 @@ "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": "除网纹", + "title": "去除摩尔纹", "desc": "", "type": "bool", "cur": false, @@ -135,19 +136,19 @@ "13": { "category": "base", "name": "cfg-13", - "title": "错误扩散", + "title": "除网纹", "desc": "", "type": "bool", "cur": false, "default": false, "size": 4, - "depend_or": ["4==黑白"] + "depend_and": ["4!=黑白", "4!=颜色自动识别"] }, "14": { "category": "base", "name": "cfg-14", - "title": "黑白图像噪点优化", - "desc": "噪点优化", + "title": "错误扩散", + "desc": "", "type": "bool", "cur": false, "default": false, @@ -157,6 +158,17 @@ "15": { "category": "base", "name": "cfg-15", + "title": "黑白图像噪点优化", + "desc": "噪点优化", + "type": "bool", + "cur": false, + "default": false, + "size": 4, + "depend_or": ["4==黑白"] + }, + "16": { + "category": "base", + "name": "cfg-16", "title": " 噪点优化尺寸", "desc": "噪点优化尺寸", "type": "int", @@ -167,11 +179,11 @@ "min": 10, "max": 50 }, - "depend_or": ["14==true"] + "depend_or": ["15==true"] }, - "16": { + "17": { "category": "base", - "name": "cfg-16", + "name": "cfg-17", "title": "纸张尺寸", "desc": "设置纸张大小", "type": "string", @@ -180,18 +192,18 @@ "size": 48, "range": ["A3", "A4", "A4横向", "A5", "A5横向", "A6", "A6横向", "B4", "B5", "B5横向", "B6", "B6横向", "Letter", "Letter横向", "Double Letter", "LEGAL", "匹配原始尺寸", "最大扫描尺寸自动裁切", "最大扫描尺寸"] }, - "17": { + "18": { "category": "base", - "name": "cfg-17", + "name": "cfg-18", "title": "自定义扫描区域", "desc": "", "type": "bool", "cur": false, "default": false, "size": 4, - "depend_and": ["16!=匹配原始尺寸", "16!=最大扫描尺寸", "16!=最大扫描尺寸自动裁切"] + "depend_and": ["17!=匹配原始尺寸", "17!=最大扫描尺寸", "17!=最大扫描尺寸自动裁切"] }, - "18": { + "19": { "category": "base", "name": "tl-x", "title": "扫描区域左侧(mm)", @@ -204,9 +216,9 @@ "min": 0.000000, "max": 210.000000 }, - "depend_and": ["17==true"] + "depend_and": ["18==true"] }, - "19": { + "20": { "category": "base", "name": "br-x", "title": "扫描区域右侧(mm)", @@ -219,9 +231,9 @@ "min": 0.000000, "max": 210.000000 }, - "depend_and": ["17==true"] + "depend_and": ["18==true"] }, - "20": { + "21": { "category": "base", "name": "tl-y", "title": "扫描区域上侧(mm)", @@ -234,9 +246,9 @@ "min": 0.000000, "max": 297.000000 }, - "depend_and": ["17==true"] + "depend_and": ["18==true"] }, - "21": { + "22": { "category": "base", "name": "br-y", "title": "扫描区域下侧(mm)", @@ -249,11 +261,11 @@ "min": 0.000000, "max": 297.000000 }, - "depend_and": ["17==true"] + "depend_and": ["18==true"] }, - "22": { + "23": { "category": "base", - "name": "cfg-22", + "name": "cfg-23", "title": "扫描页面", "desc": "设置页面扫描方式", "type": "string", @@ -262,9 +274,9 @@ "size": 50, "range": ["单面", "双面", "跳过空白页(通用)", "跳过空白页(发票纸)", "对折"] }, - "23": { + "24": { "category": "base", - "name": "cfg-23", + "name": "cfg-24", "title": " 跳过空白页灵敏度", "desc": "灵敏度越高,则越容易跳过", "type": "int", @@ -275,61 +287,61 @@ "min": 1, "max": 100 }, - "depend_or": ["22==跳过空白页(发票纸)", "22==跳过空白页(通用)"] + "depend_or": ["23==跳过空白页(发票纸)", "23==跳过空白页(通用)"] }, - "24": { + "25": { "category": "base", - "name": "cfg-24", + "name": "cfg-25", "title": "分辨率", "desc": "扫描仪分辨率", "type": "int", "cur": 200, "default": 200, "size": 4, - "range": [100, 150, 200, 240, 300] + "range": [100, 150, 200, 240, 300, 600] }, - "25": { + "26": { "category": "base", - "name": "cfg-25", + "name": "cfg-26", "title": "交换正反面", "desc": "交换正反面", "type": "bool", "cur": false, "default": false, "size": 4, - "depend_and": ["22!=单面"] + "depend_and": ["23!=单面"] }, - "26": { + "27": { "category": "base", - "name": "cfg-26", + "name": "cfg-27", "title": "图像拆分", "desc": "自动拆分图像", "type": "bool", "cur": false, "default": false, "size": 4, - "depend_or": ["22!=对折"] + "depend_or": ["23!=对折"] }, - "27": { + "28": { "category": "base", - "name": "cfg-27", + "name": "cfg-28", "title": "自动纠偏", "desc": "自动纠偏", "type": "bool", "cur": true, "default": true, "size": 4, - "depend_or": ["22!=对折"] + "depend_or": ["23!=对折"] }, - "28": { + "29": { "category": "base", "name": "grp-2", "title": "亮度", "type": "group" }, - "29": { + "30": { "category": "base", - "name": "cfg-29", + "name": "cfg-30", "title": "启用色调曲线", "desc": "通过色调曲线来设置图像伽玛值", "type": "bool", @@ -337,9 +349,9 @@ "default": false, "size": 4 }, - "30": { + "31": { "category": "base", - "name": "cfg-30", + "name": "cfg-31", "title": "亮度值", "desc": "调整图片亮度", "type": "int", @@ -351,9 +363,9 @@ "max": 255 } }, - "31": { + "32": { "category": "base", - "name": "cfg-31", + "name": "cfg-32", "title": "对比度", "desc": "调整图片对比度", "type": "int", @@ -365,9 +377,9 @@ "max": 7 } }, - "32": { + "33": { "category": "base", - "name": "cfg-32", + "name": "cfg-33", "title": "伽马值", "desc": "调整图片伽玛值", "type": "float", @@ -379,15 +391,15 @@ "max": 5.000000 } }, - "33": { + "34": { "category": "base", "name": "grp-3", "title": "图像处理", "type": "group" }, - "34": { + "35": { "category": "base", - "name": "cfg-34", + "name": "cfg-35", "title": "消除黑框", "desc": "消除黑框", "type": "bool", @@ -395,20 +407,20 @@ "default": true, "size": 4 }, - "35": { + "36": { "category": "base", - "name": "cfg-35", + "name": "cfg-36", "title": "深色样张", "desc": "深色样张", "type": "bool", "cur": false, "default": false, "size": 4, - "depend_and": ["22!=对折", "34!=true", "16!=匹配原始尺寸", "16!=最大扫描尺寸", "16!=最大扫描尺寸自动裁切", "27!=true"] + "depend_and": ["23!=对折", "35!=true", "17!=匹配原始尺寸", "17!=最大扫描尺寸", "17!=最大扫描尺寸自动裁切", "28!=true"] }, - "36": { + "37": { "category": "advanced", - "name": "cfg-36", + "name": "cfg-37", "title": "阈值", "desc": "阈值", "type": "int", @@ -419,11 +431,11 @@ "min": 30, "max": 50 }, - "depend_or": ["34==true", "16==匹配原始尺寸", "16==最大扫描尺寸", "16==最大扫描尺寸自动裁切", "27==true"] + "depend_or": ["35==true", "17==匹配原始尺寸", "17==最大扫描尺寸", "17==最大扫描尺寸自动裁切", "28==true"] }, - "37": { + "38": { "category": "advanced", - "name": "cfg-37", + "name": "cfg-38", "title": "背景抗噪等级", "desc": "背景抗噪等级", "type": "int", @@ -434,11 +446,11 @@ "min": 1, "max": 20 }, - "depend_or": ["34==true", "16==匹配原始尺寸", "16==最大扫描尺寸", "16==最大扫描尺寸自动裁切", "27==true"] + "depend_or": ["35==true", "17==匹配原始尺寸", "17==最大扫描尺寸", "17==最大扫描尺寸自动裁切", "28==true"] }, - "38": { + "39": { "category": "advanced", - "name": "cfg-38", + "name": "cfg-39", "title": "边缘缩进", "desc": "边缘缩进", "type": "int", @@ -449,11 +461,11 @@ "min": 5, "max": 30 }, - "depend_or": ["34==true", "16==匹配原始尺寸", "16==最大扫描尺寸自动裁切", "27==true", "16==最大扫描尺寸"] + "depend_or": ["35==true", "17==匹配原始尺寸", "17==最大扫描尺寸自动裁切", "28==true", "17==最大扫描尺寸"] }, - "39": { + "40": { "category": "advanced", - "name": "cfg-39", + "name": "cfg-40", "title": "背景填充方式", "desc": "背景填充方式", "type": "string", @@ -461,11 +473,11 @@ "default": "凸多边形", "size": 40, "range": ["凸多边形", "凹多边形"], - "depend_or": ["34==true"] + "depend_or": ["35==true"] }, - "40": { + "41": { "category": "base", - "name": "cfg-40", + "name": "cfg-41", "title": "防止渗透", "desc": "", "type": "bool", @@ -473,9 +485,9 @@ "default": false, "size": 4 }, - "41": { + "42": { "category": "base", - "name": "cfg-41", + "name": "cfg-42", "title": " 防止渗透等级", "desc": "", "type": "string", @@ -483,11 +495,11 @@ "default": "较弱", "size": 16, "range": ["较弱", "弱", "一般", "强", "较强"], - "depend_or": ["40==true"] + "depend_or": ["41==true"] }, - "42": { + "43": { "category": "base", - "name": "cfg-42", + "name": "cfg-43", "title": "穿孔移除", "desc": "移除纸张中的穿孔", "type": "bool", @@ -495,9 +507,9 @@ "default": false, "size": 4 }, - "43": { + "44": { "category": "base", - "name": "cfg-43", + "name": "cfg-44", "title": " 穿孔搜索范围占幅面比例", "desc": "穿孔搜索范围占幅面比例", "type": "float", @@ -508,17 +520,17 @@ "min": 0.010000, "max": 0.500000 }, - "depend_or": ["42==true"] + "depend_or": ["43==true"] }, - "44": { + "45": { "category": "base", "name": "grp-4", "title": "送纸方式设置", "type": "group" }, - "45": { + "46": { "category": "base", - "name": "cfg-45", + "name": "cfg-46", "title": "超声波检测", "desc": "超声波检测送纸状态", "type": "bool", @@ -526,9 +538,9 @@ "default": true, "size": 4 }, - "46": { + "47": { "category": "base", - "name": "cfg-46", + "name": "cfg-47", "title": "扫描张数", "desc": "扫描纸张数量", "type": "string", @@ -537,20 +549,20 @@ "size": 32, "range": ["连续扫描", "扫描指定张数"] }, - "47": { + "48": { "category": "base", - "name": "cfg-47", + "name": "cfg-48", "title": " 扫描数量", "desc": "扫描指定数量", "type": "int", "cur": 1, "default": 1, "size": 4, - "depend_or": ["46==扫描指定张数"] + "depend_or": ["47==扫描指定张数"] }, - "48": { + "49": { "category": "base", - "name": "cfg-48", + "name": "cfg-49", "title": "文稿方向", "desc": "文稿方向", "type": "string", @@ -559,15 +571,15 @@ "size": 40, "range": ["0°", "90°", "180°", "-90°", "自动文本方向识别°"] }, - "49": { + "50": { "category": "base", - "name": "cfg-49", + "name": "cfg-50", "title": "背面旋转180°", "desc": "背面扫描的图像旋转180°", "type": "bool", "cur": false, "default": false, "size": 4, - "depend_and": ["22!=单面", "22!=对折", "48!=自动文本方向识别°"] + "depend_and": ["23!=单面", "23!=对折", "49!=自动文本方向识别°"] } } \ No newline at end of file