Changeset 8246 for trunk/psModules/src/imcombine/pmImageCombine.c
- Timestamp:
- Aug 8, 2006, 4:37:08 PM (20 years ago)
- File:
-
- 1 edited
-
trunk/psModules/src/imcombine/pmImageCombine.c (modified) (11 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psModules/src/imcombine/pmImageCombine.c
r8004 r8246 8 8 * @author GLG, MHPCC 9 9 * 10 * @version $Revision: 1. 5$ $Name: not supported by cvs2svn $11 * @date $Date: 2006-0 7-28 03:21:19$10 * @version $Revision: 1.6 $ $Name: not supported by cvs2svn $ 11 * @date $Date: 2006-08-09 02:37:07 $ 12 12 * 13 13 * XXX: pmRejectPixels() has a known bug with the pmImageTransform() call. … … 50 50 PS_ASSERT_PTR_NON_NULL(images, combine); 51 51 psU32 numImages = images->n; 52 psTrace(" ImageCombine.pmCombineImages", 3, "Calling pmCombineImages(%d)\n", images->n);52 psTrace("psModules.imcombine", 3, "Calling pmCombineImages(%d)\n", images->n); 53 53 54 54 if (errors != NULL) { … … 297 297 psFree(qpPtr); 298 298 299 psTrace(" ImageCombine.pmCombineImages", 3, "Exiting pmCombineImages(%d)\n", images->n);299 psTrace("psModules.imcombine", 3, "Exiting pmCombineImages(%d)\n", images->n); 300 300 return(combine); 301 301 } … … 312 312 ) 313 313 { 314 psTrace(" ImageCombine.CalcGradient", 4, "Calling CalcGradient(%d, %d)\n", x, y);314 psTrace("psModules.imcombine", 4, "Calling CalcGradient(%d, %d)\n", x, y); 315 315 int num = 0; 316 316 psVector *pixels = psVectorAlloc(8, PS_TYPE_F32); // Array of pixels … … 365 365 psFree(mask); 366 366 367 psTrace(" ImageCombine.CalcGradient", 4, "Exiting CalcGradient(%d, %d)\n", x, y);367 psTrace("psModules.imcombine", 4, "Exiting CalcGradient(%d, %d)\n", x, y); 368 368 return(median / image->data.F32[y][x]); 369 369 } … … 382 382 psPlaneTransform *myOutToIn) 383 383 { 384 psTrace(" ImageCombine.DetermineRegion", 4, "Calling DetermineRegion()\n");384 psTrace("psModules.imcombine", 4, "Calling DetermineRegion()\n"); 385 385 psRegion myRegion; 386 386 myRegion.x0 = PS_MAX_F32; … … 457 457 } 458 458 459 psTrace(" ImageCombine.DetermineRegion", 4, "Exiting DetermineRegion()\n");459 psTrace("psModules.imcombine", 4, "Exiting DetermineRegion()\n"); 460 460 return(myRegion); 461 461 } … … 466 466 static psImage *ImageConvertF32(psImage *image) 467 467 { 468 psTrace(" ImageCombine.ImageConvertF32", 4, "Calling ImageConvertF32()\n");468 psTrace("psModules.imcombine", 4, "Calling ImageConvertF32()\n"); 469 469 psImage *imgF32 = psImageAlloc(image->numCols, image->numRows, PS_TYPE_F32); 470 470 … … 475 475 } 476 476 477 psTrace(" ImageCombine.ImageConvertF32", 4, "Exiting ImageConvertF32()\n");477 psTrace("psModules.imcombine", 4, "Exiting ImageConvertF32()\n"); 478 478 return(imgF32); 479 479 } … … 504 504 ) 505 505 { 506 psTrace(" ImageCombine.pmRejectPixels", 3, "Calling pmRejectPixels()\n");506 psTrace("psModules.imcombine", 3, "Calling pmRejectPixels()\n"); 507 507 PS_ASSERT_PTR_NON_NULL(images, NULL); 508 508 for (psS32 im = 0 ; im < images->n ; im++) { … … 663 663 psFree(inCoords); 664 664 psFree(outCoords); 665 psTrace(" ImageCombine.pmRejectPixels", 3, "Exiting pmRejectPixels()\n");665 psTrace("psModules.imcombine", 3, "Exiting pmRejectPixels()\n"); 666 666 return(rejects); 667 667 }
Note:
See TracChangeset
for help on using the changeset viewer.
