Changeset 789 for trunk/psLib/src/image/psImage.h
- Timestamp:
- May 25, 2004, 2:38:34 PM (22 years ago)
- File:
-
- 1 edited
-
trunk/psLib/src/image/psImage.h (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/src/image/psImage.h
r777 r789 9 9 * @author Ross Harman, MHPCC 10 10 * 11 * @version $Revision: 1.1 4$ $Name: not supported by cvs2svn $12 * @date $Date: 2004-05-2 5 20:28:46$11 * @version $Revision: 1.15 $ $Name: not supported by cvs2svn $ 12 * @date $Date: 2004-05-26 00:38:34 $ 13 13 * 14 14 * Copyright 2004 Maui High Performance Computing Center, University of Hawaii … … 181 181 ); 182 182 183 /** Read an image or subimage from a FITS file from a file descriptor184 *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 in203 * the extension If NULL, the extnum parameter is to be used instead204 */205 int extnum,206 /**< the image extension to read (0=PHU, 1=first extension, etc.) This is207 * only used if extname is NULL208 */209 FILE* file210 /**< the file descriptor of the FITS file */211 );212 213 183 /** Read an image or subimage from a FITS file specified by a filename. 214 184 * … … 236 206 ); 237 207 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 psImage241 */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 in253 * the extension If NULL, the extnum parameter is to be used instead254 */255 int extnum,256 /**< the image extension to write (0=PHU, 1=first extension, etc.) This is257 * only used if extname is NULL.258 */259 FILE* f260 /**< the file descriptor of the FITS file */261 );262 263 208 #endif
Note:
See TracChangeset
for help on using the changeset viewer.
