A DoF-Based Efficient Image Abstraction