IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Mar 20, 2009, 5:56:03 PM (17 years ago)
Author:
eugene
Message:

add ability to handle CTEMASK mode (combine like a flat; mask pixels below a minimum value; output a mask image)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ppMerge/src/ppMergeArguments.c

    r21365 r23463  
    170170    psMetadataAddS32(arguments, PS_LIST_TAIL, "-fringe-ysmooth", 0, "Number of smoothing regions in y", 0);
    171171
     172    /** CTEMASK construction parameters */
     173    psMetadataAddF32(arguments, PS_LIST_TAIL, "-cte-min", 0, "min allowed value for good CTE", NAN);
     174
    172175    /** Shutter construction parameters */
    173176    psMetadataAddS32(arguments, PS_LIST_TAIL, "-shutter-size", 0, "Size for shutter measurement regions", 0);
     
    268271      goto VALID;
    269272    }
     273    if (strcasecmp(typeStr, "CTEMASK") == 0) {
     274      type = PPMERGE_TYPE_CTEMASK;
     275      goto VALID;
     276    }
    270277    if (strcasecmp(typeStr, "MASK") == 0 ||
    271278        strcasecmp(typeStr, "DARKMASK") == 0 ||
     
    314321    VALUE_ARG_RECIPE_INT("-fringe-xsmooth", "FRINGE.XSMOOTH", S32, 0);
    315322    VALUE_ARG_RECIPE_INT("-fringe-ysmooth", "FRINGE.YSMOOTH", S32, 0);
     323
     324    /** CTEMASK construction parameters */
     325    VALUE_ARG_RECIPE_FLOAT("-cte-min",      "CTE.MIN",        F32);
    316326
    317327    /** Shutter construction parameters */
Note: See TracChangeset for help on using the changeset viewer.