IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Oct 5, 2005, 4:41:07 PM (21 years ago)
Author:
drobbin
Message:

Created ImageMaskOps file. started ImageGrowMask fxn.

File:
1 edited

Legend:

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

    r5064 r5227  
    88 *  @author Robert DeSonia, MHPCC
    99 *
    10  *  @version $Revision: 1.13 $ $Name: not supported by cvs2svn $
    11  *  @date $Date: 2005-09-16 23:56:48 $
     10 *  @version $Revision: 1.14 $ $Name: not supported by cvs2svn $
     11 *  @date $Date: 2005-10-06 02:41:07 $
    1212 *
    1313 *  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
     
    8787    const char *op                     ///< the operation to perform for overlay
    8888);
    89 /** Sets the bits inside the region, ignoring pixels outside.
    90  *
    91  *  The pixels are set by combining the existing pixel value and the given maskValue
    92  *  with a logical operation.  The allowed operations are =, AND, OR, and XOR.
    93  */
    94 void psImageMaskRegion(
    95     psImage *image,                    ///< the image to set
    96     psRegion region,                   ///< the specified region
    97     const char *op,                    ///< the logical operation
    98     psMaskType maskValue               ///< the specified bits
    99 );
    100 
    101 /** Sets the bits outside the region, ignoring pixels inside.
    102  *
    103  *  The pixels are set by combining the existing pixel value and the given maskValue
    104  *  with a logical operation.  The allowed operations are =, AND, OR, and XOR.
    105  */
    106 void psImageKeepRegion(
    107     psImage *image,                    ///< the image to set
    108     psRegion region,                   ///< the specified region
    109     const char *op,                    ///< the logical operation
    110     psMaskType maskValue               ///< the specified bits
    111 );
    112 
    113 /** Sets the bits inside the circle, ignoring the pixels outside.
    114  *
    115  *  The pixel values are set by combining the existing pixel value and the given maskValue
    116  *  with a logical operation.  The allowed operations are =, AND, OR, and XOR.
    117  */
    118 void psImageMaskCircle(
    119     psImage *image,                    ///< the image to set
    120     double x,                          ///< the x coordinate of the circle's center
    121     double y,                          ///< the y coordinate of the circle's center
    122     double radius,                     ///< the radius of the specified circle
    123     const char *op,                    ///< the logical operation
    124     psMaskType maskValue               ///< the specified bits
    125 );
    126 
    127 /** Sets the bits outside the circle, ignoring the pixels inside.
    128  *
    129  *  The pixel values are set by combining the existing pixel value and the given maskValue
    130  *  with a logical operation.  The allowed operations are =, AND, OR, and XOR.
    131  */
    132 void psImageKeepCircle(
    133     psImage *image,                    ///< the image to set
    134     double x,                          ///< the x coordinate of the circle's center
    135     double y,                          ///< the y coordinate of the circle's center
    136     double radius,                     ///< the radius of the specified circle
    137     const char *op,                    ///< the logical operation
    138     psMaskType maskValue               ///< the specified bits
    139 );
    14089
    14190#endif // #ifndef PS_IMAGE_PIXEL_MANIP_H
Note: See TracChangeset for help on using the changeset viewer.