Changeset 15706 for trunk/psModules/src/objects/pmSource.c
- Timestamp:
- Nov 27, 2007, 2:53:42 PM (18 years ago)
- File:
-
- 1 edited
-
trunk/psModules/src/objects/pmSource.c (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psModules/src/objects/pmSource.c
r15704 r15706 6 6 * @author EAM, IfA: significant modifications. 7 7 * 8 * @version $Revision: 1.4 4$ $Name: not supported by cvs2svn $9 * @date $Date: 2007-11-2 7 23:51:26$8 * @version $Revision: 1.45 $ $Name: not supported by cvs2svn $ 9 * @date $Date: 2007-11-28 00:53:42 $ 10 10 * 11 11 * Copyright 2004 Maui High Performance Computing Center, University of Hawaii … … 700 700 701 701 for (psS32 col = 0; col < source->pixels->numCols ; col++, vPix++, vWgt++) { 702 if ((vMsk != NULL) && *vMsk) { 702 if (vMsk) { 703 if (*vMsk) { 704 vMsk++; 705 continue; 706 } 703 707 vMsk++; 704 continue;705 708 } 706 709 … … 710 713 // radius is just a function of (xDiff, yDiff) 711 714 if (!VALID_RADIUS(xDiff, yDiff, R2)) { 712 if (vMsk != NULL)713 vMsk++;714 715 continue; 715 716 } … … 721 722 // XXX EAM : should this limit be user-defined? 722 723 if (PS_SQR(pDiff) < wDiff) { 723 if (vMsk != NULL)724 vMsk++;725 724 continue; 726 725 } … … 741 740 peakPixel = PS_MAX (*vPix, peakPixel); 742 741 numPixels++; 743 if (vMsk != NULL)744 vMsk++;745 742 } 746 743 }
Note:
See TracChangeset
for help on using the changeset viewer.
