IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Sep 28, 2005, 3:15:38 PM (21 years ago)
Author:
drobbin
Message:

Added fxns psImageRow/Col and tests. Updated psList struct to add void *lock.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psLib/src/imageops/psImagePixelExtract.h

    r4590 r5174  
    88*  @author Robert DeSonia, MHPCC
    99*
    10 *  @version $Revision: 1.6 $ $Name: not supported by cvs2svn $
    11 *  @date $Date: 2005-07-21 02:39:57 $
     10*  @version $Revision: 1.7 $ $Name: not supported by cvs2svn $
     11*  @date $Date: 2005-09-29 01:15:38 $
    1212*
    1313*  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
     
    3232    PS_CUT_Y_NEG                       ///< Cut in the y dimension from top down.
    3333} psImageCutDirection;
     34
     35/** Extracts a single complete row from the image and returns it to the
     36 *  provided vector, allocating it if it is NULL.
     37 *
     38 *  @return psVector*:      The row data extracted from psImage input
     39 */
     40psVector *psImageRow(
     41    psVector *out,                     ///< specified vector to return
     42    const psImage *input,              ///< input image
     43    psU32 row                          ///< row number to extract
     44);
     45
     46/** Extracts a single complete column from the image and returns it to the
     47 *  provided vector, allocating it if it is NULL.
     48 *
     49 *  @return psVector*:      The column data extracted from psImage input
     50 */
     51psVector *psImageCol(
     52    psVector *out,                     ///< specified vector to return
     53    const psImage *input,              ///< input image
     54    psU32 column                       ///< column number to extract
     55);
    3456
    3557/** Extract pixels from rectlinear region to a vector (array of floats).
Note: See TracChangeset for help on using the changeset viewer.