IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
May 18, 2005, 7:18:20 PM (21 years ago)
Author:
desonia
Message:

fixes to psRegion.

File:
1 edited

Legend:

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

    r3786 r3977  
    1111 *  @author Ross Harman, MHPCC
    1212 *
    13  *  @version $Revision: 1.51 $ $Name: not supported by cvs2svn $
    14  *  @date $Date: 2005-04-29 02:25:10 $
     13 *  @version $Revision: 1.52 $ $Name: not supported by cvs2svn $
     14 *  @date $Date: 2005-05-19 05:18:20 $
    1515 *
    1616 *  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
     
    110110/** Create a psRegion with the specified attributes.
    111111 *
    112  * Uses psLib memory allocation functions to create a psRegion the
    113  * specified x0, x1, y0, and y1.
    114  *
    115  * @return psRegion* : Pointer to psRegion.
    116  *
    117  */
    118 psRegion* psRegionAlloc(
     112 * @return psRegion : a cooresponding psRegion.
     113 */
     114psRegion psRegionSet(
    119115    psF32 x0,                         ///< the first column of the region.
    120     psF32 x1,                         ///< the last column of the region.
     116    psF32 x1,                         ///< the last column of the region + 1.
    121117    psF32 y0,                         ///< the first row of the region.
    122     psF32 y1                          ///< the last row of the region.
     118    psF32 y1                          ///< the last row of the region + 1.
    123119);
    124120
     
    128124 *  shall be of the standard IRAF form '[x0:x1,y0:y1]'
    129125 *
    130  *  @return psRegion*:  A new psRegion struct, or NULL is not successful.
    131  */
    132 psRegion* psRegionFromString(
     126 *  @return psRegion:  A new psRegion struct, or NULL is not successful.
     127 */
     128psRegion psRegionFromString(
    133129    char* region                       ///< image rectangular region in the form '[x0:x1,y0:y1]'
    134130);
     
    140136 */
    141137char* psRegionToString(
    142     psRegion* region                   ///< the psRegion to convert to a string
     138    psRegion region                   ///< the psRegion to convert to a string
    143139);
    144140
     
    153149    psU32 numRows,                     ///< the desired number of rows in image
    154150    const psElemType type              ///< the desired datatype of the image
    155 );
    156 
    157 /** Makes a copy of a psImage
    158  *
    159  * @return psImage* Copy of the input psImage.  This may not be equal to the
    160  * output parameter
    161  *
    162  */
    163 psImage* psImageCopy(
    164     psImage* output,                   ///< if not NULL, a psImage that could be recycled.
    165     const psImage* input,              ///< the psImage to copy
    166     psElemType type                    ///< the desired datatype of the returned copy
    167151);
    168152
Note: See TracChangeset for help on using the changeset viewer.