Image fidelity assessment and its applications