I want to calculate standard deviation for every pixel in image, that I will get from web camera. So I will have many samples for every pixel. Is passable to calculate the standard deviation of discrete values, without knowing the probabilities of the values (without keeping the last 100 frames into the memory)?