Methods and apparatus for editing images
AssigneeThe Chinese University of Hong Kong
InventorsWei Zhang, Wai Kuen Cham
Life of this patent
Estimating the term…
Abstract
Methods and apparatus for editing an image having focused and defocused objects are provided in the present application. According to an embodiment, the method comprises: determining blurriness of edge pixels in the image; propagating the determined blurriness to non-edge pixels adjacent to each of the edge pixels so as to determine blurriness of the non-edge pixels; estimating a focus map based on the blurriness of the edge pixels and the non-edge pixels to identify the defocused objects and the focused objects; and refocusing the defocused objects based on the focus map or defocusing at least one of the defocused objects and the focused objects.
Claims36
A method for editing an image having defocused objects, comprising:
- determining blurriness of edge pixels in the image;
- propagating the determined blurriness to non-edge pixels adjacent to each of the edge pixels so as to determine blurriness of the non-edge pixels;
- estimating a focus map based on the blurriness of the edge pixels and the non-edge pixels to identify the defocused objects;
- and
- refocusing the defocused objects based on the focus map.
A method for editing an image having focused and defocused objects, comprising:
- detecting edge pixels in the image;
- estimating a focus map of the image based on the detected edges to identify the focused objects and the defocused objects;
- and
- refocusing the defocused objects, or defocusing at least one of the focused objects and the defocused objects.
An apparatus for editing an image having defocused objects, comprising:
- a determining module configured to determine blurriness of edge pixels in the image;
- a propagating module configured to propagate the determined blurriness to non-edge pixels adjacent to each of the edge pixels so as to determine blurriness of the non-edge pixels;
- an estimating module configured to estimate a focus map based on the blurriness of the edge pixels and the non-edge pixels to identify the defocused objects;
- and
- a refocusing module configured to refocus the defocused objects based on the focus map.
An apparatus for editing an image having focused and defocused objects, comprising:
- a determining module configured to determine blurriness of edge pixels in the image;
- a propagating module configured to propagate the determined blurriness to non-edge pixels adjacent to each of the edge pixels so as to determine blurriness of the non-edge pixels;
- an estimating module configured to estimate a focus map based on the blurriness of the edge pixels and the non-edge pixels to identify the defocused objects;
- and
- a defocusing module configured to defocusing at least one of the focused objects and the defocused objects.
Dependencies are inferred from the claim text.