Global and Exact Integer-Valued Image Approximation