Fen Bilimleri Enstitüsü / Science Institute

Permanent URI for this collectionhttps://hdl.handle.net/11727/1392

Browse

Search Results

Now showing 1 - 2 of 2
  • Thumbnail Image
    Item
    Uyku esnasında çıkan seslerın sınıflandırılması
    (Başkent Üniversitesi Fen Bilimleri Enstitüsü, 2017) Kılıç, Erkan; Erdamar, Aykut
    Uyku esnasında istemsiz olarak horlama, öksürme, hapşırma, ıslık gibi farklı akustik özelliklerde sesler ortaya çıkabilmektedir. Bu sesler, insanın uyku kalitesini doğrudan etkileyebileceği gibi, aynı ortamda bulunan diğer insanların da uyku kalitesini olumsuz yönde etkileyebilmektedir. İnsanın uyku kalitesinin arttırılması amacıyla bu seslerin kaydedilmesi, alınan ses kayıtlarının uzman doktor tarafından değerlendirilmesi ve değerlendirme sonucuna göre uygun tedavi yönteminin belirlenmesi gerekmektedir. Ancak, normal bir uyku süresinin altı ile sekiz saat aralığında olmasından dolayı, uzman doktor tarafından tüm ses kaydının dinlenmesi oldukça uzun ve yorucu bir süreç gerektirmektedir. Bu nedenle, uyku sırasında kaydedilen sesleri otomatik olarak analiz ederek, uzman doktora teşhis koymada yardımcı olacak ve önemli ölçüde zaman kazandıracak bir algoritmaya ihtiyaç duyulduğu belirlenmiştir. Daha önce yapılan literatür taramasında, bu konu üzerinde yapılan çalışma sayısının çok az olduğu ve mevcut çalışmaların büyük çoğunluğunun, ses kayıtları üzerinden sadece horlama sesini algıladığı ancak, uzman doktora teşhis koymada yardımcı olacak algoritmalar içermediği görülmüştür. Bu çalışmada, literatürden farklı olarak, ses kayıtlarının tamamını hızlı ve efektif bir şekilde analiz edecek, uyku esnasında çıkan sesleri otomatik olarak ve yüksek doğrulukta sınıflandırabilecek, doktora tanı koymada yardımcı olabilecek bilgisayar destekli tanı algoritmasının geliştirilmesi amaçlanmıştır. Bu amaç doğrultusunda, ilk olarak uyku ses kayıtları araştırılmış ve internet taraması yapılarak açık erişimli sitelerden farklı tipte ses kayıtları elde edilmiştir. Tüm kayıtlar tek tek dinlenerek gruplandırılmıştır. Çalışmanın ikinci aşamasında, literatürde geçen yöntemler doğrulanmıştır. Bu süreçte, tüm ses kayıtları üzerinde enerji, varyans, sıfır kesme oranı, özilinti fonksiyonu, Fourier dönüşümü yöntemleri uygulanmış ve ses kayıtları hakkında genel bilgi verecek öznitelikler elde edilmiştir. Çalışmanın üçüncü aşamasında, literatürden farklı olarak adaptif bölütleme algoritması geliştirilmiş, ses kaydı her bir bölütte tek çeşit ses olacak şekilde otomatik olarak parçalanmıştır. Her bir parçaya literatürdeki analiz yöntemleri uygulanarak, analiz edilen sese ait akustik öznitelikler elde edilmiştir. Bu yöntemlere ilaveten, tüm parçalara sürekli dalgacık dönüşümü yöntemi uygulanarak zaman, frekans ve genlik düzleminde olmak üzere görsel ve matematiksel öznitelikler çıkarılmıştır. Çalışmanın son aşamasında, sınıflandırıcı olarak destek vektör makineleri kullanılmış ve elde edilen öznitelikler sınıflandırıcı eğitilmiştir. Eğitim için 390 bölüt, test için 449 bölüt kullanılmıştır. Çalışma sonucunda, geliştirilen algoritma, nefes verme, basit horlama, yüksek frekans dubleks horlama, düşük frekans dubleks horlama, tripleks horlama ve öksürmeyi içeren altı farklı parametreyi %96.44 doğruluk oranıyla sınıflandırmıştır. Sounds like snoring, coughing, sneezing, whistling, which have different acoustic properties, can emerge involuntarily during the sleep. These sounds may affect negatively the sleep quality of the other people in the same environment, just as it may affect directly the sleep quality of the person. To increase the sleep quality of the person, these sounds should be recorded and these records should be evaluated by a sleep expert. The appropriate treatment method should be determined according to the evaluation result. However, since the duration of a normal sleep is in the range of six hours to eight hours, it’s a time consuming process for the sleep expert to listening all records. Therefore, it has been determined that a timesaver algorithm which analyzes automatically the sounds recorded during the sleep, is needed to help diagnose of the sleep expert .In the previous literature review, it has been observed that the number of studies on this topic is very few. Majority of existing studies detects only the snoring sounds, but these works do not involve the algorithms which help the sleep expert to diagnose. In this study, differently from the literature, it has been aimed that developing a computer aided diagnosing algorithm which will classify the sounds emerging during the sleep automatically with high accuracy by analyzing the all records in a fast and effective way to help the sleep expert to diagnose. In accordance with this purpose, at the first stage, sleep sounds were researched and different types of sound recordings obtained from open access sites thereby internet browsing. All records have been listened one by one and have been grouped. In the second stage of the study, the methods mentioned in the literature have been validated. Within this period, energy, variance, zero cross rate, autocorrelation function, Fourier transform methods have been applied on the all records and the features which will provide general information about records, have been obtained. In the third stage of the study, an adaptive segmentation algorithm has been developed and records has been segmented automatically as every segment has one kind of sound. The acoustic features belonging to analyzed sound have been obtained by applying analytical methods to each segment. In addition, the visual and mathematical features have been obtained in frequency, time and amplitude domains by applying “Continuous Wavelet Transform” for the every segment. At the last stage, support vector machine used as a classifier and it has been trained with the obtained features. The success of the algorithm has been tested by using different records. 390 and 449 segments were used for training and testing respectively. As a result of the study, developed algorithm has classified six different parameters which are exhalation, simple snoring, high frequency duplex snoring, low frequency duplex snoring, triplex snoring and coughing, with 96.44% accuracy rate.
  • Thumbnail Image
    Item
    Uyku bozukluklarına ait eeg verilerindeki geçici eeg dalga formlarının analizi
    (Başkent Üniversitesi Fen Bilimleri Enstitüsü, 2017) Kantar, Tuğçe; Erdamar, Aykut
    Uykuda anlık olarak ortaya çıkan, kendine özgü yapısal özellikleri, genlik ve frekansları olan, elektroensefalografi (EEG)’nin arka planından ayırt edilmesi zor geçici dalga formları(k-kompleksler, uyku iğcikleri, arousal vb.) EEG’nin mikro yapısı olarak adlandırılır. Bu dalga formlarının analizi beyin araştırmaları, uyku çalışmaları, uyku evre skorlamaları, uyku bozukluklarının değerlendirilmesi açısından önemlidir. Literatürde bulunan mevcut çalışmalar, geçici dalga formlarının belirlenen öznitelikleri kullanılarak yapılan tespit ve sınıflandırma çalışmaları şeklindedir. Bu tez çalışmasında, literatürdeki çalışmalardan farklı olarak, tek bir geçici EEG dalga formu için değil, üç farklı dalga formu için yüksek doğruluk oranında tespit yapacak yöntemler geliştirilmesi amaçlanmıştır. Çalışmada, National Sleep Research Resource, DREAMS veri tabanları ve Ankara Gülhane Askeri Tıp Akademisi Ruh Sağlığı ve Hastalıkları Anabilim Dalı uyku laboratuvarında yapılan uyku skorlandırma çalışmaları sırasında kaydedilen gerçek hastalara ait polisomnografi kayıtları kullanılmıştır. Çalışmanın ilk aşamasında, sinyal işleme yöntemleri kullanılarak veri tabanı ve hasta kayıtlarındaki EEG sinyallerinin analizleri gerçekleştirilmiştir. Spektral analizlerde, ayrık Fourier dönüşümü, güç spektrumu yöntemleri, zaman-frekans analizinde kısa zamanlı Fourier dönüşümü yöntemi, dalgacık analizlerinde ayrık dalgacık dönüşümü ve sürekli dalgacık dönüşümü yöntemleri kullanılmıştır. Dalga formu analizlerinde ise, EEG’nin etkin enerji değeri, alt bant enerji analizi, çapraz ilinti fonksiyonu, sıfır kesme oranı, ortalama ve varyans gibi sinyal parametreleri incelenmiştir. Uygulanan analizler sonucu uykudaki geçici dalga formlarından k-kompleks için normalize çapraz ilinti fonksiyonu, alt bant enerji analiz değerleri ve sıfır kesme oranı; uyku iğcikleri için sürekli dalgacık dönüşümü sonucu uyku iğciğinin sahip olduğu karakteristik frekans aralığındaki dalgacık dönüşümükatsayılarının toplamı; arousal için ise sürekli dalgacık dönüşümü sonucu elde edilen aralıkta sinyalin ortalama ve varyans değerleri öznitelik olarak belirlenmiştir. Çalışmanın ikinci aşamasında, doğrusal ayırtaç analizi, destek vektör makineleri ve yapay sinir ağları kullanılarak belirlenen öznitelikler ile geçici dalga formu “var” ya da “yok” şeklinde sınıflandırma yapılmıştır. Çalışma sonucunda, literatürden daha iyi veya literatürle eş seviyede sonuçlar veren ve başarılı olarak tespit yapabilen bir karar destek sistem algoritması geliştirilmiştir. Transient waveforms (k-complexes, sleep spindles, arousal, etc.) happens instantaneously in sleep, have distinctive structural features, amplitudes and frequencies, and are difficult to distinguish from the background of electroencephalography (EEG) which are called the microstructure of the EEG. The analysis of these waveforms is important for brain research, sleep studies, sleep stage scorings and assessment of sleep disorders. In literature, related works are used the specified feature extraction of the transient waveforms and classification studies. In this study, different from the literature, it is aimed to develop several methods to detect high accuracy three different waveforms with high accuracy, unlike single transient EEG waveform. In this study, the EEG recordings were obtained from the National Sleep Research Resource, DREAMS databases and Ankara Gulhane Military Medical Academy, Psychiatry Department the Sleep Laboratory. In the first part of the study, signal processing methods were used to analyze patients’ EEG signal records. Discrete Fourier transform, power spectrum methods in spectral analysis; short - time Fourier transform in time-frequency analysis; discrete and continuous wavelet transform in the wavelet analysis were used. In wave form analyzes, signal parameters such as effective value of EEG energy, sub-band energy analysis, cross correlation function, zero cross rate, mean and variance were investigated. According to results, cross correlation function, sub-band energy analysis and zero cross rate for k-complex; the sum of the continuous wavelet transform coefficients in the frequency range for sleep spindles; and the mean and variance of the continuous wavelet transform coefficients for arousal were determined as features. In the second part of the study, with determined features, transient waveforms were classified as "existence" or "absence" using linear discriminant analysis, support vector machines and artificial neural networks. As a result of the study, a decision support system algorithm, can detect transient waveforms successfully, was developed that can yield results better than or as equivalent as the literature.