Skip to main content
. Author manuscript; available in PMC: 2014 Nov 21.
Published in final edited form as: Proc IEEE Int Conf Comput Vis. 2013 Dec;2013:2168–2175. doi: 10.1109/ICCV.2013.269

Algorithm 2.

Inference algorithm for the CHM.

Input: An input image X, Θs1, βS, Nstage, L.
Output: υ̂.
        • Compute the output of first classifier, υ̂11, using equation (2).
    for S =1 to Nstage do
        for l = 2 to L do
            • Compute output of the 1'th bottom-up classifier, υ̂sl, using equation (2).
                end for
            • Compute output of the top-down classifier, ζ̂sl, using equation (4).
            • υ̂(s+1)1ζ̂s.
end for
             υ̂ ζ̂s.