From bd087c25034d1c6b9d85775b2786e59a5d855d04 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rostislav=20L=C3=A1n?= Date: Tue, 21 Mar 2023 13:30:57 +0100 Subject: [PATCH] Updated gitignore, renamed config. --- .gitignore | 4 ++ config/config.json => conf/conf.json | 98 ++++++++-------------------- config/config-test.json | 23 ------- 3 files changed, 30 insertions(+), 95 deletions(-) rename config/config.json => conf/conf.json (52%) delete mode 100644 config/config-test.json diff --git a/.gitignore b/.gitignore index ec2254c..53c71e1 100644 --- a/.gitignore +++ b/.gitignore @@ -5,3 +5,7 @@ !/res/examples/* !/res/examples_git/ !/res/examples_git/* +/doc +/.vscode +/conf +!/conf/conf.json diff --git a/config/config.json b/conf/conf.json similarity index 52% rename from config/config.json rename to conf/conf.json index 999b24f..5a1dbe3 100644 --- a/config/config.json +++ b/conf/conf.json @@ -1,75 +1,39 @@ { - "test-repeat": [ + "ridge": [ { - "name": "denoise_tv_chambolle", - "weight": 0.01, - "iterations": 1 + "name": "unsharp_mask_scikit", + "amount": 4 }, { - "name": "median", - "ksize": 3 + "name": "sato" }, { - "name": "median", - "ksize": 5 + "name": "invert" }, { "name": "unsharp_mask_scikit", - "radius": 3, - "amount": 3, - "channelAxis": 1 - }, - { - "name": "median", - "ksize": 5 + "amount": 3 }, { - "name": "unsharp_mask_scikit", - "radius": 3, - "amount": 4, - "channelAxis": 0 + "name": "binarize", + "threshold": 200 }, { "name": "gaussian", - "ksize": 7 - } - ], - "test-strong": [ - { - "name": "denoise_tv_chambolle", - "weight": 0.05, - "iterations": 1 + "sigma": 0.5 }, { - "name": "median", - "ksize": 5 - }, - { - "name": "median", - "ksize": 5 - }, - { - "name": "unsharp_mask_scikit", - "radius": 3, - "amount": 5, - "channelAxis": 1 - }, - { - "name": "unsharp_mask_scikit", - "radius": 5, - "amount": 5, - "channelAxis": 0 + "name": "erode" }, { "name": "gaussian", - "ksize": 7 + "sigma": 0.8 } ], "strong": [ { - "name": "denoise_tv_chambolle", - "weight": 0.05, - "iterations": 1 + "name": "total_variation", + "weight": 0.05 }, { "name": "median", @@ -78,8 +42,7 @@ { "name": "unsharp_mask_scikit", "radius": 3, - "amount": 5, - "channelAxis": 1 + "amount": 5 }, { "name": "median", @@ -88,8 +51,7 @@ { "name": "unsharp_mask_scikit", "radius": 5, - "amount": 5, - "channelAxis": 0 + "amount": 5 }, { "name": "gaussian", @@ -98,9 +60,8 @@ ], "test-weak": [ { - "name": "denoise_tv_chambolle", - "weight": 0.01, - "iterations": 1 + "name": "total_variation", + "weight": 0.01 }, { "name": "median", @@ -113,14 +74,12 @@ { "name": "unsharp_mask_scikit", "radius": 3, - "amount": 6, - "channelAxis": 1 + "amount": 6 }, { "name": "unsharp_mask_scikit", "radius": 3, - "amount": 7, - "channelAxis": 0 + "amount": 7 }, { "name": "gaussian", @@ -129,9 +88,8 @@ ], "weak": [ { - "name": "denoise_tv_chambolle", - "weight": 0.01, - "iterations": 1 + "name": "total_variation", + "weight": 0.01 }, { "name": "median", @@ -140,8 +98,7 @@ { "name": "unsharp_mask_scikit", "radius": 3, - "amount": 6, - "channelAxis": 1 + "amount": 6 }, { "name": "median", @@ -150,8 +107,7 @@ { "name": "unsharp_mask_scikit", "radius": 3, - "amount": 7, - "channelAxis": 0 + "amount": 7 }, { "name": "gaussian", @@ -166,8 +122,7 @@ { "name": "unsharp_mask_scikit", "radius": 5, - "amount": 4, - "channelAxis": 0 + "amount": 4 }, { "name": "gaussian", @@ -176,9 +131,8 @@ ], "git_example": [ { - "name": "denoise_tv_chambolle", - "weight": 0.01, - "iterations": 1 + "name": "total_variation", + "weight": 0.01 }, { "name": "median", diff --git a/config/config-test.json b/config/config-test.json deleted file mode 100644 index 41e1005..0000000 --- a/config/config-test.json +++ /dev/null @@ -1,23 +0,0 @@ -{ - "test-very-strong": [ - { - "name": "denoise_tv_chambolle", - "weight": 0.01, - "iterations": 1 - }, - { - "name": "median", - "ksize": 3 - }, - { - "name": "unsharp_mask_scikit", - "radius": 3, - "amount": 7, - "channelAxis": 0 - }, - { - "name": "gaussian", - "ksize": 7 - } - ] -} \ No newline at end of file