They haven't mentioned any method for contour extraction. And yes, I've tested this out, it gives me the boundary as is in the `mask`.