Changeset 35560 for trunk/psModules/src/objects/pmSourceUtils.c
- Timestamp:
- May 9, 2013, 12:19:21 PM (13 years ago)
- File:
-
- 1 edited
-
trunk/psModules/src/objects/pmSourceUtils.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psModules/src/objects/pmSourceUtils.c
r34403 r35560 46 46 47 47 /****************************************************************************** 48 pmSourceModelGuess(source, model ): This function allocates a new49 pmModel structure based on the given modelType specified in the argument list. 50 The corresponding pmModelGuess function is returned, and used to51 supply the values of theparams array in the pmModel structure.48 pmSourceModelGuess(source, model, maskVal, markVal): This function allocates a new 49 pmModel structure based on the given modelType specified in the argument list. The 50 corresponding pmModelGuess function is returned, and used to supply the values of the 51 params array in the pmModel structure. 52 52 53 53 XXX: Many parameters are based on the src->moments structure, which is in … … 55 55 functions will be in image, not subImage coords. Remember this. 56 56 *****************************************************************************/ 57 pmModel *pmSourceModelGuess(pmSource *source, 58 pmModelType modelType) 57 pmModel *pmSourceModelGuess(pmSource *source, pmModelType modelType, psImageMaskType maskVal, psImageMaskType markVal) 59 58 { 60 59 psTrace("psModules.objects", 10, "---- %s() begin ----\n", __func__); … … 65 64 pmModel *model = pmModelAlloc(modelType); 66 65 67 if (!model->modelGuess(model, source )) {66 if (!model->modelGuess(model, source, maskVal, markVal)) { 68 67 psFree (model); 69 68 return NULL;
Note:
See TracChangeset
for help on using the changeset viewer.
