- Timestamp:
- Sep 2, 2012, 1:10:10 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/ipp-20120805/psphot/src/psphotVisual.c
r34368 r34378 262 262 } 263 263 264 static psImage *posImage = NULL; 265 static psImage *delImage = NULL; 266 264 267 bool psphotVisualShowImage (pmReadout *readout) { 265 268 … … 277 280 psphotVisualScaleImage (kapa, readout->variance, readout->mask, "variance", 1.0, 1); 278 281 psphotVisualScaleImage (kapa, readout->image, readout->mask, "image", sqrt(factor), 0); 282 283 if (posImage == NULL) { 284 posImage = psImageCopy (NULL, readout->image, PS_TYPE_F32); 285 } 279 286 280 287 pmVisualAskUser(NULL); … … 2580 2587 } 2581 2588 2582 if ( reshow) {2589 if (false && reshow) { 2583 2590 psphotVisualShowMask (myKapa, readout->mask, "mask", 2); 2584 2591 psphotVisualScaleImage (myKapa, readout->variance, readout->mask, "variance", 1.0, 1); 2585 2592 } 2586 psphotVisualScaleImage (myKapa, readout->image, readout->mask, "resid", sqrt(factor), 0); 2593 2594 if (posImage) { 2595 delImage = (psImage *) psBinaryOp(delImage, posImage, "-", readout->image); 2596 psphotVisualScaleImage (myKapa, posImage, readout->mask, "posimage", sqrt(factor), 0); 2597 psphotVisualScaleImage (myKapa, delImage, readout->mask, "delimage", sqrt(factor), 2); 2598 } 2599 2600 psphotVisualScaleImage (myKapa, readout->image, readout->mask, "resid", sqrt(factor), 1); 2587 2601 2588 2602 pmVisualAskUser(NULL);
Note:
See TracChangeset
for help on using the changeset viewer.
