Learn R Programming

vectools (version 0.2.0)

73_image_filters: Image Filters

Description

Kernels (here referred to as image filters), for convolutions.

POOLING AND CONVOLUTION FUNCTIONS ARE ONLY EARLY PROTOTYPES. THEY HAVE HAD LIMITED TESTING AND MAY BE CHANGED IN FUTURE UPDATES.

Usage

vt2.simple.matrix (n, …, scale=TRUE)

Arguments

n

Integer of length one or two, giving the size of matrix.

scale

Logical, if true (the default), scale the matrix, such that matrix values sum to one.

Ignored.

Value

A matrix to used with a convolution algorithm.

By default, the matrix values sum to one.

See Also

Pooling

Convolutions

Examples

Run this code
# NOT RUN {
vt2.simple.matrix (5)
# }

Run the code above in your browser using DataLab