Changeset 14482 for trunk/ppSub/src/ppSubReadout.c
- Timestamp:
- Aug 13, 2007, 4:37:47 PM (19 years ago)
- File:
-
- 1 edited
-
trunk/ppSub/src/ppSubReadout.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ppSub/src/ppSubReadout.c
r14457 r14482 123 123 float xRegionSize = 0, yRegionSize = 0; // Size of iso-kernel regions 124 124 psRegion *region = NULL; // Iso-kernel region 125 if (isfinite(regionSize) ) {125 if (isfinite(regionSize) || regionSize == 0.0) { 126 126 xRegions = numCols / regionSize + 1; 127 127 yRegions = numRows / regionSize + 1; … … 158 158 memCheck(" find stamps"); 159 159 160 psTrace("ppSub", 3, "Extracting stamps...\n"); 161 if (!pmSubtractionExtractStamps(stamps, refRO->image, inRO->image, inRO->weight, 162 footprint, kernels)) { 163 psError(PS_ERR_UNKNOWN, false, "Unable to extract stamps."); 164 goto ERROR; 165 } 166 167 memCheck(" extract stamps"); 168 160 169 psTrace("ppSub", 3, "Calculating equation...\n"); 161 if (!pmSubtractionCalculateEquation(stamps, refRO->image, inRO->image, inRO->weight, 162 kernels, footprint)) { 170 if (!pmSubtractionCalculateEquation(stamps, kernels, footprint)) { 163 171 psError(PS_ERR_UNKNOWN, false, "Unable to calculate least-squares equation."); 164 172 goto ERROR;
Note:
See TracChangeset
for help on using the changeset viewer.
