Skip to main content
. 2021 Dec 23;12(1):22. doi: 10.3390/diagnostics12010022
Algorithm 5. Computing layers boundaries by extracting the most prominent boundary available.
  • 1:

    function getSegBoundary(gradImg)

  • 2:

        adjMatrix=getAdjMatrix(gradImg)

  • 3:

        [X,Y]=Dijkstra(adjMatrix)

  • 4:

        return[X,Y]

  • 5:

    end function