Description Usage Arguments Value Examples
View source: R/filter_perrrfect.R
This function can be used to build predefined filters.
1 | build_filter(kernel_type, kernel_size)
|
kernel_type |
A string which accepts following values blur: Used to blur the picture sharpen: Used to increase the sharpness of the image More options will be added as enhancements |
kernel_size |
An integer determining the filter size. |
A matrix of size kernel_size * kernel_size representing the filter.
1 2 | build_filter("blur", 3)
build_filter("sharpen", 7)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.