next up previous contents
Next: Commands related to fuzzy-analysis Up: Image processing Previous: Histogramming

Fourier commands

    

Note that the commands fft2, visualfft and conv require matrixes to have the names "real", "imag", "spec" and "angle". And all matrixes have to be stored under a single data frame (which is an argument to the commands below).

tabular2059

This is a one-dimensional Fourier transformation.

tabular2066

This command makes a two-dimensional Fourier transformation for matrixes.

tabular2073

This command visualizes a frame containing "real" and "imag" matrixes (usually after fft-transform).

tabular2081

This command makes a convolution between two frames (both including at least a "real" matrix).

Example (ex6.1):

...
# 2-dimensional fft-transform
NDA> fft2 -in mask -out maskfft -width 128 -height 128
NDA> fft2 -in matrix -out matrixfft 
# convolution and result visualization
NDA> conv -in1 matrixfft -in2 mask -out convmatrix 
NDA> visualfft -in convmatrix -out convimage -width 128 -height 128 -scale
...



Erkki Hakkinen
Thu Sep 24 11:51:34 EET DST 1998