HI thanks for the response. I'm using the terminology the authors of the figure used above. I realize that "gap" is not the best word to describe.
What you described, taking the left and right most positions of each aligned segment and determining the distance between the two, is described by the authors as "reference length"
Insertions and deletions are discerned based on the relation between the gap size g [the thin orange line in the figure above, which is the size of the insert], and the reference length L = | left position segment 1 - right position segment 2 |
Am I crazy to think that you can figure out the positioning of segments on the original fragment? The authors of the paper seem to have done it.

In this kind of situation, I think unsplit alignments are easier to use, since that information is captured in the cigar string. BBMap will produce unsplit alignments supporting long deletions and medium-length insertions (you can never capture a long insertion in a short read, using split or unsplit alignments).