source: Sophya/trunk/SophyaPI/DemoPIApp/fft2d.pic@ 3841

Last change on this file since 3841 was 2600, checked in by ansari, 21 years ago

ajout de script (.pic) exemple pour (s)piapp - Reza 12 Aout 2004

File size: 912 bytes
Line 
1# Exemple de commandes pour creer un tableau de bruit
2# et calculer son FFT
3# On supprime tous les objets presents ds le repertoire courant
4delobjs *
5# On a besoin du module IFFTW
6c++import IFFTW
7# On execute un bout de code c++ qui cree un tableau 2D (matrice)
8# avec une etoile au milieu et calcule son FFT , et on fait un filtrage
9# Ce bout de code se trouve ds le fichier fft2d.cc
10# et on garde des objets (matrices) cree ds ce bout de code au sein
11# de piapp avec KeepObj()
12c++execfrf fft2d.cc
13# On affiche le resultat
14zone 2 3
15disp in 'notitle'
16addtitle 'Input' ' ' boldfont
17disp fftin 'notitle'
18addtitle 'FFT(Input)' ' ' boldfont
19disp infb 'notitle'
20addtitle 'Filt_Brutal(Input)' ' ' boldfont
21disp fftfb 'notitle'
22addtitle 'FFT(Input)*Filt_Brutal' ' ' boldfont
23disp infd 'notitle'
24addtitle 'Filt_Doux(Input)' ' ' boldfont
25disp fftfd 'notitle'
26addtitle 'FFT(Input)*Filt_Doux' ' ' boldfont
27
28
29
Note: See TracBrowser for help on using the repository browser.