IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
May 17, 2004, 4:34:00 PM (22 years ago)
Author:
desonia
Message:

modified psImage to match currect IfA input and added copy function.

File:
1 edited

Legend:

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

    r711 r714  
    77 *  @author Ross Harman, MHPCC
    88 *   
    9  *  @version $Revision: 1.8 $ $Name: not supported by cvs2svn $
    10  *  @date $Date: 2004-05-17 20:59:34 $
     9 *  @version $Revision: 1.9 $ $Name: not supported by cvs2svn $
     10 *  @date $Date: 2004-05-18 02:33:59 $
    1111 *
    1212 *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     
    4444
    4545    union {
    46         psU8    **u8;                   ///< unsigned 8-bit integer data.
    47         psU16   **u16;                  ///< unsigned 16-bit integer data.
    48         psU32   **u32;                  ///< unsigned 32-bit integer data.
    49         psU32   **u64;                  ///< unsigned 64-bit integer data.
    50         psS8    **s8;                   ///< signed 8-bit integer data.
    51         psS16   **s16;                  ///< signed 16-bit integer data.
    52         psS32   **s32;                  ///< signed 32-bit integer data.
    53         psS32   **s64;                  ///< signed 64-bit integer data.
    54         psF32   **f32;                  ///< single-precision float data.
    55         psF64   **f64;                  ///< double-precision float data.
    56         psC32   **c32;                  ///< single-precision complex data.
    57         psC32   **c64;                  ///< double-precision complex data.
     46        psU8    **U8;                   ///< unsigned 8-bit integer data.
     47        psU16   **U16;                  ///< unsigned 16-bit integer data.
     48        psU32   **U32;                  ///< unsigned 32-bit integer data.
     49        psU64   **U64;                  ///< unsigned 64-bit integer data.
     50        psS8    **S8;                   ///< signed 8-bit integer data.
     51        psS16   **S16;                  ///< signed 16-bit integer data.
     52        psS32   **S32;                  ///< signed 32-bit integer data.
     53        psS64   **S64;                  ///< signed 64-bit integer data.
     54        psF32   **F32;                  ///< single-precision float data.
     55        psF64   **F64;                  ///< double-precision float data.
     56        psC32   **C32;                  ///< single-precision complex data.
     57        psC64   **C64;                  ///< double-precision complex data.
    5858        void    **v;                    ///< void pointers to data
    5959    } data;                             ///< Union for data types.
     
    113113 */
    114114void psImageFreePixels(
    115     psImage *restrict image             ///< psImage to free pixel memory from
     115    psImage* restrict image             ///< psImage to free pixel memory from
    116116);
    117117
     
    125125);
    126126
    127 
     127/** Makes a copy of a psImage
     128 *
     129 * return psImage*  Copy of the input psImage.  This may not be equal to the output parameter
     130 *
     131 */
     132psImage *psImageCopy(
     133    psImage* restrict output,
     134    ///< if not NULL, a psImage that could be recycled.  If it can not be used, it will be freed via
     135    ///< psImageFree
     136    const psImage *input,               ///< the psImage to copy
     137    psElemType type                     ///< the desired datatype of the returned copy
     138);
    128139
    129140#endif
Note: See TracChangeset for help on using the changeset viewer.