Feature-directed spiral coding of magnetic resonance images