Skip to main content
. 2021 Dec 23;12(1):22. doi: 10.3390/diagnostics12010022
Algorithm 1. Computing the IS-OS frontier.
  • 1:

    function compute7thLayer(I,pars)

  • 2:

        bwImg=Seg2(I,100,pars.Enh,pars.Smooth)

  • 3:

        img=bwImgimage

  • 4:

        gradImg=getGradientMap(img,

  • 5:

                             darkToBright,params)

  • 6:

        [B7,Y]=getSegBoundary(gradImg)

  • 7:

        return[B7,Y]

  • 8:

    end function