Açık Akademik Arşiv Sistemi

Medical image compression based on vector quantization and discrete wavelet transform = Vektör kuantizasyonu ve ayrık dalgacık dönüşümüne dayalı tıbbi görüntü sıkıştırma

Show simple item record

dc.contributor.advisor Profesör Doktor Ahmet Zengin
dc.date.accessioned 2024-07-10T08:29:17Z
dc.date.available 2024-07-10T08:29:17Z
dc.date.issued 2023
dc.identifier.citation Zengin, Ahmet. (2023). Medical image compression based on vector quantization and discrete wavelet transform = Vektör kuantizasyonu ve ayrık dalgacık dönüşümüne dayalı tıbbi görüntü sıkıştırma. (Yayınlanmamış Yüksek Lisans Tezi). Sakarya Üniversitesi Fen Bilimleri Enstitüsü
dc.identifier.uri https://hdl.handle.net/20.500.12619/102453
dc.description 06.03.2018 tarihli ve 30352 sayılı Resmi Gazetede yayımlanan “Yükseköğretim Kanunu İle Bazı Kanun Ve Kanun Hükmünde Kararnamelerde Değişiklik Yapılması Hakkında Kanun” ile 18.06.2018 tarihli “Lisansüstü Tezlerin Elektronik Ortamda Toplanması, Düzenlenmesi ve Erişime Açılmasına İlişkin Yönerge” gereğince tam metin erişime açılmıştır.
dc.description.abstract Kronik hastalıkların yaygınlaşması nedeniyle tanısal görüntüleme prosedürleri her yıl artmaktadır. Bununla birlikte, bu tür görüntülerin depolanması çok zordur çünkü depolama kapasitesi, sürekli artan bu tıbbi görüntüleri barındırmak için yeterli değildir. Sonuç olarak, boyutlarının büyük olması nedeniyle bu görüntüleri sıkıştırmak için yeni yollar geliştirmek önemli hale gelmiştir. Bu nedenle tıbbi teşhisleri koruyan ve sıkıştırma oranı yüksek bir sıkıştırma yöntemine ihtiyaç vardır. Görüntü sıkıştırma kavramı, yeniden oluşturma sırasında bozulmayı ve zararlı bozulmayı önlerken, farklı görüntü türlerinin boyutunu önemli ölçüde azaltmayı amaçlar. Tıbbi görüntü sıkıştırma sistemi, görüntü işleme sistemlerinde çeşitli tıbbi görüntüleri güvenilir bir şekilde sıkıştırmak ve açmak için önemli bir konudur, çünkü görüntü sıkıştırma tüm dünyada en son ortaya çıkan bir trend haline gelmiştir. Bu, ayrık dalga dönüşümü (DWT), ayrık kosinüs dönüşümü (DCT), fraktal tabanlı ve dalgacık tabanlı notasyon vektör niceleme (VQ), tahmine dayalı kodlama gibi hem kayıplı hem de şeffaflık teknikleri için doğru bir şekilde uygulanabilir. Bu teknikler sıkıştırma sistemini tasarlamak için kullanılsa da orijinal boyutu küçültme, hesaplama karmaşıklığı düzeyi ve sıkıştırmada minimum hata karesi gibi bazı zorluklarla karşılaşırlar. Bu tezde, tıbbi görüntü sıkıştırma performansını iyileştirmek için bu kritik zorluklar ele alınmaktadır. Görüntüleri sıkıştırmanın iki ana yolu vardır ve bunların her biri orijinal görüntünün sıkıştırılmış görüntüden yeniden oluşturulup oluşturulamayacağına göre belirlenir. Kayıpsız sıkıştırma, sıkıştırma veya açma işlemlerinde hiçbir bilginin kaybolmadığı bir yöntemdir ve bu, tüm görüntü bilgilerini tutmak için tıbbi görüntülerde kullanılır. Kayıplı sıkıştırma ise, bazı bilgilerin silinmesi gereken kayıplı bir sıkıştırma yöntemi kullandığından tüm görüntünün sıkıştırılmış halinin açılamadığı yerdir. Dijital görüntüleri kalite kaybı olmadan sıkıştırmak için JPEG ile birlikte yaygın olarak kullanılırlar. Bu tezin amacı, ortalama yapısal benzerliği (MSSIM) ve tepe sinyalini korurken, sıkıştırma sisteminin etkinliğini artıran ve ayrık dalgacık dönüşümüne (DWT) dayalı sıkıştırma yöntemlerinin performansını iyileştiren basit ve etkili bir görüntü sıkıştırma tekniğini tanıtmaktır. Gürültü oranının (PSNR) kabul edilebilir bir seviyede olduğu MRI, CT ve ultrason ile temsil edilen tıbbi görüntüler bu tez için veri kaynaklarıdır. Gerekli kodlamayı formüle etmek için MATLAB (R2022b) kullandık. Bu hedefi başarmak ve programın görüntü işleme alanındaki yeteneklerinden yararlanmak için, bu tezde, teşhis içeriğini korurken karmaşık tıbbi görüntüleri işlemek için Ayrık Dalgacık Dönüşümü (DWT) ve Vektör Nicelemenin (VQ) bir kombinasyonunu önermektedir. Tıbbi görüntüler kaçınılmaz olarak gürültü içerdiğinden, bu yöntemde ön işleme sırasında bunları gidermek için filtreleme kullanılır. Girdi görüntüsündeki ilişkili pikselin ve bitişik piksellerin değerine dayalı olarak çıktı görüntüsündeki her pikselin değerini belirlemek için [3×3] Gauss algoritmasını kullandık ve ardından görüntü bilgisini bölmek için dalgacık analizi (DWT) kullandık. Bir yakın plan alt sinyali, piksel değerinin genel yönünü gösterir ve üç ayrıntılı alt sinyal, görüntüdeki dikey, yatay ve çapraz ayrıntıları veya değişiklikleri gösterir. Bu ayrıntı küçükse, görüntüyü önemli ölçüde değiştirmeden sıfıra ayarlanabilir. İki tip filtre vardır yüksek geçiren filtre ve alçak geçiren filtre. Bu nedenle, sinyal etkili bir şekilde ayrıntılı bir yüksek frekans parçasına ve kaba bir düşük frekans bölümüne ayrılır. Görüntünün kenarlarını (yatay, dikey ve çapraz) korumak için bir Ayrık Dalgacık Dönüşümü (DWT) uygulanır, çünkü görüntü dört banda bölünür ve alt bant dönüşümü en yüksek düzeyde özgüllükle tekrarlanır. Veri sıkıştırma, veri düzeltme, örüntü tanıma, yoğunluk ve kümeleme tahmini için Vektör Niceleme (VQ) tekniği kullanılır, mevcut veri aralıkları dahil olmak üzere en yakın küme bulunarak bazı aralıklardaki eksik veriler elde edilir ve veri ile aynı değeri alacağı varsayılır. VQ çalışmasının temeli piksel dizilerini kod çizelgesindeki bir dizinle temsil etmek olduğundan, görüntü kurtarma için en önemli ayrıntıları içeren alt aralık dışında önceki adım tarafından oluşturulan tüm parametrelere uygulanan orta nokta VQ ve görüntü sıkıştırma için hesaplama süresini azaltmak için birçok iyileştirme yapılmıştır. Bu noktada gerçekleştirilen deneyler, her görüntü için farklı boyuttaki pencerelerde farklı kod boyutlarıdır. Performans verimliliği farklı boyutlardaki kod ve pencerelerle ve aritmetik kodlama ile baskıyı artırmak için değerlendirilmiştir. Ardından, dalga katsayıları üreten ve belirtilen eşikten daha düşük değeri hariç tutan iki ana yöntem arasında eşik kullandık. Hibrit teknolojinin en iyi kombinasyonu, ölçümden önce iki farklı DWT seviyesinde bulundu. Bu tez, dalgacık dönüşümünün üç ayrı analitik seviyesini uygulayarak görüntüleri test etmektedir. Ortaya çıkan dalga katsayıları daha sonra aritmetik kodlama olan dalgacık dönüşümüne dayalı görüntü kodlama teknikleri kullanılarak kodlanmıştır. Önerilen bu hibrit teknoloji ile iyi bir performans elde edildi ve bir operasyon optimizasyon algoritması ekleyerek daha da iyi performans elde ettik. Önerilen sıkıştırma şeması, referans çalışmalardan daha iyi sonuçlar elde etmiş ve sıkıştırma oranını artırmıştır. Testler, dalgayı üç seviyeye ayırmanın, önceki dalgayla kullanılan en iyi sıkıştırma oranını ve en iyi kodlama tekniğini elde ettiğini gösterdi. En önemlileri dalgacık katsayıları için kodlama tekniğinin türü ve kullanılan optimizasyon algoritmasıdır. Testler, dalgacıkların üç seviyeye ayrıştırılmasının, önceki dalga ile kullanılan en iyi sıkıştırma oranına ve en iyi kodlama tekniğine ulaştığını göstermiştir. Görüntüleri sıkıştırmak için, benzersiz bir karakter dizisi oluşturmak üzere 0 ile 1 arasındaki kesirlerin kullanıldığı aritmetik kodlama (AC) algoritmasını kullandık. Bir veri kodlama ve kod çözme algoritması, tek bir veri kodunu tekrar tekrar işler ve kodunu çözerek onu sembolik olarak yinelemeli hale getirir. Algoritma iterasyon yaptığında, 0 ile 1 arasındaki periyodu giderek daha küçük parçalara böler ve bu parçalardan birini yeni bir periyot olarak tutar. Teknoloji, her biri boyut açısından değerlendirilen bir kod dizisi içeren katmanlı zaman dilimlerinde çalışır. Kod akışı boyutu karşılaştırmaları, veri akışını yeniden yapılandırmak için kullanılır ve Huffman ön eki sembolleri gibi iyi bilinen sıkıştırma yöntemlerinin aksine, kodlayıcının örtüşen alt aralıkları nasıl böldüğünü ve depoladığını gösterir. Ardından, parçacık sürüsü optimizasyonu (PSO) algoritmasını kullandığımız yapay zekaya yöntemi kullanılmıştır. Parçacık sürüsü geliştirme yönteminin küresel olarak optimal bir çözüm bulması neredeyse kesindir. Küresel arama yeteneği de çok iyidir ve hesaplama performansı, geleneksel yöntemlere göre çok daha hızlıdır. Test, Sıkıştırma Oranı (CR) parametresi, Ortalama Kareli Hata (MSR) parametresi ve Tepe Sinyali Gürültü Oranı (PSNR) parametresi kullanılarak yapıldı. Her görüntü için farklı kod çizelgesi boyutları ve farklı pencere boyutları ile deneyler yapılmıştır. Ölçme aracının etkinliğini değerlendirmek için farklı boyuttaki kod çizelgeleri ve pencerelerle bir test yapılmıştır. Her iki seviyedeki deneylerden, kod çizelgelerinin daha büyük olduğu doğrulanmıştır. Görüntü kalitesini korumak için en iyisi seçilmiştir, çünkü tıbbi görüntülemede görüntü kalitesi kritik öneme sahiptir. Çalışmanın sonunda, ince görüntü detaylarının uzantı, boyutlar ve piksel derinliği açısından kullanıldığı bir referans çalışma ile karşılaştırma yaptık, tasarladığımız sistem referans çalışmalardan daha iyi sonuçlar verdi ve sıkıştırma oranını artırmıştır. Optimizasyon algoritmalarını kullanarak görüntüleri sıkıştırmak için önerilen şemayı uygulamanın en iyi sonuçları elde etmeye yardımcı olduğu bulundu. Zamanı hesaba katmak ve performansı artırmak için bir dizi öneri sağlanmıştır.  
dc.description.abstract Due to the prevalence of chronic diseases, diagnostic imaging procedures are increasing annually. However, storage is challenging because storage capacity is limited to accommodate these ever-increasing medical images. As a result, it has become important to develop new ways to compress these images due to their large sizes. Therefore, there is a need for a compression method that preserves medical diagnoses and has a high compression ratio. Image compression aims to significantly reduce the size of different types of images while preventing distortion and harmful distortion during reconstruction. The medical image compression system is an important topic in image processing systems to reliably compress and decompress various types of medical images since image compression has become the latest emerging trend all over the world. This can be accurately implemented for both lossy and transparency techniques, such as discrete waveform transform (DWT), discrete cosine transform (DCT), fractal-based and wavelet-based notation vector quantization (VQ), predictive coding, and so on. Although these techniques are used to design the compression system, they face some challenges, such as reducing the original size, level of computational complexity, and minimum square of compression errors. This thesis addresses these critical challenges to improve medical image compression performance. There are two main ways to compress images, each of which is determined by whether or not the original image can be reconstructed from the compressed image. Lossless compression is where no information is lost in compression or decompression operations, and this is used with medical images to keep all image information. Lossy compression is where the entire image cannot be decompressed because it uses a lossy compression method where some information has to be deleted. To compress digital images without losing quality, they are widely used along with JPEG. The purpose of this thesis is to introduce a simple and effective image compression technique that increases the efficiency of the compression system and improves the performance of compression methods based on discrete waveform transform (DWT) while maintaining the mean structural similarity (MSSIM) and Peak signal-to-noise ratio (PSNR) at an acceptable level. Medical images represented by MRI, CT, and ultrasound are the data sources for this thesis. We used MATLAB (R2022b) to formulate the necessary coding. To accomplish this work and to take advantage of the capabilities of the program in the field of image processing, this thesis proposes a combination of Discrete Wavelet Transform (DWT) and Vector Quantization (VQ) to process complex medical images while preserving the diagnostic content. Medical images inevitably suffer from salt and pepper noise; in this method, filtering removes them during pre-processing. We use [3×3] Gaussian algorithm to determine the value of each pixel in the output image based on the value of its associated pixel and adjacent pixels in the input image. Then wavelet analysis (DWT) can divide image information into approximate and detailed partial signals. A close-up sub-signal shows the general direction of the pixel value, and three detailed sub-signals show vertical, horizontal, and diagonal details or changes in the image. If this detail is small, it can be set to zero without significantly changing the image. There are two types of filters, high pass filter and low pass filter. Thus, the signal is effectively divided into a detailed high-frequency part and a rough low-frequency part. A Discrete Wavelet Transform (DWT) is applied to preserve the edges of the images (horizontal, vertical and diagonal) as the image is divided into four bands, and the sub-band conversion is repeated with the highest level of specificity. Vector Quantization (VQ) technique is used for data compression, correction, pattern recognition, density and clustering estimation. Missing data from some ranges is retrieved by finding the closest set, including the available data ranges. It will get the same value as the midpoint VQ applied to all the parameters generated by the previous step except for the sub-range. This contains the most important details for image recovery since the basis of VQ work is to represent pixel arrays by an index in the codebook. Many improvements are made to reduce the computation time for image compression. The experiments performed at this point are different codebook sizes within different-sized windows for each image. Performance efficiency was evaluated with different sizes of codebooks and windows and for increasing the pressure by arithmetic coding. Then we use the threshold principle between the two methods that generate wave coefficients and exclude the value less than the specified threshold. The best combination of hybrid technology was found at two levels of DWT before quantification. This thesis tested the images by applying three separate analytical levels of the wavelet transform. The resulting wave coefficients were then encoded using image coding techniques based on wavelet transform, which is arithmetic coding. With this proposed hybrid technology, we achieve a good performance, and by adding an operation optimization algorithm, we achieve even better performance. The proposed compression scheme achieved better results than the referenced studies and increased the compression ratio. The test showed that decomposing the wave into three levels achieved the best compression ratio and the best encoding technique used with the previous wave. Several factors affect the results of the previous tests, the most important of which are the type of encoding technique for wavelet coefficients and the optimization algorithm used. Tests showed that decomposing the wavelets into three levels achieved the best compression ratio and the best encoding technique used with the previous wave. To compress images, we use the arithmetic coding (AC) algorithm, which uses fractions between 0 and 1 to generate a unique string of characters. A data code encoding and decoding algorithm repeatedly processes and encodes (decodes) a single data code, making it symbolically iterative. When the algorithm iterates, it divides the period between 0 and 1 into smaller and smaller parts, keeping one of these pieces as a new period. The technology runs on layered time slots, each of which contains a sequence of code that is evaluated for size. Code stream size comparisons are used to reconstruct the data stream, indicating how the encoder divides and stores overlapping subintervals, unlike well-known compression methods such as prefix Huffman symbols. Then we turn to artificial intelligence, using the particle swarm optimization (PSO) algorithm. The particle swarm development method is almost certain to find a globally optimal solution. The global search ability is also great, and the computational performance is much faster than traditional methods. The test was done using the Compression Ratio (CR) parameter, the Mean Square Error (MSR) parameter, and the Peak Signal to Noise Ratio (PSNR) parameter. Experiments were performed with different codebook sizes and window sizes for each image. A test was performed to evaluate the efficiency of the measuring tool with different sizes of codebooks and windows. Experiments at both levels confirm the larger size of the codebooks. The best are chosen to maintain image quality and thus a suitable choice of the hybrid algorithm because image quality is critical in medical imaging. At the end of the work, we compared it with a reference study where the fine image details were used in terms of extension, dimensions, and pixel depth, which gave better results than the referenced studies and increased the compression ratio. It was found that applying the proposed scheme to compress images using optimization algorithms helps to obtain the best results Providing several proposals to take into account the time and improve performance.  
dc.format.extent xxvi, 44 yaprak : şekil, tablo ; 30 cm.
dc.language İngilizce
dc.language.iso eng
dc.publisher Sakarya Üniversitesi
dc.rights.uri http://creativecommons.org/licenses/by/4.0/
dc.rights.uri info:eu-repo/semantics/openAccess
dc.subject Bilgisayar Mühendisliği Bilimleri-Bilgisayar ve Kontrol,
dc.subject Computer Engineering and Computer Science and Control
dc.title Medical image compression based on vector quantization and discrete wavelet transform = Vektör kuantizasyonu ve ayrık dalgacık dönüşümüne dayalı tıbbi görüntü sıkıştırma
dc.type masterThesis
dc.contributor.department Sakarya Üniversitesi, Fen Bilimleri Enstitüsü, Bilgisayar ve Bilişim Mühendisliği Ana Bilim Dalı
dc.contributor.author Zengin, Ahmet
dc.relation.publicationcategory TEZ


Files in this item

This item appears in the following Collection(s)

Show simple item record

http://creativecommons.org/licenses/by/4.0/ Except where otherwise noted, this item's license is described as http://creativecommons.org/licenses/by/4.0/