Changeset 3884 for trunk/psLib/test/image
- Timestamp:
- May 11, 2005, 12:02:16 PM (21 years ago)
- Location:
- trunk/psLib/test/image
- Files:
-
- 2 edited
-
tst_psImageFFT.c (modified) (2 diffs)
-
tst_psImageManip.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/test/image/tst_psImageFFT.c
r3702 r3884 6 6 * @author Robert DeSonia, MHPCC 7 7 * 8 * @version $Revision: 1.1 8$ $Name: not supported by cvs2svn $9 * @date $Date: 2005-0 4-15 00:12:09$8 * @version $Revision: 1.19 $ $Name: not supported by cvs2svn $ 9 * @date $Date: 2005-05-11 22:02:16 $ 10 10 * 11 11 * Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii … … 68 68 69 69 // 1. assign a image to a radial sinisoid 70 GENIMAGE(img,m,n,F32, sinf((32.0f-row)/32.0f* PS_PI)+sinf((64.0f-col)/64.0f*PS_PI));70 GENIMAGE(img,m,n,F32, sinf((32.0f-row)/32.0f*M_PI)+sinf((64.0f-col)/64.0f*M_PI)); 71 71 72 72 // 2. perform a forward transform -
trunk/psLib/test/image/tst_psImageManip.c
r3682 r3884 6 6 * @author Robert DeSonia, MHPCC 7 7 * 8 * @version $Revision: 1.4 1$ $Name: not supported by cvs2svn $9 * @date $Date: 2005-0 4-07 20:27:42$8 * @version $Revision: 1.42 $ $Name: not supported by cvs2svn $ 9 * @date $Date: 2005-05-11 22:02:16 $ 10 10 * 11 11 * Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii … … 1315 1315 1316 1316 if (rot == 90) { 1317 radianRot = PS_PI_2;1317 radianRot = M_PI_2; 1318 1318 } else if (rot == -90) { 1319 radianRot = PS_PI+PS_PI_2;1319 radianRot = M_PI+M_PI_2; 1320 1320 } else if (rot == 180 || rot == -180) { 1321 radianRot = PS_PI;1321 radianRot = M_PI; 1322 1322 } else { 1323 radianRot = ((float)rot)* PS_PI/180.0;1323 radianRot = ((float)rot)*M_PI/180.0; 1324 1324 } 1325 1325
Note:
See TracChangeset
for help on using the changeset viewer.
