IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jun 19, 2008, 4:54:04 PM (18 years ago)
Author:
eugene
Message:

skip masked pixels when binning

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ppImage/src/ppImageRebinReadout.c

    r15944 r18216  
    8787            for (int yIn = yOut * dY; (yIn < yOut * dY + dY) && (yIn < nY); yIn ++) {
    8888                for (int xIn = xOut * dX; (xIn < xOut * dX + dX) && (xIn < nX); xIn ++) {
     89                    if (input->mask && input->mask->data.U8[yIn][xIn]) continue;
    8990                    value += input->image->data.F32[yIn][xIn];
    9091                    nPix ++;
Note: See TracChangeset for help on using the changeset viewer.