psMinimizeLMM.h File Reference

#include "psVector.h"
#include "psMemory.h"
#include "psArray.h"
#include "psImage.h"
#include "psMatrix.h"
#include "psPolynomial.h"
#include "psSpline.h"
#include "psStats.h"
#include "psTrace.h"
#include "psError.h"
#include "psConstants.h"

Include dependency graph for psMinimizeLMM.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  psMinimization
 A data structure for minimization routines. More...
struct  psMinConstraint
 A data structure for minimization routines. More...

Defines

#define PS_DETERMINE_BRACKET_STEP_SIZE   0.10
#define PS_MAX_LMM_ITERATIONS   100
#define PS_MAX_MINIMIZE_ITERATIONS   100
#define P_PSMINIMIZATION_SET_MAXITER(m, val)   *(int*)&m->maxIter = val
#define P_PSMINIMIZATION_SET_TOL(m, val)   *(float*)&m->tol = val

Typedefs

typedef float(*) psMinimizeLMChi2Func (psVector *deriv, const psVector *params, const psVector *x)
 Specifies the format of a user-defined function that the general Levenberg- Marquardt minimizer routine will accept.
typedef bool(*) psMinimizeLMLimitFunc (psMinConstraintMode mode, int nParam, float *params, float *beta)
 Specifies the format of a user-defined function which check the parameters against the allowed limits.

Enumerations

enum  psMinConstraintMode { PS_MINIMIZE_BETA_LIMIT, PS_MINIMIZE_PARAM_MIN, PS_MINIMIZE_PARAM_MAX }

Functions

psMinConstraintpsMinConstraintAlloc ()
psMinimizationpsMinimizationAlloc (int maxIter, float tol)
 Allocates a psMinimization structure.
bool psMemCheckMinimization (psPtr ptr)
bool psMinimizeLMChi2 (psMinimization *min, psImage *covar, psVector *params, psMinConstraint *constraint, const psArray *x, const psVector *y, const psVector *yWt, psMinimizeLMChi2Func func)
 Minimizes a specified function based on the Levenberg-Marquardt method.
bool psMinimizeGaussNewtonDelta (psVector *delta, const psVector *params, const psVector *paramMask, const psArray *x, const psVector *y, const psVector *yErr, psMinimizeLMChi2Func func)
psF32 p_psMinLM_SetABX (psImage *alpha, psVector *beta, const psVector *params, const psVector *paramMask, const psArray *x, const psVector *y, const psVector *dy, psMinimizeLMChi2Func func)
 Function used to set parameters for generating "best guess" in minimizing Chi-Squared value.
psBool p_psMinLM_GuessABP (psImage *Alpha, psVector *Beta, psVector *Params, const psImage *alpha, const psVector *beta, const psVector *params, const psVector *paramMask, psMinimizeLMLimitFunc checkLimits, psF32 lambda)


Generated on Fri Feb 2 22:25:26 2007 for pslib by  doxygen 1.5.1