Robust technique for quantification of NMR imaging data