Image editing method and associated apparatus
AssigneeMStar Semiconductor, Inc.
InventorsKun-Nan Cheng, Yu-Chuan Shen
Life of this patent
Estimating the term…
Abstract
An image editing method for editing an original image is provided. The original image has a distinct figure and an indistinct figure, which correspond to an in-focus object and an out-of-focus object, respectively. The image editing method includes: obtaining an out-of-focus object distance from the out-of-focus object to a lens; performing an inverse blurring process on the indistinct figure according to the out-of-focus object distance and an optical parameter to obtain a processed figure; and forming a processed image according to the processed figure and the distinct figure.
Claims16
An image editing method, for editing an original image derived from an image capture apparatus comprising an aperture, a lens, and an optical sensor, the original image at least having a distinct figure and an indistinct figure respectively corresponding to an in-focus object and an out-of-focus object, the image editing method comprising:
- obtaining an out-of-focus object distance from the out-of-focus object to the lens;
- performing an inverse blurring process on the indistinct figure according to the out-of-focus object distance and an optical parameter to obtain a processed figure, said performing the inverse blurring process comprising:
- obtaining a blurring convolution function according to a focal length of the lens, the aperture, the out-of-focus object distance and the position of the optical sensor;
- deducing an inverse blurring function according to the blurring convolution function;
- and
- processing the indistinct figure according to the inverse blurring function to obtain the processed figure;
- and
- forming a processed image according to the processed figure and the distinct figure, comprising:
- forming said processed image containing the processed figure and the distinct figure by replacing the indistinct figure in the original image with the processed figure.
An image processing apparatus, configured to process an original image generated by photographing, comprising:
- an image capture apparatus, comprising:
- an aperture;
- a lens;
- and
- an optical sensor;
- a processor, configured to identify a distinct figure and an indistinct figure from the original image, the distinct figure and the indistinct figure respectively corresponding to an in-focus object and an out-of-focus object photographed;
- and
- a distance detecting unit, configured to obtain an out-of-focus object distance from the out-of-focus object to the lens;
- wherein the processor is configured to perform an inverse blurring process on the indistinct figure according to the out-of-focus object distance and an optical parameter of the lens to obtain a processed figure, said performing the inverse blurring process comprises obtaining a blurring convolution function according to a focal length of the lens, the aperture, the out-of-focus object distance and the position of the optical sensor;
- deducing an inverse blurring function according to the blurring convolution function;
- and processing the indistinct figure according to the inverse blurring function to obtain the processed figure, and the processor is configured to form a processed image according to the processed figure and the distinct figure, comprising:
- forming said processed image containing the processed figure and the distinct figure by replacing the indistinct figure in the original image with the processed figure.
Dependencies are inferred from the claim text.