Changeset 1407 for trunk/psLib/src/image/psImageIO.h
- Timestamp:
- Aug 6, 2004, 2:06:06 PM (22 years ago)
- File:
-
- 1 edited
-
trunk/psLib/src/image/psImageIO.h (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/src/image/psImageIO.h
r1241 r1407 1 1 2 /** @file psImageIO.h 2 3 * … … 9 10 * @author Robert DeSonia, MHPCC 10 11 * 11 * @version $Revision: 1. 3$ $Name: not supported by cvs2svn $12 * @date $Date: 2004-0 7-19 22:01:19$12 * @version $Revision: 1.4 $ $Name: not supported by cvs2svn $ 13 * @date $Date: 2004-08-07 00:06:06 $ 13 14 * 14 15 * Copyright 2004 Maui High Performance Computing Center, University of Hawaii 15 16 */ 16 # ifndef PS_IMAGEIO_H17 # define PS_IMAGEIO_H17 #ifndef PS_IMAGEIO_H 18 # define PS_IMAGEIO_H 18 19 19 # include <stdbool.h>20 # include <stdbool.h> 20 21 21 # include "psImage.h"22 # include "psImage.h" 22 23 23 24 /// @addtogroup ImageIO … … 29 30 * signifies that a problem had occured. 30 31 */ 31 psImage* psImageReadSection( 32 psImage* output, 33 /**< the output psImage to recycle, or NULL if new psImage desired */ 34 int col0, 35 /**< the column index of the origin to start reading */ 36 int row0, 37 /**< the row index of the origin to start reading */ 38 int numCols, 39 /**< the number of desired columns to read */ 40 int numRows, 41 /**< the number of desired rows to read */ 42 int z, 43 /**< the z index to read if file is organized as a 3D image cube. */ 44 char* extname, 45 /**< the image extension to read (this should match the EXTNAME keyword in 46 * the extension If NULL, the extnum parameter is to be used instead 47 */ 48 int extnum, 49 /**< the image extension to read (0=PHU, 1=first extension, etc.) This is 50 * only used if extname is NULL 51 */ 52 char* filename 53 /**< the filename of the FITS image file to read */ 54 ); 32 psImage *psImageReadSection(psImage * output, 33 34 /**< the output psImage to recycle, or NULL if new psImage desired */ 35 int col0, 36 37 /**< the column index of the origin to start reading */ 38 int row0, 39 40 /**< the row index of the origin to start reading */ 41 int numCols, 42 43 /**< the number of desired columns to read */ 44 int numRows, 45 46 /**< the number of desired rows to read */ 47 int z, 48 49 /**< the z index to read if file is organized as a 3D image cube. */ 50 char *extname, 51 52 /**< the image extension to read (this should match the EXTNAME keyword in 53 * the extension If NULL, the extnum parameter is to be used instead 54 */ 55 int extnum, 56 57 /**< the image extension to read (0=PHU, 1=first extension, etc.) This is 58 * only used if extname is NULL 59 */ 60 char *filename 61 62 /**< the filename of the FITS image file to read */ 63 ); 55 64 56 65 /** Read an image or subimage from a FITS file specified by a filename. … … 58 67 * return bool TRUE is successful, otherwise FALSE. 59 68 */ 60 bool psImageWriteSection( 61 psImage* input, 62 /**< the psImage to write */ 63 int col0, 64 /**< the column index of the origin to start writing */ 65 int row0, 66 /**< the row index of the origin to start writing */ 67 int z, 68 /**< the z index to start writing */ 69 char* extname, 70 /**< the image extension to write (this should match the EXTNAME keyword in 71 * the extension If NULL, the extnum parameter is to be used instead 72 */ 73 int extnum, 74 /**< the image extension to write (0=PHU, 1=first extension, etc.) This is 75 * only used if extname is NULL. 76 */ 77 char* filename 78 /**< the filename of the FITS image file to write */ 79 ); 69 bool psImageWriteSection(psImage * input, 70 71 /**< the psImage to write */ 72 int col0, 73 74 /**< the column index of the origin to start writing */ 75 int row0, 76 77 /**< the row index of the origin to start writing */ 78 int z, 79 80 /**< the z index to start writing */ 81 char *extname, 82 83 /**< the image extension to write (this should match the EXTNAME keyword in 84 * the extension If NULL, the extnum parameter is to be used instead 85 */ 86 int extnum, 87 88 /**< the image extension to write (0=PHU, 1=first extension, etc.) This is 89 * only used if extname is NULL. 90 */ 91 char *filename 92 93 /**< the filename of the FITS image file to write */ 94 ); 80 95 81 96 /// @}
Note:
See TracChangeset
for help on using the changeset viewer.
