C# Класс Accord.Math.FourierTransform

Fourier transformation.
The class implements one dimensional and two dimensional Discrete and Fast Fourier Transformation.
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
DFT ( Complex data, Direction direction ) : void

One dimensional Discrete Fourier Transform.

DFT2 ( Complex data, Direction direction ) : void

Two dimensional Discrete Fourier Transform.

FFT ( Complex data, Direction direction ) : void

One dimensional Fast Fourier Transform.

The method accepts data array of 2n size only, where n may vary in the [1, 14] range.

FFT2 ( Complex data, Direction direction ) : void

Two dimensional Fast Fourier Transform.

The method accepts data array of 2n size only in each dimension, where n may vary in the [1, 14] range. For example, 16x16 array is valid, but 15x15 is not.

Приватные методы

Метод Описание
GetComplexRotation ( int numberOfBits, Direction direction ) : Complex[]
GetReversedBits ( int numberOfBits ) : int[]
ReorderData ( Complex data ) : void

Описание методов

DFT() публичный статический Метод

One dimensional Discrete Fourier Transform.
public static DFT ( Complex data, Direction direction ) : void
data Complex Data to transform.
direction Direction Transformation direction.
Результат void

DFT2() публичный статический Метод

Two dimensional Discrete Fourier Transform.
public static DFT2 ( Complex data, Direction direction ) : void
data Complex Data to transform.
direction Direction Transformation direction.
Результат void

FFT() публичный статический Метод

One dimensional Fast Fourier Transform.

The method accepts data array of 2n size only, where n may vary in the [1, 14] range.

Incorrect data length.
public static FFT ( Complex data, Direction direction ) : void
data Complex Data to transform.
direction Direction Transformation direction.
Результат void

FFT2() публичный статический Метод

Two dimensional Fast Fourier Transform.

The method accepts data array of 2n size only in each dimension, where n may vary in the [1, 14] range. For example, 16x16 array is valid, but 15x15 is not.

Incorrect data length.
public static FFT2 ( Complex data, Direction direction ) : void
data Complex Data to transform.
direction Direction Transformation direction.
Результат void