IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 32275


Ignore:
Timestamp:
Sep 1, 2011, 8:32:11 AM (15 years ago)
Author:
bills
Message:

in censorSources: if x or y of source is NAN censor it.
(This has been used in the production tag since 2011-06-25)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • tags/ipp-20110622/magic/remove/src/streaksremove.c

    r30405 r32275  
    976976
    977977            psImageMaskType mask;
    978             if ((x >= maskImage->numCols) || (y >= maskImage->numRows) || (x <  0) || (y < 0)) {
     978            if ((x >= maskImage->numCols) || (y >= maskImage->numRows) || (x <  0) || (y < 0) || isnan(x) || isnan(y)) {
    979979                mask = maskStreak;
    980980            } else {
Note: See TracChangeset for help on using the changeset viewer.