View source: R/apply_kernel_rgbwt.R
apply_kernel_rgbwt | R Documentation |
Apply a kernel to the given RGBWT raster.
apply_kernel_rgbwt(
fRGBWT,
filter = "circle",
mask = default_kernel(filter, radius, sigma),
radius = 2,
sigma = radius/2,
threads = 0
)
fRGBWT |
RGBWT array with channels |
filter |
Use the pre-defined filter, either |
mask |
Custom kernel used for blurring, overrides |
radius |
Radius of the kernel (counted without the "middle" pixel"), defaults to 2. The generated kernel matrix will be a square with (2*radius+1) pixels on each side. |
sigma |
Radius of the Gaussian function selected by |
threads |
Number of parallel threads (default 0 chooses hardware concurrency). |
RGBWT matrix.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.