IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jun 16, 2005, 2:11:08 PM (21 years ago)
Author:
drobbin
Message:

* empty log message *

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psLib/src/collections/psPixels.h

    r4214 r4293  
    77 *  @author Robert DeSonia, MHPCC
    88 *
    9  *  @version $Revision: 1.5 $ $Name: not supported by cvs2svn $
    10  *  @date $Date: 2005-06-11 02:19:05 $
     9 *  @version $Revision: 1.6 $ $Name: not supported by cvs2svn $
     10 *  @date $Date: 2005-06-17 00:11:02 $
    1111 *
    1212 *  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
     
    2121/// @{
    2222
     23/** Data structure for storing psPixel coordinates  */
    2324typedef struct
    2425{
    25     psS32 x;
    26     psS32 y;
     26    psS32 x;                           ///< x coordinate
     27    psS32 y;                           ///< y coordinate
    2728}
    2829psPixelCoord;
     
    3233 *  Usually an image mask is the best way to carry information about what
    3334 *  pixels mean what. However, in the case where the number of pixels in which
    34  *  we are interested is limited, it is more efficient to simply carry a list
     35 *  we are interested is limited, it is more efficient to simply carry a list
    3536 *  of pixels. An example of this is in the image combination code, where we
    3637 *  want to perform an operation on a relatively small fraction of pixels, and
    37  *  it is inefficient to go through an entire mask image checking each pixel.
     38 *  it is inefficient to go through an entire mask image checking each pixel.
    3839 *
    3940 */
    4041typedef struct
    4142{
    42     int n;
    43     int nalloc;
    44     psPixelCoord* data;
     43    int n;                             ///< Number in usa
     44    int nalloc;                        ///< Number allocated
     45    psPixelCoord* data;                ///< The pixel coordinates
    4546}
    4647psPixels;
     
    136137);
    137138
    138 /** Prints a psPixels to specified destination. */
     139/** Prints a psPixels to specified destination.
     140 * 
     141 *  @return bool:    True if successful.
     142*/
    139143bool p_psPixelsPrint(
    140     FILE *fd,
    141     psPixels* pixels,
    142     const char *name
     144    FILE *fd,                          ///< destination file descriptor
     145    psPixels* pixels,                  ///< psPixels to print
     146    const char *name                   ///< printf-style format of header line
    143147);
    144148
Note: See TracChangeset for help on using the changeset viewer.