Applied optically detected magnetic resonance microscopy of nitrogen-vacancy defects in diamond