Abstract:
The present invention provides a photographing method for a dual-lens device. The dual-lens device includes a first lens and a second lens that are arranged on a same plane. The photographing method includes acquiring a first image collected by a first image sensor; identifying a scenario of the first image to determine a photographing environment, determining a second image signal processor (ISP) parameter corresponding to the second lens; acquiring a second image that is collected, according to the second ISP parameter, and generating a preview image. According to the present invention, a photographing environment is determined by using an image collected by one lens of the dual-lens device, and then a preview image is generated by using an image collected by the other lens.
Abstract:
An image processing method and apparatus, and a shooting terminal, where the method includes acquiring a to-be-processed image that is shot but is not image-processed; extracting shooting characteristic information of the to-be-processed image; performing image processing on the to-be-processed image according to the shooting characteristic information. In this way, after acquiring a to-be-processed image that is shot, a shooting terminal uses shooting characteristic information of the to-be-processed image as a basis of adaptive processing of the image, and performs processing on each to-be-processed image according to shooting characteristic information of each to-be-processed image, so that the quality of an image that is obtained after being processed by the shooting terminal can be adaptively improved.
Abstract:
A backlight detection method and device, and the method includes acquiring a brightness value of each image block in a to-be-checked image, determining a brightness relationship between the adjacent image blocks according to the brightness value of each image block; and determining a dark region and a bright region in the to-be-checked image according to the brightness relationship between the adjacent image blocks, and determining whether the to-be-checked image is a backlight scenario according to the dark region and the bright region. The backlight detection method and device provided by the embodiments of the present invention can improve accuracy of backlight detection.
Abstract:
An image processing method and apparatus, and a shooting terminal, where the method includes acquiring a to-be-processed image that is shot but is not image-processed; extracting shooting characteristic information of the to-be-processed image; performing image processing on the to-be-processed image according to the shooting characteristic information. In this way, after acquiring a to-be-processed image that is shot, a shooting terminal uses shooting characteristic information of the to-be-processed image as a basis of adaptive processing of the image, and performs processing on each to-be-processed image according to shooting characteristic information of each to-be-processed image, so that the quality of an image that is obtained after being processed by the shooting terminal can be adaptively improved.
Abstract:
An image sharpening processing method and apparatus, and a shooting terminal, where the method includes acquiring to-be-processed image; performing edge-preserving filtering processing on the image to obtain base image information and detail image information, where the base image information includes image edge information; determining, according to the image edge information, a sharpening gain required for performing sharpening processing on the detail image information; and performing sharpening processing on the detail image information using the sharpening gain. It is implemented that the sharpening gain required for sharpening processing is determined by the image edge information, thereby suppressing noise amplification and avoiding generating a phenomenon of overshoot for sharpened image information and improving quality of a sharpened image.
Abstract:
A backlight detection method and device, and the method includes acquiring a brightness value of each image block in a to-be-checked image, determining a brightness relationship between the adjacent image blocks according to the brightness value of each image block; and determining a dark region and a bright region in the to-be-checked image according to the brightness relationship between the adjacent image blocks, and determining whether the to-be-checked image is a backlight scenario according to the dark region and the bright region. The backlight detection method and device provided by the embodiments of the present invention can improve accuracy of backlight detection.
Abstract:
A method includes: after a panorama shooting instruction triggered by a user is acquired, shooting a first image, and acquiring a shooting parameter of the first image; determining move guiding information according to a preset move guiding policy, and displaying the move guiding information on a terminal, so as to instruct the user to move the terminal according to the move guiding information; shooting a preset quantity of images according to the shooting parameter of the first image after it is detected that the terminal moves, where the preset quantity of images are background images on both the left and right sides of a background corresponding to the first image; and performing, by using the first image as a center and by using a preset splicing scheme, seamless splicing on the first image and the preset quantity of images, to obtain a panoramic image.
Abstract:
The present invention provides a method to resolve a technical problem of a “ghost”. The method is applied to a terminal that includes a first camera lens and a second camera lens, where the both lenses are located on a same side of the terminal. The method includes: obtaining a first image that is captured by the first camera lens and is about a first area, and a second image that is captured at a same moment by the second camera lens and is about a second area; performing translation compensation on the second image by using the first image as a reference image; and fusing the first image and the second image that is obtained after translation compensation is performed, to generate a third image, where a resolution of the third image is higher than a resolution of the first image and a resolution of the second image.
Abstract:
An image denoising method and terminal, where the method includes acquiring image data of an image, performing wavelet decomposition on at least one component of three components of the image data to obtain a high frequency wavelet coefficient and a low frequency wavelet coefficient of each component, performing recursive denoising on the low frequency wavelet coefficient of each component in at least one direction, to obtain a denoised low frequency wavelet coefficient of each component, performing wavelet reconstruction according to the high frequency wavelet coefficient of each component and the denoised low frequency wavelet coefficient of each component, to obtain at least one denoised component, and obtaining denoised image data.
Abstract:
Embodiments disclose an image generating method and a dual-lens device. The method includes determining a first processing parameter and a second processing parameter. The first processing parameter is different from the second processing parameter. The method also includes acquiring, according to the first processing parameter, a first image captured at a first moment by a first image sensor corresponding to a first lens, and acquiring, according to the second processing parameter, a second image captured at the first moment by a second image sensor corresponding to a second lens. When a photographing operation instruction is received, the acquired first image and the acquired second image are synthesized to generate an image.