Image refocusing
AssigneeNokia Technologies Oy
InventorsHui Zhou, Timo Ahonen
Life of this patent
Estimating the term…
Abstract
A method including automatically segmenting regions of images of a focal stack into segment regions; and based, at least partially, upon selection of one or more of the segment regions, generating a refocused image which induces different ones of the segment regions from at least two of the images of the focal stack. An apparatus including an image segmentator for a focal stack of images, where the image segmentator is configured to automatically form segment regions for each of the images; and a focal stack fuser configured to fuse the focal stack of images into a refocused image, where the refocused image comprises different ones of the segment regions from at least two of the images of the focal stack.
Claims13
An apparatus comprising:
- at least one processor;
- and
- at least one memory including computer program code, wherein the at least one memory and the computer program code, with the at least one processor, cause the apparatus to:
- form segment regions for at least some images in a focal stack of images;
- fuse the focal stack of images into a refocused image, wherein the refocused image comprises different ones of the segment regions from at least two of the images of the focal stack;
- for pixels of each image of the focal stack, estimate a blur between each pixel and a corresponding pixel in another one of the images of the focal stack to form a blur map for each image of the focal stack;
- compare blur maps to each other, wherein the blur maps are thresholded to generate a relative depth map;
- classify pixels with similar blur levels as a same depth level, wherein at least one of the images has a set of in-focus ones of the pixels comprising a sharpest pixel among the focal stack;
- and
- apply an image matting technique on the focal stack of images with corresponding in-focus pixels.
A method comprising:
- forming segment regions for at least some images in a focal stack of images;
- fusing the focal stack of images into a refocused image, wherein the refocused image comprises different ones of the segment regions from at least two of the images of the focal stack;
- for pixels of each image of the focal stack, estimating a blur between each pixel and a corresponding pixel in another one of the images of the focal stack to form a blur map for each image of the focal stack;
- comparing blur maps to each other, wherein the blur maps are thresholded to generate a relative depth map;
- classifying pixels with similar blur levels as a same depth level, wherein at least one of the images has a set of in-focus ones of the pixels comprising a sharpest pixel among the focal stack;
- and
- applying an image matting technique on the focal stack of images with corresponding in-focus pixels.
A non-transitory program storage device readable by a machine, tangibly embodying a program of instructions executable by the machine for performing operations, the operations comprising:
- forming segment regions for at least some images of a focal stack of images;
- fusing the focal stack of images into a refocused image, wherein the refocused image comprises different ones of the segment regions from at least two of the images of the focal stack;
- for pixels of each image of the focal stack, estimating a blur between each pixel and a corresponding pixel in another one of the images of the focal stack to form a blur map for each image of the focal stack;
- comparing blur maps to each other, wherein the blur maps are thresholded to generate a relative depth map;
- classifying pixels with similar blur levels as a same depth level, wherein at least one of the images has a set of in-focus ones of the pixels comprising a sharpest pixel among the focal stack;
- and
- applying an image matting technique on the focal stack of images with corresponding in-focus pixels.
Dependencies are inferred from the claim text.