| Last change
 on this file since 3974 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 | 
|---|
| 4 | delobjs * | 
|---|
| 5 | #  On a besoin du module IFFTW | 
|---|
| 6 | c++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() | 
|---|
| 12 | c++execfrf fft2d.cc | 
|---|
| 13 | #  On affiche le resultat | 
|---|
| 14 | zone 2 3 | 
|---|
| 15 | disp in 'notitle' | 
|---|
| 16 | addtitle 'Input' ' ' boldfont | 
|---|
| 17 | disp fftin 'notitle' | 
|---|
| 18 | addtitle 'FFT(Input)' ' ' boldfont | 
|---|
| 19 | disp infb 'notitle' | 
|---|
| 20 | addtitle 'Filt_Brutal(Input)' ' ' boldfont | 
|---|
| 21 | disp fftfb 'notitle' | 
|---|
| 22 | addtitle 'FFT(Input)*Filt_Brutal' ' ' boldfont | 
|---|
| 23 | disp infd 'notitle' | 
|---|
| 24 | addtitle 'Filt_Doux(Input)' ' ' boldfont | 
|---|
| 25 | disp fftfd 'notitle' | 
|---|
| 26 | addtitle 'FFT(Input)*Filt_Doux' ' ' boldfont | 
|---|
| 27 |  | 
|---|
| 28 |  | 
|---|
| 29 |  | 
|---|
       
      
  Note:
 See   
TracBrowser
 for help on using the repository browser.