Advancing Deep Learning in Medical Imaging Diagnostics under Small-Scale Dataset Constraints