Skip to main content
PLOS One logoLink to PLOS One
. 2023 Feb 6;18(2):e0271692. doi: 10.1371/journal.pone.0271692

Fast detection of dam zone boundary based on Otsu thresholding optimized by enhanced harris hawks optimization

Xiaofeng Qu 1, Jiajun Wang 1,*, Xiaoling Wang 1, Yike Hu 1, Tianwen Tan 1, Dong Kang 1
Editor: Seyedali Mirjalili2
PMCID: PMC9901759  PMID: 36745651

Abstract

Earth-rock dams are among the most important and expensive infrastructure projects. A key safety issue is dam zone boundary detection to prevent the intrusion of materials from different zones. However, existing detection methods strongly highly depend on human judgement, which is time consuming and labor intensive. To solve this problem, this work proposes a fast boundary detection method based on the Otsu algorithm optimized by enhanced Harris hawks optimization (HHO). Compared with the original Otsu algorithm, the proposed method has a higher computation speed to meet the time requirements of engineering projects. Particle swarm optimization is adopted to enhance the exploration stage of HHO. In addition, a tangent function and chaotic sine map are used to improve the convergence speed and robustness. The application of the proposed method to a real-life project shows that the calculation time can be reduced to 20 s, which is approximately 18.8% of the original calculation time.

1. Introduction

The construction quality of earth-rock dams is crucial for ensuring the safety of the life and property of downstream personnel. An earth rock dam is divided into a core wall zone, inverted filter zone, transition zone, and rockfill zone. Granular soil materials are used in the core wall zone, and stones of different grades are used in other zones. The construction quality of the core wall zone, with its main anti-seepage effect, is key to quality monitoring. If the materials used in the different zones are not paved in strict accordance with design standards, the intrusion of materials from other zones will lead to poor quality and become a potential safety hazard. Therefore, it is essential to rapidly and accurately detect the boundary of dam zones. However, the rapid detection of material boundaries is difficult in practical engineering applications. Dam zone boundary detection belongs to the category of the edge detection of materials. In general, there are three methods for the edge detection of materials: manual detection, machine learning, and threshold segmentation [13]. The conventional paving boundary detection method mainly depends on manual field judgment, which has numerous disadvantages such as human subjectivity and labor intensiveness. Machine learning requires a large training set with abundant samples to train a classification model. If the category changes, the training set must be reset and relabeled, which is time-consuming and labor intensive. In comparison, threshold segmentation has strong universality, and it has become the preferred method for engineering applications.

Conventional threshold segmentation methods, such as the Otsu algorithm [4], can calculate a paving boundary. However, the calculation time is too long to meet the actual requirements of a project [5,6]. The acceleration of threshold segmentation is an optimization problem [7,8]. Optimization problems have been widely studied in practical engineering applications [9]. The swarm intelligence algorithm has significant computing power and efficiency, and it can overcome the disadvantage of the Otsu algorithm [10]. Swarm intelligence simulates the various group behaviors of social insects or animals and uses the information interaction and cooperation among individuals in a group to achieve optimization. In recent years, numerous swarm optimization algorithms have been proposed and widely applied, such as particle swarm optimization(PSO) [11,12], grey wolf optimization [13], and Harris hawks optimization(HHO) [14]. Heidari et al. [14] compared HHO with other algorithms and demonstrated its advantages. The superiority of HHO has been demonstrated in numerous applications [1517]. Therefore, this study uses HHO to optimize the Otsu algorithm to improve the speed while ensuring accuracy. However, the accuracy of HHO is significantly affected by population initialization, and the convergence speed and accuracy cannot meet engineering requirements. In addition, HHO has the disadvantage that it falls into local optimization. Therefore, to solve the problem of population initialization, this study uses the chaotic sine map to optimize the initial population. Owing to the low convergence speed and insufficient convergence accuracy, the tanh activation function is used to optimize the escape energy of prey (threshold). The PSO is used to optimize the exploration stage to address the problem of local optimization.

2. Engineering optimization problems

This study focuses on the detection of paving boundaries in the core wall area of earth-rock dams. Images are mainly obtained using the monitoring cameras on the dam abutments on both banks. The conventional Otsu calculation of paving boundaries is time consuming and cannot meet the requirements of field engineering. There is an urgent requirement for an optimization algorithm to meet the recognition accuracy of paving boundaries in complex environments and significantly improve the calculation time.

3. Methodology

Otsu is one of the most advanced methods in the field of threshold segmentation. Otsu assumes that there is a threshold that divides all the pixels of an image into two categories. Each calculation traverses all 256 gray values to determine the optimal threshold, leading to a large number of calculations. Therefore, this study uses HHO to simplify the calculation of Otsu and rapidly determine the optimal threshold. Then, a chaotic sine map is used for optimization to eliminate the dependence of the HHO algorithm on the initial population. Finally, the speed update logic of PSO is used to resolve the problem of HHO falling into local optimization. Additionally, the escape energy is optimized using the tanh function, which improves the accuracy and convergence speed of the algorithm.

3.1 Brief introduction of Otsu

The Otsu algorithm assumes a threshold (k) that divides all pixels into two categories: C1 (less than k) and C2 (greater than k). The average values of C1 and C2 are m1 and m2, respectively, and the global average value of an image is mG. The probabilities of pixels being divided into C1 and C2 are P1 and P2, respectively. Therefore, there are:

P1*m1+P2*m2=mG (1)
P1+P2=1 (2)

According to the concept of variance, the expression of the variance between classes is as follows:

σ2=P1(m1mG)2+P2(m2mG)2 (3)

Where σ2 is the variance.

On the basis of traversing 0–255 gray levels, k is the best threshold that makes Eq (3) reach a maximum. This process requires a significant amount of computation.

Otsu has also been optimized using various targeted methods [1821]. After the two-dimensional (2D) Otsu algorithm was proposed, it rapidly replaced the original Otsu algorithm and was widely used because of its superior antinoise performance. 2D Otsu adds a one-dimensional threshold parameter (average gray level of the neighborhood) to the original Otsu algorithm [Eq (4)]. This study uses 2D Otsu

σk,t2=P1(k,t)(m1(k,t)mG)2+P2(k,t)(m2(k,t)mG)2 (4)

The ergodicity of Otsu ensures its accuracy but also considerably increases the calculation time, which cannot meet project time requirements. Therefore, this study proposes the optimization of the Otsu algorithm with enhanced HHO to ensure the accuracy of detection while reducing the calculation time.

3.2 Proposed HHO enhanced by tanh and PSO

HHO is a population optimization algorithm proposed by Heidari in 2019 [14]. The algorithm simulates the predatory behavior of Harris hawks (raptors in southern Arizona, USA), and it is divided into an exploration stage, exploration-development transformation stage, and development stage. Table 1 shows that HHO can find the optimal solution relatively better than AHA [22] and GNDO [23]. However, it falls into the local optimal solution in a few cases. This study optimizes the exploration and exploration-development transformation stages and the population initialization.

Table 1. Comparison of HHO with AHA and GNDO.

Function Name d f min HHO AHA GNDO
f1(x) Sphere Function 30 0 8.67E-84 1.54E-146 8.32E+03
f2(x) Schwefel’s
Prolem2.22
30 0 2.07E-43 5.79E-66 3.04E+01
f3(x) Schwefel’s
Prolem1.2
30 0 1.27E-51 7.59E-112 1.19E+04
f4(x) Schwefel’s
Prolem2.21
30 0 3.45E-40 1.43E-56 3.83E+01
f5(x) Generalized Rosenbrock’s Function 30 0 8.66E-02 2.79E+01 3.75E+06
f6(x) Step
Function
30 0 5.63E-03 1.15E+00 8.68E+03
f7(x) Quartic
Function i.e.niose
30 0 3.89E-04 5.92E-04 3.17E+00
f8(x) Generalized
Schwefel’s
Prolem2.26
30 −418.9829×n -1.26E+04 -1.01E+04 -5.67E+03
f9(x) Generalized
Rastrigin’s
Function
30 0 0.00E+00 0.00E+00 1.25E+02
f10(x) Ackley Function 30 0 8.88E-16 8.88E-16 1.51E+01
f11(x) Generalized
Griewank’s Function
30 0 0.00E+00 0.00E+00 6.56E+01
f12(x) Generalized
Penalized
Function(1)
30 0 6.64E-05 2.05E-02 1.81E+06
f13(x) Generalized
Penalized
Function(2)
30 0 3.93E-04 2.29E+00 1.16E+07
f14(x) Shekel’s Foxholes Function 2 1 1.64E+00 1.10E+00 2.38E+00
f15(x) Kowalik’s Function 4 0.00030 4.99E-04 4.15E-04 5.79E-03
f16(x) Six-Hump Camel-Back Function 2 -1.0316 -1.03E+00 -1.03E+00 -1.03E+00
f17(x) Branin Function 2 0.398 3.98E-01 3.98E-01 3.98E-01
f18(x) Goldstein-Price Function 2 3 3.00E+00 3.00E+00 3.00E+00
f19(x) Hartman’s Family(d = 3) 3 -3.86 -3.85E+00 -3.86E+00 -3.86E+00
f20(x) Hartman’s Family(d = 6) 6 -3.32 -2.94E+00 -3.30E+00 -3.16E+00
f21(x) Shekel’s Family(m = 5) 4 -10.1532 -5.50E+00 -7.45E+00 -6.12E+00
f22(x) Shekel’s Family(m = 7) 4 -10.4028 -5.29E+00 -8.14E+00 -6.95E+00
f23(x) Shekel’s Family(m = 10) 4 -10.5363 -5.52E+00 -7.74E+00 -6.95E+00
Error 5 7 18

Note: Bold does not indicate convergence, that is, the solution that does not meet the standard. The judgment basis of the standard solution in this work is that the error must be within 20% of fmin; when fmin is 0, the error is 0.2.

  • 1) Exploration stage optimized by PSO

In HHO, each Harris hawk is a candidate, and the best candidate in each process is evaluated to locate the expected prey or be close to the expected prey. Harris hawks randomly perch at certain positions and wait to detect prey according to two strategies. We consider that the opportunity q of each strategy is equal. When q < 0.5, a Harris hawk perches based on the position of other members and prey. When q ≥ 0.5, the Harris hawk randomly perches on the large tree within the range of the hawk group, and the specific model is as follows:

X(t+1)={Xrand(t)r1|Xrand(t)2r2X(t)|,q0.5(Xrabbit(t)Xm(t))r3(LB+r4(UBLB)),q<0.5 (5)

Where X (t + 1) is the position vector of eagle in the next iteration, X rabbit (t) is the position of the prey (i.e., the position of the individual with the best fitness), X (t) is the position vector of the current eagle, r1, r2, r3, r4 and q are random numbers in (0,1), LB and UB are lower and upper bounds of variables, X rand is the randomly selected position of the hawk in the current population.

Xm(t)=1Ni=1NXi(t) (6)

Where Xm (t) is the average position of individuals.

The results of the test function show that HHO falls into local optimization in individual cases [24,25]. The speed update logic of PSO is used solve this problem so that HHO can explore more comprehensively in the exploration stage.

The speed update logic of PSO [Eq (7)] ensures the global nature of the population search and significantly reduces the probability of falling into local optimization.

vik+1=ω*vik+c1r1(xbestkxik)+c2r2(xgbestkxik) (7)

Where: ω is the inertia factor, whose value is non-negative; c1 and c2 are learning factors in the range [0,4]; vik+1and vik are the velocity of the particles; xik is the current position of the particle; xbestk and xgbestk indicate the best positions experienced thus far by the ith particle and the whole swarm, respectively; and are two random numbers that are uniformly distributed in the range (0,1).

Based on Eq (7), we improve the part for q ≥ 0.5, as shown in Eq (5).

X(t+1)=ω*X(t)+c1r1(Xrabbit(t)X(t))+c2r2(Xrabbit(t)Xrand(t)) (8)

ω is set as 0.5, c1 and c2 are set as 1, and Eq (9) is obtained.

X(t+1)=0.5*X(t)+r1(Xrabbit(t)X(t))+r2(Xrabbit(t)Xrand(t)) (9)
  • 2) Exploration development transformation stage optimized by tanh

The HHO algorithm can be transferred from exploration to development, and then, according to the escape energy of the prey, it can be converted to different development behaviors. The energy of the prey is considerably reduced during the escape process. The escape energy of the prey is as follows:

E=2E0(1tT) (10)

Where E is the escape energy of prey, T is the maximum number of iterations, and E0 is the initial state of its energy.

In the iterative process of HHO, E0 randomly varies within (- 1, 1). When E0 decreases from 0 to -1, the prey physically flags, whereas when E0 increases from 0 to 1, the prey activity increases. The dynamic escape energy E decreases during the iteration. When the escape energy | E | is greater than or equal to 1, the hawks search different zones to explore the location of their prey. When | E| is less than 1, the neighborhood of the solution is searched as the algorithm attempts to develop the exploration phase.

In this study, the tanh activation function used in deep learning is introduced to optimize the relationship between E and the number of iterations to improve the overall accuracy.

E=2E0(14*tanh(tT)π) (11)
  • 3) Population initialization optimized by chaotic mapping

In 1976, biologist Robert May applied chaotic mapping [26]. Since then, chaotic mapping has been widely used [2731]. The design of a chaotic stream cipher system mainly uses the following chaotic maps: a one-dimensional logistic map, 2D Henon map, three-dimensional Lorenz map, piecewise linear chaotic map, and piecewise nonlinear chaotic map. Dehkordi et al. proposed that a chaotic sine map improved the results of HHO more significantly than its counterparts [32]. In this study, we use certain characteristics of sine maps.

The mathematical expression of sine mapping is as follows:

Xn+1=a4sin(π*Xn) (12)

where a∈ [0,4] is called logistic parameter. It is shown that when Xn ∈ [0,1], the sine mapping is in chaos. Xn can achieve ergodicity when a = 4. In this study, a is set to 4.

  • 4) Pseudocode of Otsu thresholding optimized by enhanced HHO

The pseudo code of Otsu Thresholding Optimized by Enhanced HHO is shown in Table 2. The specific code is in data availability.

Table 2. Pseudocode.

Pseudo code of Otsu Thresholding Optimized by Enhanced HHO
Inputs: The population size N, maximum number of iterations T and image
Outputs: The location of rabbit and its fitness value(variance)
Use sine mapping to initialize the Population ( Eq (12))
while (stopping condition is not met) do
    Calculate the fitness values of hawks
    Set Xrabbit as the location of rabbit (best location)
    Calculate the probability of gray value
        for (each hawk (Xi)) do
            Update the initial energy E0 and jump strength J
            E0 = 2rand()-1,
            J = 2(1-rand())
            Update the E using Eq (11)
            E = 2*(1–4*tanh(t/T)/pi)*E0
            if (|E|≥ 1)
                Update the location vector using Eq (5) And Eq (9)
                if (|E|< 1)
                    if (r ≥0.5 and |E|≥ 0.5)
                        Update the location vector
                        else if (r ≥0.5 and |E|< 0.5)
                            Update the location vector
                        else if (r < 0.5 and |E|≥ 0.5)
                            Update the location vector
                        else if (r < 0.5 and |E|< 0.5)
                            Update the location vector
Return Xrabbit
Return the location of rabbit and its fitness value
  • 5) Flowchart of Otsu thresholding optimized by enhanced HHO

Fig 1 is the flowchart of Otsu thresholding optimized by enhanced HHO. Through the flowchart, we can quickly understand the calculation process and the specific location of optimization.

Fig 1. Flowchart of Otsu thresholding optimized by enhanced HHO.

Fig 1

3.3 Performance testing of enhanced HHO

The effectiveness of the proposed enhanced HHO, is tested using a set of well-studied benchmark functions from existing literature [3335] similar to the original HHO [14]. This set consists of two main groups: unimodal (UM) and multimodal (MM). The UM functions (F1 –F7) with unique global optimization can determine the development (intensification) capabilities of different optimizers, and the MM functions (F8 –F23) can determine the exploration (diversification) of algorithms and the potential of LO avoidance. Composition is not selected becausethe problems considered in this study are limited to UM and MM cases.

The average of results (AVG) and standard deviation (STD) indices, which are commonly used in multiple HHO studies, are used for judgment (Dehkordi, et al., 2021; Krishna, Saxena, & Kamboj, 2021; Qu, et al., 2020). All the models adopt the same conditions with a population of 10 and 500 iterations, considering the corresponding engineering application requirements.

The algorithm whose original population is optimized using the sine map is referred to as SHHO. The algorithm that optimizes the escape energy of SHHO using the tanh activation function is referred to as TSHHO. The algorithm that optimizes the location update strategy of the exploration stage of TSHHO using the speed update of PSO is referred to as PTSHHO. Tables 3 and 4 present the test results for the UM and MM functions, respectively (test results of PTSHHO).

Table 3. Unimodal benchmark functions.

Function Name d Range f min AVG STD
f1(x) Sphere Function 30 [−100,100] 0 3.10×10−89 1.12×10−88
f2(x) Schwefel’s
Prolem2.22
30 [−10,10] 0 2.92×10−46 1.25×10−45
f3(x) Schwefel’s
Prolem1.2
30 [−100,100] 0 9.09×10−59 2.98×10−58
f4(x) Schwefel’s
Prolem2.21
30 [−100,100] 0 3.37×10−46 1.05×10−45
f5(x) Generalized Rosenbrock’s Function 30 [−30,30] 0 5.80×10−02 8.89×10−02
f6(x) Step
Function
30 [−100,100] 0 9.41×10−04 1.20×10−03
f7(x) Quartic
Function i.e.niose
30 [−1.28,1.28] 0 3.36×10−04 2.00×10−04

Table 4. Multimodal benchmark functions.

Function Name d Range f min AVG STD
f8(x) Generalized
Schwefel’s
Prolem2.26
30 [−500,500] −418.9829×n -1.26×104 4.77
f9(x) Generalized
Rastrigin’s
Function
30 [−5.12,5.12] 0 0.00 0.00
f10(x) Ackley Function 30 [−32,32] 0 8.88×10−16 0.00
f11(x) Generalized
Griewank’s Function
30 [−600,600] 0 0.00 0.00
f12(x) Generalized
Penalized
Function(1)
30 [−50,50] 0 6.03×10−05 9.03×10−05
f13(x) Generalized
Penalized
Function(2)
30 [−50,50] 0 4.28×10−04 6.30×10−04
f14(x) Shekel’s Foxholes Function 2 [−65,65] 1 1.15 0.364
f15(x) Kowalik’s Function 4 [−5,5] 0.00030 3.73×.7−04 5.35×.3−05
f16(x) Six-Hump Camel-Back Function 2 [−5,5] -1.0316 -1.03 0.00
f17(x) Branin Function 2 [−5,5] 0.398 0.398 1.58×10−04
f18(x) Goldstein-Price Function 2 [−2,2] 3 3.00 5.23×10−05
f19(x) Hartman’s Family(d = 3) 3 [0,1] -3.86 -3.86 3.64×.6−03
f20(x) Hartman’s Family(d = 6) 6 [0,1] -3.32 -3.01 -3.01
f21(x) Shekel’s Family(m = 5) 4 [0,10] -10.1532 -8.70 2.19
f22(x) Shekel’s Family(m = 7) 4 [0,10] -10.4028 -8.37 2.51
f23(x) Shekel’s Family(m = 10) 4 [0,10] -10.5363 -9.14 2.10

3.3.1 AVG and STD for PTSHHO

This section explains the advantages of PTSHHO using two indicators: AVG and STD. Fig 2 shows the results of 20 tests for the UM problems (F1–F7) obtained using different optimized HHO algorithms. The optimal solutions of F1–F7 are all 0, so the smaller the value, the better. The red line is the standard deviation and the black line is the average. In most cases, PTSHHO is optimal for UM problems (F1-F6) and TSHHO is optimal for a few subproblems (F7). PTSHHO and TSHHO are better than SHHO and the original HHO.

Fig 2. Results of unimodal benchmark functions (F1–F7).

Fig 2

Fig 3 shows the results of 20 tests for the MM problems (F8–F23) obtained using different optimized HHO algorithms. The calculation results of F9–F11 and F16 for different HHO algorithms obtain the optimal solution (thus, there is no chart description in this study), indicating the consistency of the results of the different methods. Combined with fmin in Table 4, PTSHHO can achieve the best results except F8, F12 and F13. Except PTSHHO, the other three HHO algorithms typically fall into local optimization, which only reaches half of the extreme value. PTSHHO does not fall into local optimization. However, among the 20 tests, the solution still falls into local optimization in a few cases (which may be limited by the population and number of iterations).

Fig 3. Results of multimodal benchmark functions.

Fig 3

In summary, PTSHHO provides the advantage of consistent accuracy in the UM and MM problems. In addition, PTSHHO has a stronger ability to move out of the local optimal solution to obtain the global optimum. This provides a fast and efficient method of meeting the time requirements of engineering projects.

3.3.2 Convergence curve of PTSHHO

In this section, we discuss certain phenomena observed during the convergence behavior of PTSHHO for the UM and MM problems. The convergence behavior is in the form of a curve, and it directly reflects the convergence speed and accuracy.

Fig 4 shows the convergence behavior for the UM problems and the average results of the 20 tests. It is worth noting that in order to make GNDO converge more easily, F1-F7 corresponding to GNDO in Fig 4 are the test data when dim = 2, and the convergence curves of other algorithms are tested when dim = 30. Fig 4 shows that PTSHHO is more stable than AHA and GNDO. There will be no problem of falling into local optimization in unimodal test function, which is more in line with the application of on-site complex environment. PTSHHO and TSHHO converge considerably faster for F1–F4. In addition, PTSHHO has higher accuracy, particularly for F3. The convergence speed of PTSHHO is relatively fast but not evident for F5–F7. The convergence accuracy of PTSHHO is slightly better for F5–F6 but not for F7. In summary, PTSHHO shows a higher convergence speed for the UM problems and better convergence accuracy in most cases.

Fig 4. Convergence behavior for unimodal problems.

Fig 4

In the case of the MM problems, there is a gratifying phenomenon in the convergence behavior of PTSHHO. The results for the three MM problems shown in Fig 5 are unique. All algorithms except PTSHHO fall into local optimal solutions. As the convergence accuracy varies significantly compared to the previous part of the convergence curve, PTSHHO has a higher convergence speed.

Fig 5. Convergence behavior for multimodal problems (F21-F23).

Fig 5

The following conclusions can be drawn from the convergence curves for the UM and MM problems. PTSHHO provides a higher convergence speed. The number of iterations can be reduced for different problems. This can effectively reduce the calculation time to meet the time requirements of engineering projects.

4. Case study

A practical construction project is used to evaluate the performance of the rapid dam zone boundary detection method based on the Otsu threshold optimized using the enhanced HHO. The data are mainly obtained from the large-scale high earth rock dam project (LHK), which is under construction in Southwest China. Section 4.1 briefly describes the data acquisition and preprocessing. Section 4.2 describes the timeliness and accuracy of the proposed method. Section 4.3 presents the actual application of the method in the field.

4.1 Data acquisition and preprocessing

The engineering data are collected from LHK. Its maximum dam height elevation is 295 m, ranking first among dams of similar types worldwide. Images are obtained from ivms-8700 installed on the dam abutments. In addition, the image data are logically mapped with the actual coordinates to ensure that the image can be fed back to the scene on time after rapid detection.

Fig 6 shows the images that are simultaneously collected at the dam abutments on the left and right banks to ensure that the entire zone surface is clearly recorded. The cameras on these dam abutments collect one image every minute and save it to check and accept the paving quality using the proposed method after paving on the zone surface.

Fig 6. Image collected from bank abutment.

Fig 6

Fig 7 shows the entire process of the basic method, from the paving process to quality acceptance. First, the zone surface information is extracted from the earth rock dam rolling real-time monitoring system developed by our research group [36]. Second, the corresponding image is obtained from the dataset collected by the camera, and the zone surface to be constructed is extracted. Finally, the paving boundary in the target area is identified and compared with the design paving boundary read by the paving system. If paving encroachment occurs, it is fed back to the corresponding onsite personnel according to different alarm levels, and they provide feedback.

Fig 7. Process of the application system.

Fig 7

4.2 Timeliness and accuracy of the method

The improved HHO is used to optimize the calculation speed of 2D-Otsu, and σ2 in Eq (8) is rapidly obtained. In the test problems the optimal solution is the minimum value, whereas the target for 2D-Otsu is the maximum value. The zone surface selected in Fig 6 is considered as a case study.

Table 5 shows the results of the actual engineering cases. The data in Table 5 are the average of 20 tests. The calculation time of the Otsu algorithm improved by different HHO algorithms is significantly lower than that of the original 2D Otsu algorithm. The calculation time of the original Otsu algorithm is approximately 5 times that of the improved Otsu algorithm. The algorithms other than PTSHHO have the disadvantage of falling into local optimization. In general, PTSHHO can obtain the optimal solution with the shortest calculation time.

Table 5. Practical engineering case results.

Metric 2D original Otsu HHO
-Otsu
SHHO
-Otsu
TSHHO
-Otsu
PTSHHO
-Otsu
σ 2 AVG 716.5535 716.4502 716.4502 716.4502 716.5535
STD 0.0000 0.4621 0.4621 0.4621 0.0000
Time AVG 104.0427 20.89542 20.2016 21.9968 19.5909
STD 11.1917 1.7707 2.7606 3.0011 0.6712

Fig 8 shows the convergence curve of a case for various optimization algorithms. The convergence speed of the four optimized algorithms is quite high, among which PTSHHO-Otsu converges the fastest in the early stage and can obtains the extreme value.

Fig 8. Case convergence curve.

Fig 8

4.3 Field application

Engineering data are collected from LHK, and the system based on PTSHHO-Otsu is applied to the project. This effectively reduces the labor cost and time required for the corresponding processes.

Fig 9 shows the system applied at the project site and the paving results of the zone surface. The coarse aggregate occupies the core wall zone, and a first-class early warning is generated when the zone area is more than 4 m2. A level II early warning is generated when the zone area is less than 4 m2 but more than 1 m2. A level III early warning is generated when the zone area is less than 1 m2.

Fig 9. Application system.

Fig 9

In addition, the operating speed of the system is approximately 20 s, which fully meets the construction requirements of the project site. The online operation of the system has been highly praised by construction sites because of its significant practical engineering value and suitability for other engineering fields.

5. Conclusion

This study optimizes the HHO algorithm, which significantly improves its accuracy and convergence speed. The universality, superiority, and consistency of PTSHHO are verified through multiple UM and MM test problems. In addition, PTSHHO and Otsu are combined to rapidly detect the boundaries of materials in high-definition images. Finally, the proposed method is applied to engineering data, and it achieves excellent results. The method is applied to a real-life project, where it reduces the calculation time to 20 s, which is approximately 18.8% of the original calculation time.

The proposed method can also be to other projects of the same type. Similar engineering application scenarios, such as roads and airports, must be verified in future engineering practices. In future work, other application scenarios for optimized PTSHHO can be developed and combined with other algorithms.

Supporting information

S1 Appendix

(DOCX)

Data Availability

The data set and code which constitutes the minimal data set and can be used to reproduce and validate our results is made available in a public repository: https://github.com/Feng1673/Plos-one.git. This work uses 3 main data sources: (i) PTSHHO-Otsu, (ii) AHA, (iii) GNDO. The (i) PTSHHO-Otsu case reports data are provided within the repository. The (ii) AHA and the (iii) GNDO are comparative algorithms.

Funding Statement

This research was funded by the Yalong River Joint Funds of the National Natural Science Foundation of China (grant number U1965207) and the Young Scientists Fund of China (grant number 52009089).The funders had no role in study design, data collection and analysis, decision to publish, or preparation of the manuscript.

References

  • 1.Ding Y.C., et al., Saak Transform-Based Machine Learning for Light-Sheet Imaging of Cardiac Trabeculation. Ieee Transactions on Biomedical Engineering, 2021. 68(1): p. 225–235. doi: 10.1109/TBME.2020.2991754 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 2.Xu Z.M., et al., AutoSegNet: An Automated Neural Network for Image Segmentation. Ieee Access, 2020. 8: p. 92452–92461. [Google Scholar]
  • 3.Qian X.M., Yang L.J., and Lou P.H., The autonomous detection of sheet metal parts using imageprocessing. International Journal of Advanced Manufacturing Technology, 2016. 85(1–4): p. 469–479. [Google Scholar]
  • 4.IEEE, IEEE Xplore Abstract—A Threshold Selection Method from Gray-Level Histograms. Systems Man & Cybernetics IEEE Transactions on, 1979. [Google Scholar]
  • 5.Abd El Aziz M., Eweesc A.A., and Hassanien A.E., Whale Optimization Algorithm and Moth-Flame Optimization for multilevel thresholding image segmentation. Expert Systems with Applications, 2017. 83: p. 242–256. doi: 10.1007/s00521-021-06273-3 [DOI] [Google Scholar]
  • 6.Bhandari A.K., et al., Cuckoo search algorithm and wind driven optimization based study of satellite image segmentation for multilevel thresholding using Kapur’s entropy. Expert Systems with Applications, 2014. 41(7): p. 3538–3560. [Google Scholar]
  • 7.Resma K.P.B. and Nair M.S., Multilevel thresholding for image segmentation using Krill Herd Optimization algorithm. Journal of King Saud University-Computer and Information Sciences, 2021. 33(5): p. 528–541. [Google Scholar]
  • 8.Akay B., A study on particle swarm optimization and artificial bee colony algorithms for multilevel thresholding. Applied Soft Computing, 2013. 13(6): p. 3066–3091. [Google Scholar]
  • 9.Qu C.W., et al., Harris Hawks optimization with information exchange. Applied Mathematical Modelling, 2020. 84: p. 52–75. [Google Scholar]
  • 10.Roy R., Hinduja S., and Teti R., Recent advances in engineering design optimisation: Challenges and future trends. Cirp Annals-Manufacturing Technology, 2008. 57(2): p. 697–715. [Google Scholar]
  • 11.Eberhart R. and Kennedy J. A new optimizer using particle swarm theory. in Mhs95 Sixth International Symposium on Micro Machine & Human Science. 2002. [Google Scholar]
  • 12.Jafari-Asl J., Sami Kashkooli B., and Bahrami M., Using particle swarm optimization algorithm to optimally locating and controlling of pressure reducing valves for leakage minimization in water distribution systems. Sustainable Water Resources Management, 2020. 6(4): p. 64. [Google Scholar]
  • 13.Mirjalili S., Mirjalili S.M., and Lewis A., Grey Wolf Optimizer. Advances in Engineering Software, 2014. 69: p. 46–61. [Google Scholar]
  • 14.Heidari A.A., et al., Harris hawks optimization: Algorithm and applications. Future Generation Computer Systems-the International Journal of Escience, 2019. 97: p. 849–872. [Google Scholar]
  • 15.Jafari-Asl J., et al., Reliability analysis based improved directional simulation using Harris Hawks optimization algorithm for engineering systems. Engineering Failure Analysis, 2022. 135: p. 106148. [Google Scholar]
  • 16.Zhong C., et al., First-order reliability method based on Harris Hawks Optimization for high-dimensional reliability analysis. Structural and Multidisciplinary Optimization, 2020. 62(4): p. 1951–1968. [Google Scholar]
  • 17.Zhong X.X., et al., A hybrid differential evolution based on gaining-sharing knowledge algorithm and harris hawks optimization. Plos One, 2021. 16(4): p. 24. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 18.Chen Q., et al., Modified two-dimensional Otsu image segmentation algorithm and fast realisation. Iet Image Processing, 2012. 6(4): p. 426–433. [Google Scholar]
  • 19.Soliman N.F., et al., An Efficient Breast Cancer Detection Framework for Medical Diagnosis Applications. Cmc-Computers Materials & Continua, 2022. 70(1): p. 1315–1334. [Google Scholar]
  • 20.Luo Y., et al., Research and implementation of visual helicopter coning angle measurement system. Measurement, 2016. 80: p. 154–162. [Google Scholar]
  • 21.Seydi S.T. and Hasanlou M., A New Structure for Binary and Multiple Hyperspectral Change Detection Based on Spectral Unmixing and Convolutional Neural Network. Measurement, 2021. 186: p. 110137. [Google Scholar]
  • 22.Zhao W., Wang L., and Mirjalili S., Artificial hummingbird algorithm: A new bio-inspired optimizer with its engineering applications. Computer Methods in Applied Mechanics and Engineering, 2022. 388: p. 114194. [Google Scholar]
  • 23.Zhang Y., Jin Z., and Mirjalili S., Generalized normal distribution optimization and its applications in parameter extraction of photovoltaic models. Energy Conversion and Management, 2020. 224: p. 113301. [Google Scholar]
  • 24.Fan Q., Chen Z.J., and Xia Z.H., A novel quasi-reflected Harris hawks optimization algorithm for global optimization problems. Soft Computing, 2020. 24(19): p. 14825–14843. [Google Scholar]
  • 25.Shao K., et al., Coordinated approach fusing time-shift multiscale dispersion entropy and vibrational Harris hawks optimization-based SVM for fault diagnosis of rolling bearing. Measurement, 2021. 173: p. 108580. [Google Scholar]
  • 26.May R.M., Simple mathematical models with very complicated dynamics. Nature, 1976. 261(5560): p. 459–67. [DOI] [PubMed] [Google Scholar]
  • 27.Kanso A. and Smaoui N., Logistic chaotic maps for binary numbers generations. Chaos Solitons & Fractals, 2009. 40(5): p. 2557–2568. [Google Scholar]
  • 28.Li C.Q., et al., Cryptanalyzing image encryption using chaotic logistic map. Nonlinear Dynamics, 2014. 78(2): p. 1545–1551. [Google Scholar]
  • 29.Khalil N., Sarhan A., and Alshewimy M.A.M., An efficient color/grayscale image encryption scheme based on hybrid chaotic maps. Optics and Laser Technology, 2021. 143: p. 21. [Google Scholar]
  • 30.Hassan B.A., CSCF: a chaotic sine cosine firefly algorithm for practical application problems. Neural Computing & Applications, 2021. 33(12): p. 7011–7030. [Google Scholar]
  • 31.Jiang J.H., et al., SCGSA: A sine chaotic gravitational search algorithm for continuous optimization problems. Expert Systems with Applications, 2020. 144: p. 18. [Google Scholar]
  • 32.Dehkordi A.A., et al., Nonlinear-based Chaotic Harris Hawks Optimizer: Algorithm and Internet of Vehicles application. Applied Soft Computing, 2021. 109: p. 23. [Google Scholar]
  • 33.Yao X., Liu Y., and Lin G.M., Evolutionary programming made faster. Ieee Transactions on Evolutionary Computation, 1999. 3(2): p. 82–102. [Google Scholar]
  • 34.Digalakis J.G. and Margaritis K.G., On benchmarking functions for genetic algorithms. International Journal of Computer Mathematics, 2001. 77(4): p. 481–506. [Google Scholar]
  • 35.Moayedi H., et al., Herding Behaviors of grasshopper and Harris hawk for hybridizing the neural network in predicting the soil compression coefficient. Measurement, 2020. 152: p. 107389. [Google Scholar]
  • 36.Zhong D.H., Liu D.H., and Cui B., Real-time compaction quality monitoring of high core rockfill dam. Science China-Technological Sciences, 2011. 54(7): p. 1906–1913. [Google Scholar]

Decision Letter 0

Seyedali Mirjalili

30 Mar 2022

PONE-D-22-03955Fast Detection of Dam Zone Boundary Based on Otsu Thresholding Optimized by Enhanced Harris Hawks OptimizationPLOS ONE

Dear Dr. Wang,

Thank you for submitting your manuscript to PLOS ONE. After careful consideration, we feel that it has merit but does not fully meet PLOS ONE’s publication criteria as it currently stands. Therefore, we invite you to submit a revised version of the manuscript that addresses the points raised during the review process.

Please submit your revised manuscript by May 14 2022 11:59PM. If you will need more time than this to complete your revisions, please reply to this message or contact the journal office at plosone@plos.org. When you're ready to submit your revision, log on to https://www.editorialmanager.com/pone/ and select the 'Submissions Needing Revision' folder to locate your manuscript file.

Please include the following items when submitting your revised manuscript:

  • A rebuttal letter that responds to each point raised by the academic editor and reviewer(s). You should upload this letter as a separate file labeled 'Response to Reviewers'.

  • A marked-up copy of your manuscript that highlights changes made to the original version. You should upload this as a separate file labeled 'Revised Manuscript with Track Changes'.

  • An unmarked version of your revised paper without tracked changes. You should upload this as a separate file labeled 'Manuscript'.

If you would like to make changes to your financial disclosure, please include your updated statement in your cover letter. Guidelines for resubmitting your figure files are available below the reviewer comments at the end of this letter.

If applicable, we recommend that you deposit your laboratory protocols in protocols.io to enhance the reproducibility of your results. Protocols.io assigns your protocol its own identifier (DOI) so that it can be cited independently in the future. For instructions see: https://journals.plos.org/plosone/s/submission-guidelines#loc-laboratory-protocols. Additionally, PLOS ONE offers an option for publishing peer-reviewed Lab Protocol articles, which describe protocols hosted on protocols.io. Read more information on sharing protocols at https://plos.org/protocols?utm_medium=editorial-email&utm_source=authorletters&utm_campaign=protocols.

We look forward to receiving your revised manuscript.

Kind regards,

Seyedali Mirjalili

Academic Editor

PLOS ONE

Journal Requirements:

When submitting your revision, we need you to address these additional requirements.

1. Please ensure that your manuscript meets PLOS ONE's style requirements, including those for file naming. The PLOS ONE style templates can be found at 

https://journals.plos.org/plosone/s/file?id=wjVg/PLOSOne_formatting_sample_main_body.pdf and https://journals.plos.org/plosone/s/file?id=ba62/PLOSOne_formatting_sample_title_authors_affiliations.pdf

2. Please update your submission to use the PLOS LaTeX template. The template and more information on our requirements for LaTeX submissions can be found at http://journals.plos.org/plosone/s/latex.

3. Thank you for stating the following in the Acknowledgments Section of your manuscript: 

"This research was funded by the Yalong River Joint Funds of the National Natural Science Foundation of China (grant number U1965207) and the Young Scientists Fund of China (grant number 52009089)"

We note that you have provided funding information. However, funding information should not appear in the Acknowledgments section or other areas of your manuscript. We will only publish funding information present in the Funding Statement section of the online submission form. 

Please remove any funding-related text from the manuscript and let us know how you would like to update your Funding Statement. Currently, your Funding Statement reads as follows: 

"This research was funded by the Yalong River Joint Funds of the National Natural Science Foundation of China (grant number U1965207) and the Young Scientists Fund of China (grant number 52009089).The funders had no role in study design, data collection and analysis, decision to publish, or preparation of the manuscript."

Please include your amended statements within your cover letter; we will change the online submission form on your behalf.

4. In your Data Availability statement, you have not specified where the minimal data set underlying the results described in your manuscript can be found. PLOS defines a study's minimal data set as the underlying data used to reach the conclusions drawn in the manuscript and any additional data required to replicate the reported study findings in their entirety. All PLOS journals require that the minimal data set be made fully available. For more information about our data policy, please see http://journals.plos.org/plosone/s/data-availability.

Upon re-submitting your revised manuscript, please upload your study’s minimal underlying data set as either Supporting Information files or to a stable, public repository and include the relevant URLs, DOIs, or accession numbers within your revised cover letter. For a list of acceptable repositories, please see http://journals.plos.org/plosone/s/data-availability#loc-recommended-repositories. Any potentially identifying patient information must be fully anonymized.

Important: If there are ethical or legal restrictions to sharing your data publicly, please explain these restrictions in detail. Please see our guidelines for more information on what we consider unacceptable restrictions to publicly sharing data: http://journals.plos.org/plosone/s/data-availability#loc-unacceptable-data-access-restrictions. Note that it is not acceptable for the authors to be the sole named individuals responsible for ensuring data access.

We will update your Data Availability statement to reflect the information you provide in your cover letter.

[Note: HTML markup is below. Please do not edit.]

Reviewers' comments:

Reviewer's Responses to Questions

Comments to the Author

1. Is the manuscript technically sound, and do the data support the conclusions?

The manuscript must describe a technically sound piece of scientific research with data that supports the conclusions. Experiments must have been conducted rigorously, with appropriate controls, replication, and sample sizes. The conclusions must be drawn appropriately based on the data presented.

Reviewer #1: No

Reviewer #2: Yes

**********

2. Has the statistical analysis been performed appropriately and rigorously?

Reviewer #1: No

Reviewer #2: Yes

**********

3. Have the authors made all data underlying the findings in their manuscript fully available?

The PLOS Data policy requires authors to make all data underlying the findings described in their manuscript fully available without restriction, with rare exception (please refer to the Data Availability Statement in the manuscript PDF file). The data should be provided as part of the manuscript or its supporting information, or deposited to a public repository. For example, in addition to summary statistics, the data points behind means, medians and variance measures should be available. If there are restrictions on publicly sharing data—e.g. participant privacy or use of data from a third party—those must be specified.

Reviewer #1: No

Reviewer #2: Yes

**********

4. Is the manuscript presented in an intelligible fashion and written in standard English?

PLOS ONE does not copyedit accepted manuscripts, so the language in submitted articles must be clear, correct, and unambiguous. Any typographical or grammatical errors should be corrected at revision, so please note any specific errors here.

Reviewer #1: No

Reviewer #2: Yes

**********

5. Review Comments to the Author

Please use the space provided to explain your answers to the questions above. You may also include additional comments for the author, including concerns about dual publication, research ethics, or publication ethics. (Please upload your review as an attachment if it exceeds 20,000 characters)

Reviewer #1: In this paper, an enhanced version of the recently proposed HHO is proposed while the well-known PSO approach is also utilized for implementing some aspects into HHO. In my opinion, this paper is way beyond a low-level scientific paper and I recommend reject for this paper. However, the authors can use the following comments for updating their work in the future.

1- Why HHO and no other approaches. This algorithm is a new one so if you want to improve it, you have to compare it to the standard version of the HHSO and utilized the same problems that have been investigated before. Then you can use the standard and improved HHO for your specific field.

2- Too many references are cited. What are the differences of your work with others?

3- Is your work novel? Are there any other related work in the literature that worth mentioning in sec. 2? Please write about the novelty of your work. What are the main challenges in your field?

4- Using complex mathematical equations does not guarantee the acceptance of a paper. Reduce them and use them alongside some illustrations to make the paper readable by not specialists.

5- Quality of the illustrations are low. Not acceptable for a paper for journals

6- Figure 2. I can’t read and see what are the results and the differences. Only blue and red lines are visible

7- Figure 3. Convergence history should be visible

8- Why did you bring pseudo code after the results? The paper should be organized properly

9- Since the results of the proposed algorithm are not compared to the results of other algorithms, other well-known metaheuristics should be used for having a complete comparative investigation should be conducted by consideration of the results of other recently proposed metaheuristic algorithms:

10- The optimization problem statement in this paper is not in an acceptable level for a journal paper. A new section for this purpose is required.

11- The conclusion and the Abstract of the paper lacks the main quantitative results of this manuscript. It should be noted that some numerical results of the paper should be mentioned properly in the conclusion section.

12- Number of the Objective Function Evaluation (OFE) in the utilized methods and the modified version alongside the other methods in the revision should be provided in separate table for comparative purposes.

13- Improve the English level of the paper and correct the typos.

Reviewer #2: In this study a hybrid optimization algorithm based on the combination of HHO and PSO has been proposed to fast detection of dam zone boundary. The overall format of the paper is good and it is written in an organized manner. Although it is necessary to observe a few basic points and some major corrections, before I propose it for acceptance.

1- I suggest you combine the introduction and literature review parts. Also, the literature review part needs to be enriched with more references in … In recent years, many swarm optimization algorithms have been proposed and widely applied, such as particle swarm optimization [30], grey wolf optimizer [31]and Harris hawks optimizer [14]. Heidari et al. [14] compared HHO with other algorithms and demonstrated its advantages. HHO has proven its superiority in many applications [32-36], I suggest the following [1-3]:

• [1]. Reliability analysis based improved directional simulation using Harris Hawks optimization algorithm for engineering systems. Engineering Failure Analysis, 135, 106148. doi.org/10.1016/j.engfailanal.2022.106148

• [2]. First-order reliability method based on Harris Hawks Optimization for high-dimensional reliability analysis. Structural and Multidisciplinary Optimization, 62(4), 1951-1968. doi.org/10.1007/s00158-020-02587-3

• [3]. Using particle swarm optimization algorithm to optimally locating and controlling of pressure reducing valves for leakage minimization in water distribution systems. Sustainable Water Resources Management, 6(4), 1-11. doi.org/10.1007/s40899-020-00426-3

2- I would suggest showing the methodological approach through a flowchart.

3- Figs. 3 and 4 show the convergence curves of variant version of HHO. You can view the results of new algorithms such as AHA [4] or GNDO [5] (and etc.) and compare them with the results of your algorithm.

[1]. Artificial hummingbird algorithm: A new bio-inspired optimizer with its engineering applications. Computer Methods in Applied Mechanics and Engineering, 388, 114194. doi.org/10.1016/j.cma.2021.114194

[2]. Generalized normal distribution optimization and its applications in parameter extraction of photovoltaic models. Energy Conversion and Management, 224, 113301. doi.org/10.1016/j.enconman.2020.113301

4- In section 4, more details about case study is needed.

5- Conclusion has to be improved.

Good luck.

**********

6. PLOS authors have the option to publish the peer review history of their article (what does this mean?). If published, this will include your full peer review and any attached files.

If you choose “no”, your identity will remain anonymous but your review may still be made public.

Do you want your identity to be public for this peer review? For information about this choice, including consent withdrawal, please see our Privacy Policy.

Reviewer #1: No

Reviewer #2: No

[NOTE: If reviewer comments were submitted as an attachment file, they will be attached to this email and accessible via the submission site. Please log into your account, locate the manuscript record, and check for the action link "View Attachments". If this link does not appear, there are no attachment files.]

While revising your submission, please upload your figure files to the Preflight Analysis and Conversion Engine (PACE) digital diagnostic tool, https://pacev2.apexcovantage.com/. PACE helps ensure that figures meet PLOS requirements. To use PACE, you must first register as a user. Registration is free. Then, login and navigate to the UPLOAD tab, where you will find detailed instructions on how to use the tool. If you encounter any issues or have any questions when using PACE, please email PLOS at figures@plos.org. Please note that Supporting Information files do not need this step.

PLoS One. 2023 Feb 6;18(2):e0271692. doi: 10.1371/journal.pone.0271692.r002

Author response to Decision Letter 0


19 May 2022

Thank you very much for your constructive comments. Your suggestion is of great help to my manucript. I have responded in detail to your comments in turn. According to your suggestions, we compare and analyze the results of PTSHHO, AHA and GNDO. It shows that PTSHHO is more suitable for complex and changeable sites and can converge well in most cases.For details, please refer to revised manuscript with track changes

Attachment

Submitted filename: Response to Reviewers.doc

Decision Letter 1

Seyedali Mirjalili

6 Jul 2022

Fast Detection of Dam Zone Boundary Based on Otsu Thresholding Optimized by Enhanced Harris Hawks Optimization

PONE-D-22-03955R1

Dear Dr. Wang,

We’re pleased to inform you that your manuscript has been judged scientifically suitable for publication and will be formally accepted for publication once it meets all outstanding technical requirements.

There is a comment on the quality of figure. Please make sure to improve the resolution in the proof. 

Within one week, you’ll receive an e-mail detailing the required amendments. When these have been addressed, you’ll receive a formal acceptance letter and your manuscript will be scheduled for publication.

An invoice for payment will follow shortly after the formal acceptance. To ensure an efficient process, please log into Editorial Manager at http://www.editorialmanager.com/pone/, click the 'Update My Information' link at the top of the page, and double check that your user information is up-to-date. If you have any billing related questions, please contact our Author Billing department directly at authorbilling@plos.org.

If your institution or institutions have a press office, please notify them about your upcoming paper to help maximize its impact. If they’ll be preparing press materials, please inform our press team as soon as possible -- no later than 48 hours after receiving the formal acceptance. Your manuscript will remain under strict press embargo until 2 pm Eastern Time on the date of publication. For more information, please contact onepress@plos.org.

Kind regards,

Seyedali Mirjalili

Academic Editor

PLOS ONE

Additional Editor Comments (optional):

Reviewers' comments:

Reviewer's Responses to Questions

Comments to the Author

1. If the authors have adequately addressed your comments raised in a previous round of review and you feel that this manuscript is now acceptable for publication, you may indicate that here to bypass the “Comments to the Author” section, enter your conflict of interest statement in the “Confidential to Editor” section, and submit your "Accept" recommendation.

Reviewer #1: All comments have been addressed

Reviewer #2: All comments have been addressed

**********

2. Is the manuscript technically sound, and do the data support the conclusions?

The manuscript must describe a technically sound piece of scientific research with data that supports the conclusions. Experiments must have been conducted rigorously, with appropriate controls, replication, and sample sizes. The conclusions must be drawn appropriately based on the data presented.

Reviewer #1: Yes

Reviewer #2: Yes

**********

3. Has the statistical analysis been performed appropriately and rigorously?

Reviewer #1: No

Reviewer #2: Yes

**********

4. Have the authors made all data underlying the findings in their manuscript fully available?

The PLOS Data policy requires authors to make all data underlying the findings described in their manuscript fully available without restriction, with rare exception (please refer to the Data Availability Statement in the manuscript PDF file). The data should be provided as part of the manuscript or its supporting information, or deposited to a public repository. For example, in addition to summary statistics, the data points behind means, medians and variance measures should be available. If there are restrictions on publicly sharing data—e.g. participant privacy or use of data from a third party—those must be specified.

Reviewer #1: No

Reviewer #2: Yes

**********

5. Is the manuscript presented in an intelligible fashion and written in standard English?

PLOS ONE does not copyedit accepted manuscripts, so the language in submitted articles must be clear, correct, and unambiguous. Any typographical or grammatical errors should be corrected at revision, so please note any specific errors here.

Reviewer #1: Yes

Reviewer #2: Yes

**********

6. Review Comments to the Author

Please use the space provided to explain your answers to the questions above. You may also include additional comments for the author, including concerns about dual publication, research ethics, or publication ethics. (Please upload your review as an attachment if it exceeds 20,000 characters)

Reviewer #1: The authors responded to my comments; however, the quality of figures are not in an acceptable level. They are still hard to recognize

Reviewer #2: (No Response)

**********

7. PLOS authors have the option to publish the peer review history of their article (what does this mean?). If published, this will include your full peer review and any attached files.

If you choose “no”, your identity will remain anonymous but your review may still be made public.

Do you want your identity to be public for this peer review? For information about this choice, including consent withdrawal, please see our Privacy Policy.

Reviewer #1: No

Reviewer #2: No

**********

Acceptance letter

Seyedali Mirjalili

20 Jul 2022

PONE-D-22-03955R1

Fast Detection of Dam Zone Boundary Based on Otsu Thresholding Optimized by Enhanced Harris Hawks Optimization

Dear Dr. Wang:

I'm pleased to inform you that your manuscript has been deemed suitable for publication in PLOS ONE. Congratulations! Your manuscript is now with our production department.

If your institution or institutions have a press office, please let them know about your upcoming paper now to help maximize its impact. If they'll be preparing press materials, please inform our press team within the next 48 hours. Your manuscript will remain under strict press embargo until 2 pm Eastern Time on the date of publication. For more information please contact onepress@plos.org.

If we can help with anything else, please email us at plosone@plos.org.

Thank you for submitting your work to PLOS ONE and supporting open access.

Kind regards,

PLOS ONE Editorial Office Staff

on behalf of

Prof. Seyedali Mirjalili

Academic Editor

PLOS ONE

Associated Data

    This section collects any data citations, data availability statements, or supplementary materials included in this article.

    Supplementary Materials

    S1 Appendix

    (DOCX)

    Attachment

    Submitted filename: Response to Reviewers.doc

    Data Availability Statement

    The data set and code which constitutes the minimal data set and can be used to reproduce and validate our results is made available in a public repository: https://github.com/Feng1673/Plos-one.git. This work uses 3 main data sources: (i) PTSHHO-Otsu, (ii) AHA, (iii) GNDO. The (i) PTSHHO-Otsu case reports data are provided within the repository. The (ii) AHA and the (iii) GNDO are comparative algorithms.


    Articles from PLOS ONE are provided here courtesy of PLOS

    RESOURCES