Long-tail distribution and open-set recognition remain significant challenges in sonar image classification. This study introduces Dynamic Margin Contrastive Learning (DMCL), a novel framework that ...