Ernst Niggli edited res_imagefit.md  over 9 years ago

Commit id: b5cc6bed9efc3be36c9496cff30cda0ff8db6624

deletions | additions      

       

#### Approximating the original image  Having detected events from all the pixels it is possible to combine all fitted pixels into an approximation of the original image having a reduced level of noise.   The results of applying the denoising algorithm to a linescan image, where one pixel corresponds to one horizontal line, line  (Figure \ref{fig:linescan}A) \ref{fig:linescan}A),  are presented on Figure \ref{fig:linescan}B. The fitted image is obtained by adding the baseline image (Figure \ref{fig:linescan}C) and fitted pixelevents (Figure \ref{fig:linescan}D). Separating the baseline and events into separate images allows to easily calculate the standard \(\Delta F/F_0\) image of the linescan (\ref{fig:linescan}E). Substracting the fitted image from the original data yields the noise and residual (\(W+R\) in Eq. \ref{eq_ithpix}). The histogram of the unfitted portion of the signal is symmetric around zero and gaussian.