#include "tiff.hh"
#include "nelder_mead.hh"
#include "utils.hh"
#include <iostream>
#include <cmath>
Go to the source code of this file.
|
double | psf_ig2 (double x, double y, double const *p) |
| Point-spread function with integrated Gaussian.
|
|
double | likelihood (double const *i, int l, int w, double const *p) |
| negative Likelihood calculation for given parameter More...
|
|
double | fn (double const *p) |
| Function to be minimized.
|
|
void | process_image (double const *data, int w, int h) |
| Process a single 2D image. More...
|
|
int | main (int argc, char **argv) |
| Main function for localization.
|
|
|
double const * | fn_im |
| cropped square image data
|
|
int | fn_w |
| image width
|
|
unsigned | fn_cnt |
| count of function calls
|
|
◆ likelihood()
double likelihood |
( |
double const * |
i, |
|
|
int |
l, |
|
|
int |
w, |
|
|
double const * |
p |
|
) |
| |
negative Likelihood calculation for given parameter
- Parameters
-
i | image |
l | lateral size of subimage |
w | original image width |
p | parameters |
Definition at line 18 of file localization.cc.
◆ process_image()
void process_image |
( |
double const * |
data, |
|
|
int |
w, |
|
|
int |
h |
|
) |
| |
Process a single 2D image.
- Parameters
-
data | image data |
w | image width |
h | image height |
Definition at line 46 of file localization.cc.