Abstract:
A method and an apparatus for processing a high dynamic range (HDR) image, and a terminal device to improve quantization quality, where the method includes obtaining brightness information of an image, processing the brightness information to obtain processed image information, quantizing the processed image information to obtain quantized image information, and encoding the quantized image information to obtain encoded image information.
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.
Abstract:
A video processing method and apparatus, which relate to the field of multimedia, and the method includes acquiring, by an video processing apparatus, two field images of an interlaced frame image in an interlaced video; performing temporal deinterlacing on either field image in the two field images to obtain a temporal virtual field image, and performing spatial deinterlacing on the either field image to obtain a spatial virtual field image; performing directional combing detection on the temporal virtual field image along a preset candidate combing detection direction with reference to the other field image in the interlaced frame image, to determine whether combing exists in the temporal virtual field image; and according to this, selecting the temporal virtual field image or the spatial virtual field image to be fused with the other field image to generate a new image.
Abstract:
A matrix processing method performed by a graphics processing unit (GPU) includes: determining a plurality of non-zero elements in a to-be-processed matrix at a processor in the GPU; generating a distribution matrix of the to-be-processed matrix at the processor, where the distribution matrix comprises identities for indicating positions of the plurality of non-zero elements in the to-be-processed matrix; obtaining a target matrix from another matrix by using the distribution matrix at a logic circuit in the processor, where the target matrix comprises a plurality of target elements from the another matrix; and performing matrix processing on the plurality of non-zero elements and the target matrix to obtain an operation result at the processor.
Abstract:
An image processing apparatus, which includes a first physical computing circuit, configured to receive a plurality of first analog signals output by an image sensor, and perform a convolution operation on the plurality of first analog signals to obtain a second analog signal. The plurality of first analog signals are in a one-to-one correspondence with a plurality of pieces of pixel data of a to-be-recognized image. The first physical computing circuit comprises at least one multiplication circuit array and at least one subtraction circuit, the at least one multiplication circuit array is in a one-to-one correspondence with the at least one subtraction circuit, a multiplication circuit in each multiplication circuit array comprises a differential pair transistor, each multiplication circuit array implements the convolution operation on the plurality of first analog signals using a plurality of multiplication circuits and a corresponding subtraction circuit.
Abstract:
An image processing apparatus, which includes a first physical computing circuit, configured to receive a plurality of first analog signals output by an image sensor, and perform a convolution operation on the plurality of first analog signals to obtain a second analog signal. The plurality of first analog signals are in a one-to-one correspondence with a plurality of pieces of pixel data of a to-be-recognized image. The first physical computing circuit comprises at least one multiplication circuit array and at least one subtraction circuit, the at least one multiplication circuit array is in a one-to-one correspondence with the at least one subtraction circuit, a multiplication circuit in each multiplication circuit array comprises a differential pair transistor, each multiplication circuit array implements the convolution operation on the plurality of first analog signals using a plurality of multiplication circuits and a corresponding subtraction circuit.
Abstract:
A video processing method and apparatus, which relate to the field of multimedia, and the method includes acquiring, by an video processing apparatus, two field images of an interlaced frame image in an interlaced video; performing temporal deinterlacing on either field image in the two field images to obtain a temporal virtual field image, and performing spatial deinterlacing on the either field image to obtain a spatial virtual field image; performing directional combing detection on the temporal virtual field image along a preset candidate combing detection direction with reference to the other field image in the interlaced frame image, to determine whether combing exists in the temporal virtual field image; and according to this, selecting the temporal virtual field image or the spatial virtual field image to be fused with the other field image to generate a new image.
Abstract:
A method and an apparatus for correcting a multi-exposure motion image are disclosed, where the method includes determining a luminance mapping function, where the luminance mapping function is a luminance mapping relationship between a reference frame and multiple extended frames; mapping a luminance of an extended frame by using the luminance mapping relationship to obtain a virtual frame; calculating a global motion vector between the virtual frame and the reference frame; correcting a pixel of the extended frame according to the global motion vector to obtain a first extended frame after correction; detecting a pixel of the first extended frame according to the reference frame to obtain a local error pixel of the first extended frame; and correcting a luminance of the local error pixel of the first extended frame to obtain a second extended frame after correction.
Abstract:
An image processing method and apparatus, where the method includes determining a maximum value in nonlinear primary color values of all components of each pixel of a first to-be-processed image, determining dynamic parameters of a first transfer function, converting the maximum value of each pixel into a transfer value based on the first transfer function for which the dynamic parameters are determined, calculating a ratio between the transfer value and the maximum value of each pixel, and adjusting a dynamic range for the nonlinear primary color values of all the components of each pixel based on the ratio to obtain nonlinear primary color values of all components of each corresponding pixel of a first target 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.