6 # ifdef LINSOLVERS_RETAIN_MEMORY
8 # pragma message("LINSOLVERS_RETAIN_MEMORY is not safe in a multithreaded environment and should be turned off!")
10 # warning LINSOLVERS_RETAIN_MEMORY is not safe in a multithreaded environment and should be turned off!
59 for (
int y=y0; y<y0+n; y++) {
60 for (
int x=x0; x<x0+n; x++) {
65 double pk = bg + dx*bx + dy*by + ht*exp(-((dx*dx+dy*dy)/(2.0*r*r)));
87 int width = 0, height = 0;
92 width = data -> get_Width()+1;
93 height = data -> get_Height()+1;
95 if (x<0 || x>width || y<0 || y>height) {
116 double info[LM_INFO_SZ];
123 NULL, info, NULL, NULL,
this);
137 double dr = sqrt(dx*dx + dy*dy);
QcepDoubleImageDataPtr data() const
void evaluate(double *parm, double *xv, int np, int nx)
void printMessage(QString msg, QDateTime ts=QDateTime::currentDateTime()) const
QxrdCenterFinder * m_CenterFinder
static void staticEvaluate(double *parm, double *xv, int np, int nx, void *adata)
double imageValue(double x, double y)
QSharedPointer< QcepDoubleImageData > QcepDoubleImageDataPtr