IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 789


Ignore:
Timestamp:
May 25, 2004, 2:38:34 PM (22 years ago)
Author:
desonia
Message:

removed the 'F' versions of psImageReadSection and psImageWriteSection.

Location:
trunk/psLib/src
Files:
2 edited

Legend:

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

    r777 r789  
    99 *  @author Ross Harman, MHPCC
    1010 *
    11  *  @version $Revision: 1.14 $ $Name: not supported by cvs2svn $
    12  *  @date $Date: 2004-05-25 20:28:46 $
     11 *  @version $Revision: 1.15 $ $Name: not supported by cvs2svn $
     12 *  @date $Date: 2004-05-26 00:38:34 $
    1313 *
    1414 *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     
    181181);
    182182
    183 /** Read an image or subimage from a FITS file from a file descriptor
    184  *
    185  *  return psImage*         The image read from the specified file descriptor.
    186  *                          NULL signifies that a problem had occured.
    187  */
    188 psImage* psImageFReadSection(
    189     psImage* output,
    190     /**< the output psImage to recycle, or NULL if new psImage desired */
    191     int col0,
    192     /**< the column index of the origin to start reading */
    193     int row0,
    194     /**< the row index of the origin to start reading */
    195     int numCols,
    196     /**< the number of desired columns to read */
    197     int numRows,
    198     /**< the number of desired rows to read */
    199     int z,
    200     /**< the z index to read if file is organized as a 3D image cube. */
    201     char* extname,
    202     /**< the image extension to read (this should match the EXTNAME keyword in
    203      *   the extension If NULL, the extnum parameter is to be used instead
    204      */
    205     int extnum,
    206     /**< the image extension to read (0=PHU, 1=first extension, etc.)  This is
    207      *   only used if extname is NULL
    208      */
    209     FILE* file
    210     /**< the file descriptor of the FITS file */
    211 );
    212 
    213183/** Read an image or subimage from a FITS file specified by a filename.
    214184 *
     
    236206);
    237207
    238 /** Read an image or subimage from a FITS file from a file descriptor.
    239  *
    240  *  return psImage*         NULL if an error, otherwise same as input psImage
    241  */
    242 int psImageFWriteSection(
    243     psImage* input,
    244     /**< the psImage to write */
    245     int col0,
    246     /**< the column index of the origin to start writing */
    247     int row0,
    248     /**< the row index of the origin to start writing */
    249     int z,
    250     /**< the z index to start writing */
    251     char* extname,
    252     /**< the image extension to write (this should match the EXTNAME keyword in
    253      *   the extension If NULL, the extnum parameter is to be used instead
    254      */
    255     int extnum,
    256     /**< the image extension to write (0=PHU, 1=first extension, etc.)  This is
    257      *   only used if extname is NULL.
    258      */
    259     FILE* f
    260     /**< the file descriptor of the FITS file */
    261 );
    262 
    263208#endif
  • trunk/psLib/src/mathtypes/psImage.h

    r777 r789  
    99 *  @author Ross Harman, MHPCC
    1010 *
    11  *  @version $Revision: 1.14 $ $Name: not supported by cvs2svn $
    12  *  @date $Date: 2004-05-25 20:28:46 $
     11 *  @version $Revision: 1.15 $ $Name: not supported by cvs2svn $
     12 *  @date $Date: 2004-05-26 00:38:34 $
    1313 *
    1414 *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     
    181181);
    182182
    183 /** Read an image or subimage from a FITS file from a file descriptor
    184  *
    185  *  return psImage*         The image read from the specified file descriptor.
    186  *                          NULL signifies that a problem had occured.
    187  */
    188 psImage* psImageFReadSection(
    189     psImage* output,
    190     /**< the output psImage to recycle, or NULL if new psImage desired */
    191     int col0,
    192     /**< the column index of the origin to start reading */
    193     int row0,
    194     /**< the row index of the origin to start reading */
    195     int numCols,
    196     /**< the number of desired columns to read */
    197     int numRows,
    198     /**< the number of desired rows to read */
    199     int z,
    200     /**< the z index to read if file is organized as a 3D image cube. */
    201     char* extname,
    202     /**< the image extension to read (this should match the EXTNAME keyword in
    203      *   the extension If NULL, the extnum parameter is to be used instead
    204      */
    205     int extnum,
    206     /**< the image extension to read (0=PHU, 1=first extension, etc.)  This is
    207      *   only used if extname is NULL
    208      */
    209     FILE* file
    210     /**< the file descriptor of the FITS file */
    211 );
    212 
    213183/** Read an image or subimage from a FITS file specified by a filename.
    214184 *
     
    236206);
    237207
    238 /** Read an image or subimage from a FITS file from a file descriptor.
    239  *
    240  *  return psImage*         NULL if an error, otherwise same as input psImage
    241  */
    242 int psImageFWriteSection(
    243     psImage* input,
    244     /**< the psImage to write */
    245     int col0,
    246     /**< the column index of the origin to start writing */
    247     int row0,
    248     /**< the row index of the origin to start writing */
    249     int z,
    250     /**< the z index to start writing */
    251     char* extname,
    252     /**< the image extension to write (this should match the EXTNAME keyword in
    253      *   the extension If NULL, the extnum parameter is to be used instead
    254      */
    255     int extnum,
    256     /**< the image extension to write (0=PHU, 1=first extension, etc.)  This is
    257      *   only used if extname is NULL.
    258      */
    259     FILE* f
    260     /**< the file descriptor of the FITS file */
    261 );
    262 
    263208#endif
Note: See TracChangeset for help on using the changeset viewer.