Learn R Programming

GSCAD (version 0.1.0)

ODCT: Overcomplete Discrete Cosine Transform (ODCT) Generating Function.

Description

ODCT returns a matrix which is used in dictionary learning as an initial dictionary matrix.

Usage

ODCT(m, p)

Arguments

m

Number of grid in each base or the size of each atom in the dictionary.

p

Number of bases or the size of the dictionary.

Value

A m by p matrix. Each column is a DCT base.

Examples

Run this code
# NOT RUN {
dic=ODCT(64,100)
# generating an initial dictionary of size 100 with each atom/image patch of size 64.


# }

Run the code above in your browser using DataLab