Algorithms for Speckle BOS analysis