public void Usage(StringBuilder sb) { string name = Aids.MethodName(Which); sb .WL() .WL(0, $"{name} [options] (input image) [output image]") .WL(1, "The function implements simple DCT-based (Discrete Cosine Transform) denoising, link: http://www.ipol.im/pub/art/2011/ys-dct/.") .WL(0, "Options:") .WL(1, "-s (double)", "Expected noise standard deviation.") .WL(1, "-p (int | 16)", "Size of block side where dct is computed.") ; }
public void Usage(StringBuilder sb) { string name = Aids.MethodName(Which); sb .WL() .WL(0, $"{name} [options] (input image) [output image]") .WL(1, "Provably Robust Image Deconvolution Algorithm, a image deblurring algorithm that implements blind deconvolution") .WL(0, "Options:") .WL(1, "-l (double | 0.0006)", "Tunable regularization parameter. Higher values of lambda will encourage more smoothness in the optimal sharp image") .WL(1, "-k (int | 19)", "Kernel size in pixels") .WL(1, "-i (int | 1000)", "Number of iterations"); ; }
public void Usage(StringBuilder sb) { string name = Aids.MethodName(Which); sb .WL() .WL(0, $"{name} [options] (input image) [output image]") .WL(1, "Perform image denoising using Non-local Means Denoising algorithm: http://www.ipol.im/pub/algo/bcm_non_local_means_denoising/ with several computational optimizations. Noise expected to be a gaussian white noise.") .WL(0, "Options:") .WL(1, "-h (float | 3.0)", "Parameter regulating filter strength. Big h value perfectly removes noise but also removes image details, smaller h value preserves details but also preserves some noise.") .WL(1, "-t (int | 7)", "Size in pixels of the template patch that is used to compute weights. Should be odd.") .WL(1, "-s (int | 21)", "Size in pixels of the window that is used to compute weighted average for given pixel. Should be odd. Affects performance linearly: greater searchWindowsSize -> greater denoising time.") ; }
public void Usage(StringBuilder sb) { string name = Aids.MethodName(Which); sb .WL() .WL(0, $"{name} [options] (input image) [input image] ...") .WL(1, "Denoise images using the Primal-dual algorithm. This algorithm is used for solving special types of variational problems (that is, finding a function to minimize some functional).") .WL(0, "Options:") .WL(1, "-o (string | *)", "Output image. If not provided a default name will be generated.") .WL(1, "-l (double | 1.0)", "Lambda scaling parameter. As it is enlarged, the smooth (blurred) images are treated more favorably than detailed (but maybe more noised) ones. Roughly speaking, as it becomes smaller, the result will be more blur but more sever outliers will be removed.") .WL(1, "-n (int | 30)", "Number of iterations that the algorithm will run. Of course, as more iterations as better, but it is hard to quantitatively refine this statement, so just use the default and increase it if the results are poor.") ; }
public void Usage(StringBuilder sb) { string name = Aids.MethodName(Which); sb .WL() .WL(0, $"{name} [options] (input image) [output image]") .WL(1, "Perform image denoising using Non-local Means Denoising algorithm (modified for color image): http://www.ipol.im/pub/algo/bcm_non_local_means_denoising/ with several computational optimizations. Noise expected to be a gaussian white noise. The function converts image to CIELAB colorspace and then separately denoise L and AB components with given h parameters using fastNlMeansDenoising function.") .WL(0, "Options:") .WL(1, "-h (float | 3.0)", "Parameter regulating filter strength. Big h value perfectly removes noise but also removes image details, smaller h value preserves details but also preserves some noise.") .WL(1, "-c (float | 3.0)", "The same as -h but for color components. For most images a value of 10 will be enough to remove colored noise and not distort colors.") .WL(1, "-t (int | 7)", "Size in pixels of the template patch that is used to compute weights. Should be odd.") .WL(1, "-s (int | 21)", "Size in pixels of the window that is used to compute weighted average for given pixel. Should be odd. Affects performance linearly: greater searchWindowsSize -> greater denoising time.") ; }
public void Usage(StringBuilder sb) { string name = Aids.MethodName(Which); sb .WL() .WL(0, $"{name} [options] (input image) [output image]") .WL(1, "Performs image denoising using the Block-Matching and 3D-filtering algorithm http://www.cs.tut.fi/~foi/GCF-BM3D/BM3D_TIP_2007.pdf with several computational optimizations. Noise expected to be a gaussian white noise.") .WL(0, "Options:") .WL(1, "-h (float | 1.0)", "Filter strength. Big h value perfectly removes noise but also removes image details, smaller h value preserves details but also preserves some noise.") .WL(1, "-tw (int | 4)", "Size in pixels of the template patch that is used for block-matching. Should be power of 2.") .WL(1, "-sw (int | 16)", "Size in pixels of the window that is used to perform block-matching. Affect performance linearly: greater searchWindowsSize - greater denoising time. Must be larger than -tw. ") .WL(1, "-b1 (int | 2500)", "Block matching threshold for the first step of BM3D (hard thresholding), i.e. maximum distance for which two blocks are considered similar. Value expressed in euclidean distance.") .WL(1, "-b2 (int | 400)", "Block matching threshold for the second step of BM3D (Wiener filtering), i.e. maximum distance for which two blocks are considered similar. Value expressed in euclidean distance.") .WL(1, "-gs (int | 8)", "Maximum size of the 3D group for collaborative filtering.") .WL(1, "-ss (int | 1)", "Sliding step to process every next reference block.") .WL(1, "-k (float | 2.0)", "Kaiser window parameter that affects the sidelobe attenuation of the transform of the window. Kaiser window is used in order to reduce border effects. To prevent usage of the window, set this to zero.") .WL(1, "-n (normType | L2)", "Norm used to calculate distance between blocks. L2 is slower than L1 but yields more accurate results.") .WL(0, "NormTypes:") .PrintEnum <NormWrap>(1, false, GetNormDesc) ; }