Diagnosis of cyanosis