- Timestamp:
- Jun 6, 2011, 1:56:22 PM (15 years ago)
- Location:
- branches/czw_branch/20110406
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/czw_branch/20110406
- Property svn:mergeinfo changed
-
branches/czw_branch/20110406/psphot
- Property svn:mergeinfo changed
/branches/eam_branches/ipp-20110404/psphot (added) merged: 31313-31314,31328,31337,31362,31364,31381,31384,31437,31444
- Property svn:mergeinfo changed
-
branches/czw_branch/20110406/psphot/src/psphotRadiusChecks.c
r29936 r31606 184 184 bool psphotSetRadiusModel (pmModel *model, pmReadout *readout, pmSource *source, psImageMaskType markVal, bool deep) { 185 185 186 psF32 *PAR = model->params->data.F32; 187 188 pmMoments *moments = source->moments; 189 if (moments == NULL) return false; 186 pmPeak *peak = source->peak; 190 187 191 188 // set the fit radius based on the object flux limit and the model … … 199 196 200 197 // redefine the pixels if needed 201 pmSourceRedefinePixels (source, readout, PAR[PM_PAR_XPOS], PAR[PM_PAR_YPOS], model->fitRadius);202 203 // set the mask to flag the excluded pixels 204 psImageKeepCircle (source->maskObj, PAR[PM_PAR_XPOS], PAR[PM_PAR_YPOS], model->fitRadius, "OR", markVal);205 return true; 206 } 198 pmSourceRedefinePixels (source, readout, peak->xf, peak->yf, model->fitRadius); 199 200 // set the mask to flag the excluded pixels 201 psImageKeepCircle (source->maskObj, peak->xf, peak->yf, model->fitRadius, "OR", markVal); 202 return true; 203 }
Note:
See TracChangeset
for help on using the changeset viewer.
