Gaussian Transformer and CNN Segmentation Method Based on Contrastive Learning of Boundary