Interpolation method and device
An interpolation method and difference value technology, applied in the field of interpolation method and device, can solve the problems of difference, interpolation deformity point color component value, large interpolation deviation value, etc.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0081] This embodiment provides an interpolation method, which is applied to electronic equipment, such as figure 2 As shown, the method includes:
[0082]Step 201 , estimating three differences between two of the three color component values of the current pixel point, the three color component values are red component value, green component value and blue component value respectively.
[0083] For the convenience of description, the red component value, the green component value and the blue component value are represented by RGB respectively. If the current pixel is a red pixel, only the data of the red component value of the pixel is recorded in the RAW image, and both B and G are null values, which can only be obtained through interpolation. Therefore, the target color component value at this time is B. The differences are: (G-R) * , (G-B) * and (R-B) * . If the current pixel is a blue pixel, then R is the target color component value. The differences are: (G-...
Embodiment 2
[0091] As a further refinement of Embodiment 1, this embodiment provides an interpolation method, such as image 3 As shown, before step 202, the method also includes:
[0092] Step 301. Obtain the average value of the red color component, the average value of the green color component and the average value of the blue color component in the RAW image.
[0093] Step 302, calculating a normalization parameter according to the average value of the red color component, the average value of the green color component and the average value of the blue color component.
[0094] The calculation of the normalization parameter needs to be calculated according to the color component values in all pixels in the RAW image. The following is an example of calculating the normalization parameter. This example cannot be regarded as a limitation on the calculation method of the normalization parameter, as follows:
[0095] In step 301, the red component value recorded in the red pixel point...
Embodiment 3
[0132] This embodiment provides an interpolation device, such as Figure 6 As shown, the device is located on an electronic device, and the device includes:
[0133] The estimation unit 61 is used for estimating three differences between two of the three color component values of the current pixel, and the three color component values are red component value, green component value and blue component value respectively.
[0134] The calculating unit 62 is configured to use the normalization parameter estimated by the estimating unit 61 and the absolute value of the direction gradient to calculate a weighted mean value of the difference for the difference.
[0135] The calculating unit 62 can directly or indirectly normalize the difference estimated by the estimating unit 61 through a normalization parameter, and obtain a weighted mean of the difference.
[0136] An interpolation unit 63, configured to calculate a target color component value according to the weighted mean ...
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