IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jun 19, 2007, 4:22:26 PM (19 years ago)
Author:
Paul Price
Message:

Extensive changes to APIs to allow use of a nominated value to mask
against (the maskVal). Previously, the mask values were either
hard-coded (e.g., PM_MASK_SAT) or taken as anything non-zero. The
code is tested under psphot (which has similar changes) and does not
crash, but neither is it successful in marking all bad pixels (EAM
will investigate). For this reason, I have left the "gutter" pixels
(cell gaps) set to 0 instead of NAN in pmFPAMosaic.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psModules/src/camera/pmFPAMosaic.h

    r12696 r13898  
    44 * @author Paul Price, IfA
    55 *
    6  * @version $Revision: 1.7 $ $Name: not supported by cvs2svn $
    7  * @date $Date: 2007-03-30 21:12:56 $
     6 * @version $Revision: 1.8 $ $Name: not supported by cvs2svn $
     7 * @date $Date: 2007-06-20 02:22:26 $
    88 * Copyright 2005-2006 Institute for Astronomy, University of Hawaii
    99 */
     
    2222/// the pixels, if possible.
    2323bool pmChipMosaic(pmChip *target,       ///< Target chip --- may contain only a single cell
    24                   const pmChip *source,  ///< Source chip whose cells will be mosaicked
    25                   bool deepCopy         ///< require a deep copy (disregard 'nice' chip)
     24                  const pmChip *source, ///< Source chip whose cells will be mosaicked
     25                  bool deepCopy,        ///< Require a deep copy (disregard 'nice' chip)
     26                  psMaskType blank      ///< Mask value to give blank pixels
    2627    );
    2728
     
    3233/// CELL.X0 and CELL.Y0 offsets.  This is useful for getting an image of the FPA on the sky.  The mosaicking
    3334/// is done so as to avoid performing a deep copy of the pixels, if possible.
    34 bool pmFPAMosaic(pmFPA *target, ///< Target FPA --- may contain only a single chip with a single cell
    35                  const pmFPA *source,   ///< FPA whose chips and cells will be mosaicked
    36                  bool deepCopy          ///< require a deep copy (disregard 'nice' chip)
    37                 );                      //
     35bool pmFPAMosaic(pmFPA *target, ///< Target FPA --- may contain only a single chip with a single cell
     36                 const pmFPA *source,   ///< FPA whose chips and cells will be mosaicked
     37                 bool deepCopy,         ///< Require a deep copy (disregard 'nice' chip)
     38                 psMaskType blank       ///< Mask value to give blank pixels
     39                );
    3840/// @}
    3941#endif
Note: See TracChangeset for help on using the changeset viewer.