filter2D: Image Convolution with Kernel

Description Usage Arguments Value Note Author(s) See Also Examples

View source: R/filters.R

Description

filter2D applies an arbitrary linear filter to an image.

Usage

1

Arguments

image

An Image object.

kernel

A matrix representing the convolution kernel.

Value

An Image object.

Note

For color images, the same kernel is applied to each channel of the image. If you want to apply different kernels to each channel, first split the image into separate channels with the split and process them individually before merging them using the merge function.

Author(s)

Simon Garnier, garnier@njit.edu

See Also

Image, split, merge

Examples

1
# TODO

neuroconductor-devel-releases/Rvision documentation built on Oct. 27, 2020, 1:16 p.m.