Next Article in Journal
Levy Sooty Tern Optimization Algorithm Builds DNA Storage Coding Sets for Random Access
Previous Article in Journal
Modeling the Arrows of Time with Causal Multibaker Maps
Previous Article in Special Issue
Graph Adaptive Attention Network with Cross-Entropy
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

The Application of Tsallis Entropy Based Self-Adaptive Algorithm for Multi-Threshold Image Segmentation

by
Kailong Zhang
,
Mingyue He
,
Lijie Dong
and
Congjie Ou
*
College of Information Science and Engineering, Huaqiao University, Xiamen 361021, China
*
Author to whom correspondence should be addressed.
Entropy 2024, 26(9), 777; https://doi.org/10.3390/e26090777
Submission received: 5 August 2024 / Revised: 7 September 2024 / Accepted: 8 September 2024 / Published: 10 September 2024

Abstract

:
Tsallis entropy has been widely used in image thresholding because of its non-extensive properties. The non-extensive parameter q contained in this entropy plays an important role in various adaptive algorithms and has been successfully applied in bi-level image thresholding. In this paper, the relationships between parameter q and pixels’ long-range correlations have been further studied within multi-threshold image segmentation. It is found that the pixels’ correlations are remarkable and stable for images generated by a known physical principle, such as infrared images, medical CT images, and color satellite remote sensing images. The corresponding non-extensive parameter q can be evaluated by using the self-adaptive Tsallis entropy algorithm. The results of this algorithm are compared with those of the Shannon entropy algorithm and the original Tsallis entropy algorithm in terms of quantitative image quality evaluation metrics PSNR (Peak Signal-to-Noise Ratio) and SSIM (Structural Similarity). Furthermore, we observed that for image series with the same background, the q values determined by the adaptive algorithm are consistently kept in a narrow range. Therefore, similar or identical scenes during imaging would produce similar strength of long-range correlations, which provides potential applications for unsupervised image processing.

1. Introduction

In recent years, with the increase in digital imaging devices, image data have grown rapidly. Therefore, image processing has become more and more crucial in machine vision. During image processing, image segmentation is a fundamental step that divides an image into different regions by means of intensity, color, contour and so on. It has been successfully used in various fields [1,2,3,4] and the achievements are still growing. Technically, image segmentation mainly contains threshold-based segmentation, edge-based segmentation [5], clustering-based segmentation [6], and region-growing segmentation [7]. The threshold-based image segmentation has become the most frequently used method due to its simplicity, efficiency, and stability.
In 1980, Pun [8] first applied information entropy to image thresholding and it was improved by Kapur [9], who proposed the Maximum Shannon Entropy Thresholding algorithm. Kapur’s main idea is to treat the digital gray-level image as a matrix that contains pixels with different gray-level values. The gray-level histogram of the pixels can be considered as a kind of probability distribution. The entropy of the gray-level distribution can be maximized by a proper threshold, which is similar to maximizing the contrast between the object and the background of the image. If two or more objects exist in the same background, resulting in a multimodal gray-level distribution, the above-mentioned algorithm can be naturally extended to multi-threshold segmentation. It is worth noting that with the increasing number of thresholds, the computational complexity grows exponentially. In order to overcome this complexity and yield the optimal multi-threshold solution, swarm intelligence optimization algorithms are frequently used to solve such problems [10,11,12,13,14,15].
The concept of entropy was first proposed in thermo-statistical physics to deal with extensive systems [16]. Shannon entropy [17] inherits the extensivity and has been widely used in information theory. However, there are a lot of complex systems that present long-range interactions and the extensivities of them are broken. Extensive entropies are unsuitable to describe such systems anymore. Tsallis indicates a generalized entropic form [18] for those systems and their abnormal behaviors are well-fitted by the non-extensive parameter q. Over the years, Tsallis entropy has been applied not only in physics [19], but also in financial markets [20], seismology [21], bioinformatics [22], fractal networks [23], and so on. Regarding image segmentation, Tsallis entropy shows high adaptability for different types of target recognition [11,24,25] since the non-extensive parameter q is related to the strength of long-range correlations among image pixels. However, determining an appropriate value of q for a given image is still an open question in practice, since different types of images may present different patterns of correlations among pixels. Generally, the estimation of q values is performed empirically [26,27] in Tsallis entropy-based image segmentation, and the relationships between q values and the pixels’ correlations need to be further discussed.
In 2009, Rodrigues et al. [28] proposed a method to yield the optimal q values of images by maximizing the difference between q-dependent entropy and the upper limit of the histogram entropy, which sheds light on the patterns recognition of the pixels’ long-range correlations. In 2016, Ramírez-Reyes et al. [29] provided another method to obtain the non-extensive q values. It is based on the concept of redundancy in information theory and the entropy maximization principle, and has been successfully applied to the bi-level image thresholding [30]. While extending the bi-level segmentation to multi-level cases, with the increasing number of objects at different gray levels, the patterns of the pixels’ long-range correlation may also increase. In order to avoid the perturbations from uncertain interactions among pixels, the images generated by the unified imaging process should be adopted to illustrate the relationships between the q value and the long-range correlations of pixels. It is worth mentioning that in 2022, Mousavirad et al. [31] proposed a novel self-adaptive method to yield the optimal parameter r of Masi entropy, without relying on prior knowledge of histogram distribution or image type. This method demonstrated excellent performance in the multi-level segmentation of images with randomly natural scenes. Nevertheless, the histogram distribution may represent the correlations among pixels of an image. Therefore, it is of interest to study the relationships between the optimal entropic parameter q and the image histogram, which is different from the work of Mousavirad et al. [31] and can be applied to images generated by some known physical principles.
The rest of this paper is organized as follows. Section 2 briefly reviews the q-redundancy maximization method and introduces its application in multi-level image segmentation. In Section 3, according to the known physical principles, six image datasets are adopted for testing, and the quantitative image quality evaluation metrics such as PSNR and SSIM are introduced within multi-level image segmentation. In Section 4, the statistical results of different image datasets are illustrated so that the relationships between q-values and pixels’ long-range correlations are further discussed. In Section 5, the conclusions are presented.

2. Methods for Calculating Tsallis Entropy Index q and Image Segmentation

Assuming a given image size is M × N , representing the total number of pixels in it. The range of gray-level of the image is defined as i = 0 , 1 , 2 , , L 1 , where L represents the maximum gray-level of the image, such as 256. Thus, the gray-level probability distribution of the image is defined as:
p i = h i M × N ,
where h i is the number of pixels that the gray-level value is equal to i, and p i 0 , i = 0 L 1 p i = 1 hold. Obviously, p i represents the gray-level histogram distribution of the image. And Tsallis entropy is written as [18,19,24,32]:
S T = 1 i p i q 1 q ,
where q is the non-extensive index.

2.1. Entropy Index q and the Long-Range Correlation

Ramírez-Reyes et al. suggest that each complex system has its own entropy index, and it should not be determined arbitrarily. In practice, an image can be considered a non-extensive pixel system so that the long-range correlations among them can be quantified by q. Therefore, two fundamental concepts, redundancy and the maximum entropy principle, play important roles in evaluating the non-extensive parameter q. According to the non-extensive properties of Tsallis entropy, the q-redundancy of an image’s histogram can be written as [29]:
R T = 1 S T S T max ,
where S T max = 1 L 1 q q 1 . It means that the entropy reaches its maximal at the equiprobability case, i.e., p i = p j = 1 / L i , j . For a given image with a known gray-level histogram, the corresponding q-redundancy can be adjusted by parameter q. On the other hand, the histogram may exhibit long-range correlations among the pixels of the image. Therefore, maximizing the q-redundancy is a hopeful way to recognize the pattern of long-range correlations and yields a suitable non-extensive parameter q, i.e.,
q * = arg   max ( R T ) .
With the help of q * , the gray-level histogram of the image is re-normalized to deviate from equal probabilities as much as possible. This can result in a clearer representation of different clusters within the image, aiding in improving the quality of the image segmentation.

2.2. Multi-Level Thresholding Using Tsallis Entropy

Assuming that the gray-level histogram of an image is divided into m + 1 parts by a set of thresholds t = t 1 , t 2 , , t m , denoted as C = C 0 , C 1 , , C m , after normalization, the probability distribution of each class is defined as:
C 0 : p 0 P 0 , p 1 P 0 , , p t 1 P 0 C j : p t j + 1 P j , p t j + 2 P j , , p t j P j , C m : p t m + 1 P m , p t m + 2 P m , , p L 1 P m
where the cumulative probabilities of m + 1 categories are defined as:
P 0 = i = 0 t 1 p i P j = i = t j + 1 t j + 1 p i , P m = i = t m + 1 L 1 p i
Tsallis entropy of each region of C = C 0 , C 1 , , C m is obtained by the following definition:
S q 0 = 1 i = 0 t 1 p i P 0 q 1 i = 0 t 1 p i P 0 q ( q 1 ) ( q 1 ) S q j = 1 i = t j + 1 t j + 1 p i P j q 1 i = t j + 1 t j + 1 p i P j q ( q 1 ) ( q 1 ) . S q m = 1 i = t m + 1 L 1 p i P m q 1 i = t m + 1 L 1 p i P m q ( q 1 ) ( q 1 )
According to the pseudo-additivity property of Tsallis entropy, its multi-threshold objective function is defined as follows:
S q ( t 1 , t 2 , , t m ) = i S q i + ( 1 q ) j k S q j S q k + ( 1 q ) 2 u v w S q u S q v S q w + + ( 1 q ) m r = 0 m S q r .
Maximizing the objective function S q ( t 1 , t 2 , , t m ) yields an optimal set of thresholds as follows:
t * = arg max S q ( t 1 , t 2 , , t m ) ,
this algorithm is highly favored for its simplicity, intuitiveness, versatility, and excellent performance in image segmentation [33,34,35].

3. Image Test Sets and Quality Evaluation Parameters

There is a lot of evidence showing that parameter q has deep relevance with the long-range interaction in bi-level image segmentation [24,29,30,36]. However, extending bi-level thresholding to multi-level thresholding and drawing the conclusions seems not so straight. In fact, it is found that if the backgrounds of the images are of random natural scenes, the above algorithm does not exhibit significant advantages in comparison with the traditional Shannon algorithm and the original Tsallis algorithm [12]. In order to further show the relevance between pixels’ long-range correlations and nonextensivity during the imaging process, several different types of images are employed for comparison.
BSDS0500 is an image dataset consisting of randomly natural scenes. This dataset contains 500 images taken from real-world natural scenes, covering a variety of views and objects, including but not limited to modern urban landscapes, natural landscapes, animals and plants, human activities, and so on. These images provide diverse scenes and various visual information. Here, are a few examples from this dataset (Figure 1).
INFRAIMGS1, INFRAIMGS2, INFRAIMGS3, and INFRAIMGS4 are series of image datasets containing lots of infrared images captured by fixed infrared cameras at different moments. These datasets record specific activities and movements of objects in different scenes.
  • INFRAIMGS1: These images capture the activities of pedestrians and vehicles on two fixed outdoor road scenes. The dataset consists of 464 images extracted from frames, with a resolution of 550 × 365 .
  • INFRAIMGS2: This dataset depicts student activities at a fixed intersection near a teaching building. It comprises 264 images extracted from frames, with a resolution of 320 × 240 .
  • INFRAIMGS3: Presenting scenes fixed inside a cabin, focusing on the movement of individuals in the area. This dataset contains 253 images extracted from frames, capturing scenes of interaction and movement between individuals, with a resolution of 320 × 240 .
  • INFRAIMGS4: Showcasing scenes fixed in squares or similar open spaces, capturing pedestrians engaged in activities such as running, walking, or other leisure activities. The dataset comprises 118 images extracted from frames, with a resolution of 360 × 240 .
CTIMGS is a collection of medical chest CT images covering scans of chests from different patients. These images have a fixed black background, and the dataset comprises a total of 600 images, with a resolution of 224 × 224 . Below are examples of images from these datasets.
In the same dataset of Figure 2, those images are taken from the same background and generated by the same imaging principle, i.e., infrared imaging for INFRAIMGS1-4 and X-ray imaging for CTIMGS. These specified types of images can help us to further understand the pixels’ long-range correlations in the imaging stage.
The images shown in Figure 3 are generated by satellite remote sensing that captures changes in the Yellowstone and Padma regions over many years, with a resolution of 720 × 480 .
In order to evaluate the effectiveness of this self-adaptive multi-level segmentation algorithm, PSNR (Peak Signal-to-Noise Ratio) and SSIM (Structural Similarity Index) are adopted as quality indices. PSNR [37] represents the ratio of the peak signal to the noise. In image multiple-thresholding due to the gray-level compression, the output image is generally different from the original one. PSNR can precisely measure this difference and it is defined as:
P S N R = 10 log 10 255 2 M S E ,
MSE in Equation (10) is the mean squared error between the output image and the input image, and 255 is the maximum gray-level value in the image in general. MSE can be written as:
M S E = 1 M × N i = 1 M j = 1 N I i , j K i , j 2 ,
where I i , j and K i , j represent the original image and the image after segmentation, respectively.
The typical PSNR values in image segmentation range from 10 dB to 50 dB [38]. A higher PSNR value indicates a smaller distortion in the output image and a higher quality of segmentation. PSNR closing to 50 dB indicates that the segmented image has very minor errors. If PSNR is greater than 30 dB, it is difficult for the human eyes to perceive differences between the segmented image and the original one. For PSNR ranging from 20 dB to 30 dB, the differences become noticeable to the human eyes. In the range of 10 dB to 20 dB, the differences become larger. Nevertheless, the human eyes can still recognize the main structures in the output image. If PSNR is below 10 dB, it becomes challenging for humans to determine if there are any correlations between the input and output images. PSNR is currently the most frequently used objective measure for evaluating image quality. However, many experimental results have shown that PSNR scores may not fully coincide with the visual quality perceived by the human eyes. It is possible for images with higher PSNR to appear worse in visual quality than those with lower PSNR scores since the human visual system’s sensitivity to errors is affected by a lot of factors that are more complicated than Equation (10).
SSIM [39] is another quality metric that measures the similarity between two digital images. The recognition criteria of the human visual system, such as luminance, contrast, and structural information, are taken into account [40,41] to yield the expression of SSIM as:
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 ,
where x and y represent the images before and after segmentation, μ x and μ y denote the mean intensity of the corresponding images, σ x 2 and σ y 2 represent the standard deviations respectively, σ x y denotes the covariance of the images before and after segmentation, C 1 and C 2 are two constants to avoid zeros appearing in the denominator. Equation (12) shows that SSIM is a dimensionless value between 0 and 1, where smaller differences between the original and segmented images yield closer value to 1. Due to its simplicity and effectiveness, SSIM has been widely used in various applications related to image and video processing in recent years, such as image compression [42], image watermarking [43], wireless video streaming [44], and magnetic resonance imaging [45].
In practice, PSNR is more sensitive to additive Gaussian noise, while it exhibits lower sensitivity to JPEG compression. Conversely, SSIM is more sensitive to JPEG compression but relatively less responsive to additive Gaussian noise [37]. Therefore, we employ both PSNR and SSIM to assess the quality of the self-adaptive multi-level segmentation.

4. Experimental Results and Discussion

In order to show the detailed relevance between pixels’ long-range correlations and non-extensive entropy index q within a multi-level segmentation case, Shannon entropy and traditional Tsallis entropy are adopted as benchmarks to show the performance of the proposed self-adaptive algorithm. As mentioned above, Shannon entropy neglects the long-range correlations among image pixels and shows the extensive property. Tsallis entropy generalized the application scope of Shannon entropy by linking the strength of long-range correlations to non-extensive index q.
Images from the six datasets mentioned in Section 3 are processed by using three different multi-level segmentation algorithms, i.e., Shannon, and Tsallis (q = 0.8), and proposed, to yield the optimal results, respectively.
Figure 4 shows the four-level segmentation results of sample images from eight datasets. For the image from BSDS0500, the result of the Shannon algorithm looks closest to the original image, which indicates that the long-range correlations among image pixels can be neglected. Since the images in BSDS0500 are generated from random scenes, it is inadequate to say that the pixels of different images should always exhibit a long-range correlation. However, for images from the other seven datasets, the segmentation results of the proposed algorithm consistently show the superiority to the other two algorithms. Images in INFRAIMGS1-4 are generated by infrared cameras so infrared radiation plays an important role during the imaging process. It is well known that infrared radiation depends closely on the temperature of the objects. Therefore, the patterns of pixels’ long-range correlations actually reflect the temperature distributions of different objects in infrared images. This kind of long-range correlation can be successfully captured by the self-adaptive multi-level segmentation algorithm, which is more flexible than the traditional Tsallis entropy with a fixed q index. The evidence can also be found in the dataset of medical CT images, in which the pixels’ gray-level directly depend on the absorption of X-rays by different organs inside human body. Therefore, the gray-level values of pixels belonging to the same organ should have strong correlations and it is suitable to describe this kind of correlation by adaptive q index rather than fixed q. Moreover, the proposed algorithm is also effective to color images since color image can be considered as a combination of three colors (red, green, and blue), and the strength distribution of each color is similar to that of gray-level image. In fact, the satellite remote sensing images record the geography information of the earth’s surface so that the pixels belong to the same landform are correlated.
In order to show the segmentation results quantitatively, the output images of the three algorithms are compared with the corresponding original images in terms of PSNR and SSIM. Table 1 shows part of the PSNR results of BSDS0500 images by using Shannon, Tsallis (q = 0.8), and the proposed muti-level thresholding algorithms, in which the number of thresholds is 4. In each line of Table 1, the maximum PSNR value (with bold font) indicates that the corresponding algorithm is the most suitable one for the image named at the beginning of the line.
Therefore, for all 500 images of BSDS0500, one can statistically obtain the most suitable rates of three algorithms. They are 32% for the Shannon algorithm, 24.6% for the Tsallis algorithm with q = 0.8, and 55% for the proposed self-adaptive algorithm. It is worth mentioning that the sum of the above three most suitable rates slightly exceeds 100% because there are a few images, such as BSDS00109 in Table 1, that happen to obtain the same best result by using different algorithms. Nevertheless, the probability of such a case is small so that the images in the other five datasets can be processed in the same way. The statistical results are shown in Table 2.
Interestingly, unlike the distribution of the most suitable rates in BSDS0500, all the other five datasets show a notable tendency (the corresponding rates are far larger than 65%) to the proposed algorithm. Especially for INFRAIMGS2, all of the 264 images in it recognize the self-adaptive q as the most suitable values to present the pixels’ long-range correlations. The experimental results also show that the distribution of 264 q values ranges from 0.490 to 0.513, a very small interval. In fact, all images in INFRAIMGS2 have the same background and the ratios of the foreground (moving objects) to the full image size are small. It is reasonable to say that the strength of long-range correlations in each image of this dataset should be quite similar, but cannot be empirically determined by a fixed value. Other datasets that have the same characteristics with INFRAIMGS2, all exhibit the consistency in the range of q, such as 0.512 q 0.602 for INFRAIMGS1, 0.509 q 0.580 for INFRAIMGS3, 0.381 q 0.512 for INFRAIMGS4. These behaviors coincide with the imaging principles mentioned above.
The validity of self-adaptive q can be further confirmed by SSIM. Table 3 shows part of the SSIM results for the same images adopted in Table 1 by using three different multi-level thresholding algorithms, in which the number of thresholds is still 4. Since the definition of SSIM is totally different from that of PSNR, their responses to the same output image may not always be consistent with each other. Such as BSDS00116, according to the results of PSNR, Tsallis algorithm with q = 0.8 is suggested as the most suitable one, while Shannon algorithm yields the highest SSIM score. Nevertheless, the statistical results of the most suitable rates suggested by SSIM can also be obtained in the same way as Table 2, and they are shown in Table 4.
The sum of the most suitable rate for each dataset also slightly exceeds 100%, and the reason is similar to that in Table 2. It is found that all of the infra-image datasets show their preferences for the adaptive q as a measure of the strength of pixels’ long-range correlations under the criterion of SSIM. The statistical result of INFRAIMGS2 is the most notable one. All of the images in it adopt the proposed algorithm to achieve the highest scores defined by not only PSNR but also SSIM. Besides Table 2 and Table 4, the results of the most suitable rates over six datasets can be extended to the cases of a larger number of thresholds, as shown in Table 5, Table 6, Table 7 and Table 8.
Table 5 and Table 6 list the most suitable rates for the five-level segmentation of different datasets, where PSNR and SSIM are adopted as the criteria, respectively. And increasing the number of thresholds from 5 to 6, the results are listed in Table 7 and Table 8. Impressively, images of INFRAIMGS2 show their robust preferences for the proposed algorithm in spite of the increasing number of thresholds. This kind of robustness can also be found in other datasets, such as INFRAIMGS1, INFRAIMGS4, CTIMGS. Therefore, it is suitable to adopt the self-adaptive q value to measure the strength of long-range correlations within images generated by known physical principles. In other words, the physical properties of objects shown in the images can be connected to the non-extensive parameter q by maximizing the redundancy of the histogram distribution. It is worth mentioning that for INFRAIMGS3, the most suitable rate of proposed algorithm yields by PSNR keep decreasing when the number of thresholds grows. Since the gray-level gradations of images in INFRAIMGS3 are not plentiful, the increasing number of thresholds may lead to over-segmentation and the results evaluated by PSNR and SSIM become unstable. Nevertheless, in most cases, the proposed algorithm shows effectiveness (with the most suitable rate higher than 65%) and robustness (keeps fixed when the number of thresholds increases) in automatically detecting the long-range correlations among pixels of infrared images and medical images.
In Table 9, we compare the PSNR and SSIM results of multi-level segmentation for images of Figure 3 by using the same algorithms of Table 1, Table 2, Table 3, Table 4, Table 5, Table 6, Table 7 and Table 8. The results clearly show that the proposed self-adaptive algorithm consistently performs the best in most cases. Therefore, using the self-adaptive algorithm can more accurately capture the long-range correlation strength of surface features in satellite remote sensing images. This indicates that the proposed self-adaptive algorithm is suitable not only for grayscale images but also for color images that are generated by known physical principles.
In order to evaluate the robustness of three algorithms in different threshold levels, we randomly adopted an image to yield the optimal fitness values for comparison. For a given number of thresholds, each algorithm is independently applied to the image for 100 runs. Since the idea of swarm intelligence is included in the algorithm, the corresponding 100 results are stochastic to some extent. Nevertheless, the results can be sorted in ascending order and plotted with the rearranged sequence, as they are shown in Figure 5. Clearly, for different algorithms with different numbers of thresholds, all of the plotted results have a flat and long tail. It means that the highest fitness value can be reproduced a lot of times over 100 stochastic runs. Therefore, the above-mentioned algorithms are robust enough to yield reliable results.

5. Conclusions

In image segmentation, determining the non-extensive parameter q of Tsallis entropy is an intriguing task. Since the value of q represents the strength of long-range interactions among pixels of the images that are generated by some known physical principles, it cannot be determined empirically. In the present paper, with the help of maximizing q-redundancy, we further study the connections between the physical properties of objects shown in the images and the self-adaptive value of q in multi-threshold image segmentation. In comparison with the Shannon entropy algorithm and the traditional Tsallis entropy algorithm with q = 0.8, it is found that the self-adaptive algorithm shows high effectiveness and robustness to infrared images, medical CT images, and color satellite remote sensing images. The superiority and consistency of the present algorithm are qualitatively illustrated by means of PSNR and SSIM when the number of thresholds is set as 4, 5, and 6, respectively. In addition, for a series of images generated by the same process and sharing the same background, the long-range correlation pattern among pixels should be quite similar. The self-adaptive q values of those images are also quite similar, as expected. All of these advantages will be helpful for the further applications of Tsallis entropy in multi-level image segmentation.

Author Contributions

Conceptualization, C.O. and K.Z.; methodology, C.O.; software, K.Z.; validation, K.Z. and M.H.; formal analysis, C.O. and K.Z.; investigation, K.Z. and L.D.; resources, L.D.; data curation, K.Z.; writting—original draft preparation, K.Z.; writing—review and editing, C.O.; visualization, K.Z.; supervision, C.O. All authors have read and agreed to the published version of the manuscript.

Funding

The authors would like to thank the support by the National Natural Science Foundation of China (No. 11775084), the Program for prominent Talents in Fujian Province, and Scientific Research Foundation for the Returned Overseas Chinese Scholars.

Institutional Review Board Statement

Not applicable.

Data Availability Statement

The original contributions presented in the study are included in the article, further inquiries can be directed to the corresponding author.

Acknowledgments

The authors would like to thank https://www2.eecs.berkeley.edu (accessed on 17 December 2023), http://vcipl-okstate.org/pbvs/bench/ (accessed on 17 December 2023), https://wiki.cancerimagingarchive.net/display/Public/CT+Images+in+COVID-19 (accessed on 17 December 2023) and https://earthobservatory.nasa.gov/features (accessed on 25 January 2024) for providing source images.

Conflicts of Interest

The authors declare no conflicts of interest.

References

  1. Hosny, K.M.; Khalid, A.M.; Hamza, H.M.; Mirjalili, S. Multilevel thresholding satellite image segmentation using chaotic coronavirus optimization algorithm with hybrid fitness function. Neural Comput. Appl. 2023, 35, 855–886. [Google Scholar] [CrossRef]
  2. Abualigah, L.; Habash, M.; Hanandeh, E.S.; Hussein, A.M.; Shinwan, M.A.; Zitar, R.A.; Jia, H. Improved reptile search algorithm by salp swarm algorithm for medical image segmentation. J. Bionic Eng. 2023, 20, 1766–1790. [Google Scholar] [CrossRef]
  3. Xing, Z.; He, Y. Many-objective multilevel thresholding image segmentation for infrared images of power equipment with boost marine predators algorithm. Appl. Soft Comput. 2021, 113, 107905. [Google Scholar] [CrossRef]
  4. Khudov, H.; Makoveichuk, O.; Butko, I.; Gyrenko, I.; Stryhun, V.; Bilous, O.; Shamrai, N.; Kovalenko, A.; Khizhnyak, I.; Khudov, R. Devising a method for segmenting camouflaged military equipment on images from space surveillance systems using a genetic algorithm. East.-Eur. J. Enterp. Technol. 2022, 117, 9. [Google Scholar] [CrossRef]
  5. Iannizzotto, G.; Vita, L. Fast and accurate edge-based segmentation with no contour smoothing in 2-D real images. IEEE Trans. Image Process. 2000, 9, 1232–1237. [Google Scholar] [CrossRef]
  6. Wang, L.; Yu, B.; Chen, F.; Li, C.; Li, B.; Wang, N. A cluster-based partition method of remote sensing data for efficient distributed image processing. Remote Sens. 2022, 14, 4964. [Google Scholar] [CrossRef]
  7. Tang, J. A color image segmentation algorithm based on region growing. In Proceedings of the 2010 2nd International Conference on Computer Engineering and Technology, Bali Island, Indonesia, 19–21 March 2010; IEEE: Piscataway, NJ, USA, 2010; Volume 6, p. V6-634. [Google Scholar] [CrossRef]
  8. Pun, T. A new method for grey-level picture thresholding using the entropy of the histogram. Signal Process. 1980, 2, 223–237. [Google Scholar] [CrossRef]
  9. Kapur, J.N.; Sahoo, P.K.; Wong, A.K.C. A new method for gray-level picture thresholding using the entropy of the histogram. Comput. Vis. Graph. Image Process. 1985, 29, 273–285. [Google Scholar] [CrossRef]
  10. Agrawal, S.; Panda, R.; Bhuyan, S.; Panigrahi, B.K. Tsallis entropy based optimal multilevel thresholding using cuckoo search algorithm. Swarm Evol. Comput. 2013, 11, 16–30. [Google Scholar] [CrossRef]
  11. Bhari, A.K.; Kumar, A.; Singh, G.K. Tsallis entropy based multilevel thresholding for colored satellite image segmentation using evolutionary algorithms. Expert Syst. Appl. 2015, 42, 8707–8730. [Google Scholar] [CrossRef]
  12. Sharma, A.; Chaturvedi, R.; Kumar, S.; Dwivedi, U.K. Multi-level image thresholding based on Kapur and Tsallis entropy using firefly algorithm. J. Interdiscip. Math. 2020, 23, 563–571. [Google Scholar] [CrossRef]
  13. Zhao, D.; Liu, L.; Yu, F.; Heidari, A.A.; Wang, M.; Oliva, D.; Muhammad, K.; Chen, H. Ant colony optimization with horizontal and vertical crossover search: Fundamental visions for multi-threshold image segmentation. Expert Syst. Appl. 2021, 167, 114122. [Google Scholar] [CrossRef]
  14. Abdel-Basset, M.; Mohamed, R.; AbdelAziz, N.M.; Abouhawwash, M. HWOA: A hybrid whale optimization algorithm with a novel local minima avoidance method for multi-level thresholding color image segmentation. Expert Syst. Appl. 2022, 190, 116145. [Google Scholar] [CrossRef]
  15. Wang, S.; Fan, J. Simplified expression and recursive algorithm of multi-threshold Tsallis entropy. Expert Syst. Appl. 2024, 237, 121690. [Google Scholar] [CrossRef]
  16. Pathria, R.K. Statistical Mechanics, 2nd ed.; Elsevier (Singapore) Pte Ltd.: Singapore, 2001; pp. 9–28. ISBN 981-4095-20-6. [Google Scholar]
  17. Shannon, C.E. A mathematical theory of communication. Bell Syst. Tech. J. 1948, 27, 379–423. [Google Scholar] [CrossRef]
  18. Tsallis, C. Possible generalization of Boltzmann-Gibbs statistics. J. Stat. Phys. 1988, 52, 479–487. [Google Scholar] [CrossRef]
  19. Tsallis, C.I. Nonextensive statistical mechanics and thermodynamics: Historical background and present status. In Nonextensive Statistical Mechanics and Its Applications; Springer: Berlin/Heidelberg, Germany, 2001; pp. 3–98. [Google Scholar] [CrossRef]
  20. Tsallis, C. Inter-occurrence times and universal laws in finance, earthquakes and genomes. Chaos Solitons Fractals 2016, 88, 254–266. [Google Scholar] [CrossRef]
  21. Sigalotti, L.D.G.; Ramírez-Rojas, A.; Vargas, C.A. Tsallis q-Statistics in Seismology. Entropy 2023, 25, 408. [Google Scholar] [CrossRef]
  22. Pavlos, G.P.; Karakatsanis, L.P.; Iliopoulos, A.C.; Pavlos, E.G.; Xenakis, M.N.; Clark, P.; Duke, J.; Monos, D.S. Measuring complexity, nonextensivity and chaos in the DNA sequence of the Major Histocompatibility Complex. Phys. A Stat. Mech. Its Appl. 2015, 438, 188–209. [Google Scholar] [CrossRef]
  23. Zhang, Q.; Luo, C.; Li, M.; Deng, Y.; Mahadevan, S. Tsallis information dimension of complex networks. Phys. A Stat. Mech. Its Appl. 2015, 419, 707–717. [Google Scholar] [CrossRef]
  24. De Albuquerque, M.P.; Esquef, I.A.; Mello, A.R.G. Image thresholding using Tsallis entropy. Pattern Recognit. Lett. 2004, 25, 1059–1065. [Google Scholar] [CrossRef]
  25. Raja, N.S.M.; Fernandes, S.L.; Dey, N.; Satapathy, S.C.; Rajinikanth, V. Contrast enhanced medical MRI evaluation using Tsallis entropy and region growing segmentation. J. Ambient. Intell. Humaniz. Comput. 2024, 1–12. [Google Scholar] [CrossRef]
  26. Tsallis, C. Nonextensive Statistical Mechanics: Construction and Physical Interpretation. In TNonextensive Entropy: Interdisciplinary Applications; Gell-Mann, M., Tsallis, C., Eds.; Oxford University Press: New York, NY, USA, 2004; pp. 2–55. ISBN 0-19-515976-4. [Google Scholar]
  27. Tsallis, C. Nonadditive entropy and nonextensive statistical mechanics—An overview after 20 years. Braz. J. Phys. 2009, 39, 337–356. [Google Scholar] [CrossRef]
  28. Rodrigues, P.S.; Giraldi, G.A. Computing the q-index for Tsallis nonextensive image segmentation. In Proceedings of the 2009 XXII Brazilian Symposium on Computer Graphics and Image Processing, Rio de Janeiro, Brazil, 11–15 October 2009; IEEE: Piscataway, NJ, USA, 2009; pp. 232–237. [Google Scholar] [CrossRef]
  29. Ramírez-Reyes, A.; Hernández-Montoya, A.R.; Herrera-Corral, G.; Domínguez-Jiménez, I. Determining the entropic index q of Tsallis entropy in images through redundancy. Entropy 2016, 18, 299. [Google Scholar] [CrossRef]
  30. Deng, Q.; Shi, Z.; Ou, C. Self-adaptive image thresholding within nonextensive entropy and the variance of the gray-level distribution. Entropy 2022, 24, 319. [Google Scholar] [CrossRef] [PubMed]
  31. Mousavirad, S.J.; Oliva, D.; Chakrabortty, R.K.; Zabihzadeh, D.; Hinojosa, S. Population-based self-adaptive Generalised Masi Entropy for image segmentation: A novel representation. Knowl.-Based Syst. 2022, 245, 108610. [Google Scholar] [CrossRef]
  32. Dos Santos, R.J.V. Generalization of Shannon’s theorem for Tsallis entropy. J. Math. Phys. 1997, 38, 4104–4107. [Google Scholar] [CrossRef]
  33. Naidu, M.S.R.; Kumar, P.R.; Chiranjeevi, K. Shannon and fuzzy entropy based evolutionary image thresholding for image segmentation. Alex. Eng. J. 2018, 57, 1643–1655. [Google Scholar] [CrossRef]
  34. Zou, Y.; Zhang, J.; Upadhyay, M.; Sun, S.; Jiang, T. Automatic image thresholding based on Shannon entropy difference and dynamic synergic entropy. IEEE Access 2020, 8, 171218–171239. [Google Scholar] [CrossRef]
  35. Ifan Roy Thanaraj, R.; Anand, B.; Allen Rahul, J.; Rajinikanth, V. Appraisal of breast ultrasound image using Shannon’s thresholding and level-set segmentation. In Progress in Computing, Analytics and Networking, Proceedings of the ICCAN 2019, Bhubaneswar, India, 14–15 December 2019; Springer: Berlin/Heidelberg, Germany, 2020; pp. 621–630. [Google Scholar] [CrossRef]
  36. Lin, Q.; Ou, C. Tsallis entropy and the long-range correlation in image thresholding. Signal Process. 2012, 92, 2931–2939. [Google Scholar] [CrossRef]
  37. Hore, A.; Ziou, D. Image quality metrics: PSNR vs. SSIM. In Proceedings of the 2010 20th International Conference on Pattern Recognition, Istanbul, Turkey, 23–26 August 2010; IEEE: Piscataway, NJ, USA, 2010; pp. 2366–2369. [Google Scholar] [CrossRef]
  38. Sheikh, H.R.; Bovik, A.C. Image information and visual quality. IEEE Trans. Image Process. 2006, 15, 430–444. [Google Scholar] [CrossRef]
  39. Wang, Z.; Bovik, A.C.; Sheikh, H.R.; Simoncelli, E.P. Image quality assessment: From error visibility to structural similarity. IEEE Trans. Image Process. 2004, 13, 600–612. [Google Scholar] [CrossRef] [PubMed]
  40. Wang, Z.; Bovik, A.C. Mean squared error: Love it or leave it? A new look at signal fidelity measures. IEEE Signal Process. Mag. 2009, 26, 98–117. [Google Scholar] [CrossRef]
  41. Sheikh, H.R.; Sabir, M.F.; Bovik, A.C. A statistical evaluation of recent full reference image quality assessment algorithms. IEEE Trans. Image Process. 2006, 15, 3440–3451. [Google Scholar] [CrossRef]
  42. Richter, T.; Kim, K.J. A MS-SSIM optimal JPEG 2000 encoder. In Proceedings of the 2009 Data Compression Conference, Snowbird, UT, USA, 16–18 March 2009; IEEE: Piscataway, NJ, USA, 2009; pp. 401–410. [Google Scholar] [CrossRef]
  43. Alattar, A.M.; Lin, E.T.; Celik, M.U. Digital watermarking of low bit-rate advanced simple profile MPEG-4 compressed video. IEEE Trans. Circuits Syst. Video Technol. 2003, 13, 787–800. [Google Scholar] [CrossRef]
  44. Vukadinovic, V.; Karlsson, G. Trade-offs in bit-rate allocation for wireless video streaming. IEEE Trans. Multimed. 2009, 11, 1105–1113. [Google Scholar] [CrossRef]
  45. Reinsberg, S.A.; Doran, S.J.; Charles-Edwards, E.M.; Leach, M.O. A complete distortion correction for MR images: II. Rectification of static-field inhomogeneities by similarity-based profile mapping. Phys. Med. Biol. 2005, 50, 2651. [Google Scholar] [CrossRef]
Figure 1. Example images from the BSDS0500 image dataset.
Figure 1. Example images from the BSDS0500 image dataset.
Entropy 26 00777 g001
Figure 2. (a,b) are images in the image set INFRAIMGS1. (c) are images in the image set INFRAIMGS2. (d) are images in the image set INFRAIMGS3. (e) are images in the image set INFRAIMGS4. (f) are images in the image set CTIMGS.
Figure 2. (a,b) are images in the image set INFRAIMGS1. (c) are images in the image set INFRAIMGS2. (d) are images in the image set INFRAIMGS3. (e) are images in the image set INFRAIMGS4. (f) are images in the image set CTIMGS.
Entropy 26 00777 g002
Figure 3. Example satellite images of Yellowstone and Padma. In the first row, from left to right, they are Yellowstone 1993, 1997, 2002, 2009, and 2017. In the second row, from left to right, they are Padma 1992, 1996, 2004, 2014, and 2016.
Figure 3. Example satellite images of Yellowstone and Padma. In the first row, from left to right, they are Yellowstone 1993, 1997, 2002, 2009, and 2017. In the second row, from left to right, they are Padma 1992, 1996, 2004, 2014, and 2016.
Entropy 26 00777 g003
Figure 4. The four-level segmentation results of the typical images from eight datasets by using three different algorithms.
Figure 4. The four-level segmentation results of the typical images from eight datasets by using three different algorithms.
Entropy 26 00777 g004
Figure 5. Sorted fitness values for INFRAIMGS2 from Figure 4, based on 100 independent runs by different algorithms with different number of thresholds.
Figure 5. Sorted fitness values for INFRAIMGS2 from Figure 4, based on 100 independent runs by different algorithms with different number of thresholds.
Entropy 26 00777 g005
Table 1. Part of PSNR results for images in BSDS0500 with different four-level thresholding algorithms.
Table 1. Part of PSNR results for images in BSDS0500 with different four-level thresholding algorithms.
ShannonTsallis q = 0.8Proposed
BSDS0006527.797927.888828.0085
BSDS0010928.086528.086527.4921
BSDS0011626.915626.978726.9286
BSDS0020329.184429.069629.1492
BSDS0047429.533529.392323.0752
Bold font refer to the best results.
Table 2. The most suitable rates of three algorithms suggested by PSNR for six datasets when the number of thresholds is 4.
Table 2. The most suitable rates of three algorithms suggested by PSNR for six datasets when the number of thresholds is 4.
ShannonTsallis q = 0.8Proposed
BSDS050032%24.6%55%
INFRAIMGS17.9%13.1%84.3%
INFRAIMGS20%0%100%
INFRAIMGS37.9%13.8%87.3%
INFRAIMGS414.1%16.3%73.7%
CTIMGS14.1%15.6%75.8%
Bold font refer to the rates larger than 65%.
Table 3. Part of SSIM results for images in BSDS0500 with different four-level thresholding algorithms.
Table 3. Part of SSIM results for images in BSDS0500 with different four-level thresholding algorithms.
ShannonTsallis q = 0.8Proposed
BSDS000650.74840.74660.7374
BSDS001090.64230.64230.6383
BSDS001160.72570.72370.7181
BSDS002030.71990.71850.7205
BSDS004740.80660.80630.7166
Bold font refer to the best results.
Table 4. The most suitable rates of three algorithms suggested by SSIM for six datasets when the number of thresholds is 4.
Table 4. The most suitable rates of three algorithms suggested by SSIM for six datasets when the number of thresholds is 4.
ShannonTsallis q = 0.8Proposed
BSDS050036.8%23.2%52.6%
INFRAIMGS112.7%19.8%77.6%
INFRAIMGS20%0%100%
INFRAIMGS310.6%19.3%78.6%
INFRAIMGS46.7%16.9%89.8%
CTIMGS29.5%25.8%53.5%
Bold font refer to the rates larger than 65%.
Table 5. The most suitable rates of three algorithms suggested by PSNR for six datasets when the number of thresholds is 5.
Table 5. The most suitable rates of three algorithms suggested by PSNR for six datasets when the number of thresholds is 5.
ShannonTsallis q = 0.8Proposed
BSDS050032.6%28.2%39.2%
INFRAIMGS121.3%38.8%66.2%
INFRAIMGS20%0%100%
INFRAIMGS319.3%32.8%53.4%
INFRAIMGS46.7%16.9%89.8%
CTIMGS14.7%15.7%75%
Bold font refer to the rates larger than 65%.
Table 6. The most suitable rates of three algorithms suggested by SSIM for six datasets when the number of thresholds is 5.
Table 6. The most suitable rates of three algorithms suggested by SSIM for six datasets when the number of thresholds is 5.
ShannonTsallis q = 0.8Proposed
BSDS050034.6%27.6%50%
INFRAIMGS111.9%22.2%87.1%
INFRAIMGS20%0%100%
INFRAIMGS32.3%8.6%93.3%
INFRAIMGS42.5%8.4%94.9%
CTIMGS30%28.2%50.3%
Bold font refer to the rates larger than 65%.
Table 7. The most suitable rates of three algorithms suggested by PSNR for six datasets when the number of thresholds is 6.
Table 7. The most suitable rates of three algorithms suggested by PSNR for six datasets when the number of thresholds is 6.
ShannonTsallis q = 0.8Proposed
BSDS50032%30.2%52.2%
INFRAIMGS120.9%37.7%66.8%
INFRAIMGS20%0%100%
INFRAIMGS340.7%25.2%40%
INFRAIMGS45.9%11%89.8%
CTIMGS13.3%18.6%74.5%
Bold font refer to the rates larger than 65%.
Table 8. The most suitable rates of three algorithms suggested by SSIM for six datasets when the number of thresholds is 6.
Table 8. The most suitable rates of three algorithms suggested by SSIM for six datasets when the number of thresholds is 6.
ShannonTsallis q = 0.8Proposed
BSDS050038.4%27.6%48.8%
INFRAIMGS111.8%21.7%87.1%
INFRAIMGS20%1.9%98.1%
INFRAIMGS318.9%32.4%56.6%
INFRAIMGS45%10.1%91.5%
CTIMGS27.5%24%56.2%
Bold font refer to the rates larger than 65%.
Table 9. Comparisons of PSNR and SSIM values for multi-level segmentation of color images by using different thresholding algorithms.
Table 9. Comparisons of PSNR and SSIM values for multi-level segmentation of color images by using different thresholding algorithms.
ImageThresholdsShannon Tsallis q = 0.8 Proposed
PSNRSSIM PSNRSSIM PSNRSSIM
426.06980.6961 26.07030.6942 26.26530.7047
Yellowstone1993526.69000.7251 26.80040.7330 27.02590.7458
627.80270.7807 27.80860.7809 27.91380.7837
426.43390.6099 26.44850.6115 26.50990.6188
Yellowstone1997527.15600.6495 27.15990.6494 27.26530.6663
628.56700.7471 28.51800.7429 29.18770.7690
425.97000.6461 26.04750.6488 26.20450.6615
Yellowstone2002527.72780.7475 27.91060.7556 27.92590.7553
628.09860.7670 28.08180.7648 28.81210.7892
426.10920.5872 26.13760.5884 26.27930.5857
Yellowstone2009526.34750.6165 26.47530.6186 26.58550.6251
628.65860.7335 28.70340.7324 28.77360.7370
428.10740.6774 28.08170.6772 28.20400.6882
Yellowstone2017528.89430.7158 28.90580.7164 29.05430.7274
630.53970.7858 30.53870.7858 30.55210.7876
425.68780.7624 25.78310.7648 25.84790.7659
Padma1992527.15100.8105 27.32460.8185 27.39530.8205
628.21470.8488 28.33760.8550 28.59720.8680
426.17160.7855 26.25470.7904 26.28820.7920
Padma1996527.05810.8200 27.41210.8321 27.48120.8316
628.34290.8548 28.40550.8583 28.50490.8631
426.00270.7803 26.08190.7841 26.14300.7880
Padma2004527.56880.8339 27.64020.8351 27.74530.8407
628.07860.8497 28.14120.8532 28.17710.8538
425.28630.8131 25.67760.8206 25.88340.8158
Padma2014526.55130.8528 26.95560.8539 27.04050.8399
627.91480.8742 27.97570.8762 28.57610.8884
424.97510.7897 25.18640.7925 25.45460.7933
Padma2016525.99290.8145 26.19390.8184 26.36770.8220
627.66370.8668 27.84770.8705 28.18650.8790
Bold font refer to the best results.
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

Zhang, K.; He, M.; Dong, L.; Ou, C. The Application of Tsallis Entropy Based Self-Adaptive Algorithm for Multi-Threshold Image Segmentation. Entropy 2024, 26, 777. https://doi.org/10.3390/e26090777

AMA Style

Zhang K, He M, Dong L, Ou C. The Application of Tsallis Entropy Based Self-Adaptive Algorithm for Multi-Threshold Image Segmentation. Entropy. 2024; 26(9):777. https://doi.org/10.3390/e26090777

Chicago/Turabian Style

Zhang, Kailong, Mingyue He, Lijie Dong, and Congjie Ou. 2024. "The Application of Tsallis Entropy Based Self-Adaptive Algorithm for Multi-Threshold Image Segmentation" Entropy 26, no. 9: 777. https://doi.org/10.3390/e26090777

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