Hanno has explained the masks of the segmentation-based method here (you may want to also read my questions in the comment above the explanation):