Learn R Programming

Rvision (version 0.3.5)

blur: Blurs an Image Using a Normalized Box Filter

Description

blur convolves the source image with the specified normalized box kernel (a matrix of 1s divided by the number of pixels in the kernel). The result is a blurred version of the source image.

Usage

blur(image, k_height = 5, k_width = 5)

Arguments

image

An Image object.

k_height

The half-height in pixels of the kernel (default: 5).

k_width

The half-width in pixels of the kernel (default: 5).

Value

image An Image object.

See Also

Image, boxFilter, gaussianBlur

Examples

Run this code
# NOT RUN {
# TODO
# }

Run the code above in your browser using DataLab