Digital Image Quality Assessment Python