Skip to main content
. 2012 Jan 3;39(1):514–532. doi: 10.1118/1.3668058

Algorithm.

. Search_Local_Minima_on_Energy_Surface.

Input:
E(t,σ): energy surface where t and σ are threshold and gradient parameters, respectively
Output:
 Types I and II optimum locations for threshold and gradient parameters
Begin:
for all values of the threshold parameter tdo
  for all values of gradient parameter σdo
   if(t,σ) is a valid pit
    select(t,σ) as a type I optimum location for threshold and gradient parameters
   ift is a valid valley point on Eσ
    find the eight-connected path π of valid valley points containing (t,σ)
   ifπ contains no valid pit or type I optimum location
    select a type II optimum location on π
end