dct

package module
v0.0.0-...-90106fd Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 11, 2017 License: MIT Imports: 3 Imported by: 0

README

dct

dct performs forward and inverse discrete cosine transforms.

Documentation

Overview

Package dct implements forward and reverse discrete cosine transforms. The algorithm is based on the information at: https://www.mathworks.com/help/images/ref/dct2.html and https://www.mathworks.com/help/images/ref/idct2.html.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func F

func F(src, dst *mat.Dense) *mat.Dense

F computes the forward discrete cosine transform of src and places it in dst, also returning dst. If dst is nil, a new matrix is allocated and returned.

func I

func I(src, dst *mat.Dense) *mat.Dense

I computes the inverse discrete cosine transform of src and places it in dst, also returning dst. If dst is nil, a new matrix is allocated and returned.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL