Skull stripping methods for t1 and t2 magnetic resonance images mri of human head scans using intensity clustering and resonance principles