Unified approach to video-processing detection of specific neonatal diseases. Relevant motion signal is extracted to analyze infant movements. Presence/absence of periodic movements is exploited to detect clonic seizures or apneas. Maximum-likelihood criterion is used to estimate periodicity of the movements. System performance on real patients are compared with medical gold standard devices.