I would like to compute volumetric obscurance with line integrals like described in this paper.
For a 2D sample, it is possible to know the "depth in sphere". But I don't understand how they compute the occluded (in red on the following image) part and the unnoccluded (in yellow) part of the line in the sphere.
I think that they say that given the depth read through the sample and the "depth in sphere", we should be able to deduce each part of the lines.