apply_kernel_rgbwt: apply_kernel_rgbwt

View source: R/apply_kernel_rgbwt.R

apply_kernel_rgbwtR Documentation

apply_kernel_rgbwt

Description

Blur given RGBWT matrix using circle or gauss filtering.

Usage

apply_kernel_rgbwt(
  fRGBWT,
  filter = "circle",
  radius = 2,
  sigma = 1,
  approx_limit = 3.5
)

Arguments

fRGBWT

Float RGBWT matrix (red, green, blue channels, weight ~ sum of alphas, transparency ~ 1 - alpha, dimension nxmx5).

filter

Either circle or gaussian (symmetric).

radius

Size of circle kernel (float), defaults to 2.

sigma

Parameter for gaussian filtering, defaults to 1.

approx_limit

Sets the size of the kernel square, multiplied with sigma, defaults to 3.5.

Value

Float RGBWT matrix.


teri934/scattermore2 documentation built on April 11, 2022, 12:15 a.m.