Changeset 35587
- Timestamp:
- May 14, 2013, 3:53:26 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
tags/ipp-20130307/psModules/src/detrend/pmDark.c
- Property svn:mergeinfo set to
r34800 r35587 383 383 } 384 384 values_set->data[i] = values; 385 } 386 385 psFree(orders); 386 } 387 387 388 // retrieve the norm vector, if supplied 388 389 psVector *norm = psMetadataLookupPtr(&mdok, output->analysis, "DARK.NORM"); … … 433 434 } 434 435 pmReadout *readout = inputs->data[r]; // Input readout 436 if ((!readout)||(!readout->image)) { 437 mask->data.PS_TYPE_VECTOR_MASK_DATA[r] = 0xff; 438 continue; 439 } 435 440 int yIn = i - readout->row0; // y position on input readout 436 441 int xIn = j - readout->col0; // x position on input readout … … 504 509 psFree(mask); 505 510 511 for (int i = 0; i < max_orders->n; i++) { 512 psFree(poly_set->data[i]); 513 psArray *values = values_set->data[i]; 514 for (int j = 0; j < values->n; j++) { 515 psFree(values->data[j]); 516 } 517 psFree(values_set->data[i]); 518 } 519 psFree(values_set); 520 psFree(poly_set); 521 psFree(logL); 522 506 523 return true; 507 524 }
Note:
See TracChangeset
for help on using the changeset viewer.
