ThreeB 1.1
Classes | Namespaces | Defines | Typedefs | Functions
sampled_multispot.h File Reference
#include <vector>
#include <cvd/image_ref.h>
#include <tr1/tuple>
#include <TooN/TooN.h>
#include "drift.h"
#include "spot_with_background.hh"

Go to the source code of this file.

Classes

struct  SampledMultispot::SpotWithBackgroundMasked
 This class compute the log-diff-hess probability of a spot, given an image patch and background due to existing spots. More...
struct  SampledMultispot::SpotWithBackgroundMasked
 This class compute the log-diff-hess probability of a spot, given an image patch and background due to existing spots. More...
class  SampledMultispot::GibbsSampler
 Draw samples from the spot states given the spots positions and some data. More...
class  SampledMultispot::GibbsSampler2
 Gibbs sampling class which masks spots to reduce computation. More...

Namespaces

namespace  SampledMultispot

Defines

#define SWBG_NAME   SpotWithBackground
#define SWBG_NAME   SpotWithBackgroundMasked
#define SWBG_HAVE_MASK

Typedefs

typedef char State

Functions

double SampledMultispot::intensity (double i)
double SampledMultispot::intensity (const pair< double, Vector< 4 > > &i)
template<class T >
void SampledMultispot::remove_spot (vector< vector< double > > &current_sample_intensities, const vector< T > &spot_intensities, const vector< State > &spot_sample)
template<class T >
void SampledMultispot::add_spot (vector< vector< double > > &current_sample_intensities, const vector< T > &spot_intensities, const vector< State > &spot_sample)
template<class T >
void SampledMultispot::remove_spot (vector< vector< double > > &current_sample_intensities, const vector< T > &spot_intensities, const vector< State > &spot_sample, const vector< int > &mask)
template<class T >
void SampledMultispot::add_spot (vector< vector< double > > &current_sample_intensities, const vector< T > &spot_intensities, const vector< State > &spot_sample, const vector< int > &mask)
template<class T >
void SampledMultispot::remove_spot (vector< vector< double > > &current_sample_intensities, const vector< vector< T > > &spot_intensities, const vector< State > &spot_sample, const vector< int > &mask)
template<class T >
void SampledMultispot::add_spot (vector< vector< double > > &current_sample_intensities, const vector< vector< T > > &spot_intensities, const vector< State > &spot_sample, const vector< int > &mask)
vector< double > SampledMultispot::compute_spot_intensity (const vector< ImageRef > &pixels, const Vector< 4 > &params)
vector< pair< double, Vector< 4 > > > SampledMultispot::compute_spot_intensity_derivatives (const vector< ImageRef > &pixels, const Vector< 4 > &params)
vector< tuple< double, Vector
< 4 >, Matrix< 4 > > > 
SampledMultispot::compute_spot_intensity_hessian (const vector< ImageRef > &pixels, const Vector< 4 > &params)
vector< int > SampledMultispot::sequence (int n)

Define Documentation

#define SWBG_NAME   SpotWithBackground

Definition at line 29 of file sampled_multispot.h.

#define SWBG_NAME   SpotWithBackgroundMasked

Definition at line 29 of file sampled_multispot.h.

#define SWBG_HAVE_MASK

Definition at line 30 of file sampled_multispot.h.


Typedef Documentation

typedef char State

Definition at line 11 of file sampled_multispot.h.