IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Sep 28, 2004, 1:26:49 PM (22 years ago)
Author:
desonia
Message:

changed function prototypes to match changes in the SDRS.

File:
1 edited

Legend:

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

    r1918 r1920  
    1010*  @author Robert DeSonia, MHPCC
    1111*
    12 *  @version $Revision: 1.14 $ $Name: not supported by cvs2svn $
    13 *  @date $Date: 2004-09-28 02:27:58 $
     12*  @version $Revision: 1.15 $ $Name: not supported by cvs2svn $
     13*  @date $Date: 2004-09-28 23:26:48 $
    1414*
    1515*  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     
    7676 *
    7777 *  Trim the specified image in-place, which involves shuffling the pixels
    78  *  around in memory.  The pixels in the region [x0:x1,y0:y1] (inclusive)
    79  *  shall consist the output image.
    80  *
    81  *  N.b., An image that has a parent image will be orphaned from the parent
    82  *  upon trimming.  Any children of the trimmed image will also be obliterated,
     78 *  around in memory.  The pixels in the region [col0:col1,row0:row1] shall consist
     79 *  the output image.  The column col1 and row row1 are NOT included in the range.
     80 *  In the event that x1 or y1 are non-positive, they shall be interpreted as
     81 *  being relative to the size of the parent image in that dimension.
     82 *
     83 *  If the entire specified subimage is not contained within the parent
     84 *  image, an error results and the return value will be NULL.
     85 *
     86 *  N.B. If the input psImage is a child of another psImage, no pixel data
     87 *  will be trimmed, rather it equivalent to calling psImageSubset.  If the input
     88 *  psImage is, however, a parent psImage, any children will be obliterated,
    8389 *  i.e., freed from memory.
    8490 *
     
    8793psImage* psImageTrim(
    8894    psImage* image,                    ///< image to trim
    89     int x0,                            ///< column of trim region's left boundary
    90     int x1,                            ///< column of trim region's right boundary
    91     int y0,                            ///< row of trim region's lower boundary
    92     int y1                             ///< row of trim region's upper boundary
     95    int col0,                          ///< column of trim region's left boundary
     96    int row0,                          ///< row of trim region's lower boundary
     97    int col1,                          ///< column of trim region's right boundary
     98    int row1                           ///< row of trim region's upper boundary
    9399);
    94100
Note: See TracChangeset for help on using the changeset viewer.