Next Article in Journal
Logistics Model Based on Smart Contracts on Blockchain and IoT
Previous Article in Journal
Increasing the Efficiency of the Information Management System for Controlling the Spatial Orientation of Objects in Geophysical Research
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Proceeding Paper

Exponential Particle Swarm Optimization Algorithm for Complexly Structured Images Segmentation †

1
ICTIS Department, Southern Federal University, 105/42 B. Sadovaya, Rostov-on-Don 344006, Russia
2
Institute of Information Technologies and Programming, Saint Petersburg State University of Aerospace Instrumentation, 67 B. Morskaya Str., Saint-Petersburg 190000, Russia
*
Author to whom correspondence should be addressed.
Presented at the 15th International Conference “Intelligent Systems” (INTELS’22), Moscow, Russia, 14–16 December 2022.
Eng. Proc. 2023, 33(1), 47; https://doi.org/10.3390/engproc2023033047
Published: 13 July 2023
(This article belongs to the Proceedings of 15th International Conference “Intelligent Systems” (INTELS’22))

Abstract

:
Image segmentation is the process of dividing an image into homogeneous regions according to certain features and is widely used in image processing. Complexly structured images usually contain complex and essential objects. These images are non-linear structural images and they contain a large number of elements with required specifications. The main goal of the proposed EPSO (Exponential Particle Swarm Optimization) algorithm is to prevent local solutions and find the exact global optimal solutions for the task of segmenting medical images. The execution time is compared with well-known segmentation algorithms. The EPSO method is superior to the segmentation methods studied, including the graph algorithm. Comparisons were made with existing segmentation algorithms (Grow cut, Random Walker, DPSO, K-means PSO, and hybrid-K-means ant colony optimization algorithm) in tabular form.

1. Introduction

The development of image recognition methods is one of the difficult and involved tasks in AI. The development of image recognition methods is well studied in theory; however, there is no general method to solve it and the practical solution seems to be very difficult [1,2].
Complexly structured images often contain difficult and essential objects. These images are images with a difficult structure and they contain a large number of elements with required specifications. Images have a complex structure that contains many different semantics. These images contain the following attributes:
  • Contains a lot of dissimilar objects;
  • Objects on images are different;
  • Each object has different properties that must be considered;
  • Morphologically complex structures;
  • Object and background usually have almost the same color distribution.
Examples of such images include geographic or topographical maps, remote sensing images of the earth, etc. Examples of such images are also medical images, including magnetic resonance imaging called MRI images or computed tomography images.
Recent research findings have demonstrated the potential for using techniques inspired by nature, such as ant, particle swarm (PSO), and bee colony optimizations. The application of biologically inspired techniques, including PSO, is still under-studied and more research is needed. In the article, it is proposed to modify the PSO algorithm to a Modified Exponential Particle Swarm Optimization algorithm (EPSO).

2. Particle Swarm Optimization

The PSO approach employs a collection of particles, each of which has a unique local solution [3,4]. According to its own habits and those of its neighbors, the particle’s behavior varies every time it enters the search zone. Each particle keeps track of its own position coordinates with the best objective function and best neighbor, from which the best overall solution is derived.
Each particle stores the best fitness value and coordinates. This fitness value can be expressed as y i and named as a cognitive component. Similar to this, let us indicate the best global optimum obtained by all particles as y ^ ( t ) and call it the social component.
Each i-th particle has properties such as velocity v i ( t ) and position x i ( t ) a time t. Particle location changes based on
x i ( t + 1 ) = x i ( t ) + v i ( t + 1 ) ,
where x i ( 0 ) U ( x m i n , x m a x ) .
v i j ( t + 1 ) = v i j ( t ) + c 1 r 1 j ( t ) [ y i j ( t ) x i j ( t ) ] + c 2 r 2 j ( t ) [ y ^ j ( t ) x i j ( t ) ] .
The best position (gbest) at a time (t + 1) can be obtained as follows
y i ( t + 1 ) = y i ( t ) i f f ( x i ( t + 1 ) ) f ( y i ( t ) ) x i ( t + 1 ) i f f ( x i ( t + 1 ) ) < f ( y i ( t ) ) ,
where f : R n R is target function, that says if current position is optimal. y ^ j ( t ) (pbest) at a time t can be calculated as follows
y ^ ( t ) { y 0 ( t ) y n s ( t ) } | f ( y ^ ( t ) ) = m i n { f ( y 0 ( t ) ) f ( y n s ( t ) ) }
where n s is the sum of all swarm particles.

3. EPSO Algorithm for Complexly Structured Images Segmentation

To obtain better segmentation results, a combined method has been proposed which utilizes all the advantages of K-means and PSO algorithms.
The EPSO algorithm is basically similar to the mixed ACO K-means algorithm [5].
Each swarm particle x i represents N areas (clusters) such as x i = ( m i 1 , , m i j , , m i N ) where m i j is center for area j for swarm particle i. Target function can be represented as follows
f ( x i , Z i ) = ω 1 d ¯ m a x ( Z i , x i ) + ω 2 ( z m a x d m i n ( x m i n ) ) ,
where z m a x = 2 s 1 for image with s-bits; Z is representative table for connectivity between pixel and center of the area for particle i.
The table indicates if point z p is in area c i j for swarm particle i. Constant values ω 1 and ω 2 are user-defined, d ¯ m a x —max average Euclidian distance from swarm particles to linked areas. It can be measured as follows:
d ¯ m a x ( Z i , x i ) = max j = 1 , , N { z p c i j d ( Z p m i j / | c i j | ) } ,
d m i n ( x i ) = min j 1 , j 2 , j 1 j 2 { d ( m i j 1 , m i j 2 ) }
Formula (7) contains minimal Euclidian distance among each pair of the area centers.
In the next task, the swarm is used to achieve good clustering using the passed parameters. It was achieved through self-study. Each particle in the PSO algorithm represents a pixel. The pixel intensity is used as an input parameter for the PSO algorithm.
The Algorithm 1 includes the following steps:
Algorithm 1 Exponential PSO segmentation algorithm
  • Presented swarm m. Set the number of swarm particles, personal and global acceleration rates c 1 and c 2 , max allowed number of iterations N m a x , parameters for target function f(5).
  • For i = 1, …, m (for each particle)
    2.1
    Initialize starting position of the particle using vector x i .
    2.2
    Starting position of the particle is currently known best position y i = x i .
    2.3
    If f ( y i ) < f ( y ^ ) , then update best swarm’s value replacing y ^ to y i .
    2.4
    Randomly initialize velocities of the particles v i .
  • Current number of iterations N = 1 .
  • For i = 1, …, m (for each particle)
  • For j = 1 …, n (fitness function parameters)
    5.1
    Update particle’s velocity v i j and position according to x i j = x i j + v i j .
  • If f ( x i ) < f ( y i ) , then replace best local solution for particle y i = x i , otherwise return to Section 4.
  • If f ( x i ) < f ( y ^ ) , update best global swarm’s solution y ^ = x i , otherwise return to Section 4.
  • Inrease Number of iterations on 1: N = N + 1.
  • If N N m a x , then return to Section 4, otherwise y ^ contains best found solution.
  • Initialize K centers of the clusters using best particles positions.
  • Calculate pixel’s belonging to cluster (according to distance to the center).
  • Using (5) recalculate clusters centers. If they are not equal to previous, then repeat Section 11.
  • Save best individual solution for each particle (pbest (3)).
  • Save best common solution for m particles (gbest (4)).
  • Update clusters centers.
  • If centers have changed, then return to Section 12.
Thanks to the particle optimization algorithm, all particles tend to fly directly to the best location found by the best particle. This approach enables the rapid discovery of potential solutions. Using this mechanism, particles often accumulate in a local minimum instead of a global minimum, resulting in suboptimal solutions. To avoid this effect, El-Desouky [6] suggested making ω linear, for example
ω = ( ω ω 1 ) ( n m a x n ) n m a x + ω m i n ,
where n m a x is maximum number of iterations, n is the number of the current iteration. Recommended values are ω m a x = 0.4 ; ω m i n = 0.4 . ω can be decreased down to ω m i n over 1500 iterations. In this article, we propose to change ω exponentially. In the presented algorithm, we propose to change ω in the following way:
ω = ( ω ω 1 ) e ( n m a x n ) n m a x + ω m i n

4. Testing EPSO Segmentation Method

To evaluate the efficiency of the algorithm, numerical experiments were provided. Six segmentation methods were considered. Among them are FC-Means [7], Darwinian PSO [8], PSO modification—K-means PSO [8], Grow cut [9], Modified HACO-K-means algorithm—K-means ACO [10,11], and Random Walker [12].
Table 1 represents the running time for three images from well-known image dataset [11] (Figure 1, Figure 2 and Figure 3).
From Table 1 it can be observed that the proposed method outperforms all existing modifications of ACO and PSO and graph-based methods, except for Random Walker (in this case, the execution time affects the segmentation quality—EPSO- segment quality exceeded Random Walker by 15%).

5. Conclusions

In the presented paper, the modified EPSO algorithm for segmenting complexly structured images was introduced. A comparison of the results of the algorithm with other methods has been presented. In all cases, the algorithm produces a better final sharding time than the studied techniques (with the exception of the Random Walker algorithm, which has over 15% lower segmentation quality). All test results were obtained using the Ossirix MRI image dataset and own software products. The obtained results show that the transform EPSO algorithm can be used in digital image processing for images with complex structures.

Author Contributions

Co-authors: S.E.-K., Y.S. and S.R. Description of the contribution of co-authors: Conceptualization, Y.S.; software, S.E.-K.; methodology, S.R.; validation, Y.S. and S.R.; writing—original draft, Y.S.; investigation, S.E.-K.;writing—review and editing, S.E.-K.; formal analysis, S.E.-K.; methodology, S.R. All authors have read and agreed to the published version of the manuscript.

Funding

Presented research was supported by Russian Foundation for Basic Research according to the research project 19-07-00570 “Bio-inspired models of problem-oriented systems and methods of their application for clustering, classification, filtering and optimization problems, including big data”.

Informed Consent Statement

Not applicable.

Data Availability Statement

Not applicable.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Gonzalez, R.C.; Woods, R.E. Digital Image Processing, 3rd ed.; Prentice-Hall: Hoboken, NJ, USA, 2008. [Google Scholar]
  2. Kennedy, J.; Eberhart, R.C. Particle swarm intelligence. In Proceedings of the IEEE International Joint Conference on Neural Networks, Perth, WA, Australia, 27 November–1 December 1995; pp. 1942–1948. [Google Scholar]
  3. El-Khatib, S.; Rodzin, S.; Skobtcov, Y. Investigation of Optimal Heuristical Parameters for Mixed ACO-k-means Segmentation Algorithm for MRI Images. In Proceedings of the III International Scientific Conference on Information Technologies in Science, Management, Social Sphere and Medicine (ITSMSSM 2016); Part of Series Advances in Computer Science Research; Atlantis Press: Amsterdam, The Netherlands, 2016; Volume 51, pp. 216–221. ISBN 978-94-6252-196-4. [Google Scholar] [CrossRef] [Green Version]
  4. Saatchi, S.; Hung, C.C. Swarm intelligence and image segmentation swarm intelligence. ARS J. 2007. [Google Scholar] [CrossRef]
  5. Das, S.; Abraham, A.; Konar, A. Automatic kernel clustering with a Multi-Elitist Particle Swarm Optimization Algorithm. In Pattern Recognition Letters; Elsevier B.V.: Amsterdam, The Netherlands, 2008; Volume 29, pp. 688–699. [Google Scholar]
  6. Ossirix Image Dataset. Available online: http://www.osirix-viewer.com/ (accessed on 10 May 2023).
  7. Skobtsov, Y.A. Speransky DV Evolutionary Computation: Hand Book.-Moscow; The National Open University “INTUIT”: Moscow, Russia, 2015; 331p. (In Russian) [Google Scholar]
  8. El-Khatib, S.; Skobtsov, Y.; Rodzin, S.; Potryasaev, S. Theoretical and Experimental Evaluation of PSO-K-Means Algorithm for MRI Images Segmentation Using Drift Theorem. In Artificial Intelligence Methods in Intelligent Algorithms. CSOC 2019. Advances in Intelligent Systems and Computing; Silhavy, R., Ed.; Springer: Cham, Switzerland, 2019; Volume 985. [Google Scholar]
  9. El-Khatib, S.; Skobtsov, Y.; Rodzin, S. Improved Particle Swarm Medical Image Segmentation Algorithm for Decision Making. In Intelligent Distributed Computing XIII. IDC 2019. Studies in Computational Intelligence; Kotenko, I., Badica, C., Desnitsky, V., El Baz, D., Ivanovic, M., Eds.; Springer: Cham, Switzerland, 2020; Volume 868. [Google Scholar]
  10. Bozhenyuk, A.; El-Khatib, S.; Kacprzyk, J.; Knyazeva, M.; Rodzin, S.I. Hybrid Ant Fuzzy Algorithm for MRI Images Segmentation. In Lecture Notes in Computer Science; Including Subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics; Springer: Cham, Switzerland, 2019; Volume 11509, pp. 127–137. [Google Scholar] [CrossRef]
  11. Rother, C.; Kolmogorov, V.; Blake, A. GrabCut: Interactiveforeground extraction using iterated graph cuts. ACM Trans. Graph. 2004, 23, 309–314. [Google Scholar] [CrossRef]
  12. El-Khatib, S.A.; Skobtsov, Y.A.; Rodzin, S.I. Theoretical and Experimental Evaluation of Hybrid ACO-k-means Image Segmentation Algorithm for MRI Images Using Drift-analysis. Procedia Comput. Sci. 2019, 150, 324. [Google Scholar] [CrossRef]
Figure 1. MRI image of the Brain. Params—421 × 392, 8 bits per pixel.
Figure 1. MRI image of the Brain. Params—421 × 392, 8 bits per pixel.
Engproc 33 00047 g001
Figure 2. Noised brain image. Parameters: 151 × 166, 8 bits per pixel.
Figure 2. Noised brain image. Parameters: 151 × 166, 8 bits per pixel.
Engproc 33 00047 g002
Figure 3. Sagittal MRI image of the knee. Parameters 802 × 450, 8 bits.
Figure 3. Sagittal MRI image of the knee. Parameters 802 × 450, 8 bits.
Engproc 33 00047 g003
Table 1. Time taken for each image tested using different algorithms.
Table 1. Time taken for each image tested using different algorithms.
ImageK-Means-PSOEPSOACO-K-MeansFC-MeansGrow CutRandom WalkerDarwinian PSO
17.487.3412.149.4914.785.0111.85
20.190.180.930.871.352.216.34
317.517.524.0412.1445.3014.215.95
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

El-Khatib, S.; Skobtsov, Y.; Rodzin, S. Exponential Particle Swarm Optimization Algorithm for Complexly Structured Images Segmentation. Eng. Proc. 2023, 33, 47. https://doi.org/10.3390/engproc2023033047

AMA Style

El-Khatib S, Skobtsov Y, Rodzin S. Exponential Particle Swarm Optimization Algorithm for Complexly Structured Images Segmentation. Engineering Proceedings. 2023; 33(1):47. https://doi.org/10.3390/engproc2023033047

Chicago/Turabian Style

El-Khatib, Samer, Yuri Skobtsov, and Sergey Rodzin. 2023. "Exponential Particle Swarm Optimization Algorithm for Complexly Structured Images Segmentation" Engineering Proceedings 33, no. 1: 47. https://doi.org/10.3390/engproc2023033047

Article Metrics

Back to TopTop