IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Sep 8, 2008, 6:10:14 PM (18 years ago)
Author:
Paul Price
Message:

Discovered a problem with threaded implementation of pmDarkApply --- the polynomial is altered within pmDarkApplyScan, so it should not be global across threads. Checked and cleaned up the other threaded detrending functions.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psModules/src/detrend/pmFlatField.h

    r19299 r19432  
    55 * @author Paul Price, IfA
    66 *
    7  * @version $Revision: 1.13 $ $Name: not supported by cvs2svn $
    8  * @date $Date: 2008-08-30 02:28:07 $
     7 * @version $Revision: 1.14 $ $Name: not supported by cvs2svn $
     8 * @date $Date: 2008-09-09 04:10:14 $
    99 * Copyright 2004-2006 Institute for Astronomy, University of Hawaii
    1010 */
     
    2828                );
    2929
    30 bool pmFlatFieldScan_Threaded(psThreadJob *job);
    31 bool pmFlatFieldScan (psImage *inImage, psImage *inMask, psImage *flatImage, psImage *flatMask, psMaskType badFlag, int xOffset, int yOffset, int rowStart, int rowStop);
     30/// Thread entry point for flat-fielding
     31bool pmFlatFieldScan_Threaded(psThreadJob *job ///< Job to exectute
     32    );
     33
     34/// Flat-field a scan
     35bool pmFlatFieldScan(
     36    psImage *inImage,                   ///< Input image to correct
     37    psImage *inMask,                    ///< Input mask image
     38    const psImage *flatImage,           ///< Flat-field image
     39    const psImage *flatMask,            ///< Flat-field mask
     40    psMaskType badFlag,                 ///< Mask value to give bad pixels
     41    int xOffset, int yOffset,           ///< Offset between input and flat-field
     42    int rowStart, int rowStop           ///< Scan range
     43    );
    3244
    3345
Note: See TracChangeset for help on using the changeset viewer.