A Self-Refining Framework for Intracranial Primary Tumors Diagnosis