Ernst Niggli edited res_imagefit.md  over 9 years ago

Commit id: 36771e626e7458aa0656be8f0aa2b71d2458e443

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 image, where one pixel corresponds to one horizontal line,  (Figure \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.