IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Mar 6, 2008, 12:49:56 PM (18 years ago)
Author:
Paul Price
Message:

Fixing bugs in fake convolution elements.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ppStack/src/ppStackMatch.c

    r16851 r16852  
    125125    // Fake the convolution
    126126    {
    127         psRegion *region = psRegionAlloc(0, 0, readout->image->numCols - 1, readout->image->numRows - 1);
    128         psMetadataAddPtr(output->analysis, PS_LIST_TAIL, PM_SUBTRACTION_ANALYSIS_REGION, PS_META_DUPLICATE_OK,
    129                          "Fake subtraction region", region);
     127        psRegion *region = psRegionAlloc(0, readout->image->numCols - 1, 0, readout->image->numRows - 1);
     128        psMetadataAddPtr(output->analysis, PS_LIST_TAIL, PM_SUBTRACTION_ANALYSIS_REGION,
     129                         PS_DATA_REGION | PS_META_DUPLICATE_OK, "Fake subtraction region", region);
    130130        psFree(region);
    131131        pmSubtractionKernels *kernels = pmSubtractionKernelsPOIS(size, 0, PM_SUBTRACTION_MODE_1);
     
    138138            }
    139139        }
    140         psMetadataAddPtr(output->analysis, PS_LIST_TAIL, PM_SUBTRACTION_ANALYSIS_KERNEL, PS_META_DUPLICATE_OK,
    141                          "Fake subtraction kernel", kernels);
     140        psMetadataAddPtr(output->analysis, PS_LIST_TAIL, PM_SUBTRACTION_ANALYSIS_KERNEL,
     141                         PS_DATA_UNKNOWN | PS_META_DUPLICATE_OK, "Fake subtraction kernel", kernels);
    142142        psFree(kernels);
    143143    }
Note: See TracChangeset for help on using the changeset viewer.