Integrating imaging and vision for content-specific image enhancement