A motion detection algorithm for video-polysomnography to diagnose sleep disorder | IEEE Conference Publication | IEEE Xplore