Image processing method based on Bayer arrangement
An image processing and image technology, applied in image data processing, image enhancement, image analysis, etc., can solve problems such as direction judgment difficulties, reduce visual artifacts, etc., reduce false colors, reduce interpolation errors, and improve interpolation performance Effect
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0111] Please refer to the attached figure 2 with 3 , a kind of image processing method based on Bayer arrangement provided by the present invention, comprises the following steps:
[0112] S01: Obtain a Bayer image from a photosensitive element covered with a color filter array, as shown in the attached figure 2 Shown; G channel interpolation is performed in the R pixel unit and B pixel unit in the Bayer image. For example, using the adaptive difference method in the R pixel unit R 33 The specific method for G channel interpolation in :
[0113]
[0114] When ΔH<ΔV,
[0115] G 33 =(G 32 +G 34 ) / 2+[2R 33 -(R 31 +R 35 )] / 4;
[0116] When ΔH>ΔV,
[0117] G 33 =(G 23 +G 43 ) / 2+[2R 33 -(R 13 +R 53 )] / 4;
[0118] When ΔH=ΔV,
[0119] G 33 =(G 23 +G 43 +G 32 +G 34 ) / 4+[4R 33 -(R 13 +R 53 +R 31 +R 35 )] / 8.
[0120] S02: Calculate the edge judgment operator of the G pixel unit, and calculate the direction judgment operator corresponding to the G pix...
Embodiment 2
[0159] Please refer to the attached figure 2 with 3 , a kind of image processing method based on Bayer arrangement provided by the present invention, comprises the following steps:
[0160] S01: Obtain a Bayer image from a photosensitive element covered with a color filter array, as shown in the attached figure 2 Shown; G channel interpolation is performed in the R pixel unit and B pixel unit in the Bayer image.
[0161] S02: Calculate the edge judgment operator of the G pixel unit, and calculate the direction judgment operator corresponding to the G pixel unit according to the relative size of the edge judgment operator, combine the edge judgment operator and the direction judgment operator, in the G pixel unit Perform B channel interpolation and R channel interpolation, such as for G 32 point, G pixel unit G 32 The calculation methods of the corresponding edge judgment operators ΔL and ΔP are:
[0162]
[0163] If ΔL32 In the centered 3x3 window, there is a referen...
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