diff --git a/src/ansi_c_implementation/NLMSvariants.c b/src/ansi_c_implementation/NLMSvariants.c index ab530bc..34a74b5 100644 --- a/src/ansi_c_implementation/NLMSvariants.c +++ b/src/ansi_c_implementation/NLMSvariants.c @@ -816,7 +816,7 @@ void usage ( char **argv ) { printf("\t-c \t\tUse this color channel from inputfile.\n"); printf("\t-w \t\tCount of used weights (windowSize).\n"); printf("\t-l \t\tLearnrate, 0 < learnrate < 1.\n"); - printf("\t-g true\t\t\tGraph building.\n\t\t\t\tChoose for n < 1200.\n"); + printf("\t-g or true\t\t\tGraph building.Path if you have changed the folder of the template. Otherwise use true.\n\t\t\t\tChoose for n < 1200.\n"); printf("\t-s \t\tDigit for random seed generator.\n\t\t\t\tSame Digits produce same random values. Default is srand by time.\n"); printf("\n\n"); printf("%s compares prediction methods of least mean square filters.\nBy default it reads ppm file format and return logfiles as well\nas an svg graphs as an output of said least mean square methods.\n\nExample:\n\t%s -i myimage.ppm -w 3 -c green -s 5 -g true\n", &argv[0][0], &argv[0][0]); diff --git a/src/ansi_c_implementation/README.md b/src/ansi_c_implementation/README.md index fe55575..3770748 100644 --- a/src/ansi_c_implementation/README.md +++ b/src/ansi_c_implementation/README.md @@ -29,7 +29,7 @@ There are a bunch of options you can predefine but do not have to. The only para | -w | Size of M (window). | 5 | | -c | Choose RGB color channel, green has least noise. | green | | -l | Learnrate of machine learning.| 0.4 | -| -g true | include graph building. Choose for amount of input data lower than 1200.| none| +| -g | include graph building. Choose for amount of input data lower than 1200. If the template is located in another folder use otherwise use true.| none| | -s | Seed randomizing weights. Choose for repoducability. | time(NULL)| This code is ANSI aka C89 compatible. No POSIX, C99, C11 or GNU libs, because it had to be windows compatible . There are way easier methods like getline() for file parsing or getopt() as an args parser, because of compatibility reasons things have been kept simple. diff --git a/src/cpp_implementation/NLMSvariants.cpp b/src/cpp_implementation/NLMSvariants.cpp index ab530bc..39aa6c0 100644 --- a/src/cpp_implementation/NLMSvariants.cpp +++ b/src/cpp_implementation/NLMSvariants.cpp @@ -816,7 +816,7 @@ void usage ( char **argv ) { printf("\t-c \t\tUse this color channel from inputfile.\n"); printf("\t-w \t\tCount of used weights (windowSize).\n"); printf("\t-l \t\tLearnrate, 0 < learnrate < 1.\n"); - printf("\t-g true\t\t\tGraph building.\n\t\t\t\tChoose for n < 1200.\n"); + printf("\t-g \t\t\tGraph building. If template is located in another folder use path, otherwise true.\n\t\t\t\tChoose for n < 1200.\n"); printf("\t-s \t\tDigit for random seed generator.\n\t\t\t\tSame Digits produce same random values. Default is srand by time.\n"); printf("\n\n"); printf("%s compares prediction methods of least mean square filters.\nBy default it reads ppm file format and return logfiles as well\nas an svg graphs as an output of said least mean square methods.\n\nExample:\n\t%s -i myimage.ppm -w 3 -c green -s 5 -g true\n", &argv[0][0], &argv[0][0]); diff --git a/src/cpp_implementation/README.md b/src/cpp_implementation/README.md index 827346d..7b543c9 100644 --- a/src/cpp_implementation/README.md +++ b/src/cpp_implementation/README.md @@ -1,7 +1,7 @@ ## Installation This is a carbon copy of the ANSI C version. Sole purpose of its existence is to be compiled under Visual Studio. -If you do not use VS, pick the ANSI C version __../src/ansi_c__implementation__. Both versions are multiplatform. +If you do not use VS, pick the ANSI C version __../src/ansi_c_implementation__. Both versions are multiplatform. ## Features @@ -28,6 +28,6 @@ There are a bunch of options you can predefine but do not have to. The only para | -w | Size of M (window). | 5 | | -c | Choose RGB color channel, green has least noise. | green | | -l | Learnrate of machine learning. | 0.4 | -| -g true | include graph building. Choose for amount of input data lower than 1200.| none| +| -g | include graph building. Choose for amount of input data lower than 1200. Choose path if template is located in another folder, else use true.| none| | -s | Seed randomizing weights. Choose for repoducability. | time(NULL)|