We demonstrate an efficient algorithm for the temporal and spatial based calculation of the laser speckle contrast analysis
(LASCA) for the imaging of blood flow that reduces the numerical complexity of necessary calculations, facilitates a multicore
implementation of the speckle analysis and enables an independence of temporal or spatial resolution and SNR. The
new algorithm was evaluated for both spatial and temporal based analysis of speckle patterns with different image sizes and
incorporated pixels as sequential and multi-core code. The improvement is about a factor of 5 and can be increased to about a
factor of 15 for multi-core computers. This allows an online-analysis of larger speckle images or at a higher frame rate.