A hybrid approach to the skull stripping problem in MRI