Image green channel balancing method and device

A channel balance and image technology, applied in the field of image processing, can solve problems such as texture loss, image boundary blur, block effect, etc.
CN112689141AActive Publication Date: 2021-04-20SHANGHAI FULLHAN MICROELECTRONICS

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
SHANGHAI FULLHAN MICROELECTRONICS
Publication Date
2021-04-20

Smart Images

  • Figure 1
    Figure 1
  • Figure 2
    Figure 2
  • Figure 3
    Figure 3
Patent Text Reader

Abstract

The invention discloses an image processing method and device, and the method comprises the steps: obtaining a Bayer image, dividing the Bayer image into a plurality of image blocks, and calculating the pixel absolute value Diffavg of each image block according to the pixel values of GR and GB in each image block; performing gradient calculation on the pixel values of the same-channel green pixel points in the sliding window to obtain an image gradient grad; calculating a correction coefficient alpha according to the corresponding grad and the corresponding Diffavg; calculating a mean difference offset according to the pixel values of the same-channel green pixel points and the different-channel green pixel points in the sliding window; and performing green channel balance correction on the green pixel points to be corrected according to the alpha and the offset to obtain a corrected Bayer image. According to the invention, the problems of boundary blur, texture loss and the like caused by the blocking effect of adjacent regions in the existing scheme can be solved.
Need to check novelty before this filing date? Find Prior Art

Description

technical field

[0001] The present application relates to the technical field of image processing, in particular to a method and device for image green channel balance. Background technique

[0002] Due to the inherent defects in the imaging principle of the image sensor, the adjacent green channel GR and GB channels will have different photosensitive intensities, that is, the green channel will be unbalanced. After color interpolation it produces false textures, which usually appear as meshes in images. In order to consider the image effect, the balance correction of the green channel is required in the image acquisition and processing link.

[0003] At present, there are mainly two schemes for green channel balancing. The first one is to calculate the mean difference value of the green channel within a certain area in the image, and then use the mean difference value to perform balance correction on the green channel. However, this scheme is based on regional statistics...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More