DCMM-Transformer: Degree-Corrected Mixed-Membership Attention for Medical Imaging