IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Aug 6, 2004, 2:06:06 PM (22 years ago)
Author:
desonia
Message:

another attempt to get astyle to get it right.

File:
1 edited

Legend:

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

    r1241 r1407  
     1
    12/** @file  psImageIO.h
    23 *
     
    910 *  @author Robert DeSonia, MHPCC
    1011 *
    11  *  @version $Revision: 1.3 $ $Name: not supported by cvs2svn $
    12  *  @date $Date: 2004-07-19 22:01:19 $
     12 *  @version $Revision: 1.4 $ $Name: not supported by cvs2svn $
     13 *  @date $Date: 2004-08-07 00:06:06 $
    1314 *
    1415 *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
    1516 */
    16 # ifndef PS_IMAGEIO_H
    17 # define PS_IMAGEIO_H
     17#ifndef PS_IMAGEIO_H
     18#    define PS_IMAGEIO_H
    1819
    19 #include <stdbool.h>
     20#    include <stdbool.h>
    2021
    21 #include "psImage.h"
     22#    include "psImage.h"
    2223
    2324/// @addtogroup ImageIO
     
    2930 *                          signifies that a problem had occured.
    3031 */
    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 );
     32psImage *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                           );
    5564
    5665/** Read an image or subimage from a FITS file specified by a filename.
     
    5867 *  return bool         TRUE is successful, otherwise FALSE.
    5968 */
    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 );
     69bool 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                        );
    8095
    8196/// @}
Note: See TracChangeset for help on using the changeset viewer.