Computational Tools and Methods for Objective Assessment of Image Quality in X-Ray CT and SPECT