Changeset 315 for trunk/doc/pslib/psLibADD.tex
- Timestamp:
- Mar 29, 2004, 8:02:57 PM (22 years ago)
- File:
-
- 1 edited
-
trunk/doc/pslib/psLibADD.tex (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/doc/pslib/psLibADD.tex
r307 r315 476 476 \subsubsection{Multi-dimensional polynomials} 477 477 478 Multi-dimensional polynomials shall be composed of multiplications of 1D polynomials. 478 Multi-dimensional polynomials shall be composed of multiplications of 479 1D Chebyshev polynomials. 480 481 482 \subsection{(Fast) Fourier Transforms} 483 484 (Fast) Fourier Transforms (FFTs) shall be implemented using the FFTW 485 package (www.fftw.org). 486 487 \subsubsection{FFTW Plans} 488 489 FFTW requires the user to create a ``plan'' for each transform size, 490 the time to create which is a function of the desired speed of the 491 transform --- faster transforms for a given size (and machine) may be 492 performed if more time is spent testing plans. 493 494 In the \PS{} IPP, we will want to perform FFTs on images of common 495 sizes (e.g.\ $512 \times 512$) regularly. This means that we would 496 gain from determining a FFTW plan for each of these common sizes. 497 PSLib should therefore maintain a library of these plans, which can be 498 loaded and employed as required. The location of this library on disk 499 will be specified as a configuration variable for the IPP. 500 501 A program to generate plans for a list of common image sizes should be 502 provided. For example: 503 \begin{verbatim} 504 machine01% cat myImageSizes.txt 505 512 512 506 256 256 507 32 32 508 machine01% psMakeFFTPlans myImageSizes.txt 509 machine01% ls 510 fftw.machine01.512.512.plan 511 fftw.machine01.256.256.plan 512 fftw.machine01.32.32.plan 513 \end{verbatim} 514 515 Plans should be generated using the \code{FFTW_MEASURE} flag of FFTW. 516 517 The list of known plans should be read in upon initialisation of the 518 PSLib FFT functions, and the appropriate plan should be used for 519 transformations. 520 521 \subsubsection{Function mapping} 522 479 523 480 524
Note:
See TracChangeset
for help on using the changeset viewer.
