A simple technique for estimating absorption and scattering coefficients