Abstract:
A super-resolution method and apparatus for a video image are disclosed. The method includes performing super-resolution processing based on fuzzy motion estimation by integral multiple times on an original low-resolution video image, to obtain an intermediate high-resolution video image. When resolution of the intermediate high-resolution video image is different from resolution of a target high-resolution video image, a non-integral multiple between the resolution of the target high-resolution video image and the resolution of the intermediate high-resolution video image is calculated. Super-resolution processing based on interpolation by the non-integral is performed multiple times on the intermediate high-resolution video image, to obtain the target high-resolution video image.
Abstract:
Embodiments of the present invention provide a method and an apparatus for acquiring a weight coefficient of a digital filter so as to enhance a processing effect of images or videos and reduce the complexity of operations. The method includes: extracting global block features and local block features of image blocks, where the image blocks include a first image block and a second image block; acquiring an image block distance fs between the first image block and the second image block according to a global block feature and local block features of the first image block as well as a global block feature and local block features of the second image block; and evaluating a value of e−fs/θ2.
Abstract:
A three-dimensional (3D) information measurement apparatus includes: a light source module, an event awareness module, and a processing module. The light source module is configured to project at least two speckle images onto a target object, and measurement depths corresponding to any two of the at least two speckle images are different. The event awareness module is configured to collect speckle images obtained through reflection of the at least two speckle images by the target object, to obtain a plurality of event images. The processing module is configured to determine 3D information of the target object based on the plurality of event images.
Abstract:
A matrix processing method includes: determining a quantity of non-zero elements in a to-be-processed matrix, where the to-be-processed matrix is a one-dimensional matrix; generating a distribution matrix of the to-be-processed matrix, where the distribution matrix is used to indicate a position of a non-zero element in the to-be-processed matrix; combining the quantity of non-zero elements, values of all non-zero elements in the to-be-processed matrix arranged sequentially, and the distribution matrix, to obtain a compressed matrix of the to-be-processed matrix.
Abstract:
A matrix processing method includes: determining a quantity of non-zero elements in a to-be-processed matrix, where the to-be-processed matrix is a one-dimensional matrix; generating a distribution matrix of the to-be-processed matrix, where the distribution matrix is used to indicate a position of a non-zero element in the to-be-processed matrix; combining the quantity of non-zero elements, values of all non-zero elements in the to-be-processed matrix arranged sequentially, and the distribution matrix, to obtain a compressed matrix of the to-be-processed matrix.
Abstract:
An image processing method and apparatus are disclosed, to improve quality of an image on which color processing is performed. The method includes: determining color values of N color components of each pixel of a to-be-processed image, where N is a natural number greater than 1; determining N ratios of a luminance value of each pixel to the color values of the N color components; determining N first color adjustment coefficients based on the N ratios; and performing color processing on each pixel based on the N first color adjustment coefficients and the color values of the N color components to obtain a target image.
Abstract:
A high dynamic range image processing method and apparatus to resolve a problem of displayed-image distortion, where the method includes obtaining a high dynamic range image, dividing the high dynamic range image into a first liquid crystal image and a first backlight image, performing compression processing on the first liquid crystal image by decreasing a quantity of bits representing a single pixel of the first liquid crystal image to obtain a compressed first liquid crystal image to be displayed at a liquid crystal layer of a display, where the display is configured to display the high dynamic range image, and performing compression processing on the first backlight image by decreasing a quantity of bits representing a single pixel of the first backlight image to obtain a compressed first backlight image to be displayed at a backlight layer of the display.
Abstract:
An image processing method and apparatus are provided. The image processing method includes collecting at least two exposure frames with different brightness in a same scene during different exposure time; combining, for each exposure frame, a raw data unit arranged repeatedly in the exposure frame to obtain first brightness data after the combining; acquiring a correction parameter of all exposure frames according to all first brightness data and performing weighting processing on all the exposure frames by using the correction parameter to obtain a high dynamic range (HDR) image of corrected raw data. The foregoing method can resolve a problem in the prior art that colors, brightness, and contrast of an image obtained from Raw data are severely distorted.
Abstract:
Determining of still/movement may be performed with reference to quantization noise of a first section to which a first pixel belongs, and for different results of determining of whether the first pixel is in a movement area or a still area, different frame difference thresholds applicable to the movement area and the still area are separately set, and different frame difference calculation manners are used, different blending coefficients applicable to the movement area and the still area are selected according to the different frame difference thresholds applicable to the movement area and the still area and the frame difference calculation manners, and a noise reduction blending manner is selected according to the different blending coefficients applicable to the movement area and the still area, the frame difference calculation manners, and a pixel value of the first pixel in a current frame.
Abstract:
An image processing method and apparatus, and an imaging device are provided. The method includes: obtaining a first green component value and a first red component value or first blue component value that are of the current pixel and obtained by using an interpolation algorithm, a minimum first-gradient value in horizontal and vertical directions, a minimum second-gradient value in inclined directions, a threshold for a green component, and a threshold for a red component or blue component; obtaining a corrected value of the green component and a corrected value of the red component or blue component of the current pixel; and obtaining a second green component value and a second red component value or second blue component value of the current pixel. The method may be used to reduce crosstalk of a color component in which the current pixel is located on other two color components obtained by interpolation.