Changeset 30440
- Timestamp:
- Jan 31, 2011, 2:15:58 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/ipp-20101205/ppStack/src/ppStackMatch.c
r30015 r30440 316 316 // Scale the input parameters 317 317 psVector *widthsCopy = psVectorCopy(NULL, widths, PS_TYPE_F32); // Copy of kernel widths 318 if (scale && !pmSubtractionParamsScale(&size, &footprint, widthsCopy, scaleRef, scaleMin, scaleMax)) { 319 psError(psErrorCodeLast(), false, "Unable to scale kernel parameters"); 320 psFree(fake); 321 psFree(optWidths); 322 psFree(conv); 323 psFree(widthsCopy); 324 if (threads > 0) { 325 pmSubtractionThreadsFinalize(); 326 } 327 return false; 328 } 318 319 pmSubtractionParamScaleOptions(scale, scaleRef, scaleMin, scaleMax); 320 321 // XXX EAM : the kernel scaling process has changed: the scale is now set 322 // inside pmSubtractionMatch after the normalization window is measured 323 324 // if (scale && !pmSubtractionParamsScale(&size, &footprint, widthsCopy, scaleRef, scaleMin, scaleMax)) { 325 // psError(psErrorCodeLast(), false, "Unable to scale kernel parameters"); 326 // psFree(fake); 327 // psFree(optWidths); 328 // psFree(conv); 329 // psFree(widthsCopy); 330 // if (threads > 0) { 331 // pmSubtractionThreadsFinalize(); 332 // } 333 // return false; 334 // } 329 335 330 336 if (!pmSubtractionMatch(NULL, conv, fake, readout, footprint, stride, regionSize, spacing,
Note:
See TracChangeset
for help on using the changeset viewer.
