Next Article in Journal
Building Public Health Capacity through Organizational Change in the Sport System: A Multiple-Case Study within Australian Gymnastics
Next Article in Special Issue
Big Data-Enabled Solutions Framework to Overcoming the Barriers to Circular Economy Initiatives in Healthcare Sector
Previous Article in Journal
Adverse Childhood Experiences and Problematic Media Use: Perceptions of Caregivers of High-Risk Youth
Previous Article in Special Issue
More Is Not Enough: A Deeper Understanding of the COVID-19 Impacts on Healthcare, Energy and Environment Is Crucial
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

A Novel Image Processing Approach to Enhancement and Compression of X-ray Images

by
Yaghoub Pourasad
1,* and
Fausto Cavallaro
2
1
Department of Electrical Engineering, Urmia University of Technology, Urmia 17165-57166, Iran
2
Department of Economics, University of Molise, Via De Sanctis, 86100 Campobasso, Italy
*
Author to whom correspondence should be addressed.
Int. J. Environ. Res. Public Health 2021, 18(13), 6724; https://0-doi-org.brum.beds.ac.uk/10.3390/ijerph18136724
Submission received: 19 May 2021 / Revised: 17 June 2021 / Accepted: 19 June 2021 / Published: 22 June 2021
(This article belongs to the Special Issue Healthcare Circular Economy: Opportunities and Challenges)

Abstract

:
At present, there is an increase in the capacity of data generated and stored in the medical area. Thus, for the efficient handling of these extensive data, the compression methods need to be re-explored by considering the algorithm’s complexity. To reduce the redundancy of the contents of the image, thus increasing the ability to store or transfer information in optimal form, an image processing approach needs to be considered. So, in this study, two compression techniques, namely lossless compression and lossy compression, were applied for image compression, which preserves the image quality. Moreover, some enhancing techniques to increase the quality of a compressed image were employed. These methods were investigated, and several comparison results are demonstrated. Finally, the performance metrics were extracted and analyzed based on state-of-the-art methods. PSNR, MSE, and SSIM are three performance metrics that were used for the sample medical images. Detailed analysis of the measurement metrics demonstrates better efficiency than the other image processing techniques. This study helps to better understand these strategies and assists researchers in selecting a more appropriate technique for a given use case.

1. Introduction

Image processing is a substantial part of medical research/clinical practice [1,2]. In the last few years, medical image analysis has been highly developed by enhancing digital imaging methods. A massive number of medical images have been generated with ever-increasing diversity and quality. Although traditional medical image analysis techniques have obtained limited success, they cannot deal with colossal image data quantities [3,4,5]. The idea behind digital image processing is the processing of digital images using digital computers. Indeed, digital images are a particular composition of a limited number of elements. Each element has its location and value and is known as pixels, images, or picture elements. Generally, the term “pixel” is frequently used to point to the elements of a digital image. In medical research, medical images, e.g., CT scans, MRI, and X-ray images, are the most used images these days. Therefore, the analysis of these diverse image types requires sophisticated computerized tools. Image compression is a type of method that efficiently stores and transmits images while retaining the highest possible quality. Many software and techniques address this compression problem by establishing an appropriate balance between reconstructed image quality and compression ratio [6,7].
X-rays were discovered in 1895 by German physicist Wilhelm Roentgen who pioneered medical imaging. Medical images help physicians see through the human body, detect injuries or diseases, and direct therapeutic procedures. Based on image quality, they can determine how visible the different disease signs and anatomical structures are. The Food and Drug Administration (FDA) is an agency within the US Department of Health and Human Services, consisting of nine centers and offices. FDA has described “medical imaging” as a technology. Medical imaging includes various technologies employed to see through the human body. The primary purpose of this technology is to diagnose, monitor, or treat patients’ medical conditions. Different parts of this technology inform us about the treated or studied body area associated with a potential injury or disease or medical treatment effectiveness.
Nowadays, medical imaging technology is an essential part of medicine [8,9,10]. Surgeons, pathologists, and other medical groups can observe symptoms of the diseases directly. In recent years, medical imaging techniques have made much progress. Accordingly, planners and even surgeons can take advantage of this technology. Polap [11] displayed a versatile method composed of a hereditary calculation, and a cascade of the convolutional classifiers for picture examination was proposed. A genetic algorithm (GA) was proposed to indicate the probability of having a place for a suitable lesson. The indicated likelihood is imperative due to measuring the outcomes obtained from the cascade of neural classifiers.
This paper mainly aims to find an efficient method for compression and enhancement of the medical images. It starts with image compression and finishes with the enhancement of medical images for higher output. An in-depth study was conducted on the previous research, and various compression techniques were perused to obtain better output. Moreover, the performance metrics were extracted and analyzed based on state-of-the-art methods. Two compression techniques, namely lossless compression and lossy compression, were applied to image compression. Then, the chosen images were restored using enhancement techniques. Finally, this technique’s efficiency was analyzed using various performance parameters to assess the output. This technique was analyzed by using various performance parameters to assess the output.
The present paper is outlined as follows: Section 1 describes medical imaging and key medical imaging characteristics and quality factors. Section 2 reviews many relevant papers in medical image processing and studies some image processing methods used for improving medical images that researchers have proposed in their papers. Section 3 is the core of the present research paper. This section explains some of the significant engineering subjects related to image processing, general, and medical imaging, particularly in Section 4. The evaluation metrics are discussed in Section 5. Finally, Section 6 summarizes the numerical results and future works.

2. Literature Review

In this section, various image compression and image enhancement techniques are investigated. Image compression and image enhancement play a key role in medical image processing. There has been considerable research focusing on compression and image enhancement for the improvement of medical images. The Haar wavelet-based approach for image compression and quality assessment of compressed image is an image processing technique [12]. In [13], the concept of ‘Wavelet-based compression of images’ was used in grayscale images with various techniques, such as SPIHT, EZW, and SOFM. In [14], the authors deal with a specific type of compression by utilizing wavelet transforms. Wavelets were employed as simple patterns/coefficients, reproducing the initial pattern when multiplied and combined. The author of [15] introduces a new lossy compression technique that employs singular value decomposition (SVD) and wavelet difference reduction (WDR). These two methods are combined by increasing the SVD compression performance with the WDR compression.
In [16,17,18,19,20,21], the researchers investigated different steps in image processing techniques. The authors provided an overview of all relevant image processing methods, including preprocessing, segmentation, feature extraction, and classification techniques. In [22], the researchers focused their research on several medical image compression methods, such as Cosine transformations discrete, Hierarchical partitioning of the subbed block, JPEG 2000 image compression, JPEG2000 MAXSHIFT ROI coding, JPEG2000 scaling ROI coding, Mesh coding scheme, ROI-based scaling, and Wavelet adaptive shape transform. In [16,17,18,19], the researchers discussed various medical image compression techniques. A unique feature can be observed in the studied methods, but the medical images are compressed with certain drawbacks. Therefore, the research will overcome these shortcomings and increase the reconstructed quality of the compressed picture with a high compression rate for a medical image. The author introduced a new approach to image modification for visually acceptable images in [23].
The choice of image enhancement techniques depends on the particular task, picture content, viewing conditions, and observing features. Researchers have provided an overview of spatial domain techniques for image enhancement processing. More specifically, processing methods are categorized based on representative image improvement techniques. In [24], the detection of masses and segmentation techniques for image processing was studied by the authors. This study sought to use MATLAB tools in the area of medical image processing. Much medical imaging can be used in visualization tools, and many are challenging to work on. The generation by using the MATLAB package to manage and visualize matrix data will thus help create simple computer graphics, e.g., bar charts, histograms, and scatter plots.
Nowadays, image processing tool packages are available for researchers and image processing enthusiasts. The result of the proposing method has helped users to efficiently analyze and process the image in a newer software package. Wavelet-based volumetric medical image compression is provided in [25]. In this article, researchers studied how volumetric medical images can optimally be compressed using JP3D. An enhanced technique of medical compression with a lossless area is provided in [26]. Lossless techniques of compression, without any data being lost, but with a low compressive rate, and loss compression techniques with a high compression ratio but with a minor data loss can be compressed. In [27], the Medical Image Watermarking Technique for Lossless Compression is launched, which reduces the lossless watermark compression without loss of data. The watermark in this work combines the defined region of interest (ROI) and the secret key of image watermarking. An approach based on digital image compression, digital watermarking and lossless compression was presented in [28]. The authors proposed new ways of combining techniques, such as digital watermarking, image reduction/expansion, and lossless compression standards (JPEG-LS (JLS) or TIFF), amongst others. These compression techniques have been named wREPro. TIFF (Watermarked Reduction/Expansion Protocol in conjunction with TIFF) and wREPro. JLS (wREPro combined with JPEG-LS format).
Designing convolutional neural networks’ architecture is a classic NP-hard optimization challenge, and some frameworks for creating network architectures for particular image classification tasks have been suggested [29,30]. Bacanin et al. [31] developed the hybridized monarch butterfly optimization algorithm to solve this issue. Moreover, Rosa et al. [22] used metaheuristic-driven strategies to solve the overfitting issue in the sense of CNN’s by choosing a regularization parameter known as a dropout. The findings show that optimizing dropout-based CNNs is worthwhile, owing to the ease with which appropriate dropout likelihood values can be found without setting new parameters empirically. Another method in image processing is the optimized quantum matched-filter technique [32], robust principal component analysis [33], and the generalized autoregressive conditional heteroscedasticity model [34]. Moreover, expression programming [35,36,37]. the optimization problem [38], the fuzzy best-worst method [39], and the GP-DEA model [40] are other methods. Several central math problems in medical imaging are explained in [41] by the authors.
The problem was rapidly modified by improved software and hardware. Much software is built on new techniques that utilize geometric partial differential equations combined with standard image/signal processing techniques. In this enterprise, scholars have attempted to base the principles of biomedical engineering on the development of software methods for complete rigorous mathematical foundations systems on therapy delivery. They show how mathematical research can influence some key medical subjects, such as enhancement, registration, and segmentation of the images. This research has developed an extensible image processing method that includes image compression and image enhancement to facilitate imaging research in the medical areas. Currently, it is essential to know that there is no agreement among researchers regarding image processing steps. Hence, in this paper, different compression and enhancement techniques from many researchers are studied and analyzed based on different performance metrics. At first, different MRI and CT scan images were selected, and compression methods applied to the images.

3. Methods and Materials

DICOM is used in nearly every radiology, cardiology, and radiotherapy imaging and radiotherapy application (X-ray, CT, MRI, ultrasound) and in equipment in other medical fields, including ophthalmology and dentistry. DICOM is one of the most commonly used healthcare communications standards globally, with hundreds of thousands of medical imaging systems in use. DICOM has revolutionized radiology practice since its inception in 1993, allowing for the complete substitution of X-ray film with a completely automated workflow. DICOM has allowed innovative medical imaging technologies that have changed the face of clinical medicine in the same way that the Internet has enabled modern customer knowledge applications. DICOM is the model that allows medical imaging work—for doctors and patients—from the emergency room to heart stress monitoring and breast cancer diagnosis.
In different image applications, wherever an image is reconstructed from its degraded version, the image processing algorithms’ efficiency needs to be measured quantitatively. For the evaluation objective, we should have the original image. In this research, medical images used to examine and evaluate methods were selected from The National Library of Medicine presents Med-Pix. Med-Pix is an online open-access database of medical images, case teaching, and clinical subjects, integrating textual metadata and images, including more than 12,000 patient cases, 9000 themes, and almost 59,000 images. The collected images are free of copyright problems and are open for use by the public. Reading some of the relevant journals and research papers, some performance parameters for evaluating image processing algorithms where the reconstructed image and the original image from its degraded version are available for evaluation objectives are listed as follows:
  • − Mean squared error (MSE).
  • − Root-mean-square error (RMSE).
  • − Peak signal-to-noise ratio (PSNR).
  • − Mean absolute error (MAE).
  • − Cross-correlation parameter (CP).
  • − Structure similarity index map (SSIM).
  • − Histogram analysis.
In this research, MSE, PSNR, and SSIM as performance parameters were used for evaluating image processing algorithms. Additionally, the experiments were performed using MATLAB software (MathWorks, Natick, MA, USA).

3.1. Image Compression Techniques

Two categories of image compression used for medical image processing research are lossless and lossy. Lossy compression requires an accurate reconstructed image of the original image from the replica. Such compression is utilized for medical image constructions, where data loss can be misdiagnosed. Unlike error-free coding, lossy image compression in exchange for a higher accuracy reduces the coded image of the compression ratio. There is a quantizer for the encoder that restricts the number of bits needed for the image. The quantizer aims to eliminate psych visual redundancy. Vector quantization, predictive coding, and transform coding are three standard methods for lossy image compression. Hybrid coding is a combined system using the characteristics of different image compression coding schemes to improve efficiency. The two ‘lossy’ techniques were used to perform a discrete cosine transform (DCT) and discrete wavelet transform (DWT). Additionally, run length encoding (RLE) and block truncation coding (BTC) of lossless techniques were applied to medical images for evaluating experiments [42].

3.2. Discrete Cosine Transform Technique

The discrete cosine transform (DCT) technique comprises a fixed series of data points as a total of the fluctuation of cosine functions at various frequencies [43]. In contrast to every other medical imaging technique (grayscale), DCT results show better MSE and compression ratio results. Additionally, several studies on grayscale medical images have confirmed this claim. The DCT, in comparison with other techniques, is faster than other methods for an image with smooth edges. DCTs are essential and crucial for various applications in the field of medical science/engineering. In lossy compression of audio files, such as MP3, and images, such as JPEG, the small high-frequency elements may be discarded, and DCT is suitable [43,44,45,46].
A grayscale medical image was taken from MedPix and then compressed using the DCT technique in the present research. After, inverse DCT was employed to reconstruct the medial image. This procedure was performed twice for the following reasons:
  • − In the first step, this work was done to reduce the image’s spatial resolution.
  • − In the second step, the medical image was split into blocks and re-compressed.
The first step was to do this by employing MATLAB programming, and in the next step, the image was split into blocks, and DCT was applied to each block twice.

3.3. Discrete Wavelet Transform Technique

Discrete wavelet transform (DWT) is a technology that enables image pixels to be transformed into wavelets and used for compression and coding on a wavelet. This technique is beneficial for compressing signals and better results for medical grayscale images [47,48]. By using the set of analysis functions, DWT enables the multi-resolution representation. In fields, such as medical imaging, the image’s degradation is not tolerated and causes a decrease in the final accuracy result. One of the best ways to extract the key information to improve the quality of signals is an approach based on using wavelets. DWT is used continuously to solve more advanced problems, providing information on the frequency and locale of the analyzed signal. Image transform from the mat to gray was done in this method and divided into 4 bits. Then, DWT compression was applied to the medical image. Finally, the image was resized to the original size again.

3.4. Run Length Encoding Technique

It can perhaps be said that run-length encoding (RLE) is the most straightforward common compression technique. It is a ‘lossless’ algorithm and can function by searching for ‘runs’ of the same value bits, bytes, or pixels and encrypting the run’s length and value. Therefore, RLE produces the best results with pictures with large contiguous color areas, especially monochrome pictures [49,50,51,52]. The run length encoding technique is one of the most widely used encoding methods in lossless compression techniques. It supports most bitmap file formats, such as BMP, PCX, and TIFF, and is an elementary form of lossless compression algorithms. This technique is suitable to compress any data irrespective of its content. However, the data content affects the RLE compression ratio. Without losing important information, the RLE technique can compress medical images.
Meanwhile, medical images can be compressed into a single data sequence with a long continuous sequence. Black and white images can mainly compress with run length encoding, and better results can be obtained from image compression. In the present study, lossless compression of the medical image using RLE was obtained.

3.5. Block Truncation Coding Technique

The technique block truncation coding is a type of grayscale lossy compression technique. In this technique, the original images are split into blocks. A quantizer is then employed to reduce the gray levels in each block with the same mean and standard differences. Much of the techniques used in RLE and BTC are used together to achieve compression outputs. BTC can also be used for video compression.
In this paper, for differentiation of the medical image into blocks in some segments, the BTC technique was used. This was achieved with the help of column altering because it can adjust total column values. It is very convenient to use the BTC technique because it can be implemented quickly, relative to other techniques in several channel errors having suitable performance.

3.6. Image Enhancement Techniques

Image enhancement is used to facilitate visual interpretation and imaging. Digital imagery offers the advantage that it enables us to manipulate pixel values into an image. The image enhancement technique primarily aims to modify the attributes of an image to render it more appropriate for a particular task and observation. One or more attributes of the image are changed during this process. With image enhancement methods, the interpretability or data collection in images can be enhanced for people. This method can also provide better input for other techniques of automated image processing. Nowadays, many images, such as geographic images, medical images, and aerial images, suffer from noise and poor contrast [51]. Increasing the image view’s quality, increasing contrast, blurring, and noise are the advantages of enhancement techniques. Additionally, these methods can enhance image sharpness and borders.
Two categories of enhancement techniques include:
  • Spatial domain techniques.
  • Frequency domain techniques.

3.7. Spatial Domain Methods

The primary purpose of enhancement is to process an image to yield better results for a particular process. Image enhancement is divided into two categories: spatial domain enhancement and frequency domain enhancement. The term spatial domain implies the image plane itself, which directly manipulates pixels. For the manipulation of image pixels, in this paper, the spatial domain technique was used. This method not only achieves image adjustment but can also enhance the quality and the contrast of the compressed medical images. This study used adaptive histogram equalization and morphological operations to improve the compressed medical images’ quality.

3.8. Adaptive Histogram Equalization (AHE)

Global histogram equalization does not work effectively for images containing low contrast regions of bright or dark areas. Adaptive histogram equalization (AHE) is the change to the histogram equalization, which can be applied for better results on these images [53]. AHE only takes small regions into account and increases the contrast of these regions by considering their local CDF. Various methods can be used to implement AHE, and there are several variations in each of those. In this project, we implemented AHE using an interpolated mapping method with tiled windows with interpolated mapping [52,54,55,56].
The medical image was enhanced with AHE by the use of MATLAB commands and functions. AHE is a method for ‘contrast enhancement’ that is widely applicable and efficient.

3.9. Morphological Operations (MO)

Morphological operations are easy to use and operate following the set theory. ‘Morphological operations aim to remove the ‘imperfections’ in the image structure. Most of the operations used here consist of combining two dilation and erosion processes. A small matrix structure called the structuring element is used for the operation. The shape and size of the structuring element significantly affect the final result. In image processing, morphological operations aim to remove these imperfections by considering the image form and structure [57,58,59].

3.10. Evaluation Metrics

An essential image processing step is medical image compression. Comparing images to evaluate the quality of compression is an essential part of measuring improvement. Metric selection is one of the challenges in evaluating medical compression [37,53]. Using the right evaluation metrics for measuring the compression and enhancement techniques is critical. Otherwise, you may be trapped in thinking that your model works well, but it does not work. We used three evaluation criteria as follows:
  • Structural similarity index modulation.
  • MSE.
  • PSNR.
Structural Similarity Index Modulation (SSIM): The luminance, contrast, and structural are three basic computation terms used to determine the structural similarity index (SSIM). SSIM is a multiplicative combination of the three above terms:
S S I M ( x , y ) = [ l ( x , y ) ] α     .     [ C ( x , y ) ] β     .     [ S ( x , y ) ] γ
where:
l ( x , y ) = 2 μ x μ y + C 1 μ x 2 + μ y 2 + C 1
C ( x , y ) = 2 δ x δ y + C 2 δ x 2 + δ y 2 + C 2
S ( x , y ) = δ x y + C 2 δ x δ y + C 2
In the equations above, μ x ,   μ y ,   σ x ,   σ y , and σ x y represent the local mean, SD, and cross-covariance for images x, y, respectively. If α = β = γ = 1 (as the default values for the exponents), and C 3 = C 2 / 2 (as the default value for C 3 ), the index can be simplified as follows:
S S I M ( x , y ) = ( 2 δ x δ y + C 1 ) ( 2 δ x δ y + C 2 ) ( δ x 2 + δ y 2 + C 1 ) ( δ x 2 + δ y 2 + C 2 )
This method is used to evaluate the similarity between the two images. It has also been developed to improve techniques like MSE and PSNR.
Mean Squared Error (MSE): A model evaluation metric mostly applied with regression models is the mean squared error. To evaluate the compression techniques and enhancement techniques, the MSE method can be used:
M S E = 1 M N y = 1 M x = 1 N ( I ( x , y ) I ( x , y ) ) 2
In the equation above, I(x; y) and I0(x; y) denote the original and recovered pixels’ values at row x and column y for the M × N image, respectively.
Peak Signal-to-Noise Ratio (PSNR): The reconstruction (PSNR) is one of the appropriate quality assessment criteria for medical image compression for medical image enhancement and peak signal-to-noise ratio (PSNR). PSNR indicates a ratio of the maximum possible value (power) of an indicator with the performance of a distorting noise, which generally impacts its representation quality:
P S N R = 20 log 255 M S E

4. Results

A medical image was chosen from the MedPix® database to show the results. After compression and enhancement were are applied to the sample medical images, specific outputs from each image were obtained and analyzed. MedPix® is an open-access online dataset of restorative pictures, educating cases, clinical subjects, coordination pictures, and printed metadata counting over 12,000 understanding case scenarios, 9000 subjects, and about 59,000 pictures. It essentially targets a group of onlookers and incorporates doctors and medical attendants, associated wellbeing professionals, medical understudies, nursing understudies, and others inquisitive about therapeutic knowledge. The substance fabric is organized by malady area (organ framework), pathology category, quiet profiles, picture classification, and picture captions. The collection is searchable by understanding side effects and signs, determination, organ framework, picture methodology, picture depiction, catchphrases, contributing creators, and numerous other look alternatives. The values take from this medical image are also categorized in Table 1.

Enhanced and Compressed Output

Figure 1, Figure 2, Figure 3, Figure 4 and Figure 5 display the enhanced and compressed output of the sample medical image.

5. Discussion

Image compression is an application of information compression on digital images; in other words, the purpose of this work is to reduce the redundancy of the contents of the image for the ability to store or transfer information in optimal form. Photo compression can be done without loss and total loss. Lossless compression is sometimes preferred for some images, such as technical drawings and icons, so high-loss compression methods compromise image quality, primarily when used for low bit rates. Lossless compression methods may also be preferred for valuable content, such as medical photographs or scanned photographs for archiving purposes. The proliferation method is especially suitable for natural photographs, such as photographs for small (sometimes minor) applications, where the loss of fidelity is significant to reduce the bit rate. To store images, the amount of information must be reduced as much as possible, and the basis of all compression methods is the exclusion of parts of information and data. It is the compression ratio that determines the amount and percentage of information discarded. This method simplifies data storage and transmission and reduces the required bandwidth and frequency. PSNR, MSE, and SSIM are three performance metrics that were used for the sample medical images. As shown in Table 1, to improve the images’ quality after compression with lossless and lossy techniques, morphological operations is not a suitable algorithm. By further examining and comparing the values of PSNR with the morphological operations algorithm, we found that MO is not an appropriate algorithm to enhance images after compression. In general, it can be stated that evaluation metrics values include SSIM and PSNR after MO and AHE methods are less than PSNR and SSIM values after compression; therefore, these two methods, namely AHE and MO methods, are not suitable for medical image enhancement.
Regarding the results of the presented method in Figure 6, the graph illustrates the performance methods for both compression and enhancement. Based on our findings, the DCT method has higher PSNR than other methods and is compatible with compression. Moreover, the enhancement of the AHE method represents higher performance than other methods. Moreover, the SSIM methods indicate that the DWT and block truncation ability to compress X-ray images is weaker than the DCT and RLE techniques. After comparing the presented methods with the state-of-the-art image compression approaches, it can be estimated that the presented techniques have higher accuracy than other methods. Moreover, regarding Table 2, the lower MSE belongs to the presented DCT and RLE. Moreover, the PSNR criteria are 89.98 and 54.77 for DCT and DWT. These are higher values in comparison with those in the literature methods.

6. Conclusions

This paper mainly aimed to obtain an efficient medical image output. For this purpose, a comprehensive literature review was conducted to comprehend these methods’ different features and functions. A piece of explicit knowledge was acquired on the enhancement and compression methods from this literature research. Additionally, how they work on medical grayscale images was investigated.
In the first step, compression was performed by employing both lossless and lossy methods, followed by enhancement. Four techniques, including BTC, DCT, DWT, and RLE, were applied for compression. Lossy compression using DWT enhancement based on MSE, SSIM, and PSNR without the loss of more information showed better results than the DCT technique. Without losing much data, the RLE and BTC techniques compressed well. The RLE technique compared with the BTC technique presented a reasonable compression rate from the analysis. Using the two techniques AHE and MO, each compression technique was further enhanced. Besides, the results of the analysis showed that the combination of compression and enhancement techniques works together well. Compared to PSNR and SSIM, the RLE technique showed higher values and better image quality following enhancement than the BTC technique. The experiments showed that when we combined AHE and RLE techniques, these two techniques presented more satisfactory enhancement results than the other techniques. The AHE technique considerably improved the compressed image in the DWT compression technique. Morphological operations were used instead of sharpening or increasing contrast images to enhance the background. Morphological operations werre utilized to improve the quality of the background rather than to sharpen the image. Such techniques, in particular, were used to improve the particular region of interest.
Medical imaging is rapidly developing due to the development of image processing techniques, including image recognition, testing, and improvement. Image processing increases the percentage and number of problems detected. For future work, machine learning algorithms, including supervised, unsupervised, reinforcement algorithms, meta-heuristic algorithms, approximate algorithms, and deep learning algorithms, are techniques that can be applied to image processing and image optimization with different parameters.

Author Contributions

Conceptualization, Y.P. and F.C.; methodology, Y.P.; software, F.C.; validation, Y.P. and F.C.; formal analysis, F.C.; investigation, Y.P.; resources, F.C.; data curation, F.C.; writing—original draft preparation, Y.P.; writing—review and editing, Y.P.; visualization, Y.P.; supervision, Y.P.; project administration, F.C.; funding acquisition, F.C. All authors have read and agreed to the published version of the manuscript.

Funding

This research received no external funding.

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

The dataset is available online: http://www.med.harvard.edu/AANLIB/ (accessed on 18 April 2021).

Conflicts of Interest

The authors declare no conflict of interest.

Abbreviations

CTComputerized Tomography
MRIMagnetic Resonance Imaging
FDA Food and Drug Administration
SPIHTSet Partitioning in Hierarchical Trees
EZW Embedded Zero Trees of Wavelet Transforms
SOFMSelf-Organizing Feature Map
SVD Singular Value Decomposition
WDR Wavelet Difference Reduction
ROI Region Of Interest
CNNConvolutional Neural Network
GPGoal Programming
DICOMDigital Imaging and Communications In Medicine
JPEGJoint Photographic Experts Group
TIFFTagged Image File Format
BMPBitmap
PCXPicture Exchange
CDFCumulative Distribution Function
MOMorphological Operations
AHEAdaptive Histogram Equalization
DCT Discrete Cosine Transform
DWT Discrete Wavelet Transform
RLERun Length Encoding
BTCBlock Truncation Coding
MSEMean Squared Error
RMSERoot-Mean-Square Error
PSNRPeak Signal-To-Noise Ratio
MAEMean Absolute Error
CPCross-Correlation Parameter
SSIMStructure Similarity Index Map

References

  1. Karimi, N.; Ranjbarzadeh Kondrood, R.; Alizadeh, T. An intelligent system for quality measurement of Golden Bleached raisins using two comparative machine learning algorithms. Meas. J. Int. Meas. Confed. 2017, 107, 68–76. [Google Scholar] [CrossRef]
  2. Monteiro, A.C.B.; França, R.P.; Estrela, V.V.; Razmjooy, N.; Iano, Y.; Negrete, P.D.M. Metaheuristics Applied to Blood Image Analysis. In Lecture Notes in Electrical Engineering; Springer Science and Business Media Deutschland GmbH: Deutschland, Germany, 2021; Volume 696, pp. 117–135. [Google Scholar]
  3. Li, Z.; Zhang, X.; Müller, H.; Zhang, S. Large-scale retrieval for medical image analytics: A comprehensive review. Med. Image Anal. 2018, 43, 66–84. [Google Scholar] [CrossRef] [Green Version]
  4. Ranjbarzadeh, R.; Baseri Saadi, S. Corrigendum to “Automated liver and tumor segmentation based on concave and convex points using fuzzy c-means and mean shift clustering” [Measurement (2020) 150, (S0263224119309522)]. Meas. J. Int. Meas. Confed. 2020, 151. [Google Scholar] [CrossRef]
  5. Ali, W.A.; Manasa, K.N.; Bendechache, M.; Aljunaid, M.F.; Sandhya, P. A review of current machine learning approaches for anomaly detection in network traffic. J. Telecommun. Digit. Econ. 2020, 8, 64–95. [Google Scholar] [CrossRef]
  6. Hachemi, M.L.; Omari, M.; Baroudi, M. Enhancement of DCT-Based Image Compression Using Trigonometric Functions. In Proceedings of the 2018 International Conference on Computing Sciences and Engineering, ICCSE 2018—Proceedings, Kuwait City, Kuwait, 11–13 March 2018; Institute of Electrical and Electronics Engineers Inc.: Piscataway, NJ, USA, 2018; pp. 1–5. [Google Scholar]
  7. Fernandes, S.R.; de Assis, J.T.; Estrela, V.V.; Razmjooy, N.; Deshpande, A.; Patavardhan, P.; Aroma, R.J.; Raimond, K.; Loschi, H.J.; Nascimento, D.A. Nondestructive Diagnosis and Analysis of Computed Microtomography Images via Texture Descriptors. In Advances in Multidisciplinary Medical Technologies—Engineering, Modeling and Findings; Springer International Publishing: Berlin/Heidelberg, Germany, 2021; pp. 249–261. [Google Scholar]
  8. Chen, G.; Li, C.; Wei, W.; Jing, W.; Woźniak, M.; Blažauskas, T.; Damaševičius, R. Fully convolutional neural network with augmented atrous spatial pyramid pool and fully connected fusion path for high resolution remote sensing image segmentation. Appl. Sci. 2019, 9, 1816. [Google Scholar] [CrossRef] [Green Version]
  9. Chen, S.W.; Chiang, D.L.; Liu, C.H.; Chen, T.S.; Lai, F.; Wang, H.; Wei, W. Confidentiality Protection of Digital Health Records in Cloud Computing. J. Med. Syst. 2016, 40, 124. [Google Scholar] [CrossRef]
  10. Bai, Z.; Li, Y.; Chen, X.; Yi, T.; Wei, W.; Wozniak, M.; Damasevicius, R. Real-time video stitching for mine surveillance using a hybrid image registration method. Electronics 2020, 9, 1336. [Google Scholar] [CrossRef]
  11. Połap, D. An adaptive genetic algorithm as a supporting mechanism for microscopy image analysis in a cascade of convolution neural networks. Appl. Soft Comput. J. 2020, 97, 106824. [Google Scholar] [CrossRef]
  12. Talukder, K.H.; Harada, K. Haar Wavelet Based Approach for Image Compression and Quality Assessment of Compressed Image. 2010. Available online: http://arxiv.org/abs/1010.4084 (accessed on 6 February 2021).
  13. Raja, S.P.; Suruliandi, D.A. Analysis of efficient wavelet based image compression techniques. In Proceedings of the 2010 2nd International Conference on Computing, Communication and Networking Technologies, ICCCNT 2010, Karur, India, 29–31 July 2010. [Google Scholar]
  14. Zhang, F.; Xu, Z.; Chen, W.; Zhang, Z.; Zhong, H.; Luan, J.; Li, C. An Image Compression Method for Video Surveillance System in Underground Mines Based on Residual Networks and Discrete Wavelet Transform. Electronics 2019, 8, 1559. [Google Scholar] [CrossRef] [Green Version]
  15. Rufai, A.M.; Anbarjafari, G.; Demirel, H. Lossy image compression using singular value decomposition and wavelet difference reduction. Digit. Signal Process. 2014, 24, 117–123. [Google Scholar] [CrossRef]
  16. Ahmad, R.; Choubey, N.S. Review on image enhancement techniques using biologically inspired artificial bee colony algorithms and its variants. In Lecture Notes in Computational Vision and Biomechanics; Springer: Dordrecht, The Netherlands, 2018; Volume 25, pp. 249–271. [Google Scholar]
  17. Kaur, G.; Bhardwaj, N.; Singh, P.K. An analytic review on image enhancement techniques based on soft computing approach. In Advances in Intelligent Systems and Computing; Springer: Berlin/Heidelberg, Germany, 2018; Volume 651, pp. 255–265. [Google Scholar]
  18. Nithyananda, C.R.; Ramachandra, A.C. Preethi Review on Histogram Equalization based Image Enhancement Techniques. In Proceedings of the International Conference on Electrical, Electronics, and Optimization Techniques, ICEEOT 2016, Chennai, India, 3–5 March 2016; Institute of Electrical and Electronics Engineers Inc.: Piscataway, NJ, USA, 2016; pp. 2512–2517. [Google Scholar]
  19. Maini, R.; Aggarwal, H. A Comprehensive Review of Image Enhancement Techniques. Int. J. Innov. Res. Growth 2010, 8. Available online: http://arxiv.org/abs/1003.4053 (accessed on 6 February 2021).
  20. Pourasad, Y.; Ranjbarzadeh, R.; Mardani, A. A New Algorithm for Digital Image Encryption Based on Chaos Theory. Entropy 2021, 23, 341. [Google Scholar] [CrossRef]
  21. Almeida, J.S.; Rebouças Filho, P.P.; Carneiro, T.; Wei, W.; Damaševičius, R.; Maskeliūnas, R.; de Albuquerque, V.H.C. Detecting Parkinson’s disease with sustained phonation and speech signals using machine learning techniques. Pattern Recognit. Lett. 2019, 125, 55–62. [Google Scholar] [CrossRef] [Green Version]
  22. Kumar, P.; Parmar, A. Versatile Approaches for Medical Image Compression: A Review. Procedia Comput. Sci. 2020, 167, 1380–1389. [Google Scholar] [CrossRef]
  23. Monika, R.; Dhanalakshmi, S.; Sreejith, S. Coefficient random permutation based compressed sensing for medical image compression. In Advances in Electronics, Communication and Computing; Springer: Berlin/Heidelberg, Germany, 2018; Volume 443, pp. 529–536. [Google Scholar]
  24. Yong, C.Y.; Chew, K.M.; Mahmood, N.H.; Ariffin, I. Image Processing Tools Package in Medical Imaging in MATLAB. Int. J. Educ. Inf. Technol. 2012, 6, 260–268. [Google Scholar]
  25. Bruylants, T.; Munteanu, A.; Schelkens, P. Wavelet based volumetric medical image compression. Signal Process. Image Commun. 2015, 31, 112–133. [Google Scholar] [CrossRef] [Green Version]
  26. Zuo, Z.; Lan, X.; Deng, L.; Yao, S.; Wang, X. An improved medical image compression technique with lossless region of interest. Optik (Stuttg.) 2015, 126, 2825–2831. [Google Scholar] [CrossRef]
  27. Badshah, G.; Liew, S.C.; Zain, J.M.; Ali, M. Watermark Compression in Medical Image Watermarking Using Lempel-Ziv-Welch (LZW) Lossless Compression Technique. J. Digit. Imaging 2016, 29, 216–225. [Google Scholar] [CrossRef] [Green Version]
  28. Amri, H.; Khalfallah, A.; Gargouri, M.; Nebhani, N.; Lapayre, J.C.; Bouhlel, M.S. Medical Image Compression Approach Based on Image Resizing, Digital Watermarking and Lossless Compression. J. Signal Process. Syst. 2017, 87, 203–214. [Google Scholar] [CrossRef]
  29. Ranjbarzadeh, R.; Jafarzadeh Ghoushchi, S.; Bendechache, M.; Amirabadi, A.; Ab Rahman, M.N.; Baseri Saadi, S.; Aghamohammadi, A.; Kooshki Forooshani, M. Lung Infection Segmentation for COVID-19 Pneumonia Based on a Cascade Convolutional Network from CT Images. Biomed. Res. Int. 2021, 2021, 5544742. [Google Scholar] [CrossRef]
  30. Ranjbarzadeh, R.; Bagherian Kasgari, A.; Jafarzadeh Ghoushchi, S.; Anari, S.; Naseri, M.; Bendechache, M. Brain tumor segmentation based on deep learning and an attention mechanism using MRI multi-modalities brain images. Sci. Rep. 2021, 11, 10930. [Google Scholar] [CrossRef]
  31. Bacanin, N.; Bezdan, T.; Tuba, E.; Strumberger, I.; Tuba, M. Monarch butterfly optimization based convolutional neural network design. Mathematics 2020, 8, 936. [Google Scholar] [CrossRef]
  32. Ahmadi, M.; Sharifi, A.; Hassantabar, S.; Enayati, S. QAIS-DSNN: Tumor Area Segmentation of MRI Image with Optimized Quantum Matched-Filter Technique and Deep Spiking Neural Network. Biomed. Res. Int. 2021, 2021, 6653879. [Google Scholar] [CrossRef] [PubMed]
  33. Ahmadi, M.; Sharifi, A.; Jafarian Fard, M.; Soleimani, N. Detection of Brain Lesion Location in MRI Images Using Convolutional Neural Network and Robust PCA. Int. J. Neurosci. 2021. [Google Scholar] [CrossRef]
  34. Hamzenejad, A.; Ghoushchi, S.J.; Baradaran, V.; Mardani, A. A robust algorithm for classification and diagnosis of brain disease using local linear approximation and generalized Autoregressive Conditional Heteroscedasticity model. Mathematics 2020, 8, 1268. [Google Scholar] [CrossRef]
  35. Dorosti, S.; Jafarzadeh Ghoushchi, S.; Sobhrakhshankhah, E.; Ahmadi, M.; Sharifi, A. Application of gene expression programming and sensitivity analyses in analyzing effective parameters in gastric cancer tumor size and location. Soft Comput. 2020, 24, 9943–9964. [Google Scholar] [CrossRef]
  36. Jafarzadeh-Ghoushchi, S. Qualitative and Quantitative Analysis of Green Supply Chain Management (GSCM) Literature from 2000 to 2015. Int. J. Supply Chain Manag. 2018, 7, 77–86. [Google Scholar]
  37. Jafarzadeh, S.G.; Ab Rahman, M.N.; Abd Wahab, D. Optimization of supply chain management based on response surface methodology: A case study of Iran Khodro. World Appl. Sci. J. 2012, 20, 620–627. [Google Scholar] [CrossRef]
  38. Jafarzadeh Ghoushchi, S.; Khazaeili, M.; Amini, A.; Osgooei, E. Multi-criteria sustainable supplier selection using piecewise linear value function and fuzzy best-worst method. J. Intell. Fuzzy Syst. 2019, 37, 2309–2325. [Google Scholar] [CrossRef]
  39. Jafarzadeh Ghoushchi, S.; Dodkanloi Milan, M.; Jahangoshai Rezaee, M. Evaluation and selection of sustainable suppliers in supply chain using new GP-DEA model with imprecise data. J. Ind. Eng. Int. 2018, 14, 613–625. [Google Scholar] [CrossRef] [Green Version]
  40. Kutyniok, G.; Ma, J.; März, M. Mathematical methods in medical image processing. In Quantification of Biophysical Parameters in Medical Imaging; Springer International Publishing: Berlin/Heidelberg, Germany, 2018; pp. 153–166. ISBN 9783319659244. [Google Scholar]
  41. Hussain, A.J.; Al-Fayadh, A.; Radi, N. Image compression techniques: A survey in lossless and lossy algorithms. Neurocomputing 2018, 300, 44–69. [Google Scholar] [CrossRef]
  42. Mondal, B.; Mandal, T. A light weight secure image encryption scheme based on chaos & DNA computing. J. King Saud Univ. Comput. Inf. Sci. 2017, 29, 499–504. [Google Scholar] [CrossRef] [Green Version]
  43. de Assis Neto, S.R.; Santos, G.L.; da Silva Rocha, E.; Bendechache, M.; Rosati, P.; Lynn, T.; Takako Endo, P. Detecting Human Activities Based on a Multimodal Sensor Data Set Using a Bidirectional Long Short-Term Memory Model: A Case Study. In Studies in Systems, Decision and Control; Springer: Berlin/Heidelberg, Germany, 2020; Volume 273, pp. 31–51. [Google Scholar]
  44. Mokhtari, Z.; Melkemi, K. A new watermarking algorithm based on entropy concept. Acta Appl. Math. 2011, 116, 65–69. [Google Scholar] [CrossRef]
  45. Bendechache, M. Study of Distributed Dynamic Clustering Framework for Spatial Data Mining. 2019. Available online: http://oatd.org/oatd/record?record=handle%5C%3A10197%5C%2F10614 (accessed on 17 December 2020).
  46. Sharma, V.K.; Srivastava, D.K. Comprehensive Data Hiding Technique for Discrete Wavelet Transform-Based Image Steganography Using Advance Encryption Standard; Springer: Singapore, 2017; pp. 353–360. [Google Scholar]
  47. Bendechache, M.; Svorobej, S.; Takako Endo, P.; Lynn, T. Simulating Resource Management across the Cloud-to-Thing Continuum: A Survey and Future Directions. Future Internet 2020, 12, 95. [Google Scholar] [CrossRef]
  48. Husseen, A.H.; Mahmud, S.S.; Mohammed, R.J. Image Compression Using Proposed Enhanced Run Length Encoding Algorithm | Ibn AL—Haitham Journal for Pure and Applied Science. 2017. Available online: https://colang.uobaghdad.edu.iq/jih/index.php/j/article/view/803 (accessed on 6 February 2021).
  49. Xu, Z.; Sheykhahmad, F.R.; Ghadimi, N.; Razmjooy, N. Computer-aided diagnosis of skin cancer based on soft computing techniques. Open Med. (Wars) 2020, 8, 860–871. [Google Scholar] [CrossRef] [PubMed]
  50. Filelis-Papadopoulos, C.K.; Endo, P.T.; Bendechache, M.; Svorobej, S.; Giannoutakis, K.M.; Gravvanis, G.A.; Tzovaras, D.; Byrne, J.; Lynn, T. Towards simulation and optimization of cache placement on large virtual content distribution networks. J. Comput. Sci. 2020, 39, 101052. [Google Scholar] [CrossRef]
  51. Svorobej, S.; Takako Endo, P.; Bendechache, M.; Filelis-Papadopoulos, C.; Giannoutakis, K.; Gravvanis, G.; Tzovaras, D.; Byrne, J.; Lynn, T. Simulating Fog and Edge Computing Scenarios: An Overview and Research Challenges. Future Internet 2019, 11, 55. [Google Scholar] [CrossRef] [Green Version]
  52. Ranjbarzadeh, R.; Saadi, S.B.; Amirabadi, A. LNPSS: SAR image despeckling based on local and non-local features using patch shape selection and edges linking. Meas. J. Int. Meas. Confed. 2020, 164. [Google Scholar] [CrossRef]
  53. Deshpande, A.; Estrela, V.V.; Razmjooy, N. (Eds.) Computational Intelligence Methods for Super-Resolution in Image Processing Applications; Springer International Publishing: Cham, Switzerland, 2021; ISBN 978-3-030-67920-0. [Google Scholar]
  54. Acharya, U.K.; Kumar, S. Genetic Algorithm based adaptive histogram equalization (GAAHE) technique for medical image enhancement. Optik (Stuttg.) 2021, 230, 166273. [Google Scholar] [CrossRef]
  55. Momeni Pour, A.; Seyedarabi, H.; Abbasi Jahromi, S.H.; Javadzadeh, A. Automatic detection and monitoring of diabetic retinopathy using efficient convolutional neural networks and contrast limited adaptive histogram equalization. IEEE Access 2020, 8, 136668–136673. [Google Scholar] [CrossRef]
  56. Bendechache, M.; Tari, A.K.; Kechadi, M.T. Parallel and distributed clustering framework for big spatial data mining. Int. J. Parallel Emergent Distrib. Syst. 2019, 34, 671–689. [Google Scholar] [CrossRef]
  57. Gomaa, A.; Abdelwahab, M.M.; Abo-Zahhad, M. Efficient vehicle detection and tracking strategy in aerial videos by employing morphological operations and feature points motion analysis. Multimed. Tools Appl. 2020, 79, 26023–26043. [Google Scholar] [CrossRef]
  58. Wang, Z. A new clustering method based on morphological operations. Expert Syst. Appl. 2020, 145, 113102. [Google Scholar] [CrossRef] [Green Version]
  59. Thanki, R.; Borra, S.; Dey, N.; Ashour, A.S. Medical imaging and its objective quality assessment: An introduction. In Lecture Notes in Computational Vision and Biomechanics; Springer: Dordrecht, The Netherlands, 2018; Volume 26, pp. 3–32. [Google Scholar]
Figure 1. Lossy techniques: DCT and DWT compression.
Figure 1. Lossy techniques: DCT and DWT compression.
Ijerph 18 06724 g001aIjerph 18 06724 g001b
Figure 2. Lossy techniques: AHE and MO Enhancement for DCT and DWT.
Figure 2. Lossy techniques: AHE and MO Enhancement for DCT and DWT.
Ijerph 18 06724 g002
Figure 3. Lossless techniques: Lossless compression utilizing RLE and BTC.
Figure 3. Lossless techniques: Lossless compression utilizing RLE and BTC.
Ijerph 18 06724 g003
Figure 4. Lossless techniques: Enhancement of BTC using AHE and MO.
Figure 4. Lossless techniques: Enhancement of BTC using AHE and MO.
Ijerph 18 06724 g004
Figure 5. Lossless techniques: Enhancement of RLE using AHE and MO.
Figure 5. Lossless techniques: Enhancement of RLE using AHE and MO.
Ijerph 18 06724 g005
Figure 6. The performance of the presented methods (a): PSNR criteria, (b): SSIM criteria.
Figure 6. The performance of the presented methods (a): PSNR criteria, (b): SSIM criteria.
Ijerph 18 06724 g006
Table 1. Performance metric for the sample medical image.
Table 1. Performance metric for the sample medical image.
Index SSIMMSEPSNR
1DCT compressed Image0.9761022864.15 × 10−589.97979612
2AHE enhancement for DCT compressed image0.9533235440.0125672382.67223261
3DWT compressed image0.0607322710.55507028554.76541543
4AHE enhancement for DWT compressed image0.9965406274.14 × 10−586.98046733
5MO enhancement for DWT compressed image0.9192758750.01288798672.76504215
6Block truncation compressed image0.0876851880.6664848547.63287631
7AHE enhancement for block truncation image0.8191498030.00171744475.77798049
8MO enhancement for block truncation image0.8321225740.00298753669.33196602
9RLE compressed image0.489703460.29997298643.72625764
10AHE enhancement for RLE compressed image0.871016540.00062901470.50874365
11MO enhancement for RLE compressed image0.812241230.00133517669.85366112
Table 2. The comparison between the presented methods and the state-of-the-art.
Table 2. The comparison between the presented methods and the state-of-the-art.
MethodMSEPSNR
Presented DCT4.15 × 10−589.98
Presented DWT0.5654.77
Presented Block truncation0.6747.63
Presented RLE0.3043.73
D-CNN [44]1.4047.40
BTOT [44]2.8145.90
JPEG [44]6.8243.97
JPEG2000 [44]1.6047.11
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Share and Cite

MDPI and ACS Style

Pourasad, Y.; Cavallaro, F. A Novel Image Processing Approach to Enhancement and Compression of X-ray Images. Int. J. Environ. Res. Public Health 2021, 18, 6724. https://0-doi-org.brum.beds.ac.uk/10.3390/ijerph18136724

AMA Style

Pourasad Y, Cavallaro F. A Novel Image Processing Approach to Enhancement and Compression of X-ray Images. International Journal of Environmental Research and Public Health. 2021; 18(13):6724. https://0-doi-org.brum.beds.ac.uk/10.3390/ijerph18136724

Chicago/Turabian Style

Pourasad, Yaghoub, and Fausto Cavallaro. 2021. "A Novel Image Processing Approach to Enhancement and Compression of X-ray Images" International Journal of Environmental Research and Public Health 18, no. 13: 6724. https://0-doi-org.brum.beds.ac.uk/10.3390/ijerph18136724

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop