NMR imaging applied to various studies of porous media