IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Nov 21, 2021, 10:37:06 AM (5 years ago)
Author:
eugene
Message:

set exptime map to 0.0 if there is no data

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branches/ipp-20211108/psModules/src/imcombine/pmStack.c

    r41919 r41921  
    16501650                combined->mask->data.PS_TYPE_IMAGE_MASK_DATA[y][x] = blankMaskBits; // probably not needed since it was set above.
    16511651                if (expmaps) {
    1652                     expmaps->image->data.F32[y][x] = NAN; // XXX should this value be NAN or 0?
    1653                     expmaps->variance->data.F32[y][x] = NAN;
     1652                    expmaps->image->data.F32[y][x] = 0.0; // XXX should this value be NAN or 0?
     1653                    expmaps->variance->data.F32[y][x] = 0.0;
    16541654                    expmaps->mask->data.PS_TYPE_IMAGE_MASK_DATA[y][x] = 0;
    16551655                }
Note: See TracChangeset for help on using the changeset viewer.