IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Apr 21, 2007, 11:30:21 AM (19 years ago)
Author:
magnier
Message:

changed API for pmModelAdd

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_02_branch/psModules/src/objects/pmModel.h

    r12942 r12951  
    55 * @author EAM, IfA
    66 *
    7  * @version $Revision: 1.6.6.1 $ $Name: not supported by cvs2svn $
    8  * @date $Date: 2007-04-21 00:03:11 $
     7 * @version $Revision: 1.6.6.2 $ $Name: not supported by cvs2svn $
     8 * @date $Date: 2007-04-21 21:30:21 $
    99 * Copyright 2004 Maui High Performance Computing Center, University of Hawaii
    1010 */
     
    2626    PM_MODEL_BADARGS   ///< model fit called with invalid args
    2727} pmModelStatus;
     28
     29typedef enum {
     30    PM_MODEL_ADD_NONE   = 0x00,
     31    PM_MODEL_ADD_FUNC   = 0x01,
     32    PM_MODEL_ADD_RES0   = 0x02,
     33    PM_MODEL_ADD_RES1   = 0x04,
     34    PM_MODEL_ADD_FULL   = 0x07,
     35    PM_MODEL_ADD_SKY    = 0x08,
     36    PM_MODEL_ADD_CENTER = 0x10,
     37    PM_MODEL_ADD_NORM   = 0x20,
     38} pmModelAddMode;
    2839
    2940/** pmModel data structure
     
    91102 */
    92103bool pmModelAdd(
    93     psImage *image,   ///< The output image (float)
    94     psImage *mask,   ///< The image pixel mask (valid == 0)
    95     pmModel *model,   ///< The input pmModel
    96     bool center,   ///< A boolean flag that determines whether pixels are centered
    97     bool sky    ///< A boolean flag that determines if the sky is subtracted
     104    psImage *image,                     ///< The output image (float)
     105    psImage *mask,                      ///< The image pixel mask (valid == 0)
     106    pmModel *model,                     ///< The input pmModel
     107    pmModelAddMode mode              ///< mode to control how the model is added into the image
    98108);
    99 
    100109
    101110/** pmModelSub()
     
    110119 */
    111120bool pmModelSub(
    112     psImage *image,   ///< The output image (float)
    113     psImage *mask,   ///< The image pixel mask (valid == 0)
    114     pmModel *model,   ///< The input pmModel
    115     bool center,   ///< A boolean flag that determines whether pixels are centered
    116     bool sky    ///< A boolean flag that determines if the sky is subtracted
     121    psImage *image,                     ///< The output image (float)
     122    psImage *mask,                      ///< The image pixel mask (valid == 0)
     123    pmModel *model,                     ///< The input pmModel
     124    pmModelAddMode mode              ///< mode to control how the model is added into the image
    117125);
    118126
Note: See TracChangeset for help on using the changeset viewer.