IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Aug 25, 2004, 11:10:09 AM (22 years ago)
Author:
desonia
Message:

extracted image FFT functions into a new file.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psLib/src/fft/psVectorFFT.h

    r1452 r1625  
    1 
    2 /** @file  psFFT.h
     1/** @file  psVectorFFT.h
    32 *
    4  *  @brief Contains FFT transforms functions
     3 *  @brief Contains FFT transform related functions for psVector
    54 *
    65 *  @ingroup Transform
     
    87 *  @author Robert DeSonia, MHPCC
    98 *
    10  *  @version $Revision: 1.13 $ $Name: not supported by cvs2svn $
    11  *  @date $Date: 2004-08-10 18:54:38 $
     9 *  @version $Revision: 1.14 $ $Name: not supported by cvs2svn $
     10 *  @date $Date: 2004-08-25 21:10:08 $
    1211 *
    1312 *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
    1413 */
    1514
    16 #ifndef PS_FFT_H
    17 #define PS_FFT_H
     15#ifndef PS_VECTOR_FFT_H
     16#define PS_VECTOR_FFT_H
    1817
    19 #include "psImage.h"
    2018#include "psVector.h"
    2119
     
    3230} psFftDirection;
    3331
    34 /** Forward and reverse FFT calculations.
    35  *
    36  *  This takes as input the image of interest (in) and the direction
    37  *  (direction), which is specified by an enumerated type psFftDirection.
    38  *  The input image may be of type psF32 or psC32, the result is always
    39  *  psC32. If the input vector is psF32, the direction must be forward.
    40  * 
    41  *  @return psImage* the FFT transformation result
    42  */
    43 psImage* psImageFFT(
    44     psImage* out,                      ///< a psImage to recycle.  If NULL, a new psImage is made.
    45     const psImage* in,                 ///< the psImage to apply transform to
    46     psFftDirection direction           ///< the direction of the transform
    47 );
    48 
    49 /** extract the real portion of a complex image
    50  *
    51  *  @return psImage*   real portion of the input image.
    52  */
    53 psImage* psImageReal(
    54     psImage* out,                      ///< a psImage to recycle.  If NULL, a new psImage is made.
    55     const psImage* in                  ///< the psImage to extract real portion from
    56 );
    57 
    58 /** extract the imaginary portion of a complex image
    59  *
    60  *  @return psImage*   imaginary portion of the input image.
    61  */
    62 psImage* psImageImaginary(
    63     psImage* out,                      ///< a psImage to recycle.  If NULL, a new psImage is made.
    64     const psImage* in                  ///< the psImage to extract imaginary portion from
    65 );
    66 
    67 /** creates a complex image from separate real and imaginary plane images
    68  *
    69  *  @return psImage*   resulting complex image
    70  */
    71 psImage* psImageComplex(
    72     psImage* out,                      ///< a psImage to recycle.  If NULL, a new psImage is made.
    73     const psImage* real,               ///< the real plane image
    74     const psImage* imag                ///< the imaginary plane image
    75 );
    76 
    77 /** computes the complex conjugate of an image
    78  *
    79  *  @return psImage*   the complex conjugate of the 'in' image
    80  */
    81 psImage* psImageConjugate(
    82     psImage* out,                      ///< a psImage to recycle.  If NULL, a new psImage is made.
    83     const psImage* in                  ///< the psImage to compute conjugate of
    84 );
    85 
    86 /** computes the power spectrum of an image
    87  *
    88  *  @return psImage*   the power spectrum of the 'in' image
    89  */
    90 psImage* psImagePowerSpectrum(
    91     psImage* out,                       ///< a psImage to recycle.  If NULL, a new psImage is made.
    92     const psImage* in                   ///< the psImage to power spectrum of
    93 );
    9432
    9533/** Forward and reverse FFT calculations.
Note: See TracChangeset for help on using the changeset viewer.