IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 4493 for trunk/psLib/src/image


Ignore:
Timestamp:
Jul 6, 2005, 4:17:54 PM (21 years ago)
Author:
drobbin
Message:

made revisions according to psLib SDRS rev 15

Location:
trunk/psLib/src/image
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/psLib/src/image/psImage.c

    r4409 r4493  
    99 *  @author Ross Harman, MHPCC
    1010 *
    11  *  @version $Revision: 1.72 $ $Name: not supported by cvs2svn $
    12  *  @date $Date: 2005-06-28 20:17:52 $
     11 *  @version $Revision: 1.73 $ $Name: not supported by cvs2svn $
     12 *  @date $Date: 2005-07-07 02:17:53 $
    1313 *
    1414 *  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
     
    9191}
    9292
    93 psRegion psRegionSet(psF32 x0,
    94                      psF32 x1,
    95                      psF32 y0,
    96                      psF32 y1)
     93psRegion psRegionSet(float x0,
     94                     float x1,
     95                     float y0,
     96                     float y1)
    9797{
    9898    psRegion out;
  • trunk/psLib/src/image/psImage.h

    r4409 r4493  
    1111 *  @author Ross Harman, MHPCC
    1212 *
    13  *  @version $Revision: 1.59 $ $Name: not supported by cvs2svn $
    14  *  @date $Date: 2005-06-28 20:17:52 $
     13 *  @version $Revision: 1.60 $ $Name: not supported by cvs2svn $
     14 *  @date $Date: 2005-07-07 02:17:53 $
    1515 *
    1616 *  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
     
    5151typedef struct psImage
    5252{
    53     const psType type;                 ///< Image data type and dimension.
     53    const psMathType type;                 ///< Image data type and dimension.
    5454    const psU32 numCols;               ///< Number of columns in image
    5555    const psU32 numRows;               ///< Number of rows in image.
     
    8787typedef struct
    8888{
    89     psF32 x0;                         ///< the first column of the region.
    90     psF32 x1;                         ///< the last column of the region.
    91     psF32 y0;                         ///< the first row of the region.
    92     psF32 y1;                         ///< the last row of the region.
     89    float x0;                         ///< the first column of the region.
     90    float x1;                         ///< the last column of the region.
     91    float y0;                         ///< the first row of the region.
     92    float y1;                         ///< the last row of the region.
    9393}
    9494psRegion;
     
    113113 */
    114114psRegion psRegionSet(
    115     psF32 x0,                         ///< the first column of the region.
    116     psF32 x1,                         ///< the last column of the region + 1.
    117     psF32 y0,                         ///< the first row of the region.
    118     psF32 y1                          ///< the last row of the region + 1.
     115    float x0,                         ///< the first column of the region.
     116    float x1,                         ///< the last column of the region + 1.
     117    float y0,                         ///< the first row of the region.
     118    float y1                          ///< the last row of the region + 1.
    119119);
    120120
     
    152152
    153153/** Copy an image to a new buffer
    154  * 
     154 *
    155155 *  @return True if image copied or false if error
    156156 */
  • trunk/psLib/src/image/psImageStructManip.c

    r3977 r4493  
    88 *  @author Robert DeSonia, MHPCC
    99 *
    10  *  @version $Revision: 1.2 $ $Name: not supported by cvs2svn $
    11  *  @date $Date: 2005-05-19 05:18:20 $
     10 *  @version $Revision: 1.3 $ $Name: not supported by cvs2svn $
     11 *  @date $Date: 2005-07-07 02:17:53 $
    1212 *
    1313 *  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
     
    9494
    9595    out->data.V = psRealloc(out->data.V,sizeof(psPtr)*numRows); // resize row pointer array
    96     *(psType*)&out->type = image->type;
     96    *(psMathType*)&out->type = image->type;
    9797    *(psU32*)&out->numCols = numCols;
    9898    *(psU32*)&out->numRows = numRows;
Note: See TracChangeset for help on using the changeset viewer.