IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 15938


Ignore:
Timestamp:
Dec 27, 2007, 6:37:10 PM (18 years ago)
Author:
eugene
Message:

add hack min limit on input pixels

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psLib/src/imageops/psImageBackground.c

    r14922 r15938  
    6666        n++;
    6767    }
     68    if (n < 0.01*Nsubset) {
     69        psLogMsg ("psLib", PS_LOG_INFO, "too few data points");
     70        psFree (values);
     71        return false;
     72    }
     73
    6874    values->n = n;
    6975
Note: See TracChangeset for help on using the changeset viewer.