Skip to content

Commit

Permalink
Update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
TianZerL committed Apr 8, 2020
1 parent f771dd3 commit aff229c
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
2 changes: 1 addition & 1 deletion Anime4K09/include/postprocessing.h
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,4 @@ class PostProcessor
private:
cv::Mat img,tmpImg;
uint8_t filters;
};
};
6 changes: 3 additions & 3 deletions Anime4K09/src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,9 @@ int main(int argc,char *argv[])
opt.add("postProcessing", 'a', "Enable post processing");
opt.add<unsigned int>("filters", 'e',
"Enhancement filter, only working when postProcessing is true,there are 5 options by binary:\
median blur=000001, mean blur=000010, gaussian blur weak=000100, gaussian blur=001000, bilateral filter=010000, bilateral filter faster=100000, \
you can freely combine them, eg: gaussian blur weak + bilateral filter = 000100 & 010000 = 010100 = 20(D), \
so you can put 20 to enable gaussian blur weak and bilateral filter, which also is what I recommend for image that < 1080P, \
Median blur=000001, Mean blur=000010, Gaussian blur weak=000100, Gaussian blur=001000, Bilateral filter=010000, Bilateral filter faster=100000, \
you can freely combine them, eg: Gaussian blur weak + Bilateral filter = 000100 & 010000 = 010100 = 20(D), \
so you can put 20 to enable Gaussian blur weak and Bilateral filter, which also is what I recommend for image that < 1080P, \
24 for image that >= 1080P, and for performance I recommend to use 36 for video that < 1080P, 40 for video that >=1080P",
false, 20, cmdline::range(1, 63));

Expand Down
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,8 @@ This project uses [cmake](https://cmake.org) to build.
-f, --fastMode Faster but maybe low quality
-v, --videoMode Video process
-s, --preview Preview image
-e, --filters Enhancement filter, only working when postProcessing is true,there are 5 options by binary:Median blur=000001, Mean blur=000010, Gaussian blur weak=000100, Gaussian blur=001000, Bilateral filter=010000, Bilateral filter faster=100000, you can freely combine them, eg: gaussian blur weak + bilateral filter = 000100 & 010000 = 010100 = 20(D), so you can put 20 to enable gaussian blur weak and bilateral filter, which also is what I recommend for image that < 1080P, 24 for image that >= 1080P, and for performance I recommend to use 36 for video that < 1080P, 40 for video that >=1080P (unsigned int [=20])
-a, --postProcessing Enable post processing
-e, --filters Enhancement filter, only working when postProcessing is true,there are 5 options by binary:Median blur=000001, Mean blur=000010, Gaussian blur weak=000100, Gaussian blur=001000, Bilateral filter=010000, Bilateral filter faster=100000, you can freely combine them, eg: Gaussian blur weak + Bilateral filter = 000100 & 010000 = 010100 = 20(D), so you can put 20 to enable Gaussian blur weak and Bilateral filter, which also is what I recommend for image that < 1080P, 24 for image that >= 1080P, and for performance I recommend to use 36 for video that < 1080P, 40 for video that >=1080P (unsigned int [=20])
-?, --help print this message

# Filters
Expand Down

0 comments on commit aff229c

Please sign in to comment.