Image processing method and apparatus
AssigneeHuawei Technolgies Co., Ltd.
InventorsFangyong GE, Yali WANG
Life of this patent
Estimating the term…
Abstract
An image processing method, including: obtaining image data of a photographed original image, and obtaining ambient infrared intensity I that is used when the original image is photographed; obtaining infrared image data corresponding to I according to a preset correspondence between tested infrared intensity and infrared image data; obtaining corrected image data according to the image data of the original image and the infrared image data corresponding to I; and obtaining a corresponding corrected image according to the corrected image data, and outputting the corrected image.
Claims21
An image processing method, comprising:
- photographing, by a terminal, an original image;
- obtaining, by the terminal, image data of the original image and ambient infrared intensity I that is used when the original image is photographed;
- obtaining, by the terminal, infrared image data corresponding to the ambient infrared intensity I according to a preset correspondence between tested infrared intensity and infrared image data;
- obtaining, by the terminal, corrected image data according to the image data of the original image and the infrared image data corresponding to the ambient infrared intensity I;
- obtaining, by the terminal, a corrected image according to the corrected image data;
- and
- outputting, by the terminal, the corrected image.
7-12. (canceled)
A terminal, comprising:
- a camera,
- an infrared sensor,
- a processor,
- a memory, and
- a display apparatus;
- wherein:
- the camera is configured to photograph an original image;
- the infrared sensor is configured to:
- when the camera photographs the original image, collect an ambient infrared ray and obtain ambient infrared intensity I;
- the memory is configured to store a preset correspondence between tested infrared intensity and infrared image data;
- the processor is configured to:
- obtain image data of the photographed original image, and obtain the ambient infrared intensity I that is used when the original image is photographed;
- obtain infrared image data corresponding to the ambient infrared intensity I according to the preset correspondence;
- obtain corrected image data according to the image data of the original image and the infrared image data corresponding to the ambient infrared intensity I;
- and
- obtain a corrected image according to the corrected image data,
- and output the corrected image to the display apparatus;
- and
- the display apparatus is configured to display the corrected image.
Dependencies are inferred from the claim text.