CC Localization
Classes | Typedefs | Functions | Variables
loc1.cc File Reference
#include "tiff.hh"
#include "nelder_mead.hxx"
#include "utils.hh"
#include <iostream>
#include <cmath>
Include dependency graph for loc1.cc:

Go to the source code of this file.

Classes

class  Likelihood
 Functor for likelihood calculation. More...
 
struct  Particle
 Detected particle. More...
 

Typedefs

typedef std::array< double, 5 > param_t
 Type for fitting parameters.
 

Functions

double psf_ig2 (double x, double y, param_t const &p)
 Point-spread function with integrated Gaussian.
 
std::vector< Particleprocess_image (double const *data, int w, int h)
 Process a single 2D image. More...
 
int main (int argc, char **argv)
 Main function for localization.
 

Variables

double i2p = 3.6
 intensity to photon scale
 
double plsz = 80
 pixel size in nm
 
int fwr = 4
 fitting window range
 

Detailed Description

Author
Chun-Chung Chen <cjj@u.nosp@m..was.nosp@m.hingt.nosp@m.on.e.nosp@m.du>

Definition in file loc1.cc.

Function Documentation

◆ process_image()

std::vector<Particle> process_image ( double const *  data,
int  w,
int  h 
)

Process a single 2D image.

Parameters
dataimage data
wimage width
himage height

Definition at line 62 of file loc1.cc.