IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
May 5, 2011, 10:11:07 AM (15 years ago)
Author:
eugene
Message:

merging updates from trunk

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branches/ipp-20110404/psModules/src/imcombine/pmStackReject.c

    r30622 r31443  
    125125    PS_ASSERT_FLOAT_LARGER_THAN_OR_EQUAL(threshold, 0.0, NULL);
    126126    PS_ASSERT_FLOAT_LESS_THAN_OR_EQUAL(threshold, 1.0, NULL);
     127
     128    if (!subRegions || !subKernels) {
     129      psTrace("psModules.imcombine",2,"Do not have the necessary kernels and regions, returning input pixels.");
     130      psPixels *out = psPixelsCopy(NULL,in);
     131      return out;
     132    }
     133   
    127134    PS_ASSERT_ARRAY_NON_NULL(subRegions, NULL);
    128135    PS_ASSERT_ARRAY_NON_NULL(subKernels, NULL);
Note: See TracChangeset for help on using the changeset viewer.