Image Quality Assessment Based on Local Orientation Distributions