IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 41880


Ignore:
Timestamp:
Nov 3, 2021, 12:05:14 PM (5 years ago)
Author:
eugene
Message:

fix build errors in pmStackCombineByPercentile

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branches/psModules.20211028/src/imcombine/pmStack.c

    r41879 r41880  
    16491649                combined->mask->data.PS_TYPE_IMAGE_MASK_DATA[y][x] = blankMaskBits; // probably not needed since it was set above.
    16501650                if (expmaps) {
    1651                     expmaps->image->F32[y][x] = NAN; // XXX should this value be NAN or 0?
    1652                     expmaps->variance->F32[y][x] = NAN;
    1653                     expmaps->mask->PS_TYPE_IMAGE_MASK_DATA[y][x] = 0;
     1651                    expmaps->image->data.F32[y][x] = NAN; // XXX should this value be NAN or 0?
     1652                    expmaps->variance->data.F32[y][x] = NAN;
     1653                    expmaps->mask->data.PS_TYPE_IMAGE_MASK_DATA[y][x] = 0;
    16541654                }
    16551655                continue;
     
    16981698                expmaps->image->data.F32[y][x] = sum;
    16991699            }
    1700             if (expNum) { expmaps->mask->data.F32[y][x] = Ne - Ns; }
     1700            if (expmaps) { expmaps->mask->data.F32[y][x] = Ne - Ns; }
    17011701        }
    17021702    }
    17031703    psFree(pixelData);
    1704     psFree(pixelVariance);
     1704    psFree(pixelVariances);
    17051705    psFree(expTime);
    17061706    return (true);
Note: See TracChangeset for help on using the changeset viewer.