Mosaic removing method and device
A technology of demosaicing and current position, applied in the field of image processing, can solve the problem of poor effect of restoring the true color of pixels and so on
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0072] An embodiment of the present invention provides a method for demosaicing, such as image 3 As shown, the method includes:
[0073] S101. The demosaicing device obtains gradient values of the pixel at the current position in multiple preset directions, and determines a gradient threshold of the pixel at the current position according to the gradient values in the multiple preset directions.
[0074] In order to reduce the complexity and cost of optical path control and photosensitive imaging chips, the imaging raw data of most electronic products that can be used to shoot digital images generally adopts the Bayer format. Each pixel in a digital image in Bayer format has only one color component, or R or G or B, and it needs to interpolate the other two colors with the help of the colors around the current pixel.
[0075] Since the color information of natural scenery changes smoothly, and the color gradient of each pixel is different in different directions, in orde...
Embodiment 2
[0109] An embodiment of the present invention provides a method for demosaicing, such as Figure 5 As shown, the method includes:
[0110] S201. The demosaicing device acquires a digital image in Bayer format, and acquires an n×n pixel array centered on a pixel at a current position in the digital image, where n is greater than or equal to 3.
[0111] In order to reduce the complexity and cost of optical path control and photosensitive imaging chips, the imaging raw data of most electronic products that can be used to shoot digital images generally adopts the Bayer format. In the digital image of Bayer format, only one of the three primary colors of red, green, and blue exists in each pixel, and the other two colors need to be interpolated with the help of the colors around the current pixel.
[0112] Specifically, the demosaicing device obtains a digital image in Bayer format, and when performing demosaic processing on it, it is necessary to obtain an n×n (n greater than or ...
Embodiment 3
[0193] The present invention provides a device for demosaicing, such as Figure 7 shown, including:
[0194] The obtaining unit 10 is configured to obtain the gradient value of the pixel at the current position in multiple preset directions, and to obtain the color value of the pixel at the current position in each target direction in the multiple preset directions, wherein, The target direction is a direction in which the gradient value of the current position pixel in the plurality of preset directions is smaller than the gradient threshold, the current position pixel has at least one target direction, and is used to The known color component value and the color average value to obtain the missing color component value of the pixel at the current position;
[0195] A determining unit 11, configured to determine the gradient threshold of the pixel at the current position according to the gradient values in the plurality of preset directions acquired by the acquiring unit 1...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com