IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
May 28, 2004, 3:42:12 PM (22 years ago)
Author:
desonia
Message:

extracted the image file I/O routines and moved them to dataManip/psImageIO.[ch]

File:
1 edited

Legend:

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

    r812 r816  
    99 *  @author Ross Harman, MHPCC
    1010 *
    11  *  @version $Revision: 1.16 $ $Name: not supported by cvs2svn $
    12  *  @date $Date: 2004-05-29 01:09:53 $
     11 *  @version $Revision: 1.17 $ $Name: not supported by cvs2svn $
     12 *  @date $Date: 2004-05-29 01:42:12 $
    1313 *
    1414 *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     
    152152);
    153153
    154 /** Read an image or subimage from a FITS file specified by a filename.
    155  *
    156  *  return psImage*         The image read from the specified file.  NULL
    157  *                          signifies that a problem had occured.
    158  */
    159 psImage* psImageReadSection(
    160     psImage* output,
    161     /**< the output psImage to recycle, or NULL if new psImage desired */
    162     int col0,
    163     /**< the column index of the origin to start reading */
    164     int row0,
    165     /**< the row index of the origin to start reading */
    166     int numCols,
    167     /**< the number of desired columns to read */
    168     int numRows,
    169     /**< the number of desired rows to read */
    170     int z,
    171     /**< the z index to read if file is organized as a 3D image cube. */
    172     char* extname,
    173     /**< the image extension to read (this should match the EXTNAME keyword in
    174      *   the extension If NULL, the extnum parameter is to be used instead
    175      */
    176     int extnum,
    177     /**< the image extension to read (0=PHU, 1=first extension, etc.)  This is
    178      *   only used if extname is NULL
    179      */
    180     char* filename
    181     /**< the filename of the FITS image file to read */
    182 );
    183 
    184 /** Read an image or subimage from a FITS file specified by a filename.
    185  *
    186  *  return psImage*         NULL if an error, otherwise same as input psImage
    187  */
    188 int psImageWriteSection(
    189     psImage* input,
    190     /**< the psImage to write */
    191     int col0,
    192     /**< the column index of the origin to start writing */
    193     int row0,
    194     /**< the row index of the origin to start writing */
    195     int z,
    196     /**< the z index to start writing */
    197     char* extname,
    198     /**< the image extension to write (this should match the EXTNAME keyword in
    199      *   the extension If NULL, the extnum parameter is to be used instead
    200      */
    201     int extnum,
    202     /**< the image extension to write (0=PHU, 1=first extension, etc.)  This is
    203      *   only used if extname is NULL.
    204      */
    205     char* filename
    206     /**< the filename of the FITS image file to write */
    207 );
    208154
    209155#endif
Note: See TracChangeset for help on using the changeset viewer.