IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 16681


Ignore:
Timestamp:
Feb 26, 2008, 4:25:10 PM (18 years ago)
Author:
Paul Price
Message:

Set image value to what was actually determined! Without this, the images are blank!

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psModules/src/imcombine/pmStack.c

    r16629 r16681  
    88 *  @author GLG, MHPCC
    99 *
    10  *  @version $Revision: 1.24 $ $Name: not supported by cvs2svn $
    11  *  @date $Date: 2008-02-23 03:19:34 $
     10 *  @version $Revision: 1.25 $ $Name: not supported by cvs2svn $
     11 *  @date $Date: 2008-02-27 02:25:10 $
    1212 *  Copyright 2004-2007 Institute for Astronomy, University of Hawaii
    1313 *
     
    311311              }
    312312          }
    313           if (useVariance) {
     313          if (useVariance && safe) {
    314314              // Use variance to check that the two are consistent
    315315              float diff = pixelData->data.F32[0] - pixelData->data.F32[1];
     
    381381    }
    382382
     383    image->data.F32[y][x] = imageValue;
     384    mask->data.PS_TYPE_MASK_DATA[y][x] = maskValue;
     385    if (variance) {
     386        variance->data.F32[y][x] = varianceValue;
     387    }
     388
    383389    return;
    384390}
Note: See TracChangeset for help on using the changeset viewer.