\hypertarget{sampled__multispot_8h}{
\subsection{sampled\_\-multispot.h File Reference}
\label{sampled__multispot_8h}\index{sampled\_\-multispot.h@{sampled\_\-multispot.h}}
}
{\ttfamily \#include $<$vector$>$}\par
{\ttfamily \#include $<$cvd/image\_\-ref.h$>$}\par
{\ttfamily \#include $<$tr1/tuple$>$}\par
{\ttfamily \#include $<$TooN/TooN.h$>$}\par
{\ttfamily \#include \char`\"{}drift.h\char`\"{}}\par
{\ttfamily \#include \char`\"{}spot\_\-with\_\-background.hh\char`\"{}}\par
\subsubsection*{Classes}
\begin{DoxyCompactItemize}
\item 
struct \hyperlink{structSampledMultispot_1_1SpotWithBackgroundMasked}{SampledMultispot::SpotWithBackgroundMasked}
\begin{DoxyCompactList}\small\item\em This class compute the log-\/diff-\/hess probability of a spot, given an image patch and background due to existing spots. \end{DoxyCompactList}\item 
struct \hyperlink{structSampledMultispot_1_1SpotWithBackgroundMasked}{SampledMultispot::SpotWithBackgroundMasked}
\begin{DoxyCompactList}\small\item\em This class compute the log-\/diff-\/hess probability of a spot, given an image patch and background due to existing spots. \end{DoxyCompactList}\item 
class \hyperlink{classSampledMultispot_1_1GibbsSampler}{SampledMultispot::GibbsSampler}
\begin{DoxyCompactList}\small\item\em Draw samples from the spot states given the spots positions and some data. \end{DoxyCompactList}\item 
class \hyperlink{classSampledMultispot_1_1GibbsSampler2}{SampledMultispot::GibbsSampler2}
\begin{DoxyCompactList}\small\item\em Gibbs sampling class which masks spots to reduce computation. \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsubsection*{Namespaces}
\begin{DoxyCompactItemize}
\item 
namespace \hyperlink{namespaceSampledMultispot}{SampledMultispot}
\end{DoxyCompactItemize}
\subsubsection*{Defines}
\begin{DoxyCompactItemize}
\item 
\#define \hyperlink{sampled__multispot_8h_a01c4a62b078a1fc17e25d48155bd0ec0}{SWBG\_\-NAME}~SpotWithBackground
\item 
\#define \hyperlink{sampled__multispot_8h_a01c4a62b078a1fc17e25d48155bd0ec0}{SWBG\_\-NAME}~SpotWithBackgroundMasked
\item 
\#define \hyperlink{sampled__multispot_8h_ad2aa8cf62f03b6f3d93866abb22b3b09}{SWBG\_\-HAVE\_\-MASK}
\end{DoxyCompactItemize}
\subsubsection*{Typedefs}
\begin{DoxyCompactItemize}
\item 
typedef char \hyperlink{sampled__multispot_8h_a923fb9080b37d642c98cbc0159c9fd0e}{State}
\end{DoxyCompactItemize}
\subsubsection*{Functions}
\begin{DoxyCompactItemize}
\item 
double \hyperlink{namespaceSampledMultispot_a98a46760f01f55102e6bf91293c85efc}{SampledMultispot::intensity} (double i)
\item 
double \hyperlink{namespaceSampledMultispot_aba48cb526e720286c2b5f16e07a806a6}{SampledMultispot::intensity} (const pair$<$ double, Vector$<$ 4 $>$ $>$ \&i)
\item 
{\footnotesize template$<$class T $>$ }\\void \hyperlink{namespaceSampledMultispot_a7a9e1626a0dc6806840806b246b28eea}{SampledMultispot::remove\_\-spot} (vector$<$ vector$<$ double $>$ $>$ \&current\_\-sample\_\-intensities, const vector$<$ T $>$ \&spot\_\-intensities, const vector$<$ \hyperlink{sampled__multispot_8h_a923fb9080b37d642c98cbc0159c9fd0e}{State} $>$ \&spot\_\-sample)
\item 
{\footnotesize template$<$class T $>$ }\\void \hyperlink{namespaceSampledMultispot_a813b9ac80de47660db70359111953c30}{SampledMultispot::add\_\-spot} (vector$<$ vector$<$ double $>$ $>$ \&current\_\-sample\_\-intensities, const vector$<$ T $>$ \&spot\_\-intensities, const vector$<$ \hyperlink{sampled__multispot_8h_a923fb9080b37d642c98cbc0159c9fd0e}{State} $>$ \&spot\_\-sample)
\item 
{\footnotesize template$<$class T $>$ }\\void \hyperlink{namespaceSampledMultispot_a5a7bb7a7e421f195b0cfc02e454513a6}{SampledMultispot::remove\_\-spot} (vector$<$ vector$<$ double $>$ $>$ \&current\_\-sample\_\-intensities, const vector$<$ T $>$ \&spot\_\-intensities, const vector$<$ \hyperlink{sampled__multispot_8h_a923fb9080b37d642c98cbc0159c9fd0e}{State} $>$ \&spot\_\-sample, const vector$<$ int $>$ \&mask)
\item 
{\footnotesize template$<$class T $>$ }\\void \hyperlink{namespaceSampledMultispot_af2f3851f96ef3528527c1eade91e0ade}{SampledMultispot::add\_\-spot} (vector$<$ vector$<$ double $>$ $>$ \&current\_\-sample\_\-intensities, const vector$<$ T $>$ \&spot\_\-intensities, const vector$<$ \hyperlink{sampled__multispot_8h_a923fb9080b37d642c98cbc0159c9fd0e}{State} $>$ \&spot\_\-sample, const vector$<$ int $>$ \&mask)
\item 
{\footnotesize template$<$class T $>$ }\\void \hyperlink{namespaceSampledMultispot_af70c31e016cfe56f6acfbd43b3ad82ed}{SampledMultispot::remove\_\-spot} (vector$<$ vector$<$ double $>$ $>$ \&current\_\-sample\_\-intensities, const vector$<$ vector$<$ T $>$ $>$ \&spot\_\-intensities, const vector$<$ \hyperlink{sampled__multispot_8h_a923fb9080b37d642c98cbc0159c9fd0e}{State} $>$ \&spot\_\-sample, const vector$<$ int $>$ \&mask)
\item 
{\footnotesize template$<$class T $>$ }\\void \hyperlink{namespaceSampledMultispot_aad775fe4886ba0431fd4dd084310197c}{SampledMultispot::add\_\-spot} (vector$<$ vector$<$ double $>$ $>$ \&current\_\-sample\_\-intensities, const vector$<$ vector$<$ T $>$ $>$ \&spot\_\-intensities, const vector$<$ \hyperlink{sampled__multispot_8h_a923fb9080b37d642c98cbc0159c9fd0e}{State} $>$ \&spot\_\-sample, const vector$<$ int $>$ \&mask)
\item 
vector$<$ double $>$ \hyperlink{namespaceSampledMultispot_acf04719501ddc348a72533337fb9b509}{SampledMultispot::compute\_\-spot\_\-intensity} (const vector$<$ ImageRef $>$ \&pixels, const Vector$<$ 4 $>$ \&params)
\item 
vector$<$ pair$<$ double, Vector$<$ 4 $>$ $>$ $>$ \hyperlink{namespaceSampledMultispot_a65c6978967019f138d4373b284de3221}{SampledMultispot::compute\_\-spot\_\-intensity\_\-derivatives} (const vector$<$ ImageRef $>$ \&pixels, const Vector$<$ 4 $>$ \&params)
\item 
vector$<$ tuple$<$ double, Vector$<$ 4 $>$, Matrix$<$ 4 $>$ $>$ $>$ \hyperlink{namespaceSampledMultispot_a0cb66075bde69c8a7e9a5af7853af229}{SampledMultispot::compute\_\-spot\_\-intensity\_\-hessian} (const vector$<$ ImageRef $>$ \&pixels, const Vector$<$ 4 $>$ \&params)
\item 
vector$<$ int $>$ \hyperlink{group__gUtility_ga2c9af6bc6b44cab6336954850fba52a7}{SampledMultispot::sequence} (int n)
\end{DoxyCompactItemize}


\subsubsection{Define Documentation}
\hypertarget{sampled__multispot_8h_a01c4a62b078a1fc17e25d48155bd0ec0}{
\index{sampled\_\-multispot.h@{sampled\_\-multispot.h}!SWBG\_\-NAME@{SWBG\_\-NAME}}
\index{SWBG\_\-NAME@{SWBG\_\-NAME}!sampled_multispot.h@{sampled\_\-multispot.h}}
\paragraph[{SWBG\_\-NAME}]{\setlength{\rightskip}{0pt plus 5cm}\#define SWBG\_\-NAME~SpotWithBackground}}
\label{sampled__multispot_8h_a01c4a62b078a1fc17e25d48155bd0ec0}


Definition at line 48 of file sampled\_\-multispot.h.

\hypertarget{sampled__multispot_8h_a01c4a62b078a1fc17e25d48155bd0ec0}{
\index{sampled\_\-multispot.h@{sampled\_\-multispot.h}!SWBG\_\-NAME@{SWBG\_\-NAME}}
\index{SWBG\_\-NAME@{SWBG\_\-NAME}!sampled_multispot.h@{sampled\_\-multispot.h}}
\paragraph[{SWBG\_\-NAME}]{\setlength{\rightskip}{0pt plus 5cm}\#define SWBG\_\-NAME~SpotWithBackgroundMasked}}
\label{sampled__multispot_8h_a01c4a62b078a1fc17e25d48155bd0ec0}


Definition at line 48 of file sampled\_\-multispot.h.

\hypertarget{sampled__multispot_8h_ad2aa8cf62f03b6f3d93866abb22b3b09}{
\index{sampled\_\-multispot.h@{sampled\_\-multispot.h}!SWBG\_\-HAVE\_\-MASK@{SWBG\_\-HAVE\_\-MASK}}
\index{SWBG\_\-HAVE\_\-MASK@{SWBG\_\-HAVE\_\-MASK}!sampled_multispot.h@{sampled\_\-multispot.h}}
\paragraph[{SWBG\_\-HAVE\_\-MASK}]{\setlength{\rightskip}{0pt plus 5cm}\#define SWBG\_\-HAVE\_\-MASK}}
\label{sampled__multispot_8h_ad2aa8cf62f03b6f3d93866abb22b3b09}


Definition at line 49 of file sampled\_\-multispot.h.



\subsubsection{Typedef Documentation}
\hypertarget{sampled__multispot_8h_a923fb9080b37d642c98cbc0159c9fd0e}{
\index{sampled\_\-multispot.h@{sampled\_\-multispot.h}!State@{State}}
\index{State@{State}!sampled_multispot.h@{sampled\_\-multispot.h}}
\paragraph[{State}]{\setlength{\rightskip}{0pt plus 5cm}typedef char {\bf State}}}
\label{sampled__multispot_8h_a923fb9080b37d642c98cbc0159c9fd0e}


Definition at line 30 of file sampled\_\-multispot.h.

