Similar Items: Comparative Evaluation of CNN and Transformer-Based Models for Brain Tumor MRI Segmentation