Learn R Programming

Rvision (version 0.3.3)

sepFilter2D: Image Filtering with a Separable Linear Filter

Description

sepFilter2D applies a separable linear filter to an image. First, every row of the image is filtered with the 1D kernel kernel_x. Then, every column of the result is filtered with the 1D kernel kernel_y.

Usage

sepFilter2D(image, kernel_x, kernel_y)

Arguments

image

An Image object.

kernel_x

A vector representing the kernel along the x axis.

kernel_y

A vector representing the kernel along the y axis.

Value

An Image object.

See Also

Image, filter2D, split, merge

Examples

Run this code
# NOT RUN {
# TODO
# }

Run the code above in your browser using DataLab