IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Sep 27, 2009, 10:21:09 AM (17 years ago)
Author:
eugene
Message:

add a function to apply mask operations to the full image array

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branches/20090715/psLib/src/imageops/psImageMaskOps.h

    r21183 r25585  
    2222#include "psStats.h"
    2323#include "psPixels.h"
     24
     25/** Perform the mask opertion on all image pixels
     26 *
     27 *  The pixels are set by combining the existing pixel value and the given maskValue
     28 *  with a logical operation.  The allowed operations are =, AND, OR, and XOR.
     29 */
     30void psImageMaskPixels(psImage *image,
     31                       const char *op,
     32                       psImageMaskType maskValue);
    2433
    2534/** Sets the bits inside the region, ignoring pixels outside.
Note: See TracChangeset for help on using the changeset viewer.