IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 31203 for trunk/psModules


Ignore:
Timestamp:
Apr 6, 2011, 1:15:47 PM (15 years ago)
Author:
watersc1
Message:

Updates to ppStack to allow CONVOLVE=FALSE stacks to be generated

Location:
trunk/psModules/src/imcombine
Files:
2 edited

Legend:

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

    r31153 r31203  
    3737# if (0)
    3838#define TESTING                         // Enable test output
    39 #define TEST_X 340                       // x coordinate to examine
    40 #define TEST_Y 938                       // y coordinate to examine
     39#define TEST_X 3145                       // x coordinate to examine
     40#define TEST_Y 2334                       // y coordinate to examine
    4141#define TEST_RADIUS 0.5                 // Radius to examine
    4242# endif
  • trunk/psModules/src/imcombine/pmStackReject.c

    r30622 r31203  
    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      psPixels *out = psPixelsCopy(NULL,in);
     130      return out;
     131    }
     132   
    127133    PS_ASSERT_ARRAY_NON_NULL(subRegions, NULL);
    128134    PS_ASSERT_ARRAY_NON_NULL(subKernels, NULL);
Note: See TracChangeset for help on using the changeset viewer.