Changeset 25754 for trunk/psModules/src/objects/pmGrowthCurveGenerate.c
- Timestamp:
- Oct 2, 2009, 3:11:32 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/psModules/src/objects/pmGrowthCurveGenerate.c
r23989 r25754 65 65 66 66 // use the center of the center pixel of the image 67 // 0.5 PIX: is this offset needed? probably -- the psf model uses 0.5,0.5 as the center, double check 67 68 float xc = (int)(ix*readout->image->numCols + 0.5*readout->image->numCols) + readout->image->col0 + 0.5; 68 69 float yc = (int)(iy*readout->image->numRows + 0.5*readout->image->numRows) + readout->image->row0 + 0.5; … … 195 196 return NULL; 196 197 } 197 psImageKeepCircle (mask, xc, yc, radius, "AND", PS_NOT_IMAGE_MASK(markVal)); 198 psImageMaskPixels (mask, "AND", PS_NOT_IMAGE_MASK(markVal)); // clear the circular mask 198 199 199 200 // the 'ignore' mode is for testing
Note:
See TracChangeset
for help on using the changeset viewer.
