|
|
|
@ -76,20 +76,7 @@ Once all the requirements are installed, the program is ready to use. There are
|
|
|
|
|
|
|
|
|
|
There is an option to input the filter series as a preset from json configuration file.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<style>
|
|
|
|
|
table {
|
|
|
|
|
width: 100%;
|
|
|
|
|
}
|
|
|
|
|
th, td {
|
|
|
|
|
padding: 10px;
|
|
|
|
|
font-family: monospace;
|
|
|
|
|
width: 50%;
|
|
|
|
|
vertical-align: top;
|
|
|
|
|
}
|
|
|
|
|
</style>
|
|
|
|
|
|
|
|
|
|
<table>
|
|
|
|
|
<table style="width:100%;">
|
|
|
|
|
<thead>
|
|
|
|
|
<tr>
|
|
|
|
|
<th>General format</th>
|
|
|
|
@ -147,49 +134,64 @@ All the filters used and their parameters are described below.
|
|
|
|
|
## Available filters with parameters
|
|
|
|
|
|
|
|
|
|
-median blur
|
|
|
|
|
-ksize - kernel size (int)
|
|
|
|
|
-ksize - Kernel size (int)
|
|
|
|
|
|
|
|
|
|
-gaussian blur
|
|
|
|
|
-ksize - Gaussian kernel size (int)
|
|
|
|
|
-sigmaX - Kernel deviation in X direction (float)
|
|
|
|
|
-sigmaY - Kernel deviation in Y direction (float)
|
|
|
|
|
-sigma - Gaussian kernel standart deviation (int)
|
|
|
|
|
|
|
|
|
|
-bilateral blur
|
|
|
|
|
-d - ? (int)
|
|
|
|
|
-sigmaColor - ? (int)
|
|
|
|
|
-sigmaSpace - ? (int)
|
|
|
|
|
|
|
|
|
|
-denoise
|
|
|
|
|
-h - ? (int)
|
|
|
|
|
-tWS - template window size (int)
|
|
|
|
|
-sWs - search window size (int)
|
|
|
|
|
-diameter - Diameter of pixel neighborhood used for filtering (int)
|
|
|
|
|
-sigmaColor - Standard deviation for grayvalue/color distance (int)
|
|
|
|
|
-sigmaSpace - Standard deviation for range distance in pixels (int)
|
|
|
|
|
|
|
|
|
|
-denoise_bilateral
|
|
|
|
|
-sigmaColor - ? (int)
|
|
|
|
|
-sigmaSpace - ? (int)
|
|
|
|
|
-iterations - ? (int)
|
|
|
|
|
-bilateral_scikit
|
|
|
|
|
-sigmaColor - Standard deviation for grayvalue/color distance (float)
|
|
|
|
|
-sigmaSpace - Standard deviation for range distance in pixels (float)
|
|
|
|
|
|
|
|
|
|
-denoise_tv_chambolle
|
|
|
|
|
-weight - ? (float)
|
|
|
|
|
-iterations - ? (int)
|
|
|
|
|
-nlmeans (non-local means)
|
|
|
|
|
-patch_size - Size of patches used for denoising (int)
|
|
|
|
|
-patch_distance - Distance in pixels where to search for patches (int)
|
|
|
|
|
-h - Cut-off distance, higher means more smoothed image (float)
|
|
|
|
|
|
|
|
|
|
-sharpen
|
|
|
|
|
-kernel - ? (numpy.matrix)
|
|
|
|
|
-total_variation
|
|
|
|
|
-weight - Denoising weight. (float)
|
|
|
|
|
|
|
|
|
|
-unsharp mask
|
|
|
|
|
-strength - ? (float)
|
|
|
|
|
-ksize - kernel size (int)
|
|
|
|
|
-block_match
|
|
|
|
|
-sigma - ? (?)
|
|
|
|
|
|
|
|
|
|
-unsharp mask scikit
|
|
|
|
|
-radius - ? (int)
|
|
|
|
|
-amount - ? (float)
|
|
|
|
|
-radius - Radius of the gaussian filter (int)
|
|
|
|
|
-amount - Strength of the unsharp mask (float)
|
|
|
|
|
|
|
|
|
|
-morph
|
|
|
|
|
-kernel - ? (numpy.matrix)
|
|
|
|
|
-iterations - ? (int)
|
|
|
|
|
-op - opencv MORPH operation (MORPH_OPEN, MORPH_CLOSE,
|
|
|
|
|
MORPH_DILATE, MORPH_ERODE)
|
|
|
|
|
-anchor - ? (tuple)
|
|
|
|
|
-farid
|
|
|
|
|
|
|
|
|
|
-meijering
|
|
|
|
|
|
|
|
|
|
-sato
|
|
|
|
|
|
|
|
|
|
-hessian
|
|
|
|
|
-sigmas - ? (float)
|
|
|
|
|
|
|
|
|
|
-invert
|
|
|
|
|
|
|
|
|
|
-scale_values
|
|
|
|
|
|
|
|
|
|
-binarize
|
|
|
|
|
-threshold - value to cut differentiate pixels (int)
|
|
|
|
|
-maxval - maximal value (int) ??
|
|
|
|
|
-type - ? (str)
|
|
|
|
|
|
|
|
|
|
-binarize_otsu
|
|
|
|
|
|
|
|
|
|
-add_margin
|
|
|
|
|
-margin - number of pixels to add to the sides of the image (int)
|
|
|
|
|
-color - color value of newly added pixels (int)
|
|
|
|
|
|
|
|
|
|
-erode
|
|
|
|
|
-kernel - kernel shape (numpy.matrix)
|
|
|
|
|
|
|
|
|
|
-dilate
|
|
|
|
|
-kernel - kernel shape (numpy.matrix)
|
|
|
|
|
|
|
|
|
|
# Comparison
|
|
|
|
|
|
|
|
|
|