IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jul 20, 2007, 2:40:51 PM (19 years ago)
Author:
Paul Price
Message:

Adding check for NAN in pixels to combine.

File:
1 edited

Legend:

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

    r13871 r14351  
    247247                }
    248248                #endif
     249
    249250                pixelsData[r] = image->data.F32[yIn][xIn];
     251                if (isnan(pixelsData[r])) {
     252                    maskData[r] = 1;
     253                    continue;
     254                }
     255
    250256                if (params->weights) {
    251257                    weightsData[r] = readout->weight->data.F32[yIn][xIn];
Note: See TracChangeset for help on using the changeset viewer.