IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 17362


Ignore:
Timestamp:
Apr 7, 2008, 8:13:47 AM (18 years ago)
Author:
Paul Price
Message:

Had rows and columns around the wrong way.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psLib/src/fft/psImageFFT.c

    r17320 r17362  
    66/// @author Robert DeSonia, MHPCC
    77///
    8 /// @version $Revision: 1.24 $ $Name: not supported by cvs2svn $
    9 /// @date $Date: 2008-04-04 22:44:56 $
     8/// @version $Revision: 1.25 $ $Name: not supported by cvs2svn $
     9/// @date $Date: 2008-04-07 18:13:47 $
    1010///
    1111/// Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
     
    317317    memset(dataPtr, 0, (paddedRows - numRows) * paddedCols * PSELEMTYPE_SIZEOF(PS_TYPE_F32));
    318318
    319 #if 0
     319#if 1
    320320    {
    321321        // Use this for inspecting the result of copying the image
     
    379379    }
    380380
    381 #if 0
     381#if 1
    382382    {
    383383        // Use this for inspecting the result of copying the kernel
     
    410410    // Note that the FFT images have different size from the input
    411411    fftwf_complex *fft = fftwf_malloc(2 * (paddedCols/2 + 1) * paddedRows * sizeof(fftwf_complex)); // FFT
    412     int size[] = { paddedCols, paddedRows }; // Size of transforms
     412    int size[] = { paddedRows, paddedCols }; // Size of transforms
    413413    int fftCols = paddedCols/2 + 1, fftRows = paddedRows; // Size of FFT images
    414414    int fftPixels = fftCols * fftRows;  // Number of pixels in FFT image
Note: See TracChangeset for help on using the changeset viewer.