IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Sep 26, 2005, 12:35:54 PM (21 years ago)
Author:
drobbin
Message:

Implemented, updated, fixed, debugged the CountPixelMask fxns and tests

File:
1 edited

Legend:

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

    r5089 r5137  
    99*  @author GLG, MHPCC
    1010*
    11 *  @version $Revision: 1.26 $ $Name: not supported by cvs2svn $
    12 *  @date $Date: 2005-09-22 02:32:00 $
     11*  @version $Revision: 1.27 $ $Name: not supported by cvs2svn $
     12*  @date $Date: 2005-09-26 22:35:53 $
    1313*
    1414*  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
     
    8585);
    8686
     87/** Returns the number of pixels in the image region which satisfy any of the mask bits.
     88 *
     89 *  An error (eg, invalid image, invalid region) results in a return value of -1.
     90 *  The vector must be U8.
     91 *
     92 *  @return long:       the number of pixels counted
     93 */
    8794long psImageCountPixelMask(
    88     psImage *mask,
    89     psMaskType value
     95    psImage *mask,                     ///< input image to count
     96    psRegion region,                   ///< input region of image
     97    psMaskType value                   ///< the mask value to satisfy
    9098);
    9199
Note: See TracChangeset for help on using the changeset viewer.