IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
May 4, 2006, 4:48:35 PM (20 years ago)
Author:
drobbin
Message:

Fixed some tiny things and working on fixing psImageSmooth (not done).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psLib/test/imageops/tst_psImageSmooth.c

    r6280 r7071  
    55 *  @author GLG, MHPCC
    66 *
    7  *  @version $Revision: 1.1 $ $Name: not supported by cvs2svn $
    8  *  @date $Date: 2006-02-01 21:35:59 $
     7 *  @version $Revision: 1.2 $ $Name: not supported by cvs2svn $
     8 *  @date $Date: 2006-05-05 02:48:34 $
    99 *
    1010 *  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
     
    8383    }
    8484    if (VERBOSE) {
    85         p_psImagePrint(1, img, "The Smmothed Image");
     85        p_psImagePrint(1, img, "The Smoothed Image");
    8686    }
    8787
     
    132132        }
    133133        if (VERBOSE) {
    134             p_psImagePrint(1, img, "The Smmothed Image");
     134            p_psImagePrint(1, img, "The Smoothed Image");
    135135        }
    136136
     
    139139                for (psS32 j = 1 ; j < numCols-1 ; j++) {
    140140                    if ((fabs(img->data.F32[i][j] - 0.5) > 0.1)) {
    141                         printf("TEST ERROR: img[%d][%d] was %f, expected 0.5\n", i, j, img->data.F32[i][j]);
     141                        printf("TEST ERROR: img[%d][%d] was %f, expected 0.5\n",
     142                               i, j, img->data.F32[i][j]);
    142143                        testStatus = false;
    143144                    }
     
    150151                for (psS32 j = 1 ; j < numCols-1 ; j++) {
    151152                    if ((fabs(img->data.F64[i][j] - 0.5) > 0.1)) {
    152                         printf("TEST ERROR: img[%d][%d] was %f, expected 0.5\n", i, j, img->data.F64[i][j]);
     153                        printf("TEST ERROR: img[%d][%d] was %f, expected 0.5\n",
     154                               i, j, img->data.F64[i][j]);
    153155                        testStatus = false;
    154156                    }
     
    161163    return(testStatus);
    162164}
    163 
    164 
    165 
    166 
    167 
    168 
    169 
    170 
    171 
    172 
    173 
    174 
    175 
    176 
    177 
    178 
    179 
    180 
    181 
    182 
    183 
    184165
    185166static psS32 testImageSmooth()
Note: See TracChangeset for help on using the changeset viewer.