Statistics for An HMM-based mmodel for moving object detection