Information processing in nuclear magnetic resonance imaging