CN106937102A - A kind of panorama backing system color balance adjusting method - Google Patents

A kind of panorama backing system color balance adjusting method Download PDF

Info

Publication number
CN106937102A
CN106937102A CN201611212914.XA CN201611212914A CN106937102A CN 106937102 A CN106937102 A CN 106937102A CN 201611212914 A CN201611212914 A CN 201611212914A CN 106937102 A CN106937102 A CN 106937102A
Authority
CN
China
Prior art keywords
splicing regions
image data
component
view data
image
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201611212914.XA
Other languages
Chinese (zh)
Other versions
CN106937102B (en
Inventor
陈君立
汤沛锋
孙易林
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huizhou Desay SV Automotive Co Ltd
Original Assignee
Huizhou Desay SV Automotive Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huizhou Desay SV Automotive Co Ltd filed Critical Huizhou Desay SV Automotive Co Ltd
Priority to CN201611212914.XA priority Critical patent/CN106937102B/en
Publication of CN106937102A publication Critical patent/CN106937102A/en
Application granted granted Critical
Publication of CN106937102B publication Critical patent/CN106937102B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N9/00Details of colour television systems
    • H04N9/64Circuits for processing colour signals
    • H04N9/73Colour balance circuits, e.g. white balance circuits or colour temperature control
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N5/00Details of television systems
    • H04N5/222Studio circuitry; Studio devices; Studio equipment
    • H04N5/262Studio circuits, e.g. for mixing, switching-over, change of character of image, other special effects ; Cameras specially adapted for the electronic generation of special effects
    • H04N5/265Mixing

Abstract

It is the view data and stitching image data for gathering N roads video respectively by camera the invention discloses a kind of panorama backing system color balance adjusting method;Concatenation module determines the gain of image R, G, B according to stitching image data and three primary colors R, G, B accounting of view data, and gain is compared with default regulation threshold values, judges whether the three primary colors for needing to adjust image;When being judged as adjusting the trichromatic R or G or B of image, then further reduce stitching image data area, recalculating gain and judging whether needs to adjust the three primary colors of image, or stitching image data area is narrowed down to untill splicing regions do not exist.Panorama backing system of the present invention is after multiway images are collected, analyzed by the comparison to abnormal chromatism data, calibrate the transitional region of the abnormal aberration in panoramic mosaic region, the yield value for reusing statistical precipitation is adjusted to the transitional region of abnormal aberration, ultimately forms the uniform view data of color transition.

Description

A kind of panorama backing system color balance adjusting method
Technical field
The present invention relates to the method for image mosaic fusion, more particularly to a kind of panorama backing system colour-balance adjustment side Method.
Background technology
The four-way CCD camera of panorama backing system is under the changeable light in garage parking, or different cars are being received around night During the light-illuminating of lamp, the color white balance of four-way CCD camera can be different, cause splicing regions transition portion image to occur obvious Aberration, display effect is poor, if color transition can not be adjusted before presentation to a user, make splicing regions transition from So, the experience effect of user will be reduced, and user easily ignores the abnormal object occurred in image, causes reversing to occur asking Topic.
The content of the invention
It is a primary object of the present invention to provide a kind of panorama backing system color balance adjusting method, it is intended to which multichannel is taken the photograph As the splicing regions of head carry out over-colored treatment, balance over-colored.
To achieve the above object, the present invention provides a kind of panorama backing system color balance adjusting method, including following step Suddenly:
S01, the view data and stitching image data that gather N roads video respectively by camera, the N are more than or equal to 2 Natural number;
S02, concatenation module determine image R, G, B according to stitching image data and three primary colors R, G, B accounting of view data Gain, and gain is compared with default regulation threshold values, judge whether to need to adjust the three primary colors of image;
S03, when being judged as adjusting the trichromatic R or G or B of image, then further reduce stitching image number According to scope, recalculate gain and judge whether the three primary colors for needing to adjust image, or stitching image data area is reduced To splicing regions do not exist.
Preferably, in step S01, the stitching image data of collection N roads video are specially:
After the view data of collection N roads video, the default spelling according to corresponding to the view data and N roads video of collection Region is connect, the stitching image data of N roads video are obtained.
Preferably, described image data include R component, G components and the B component of all pixels point of the image, the spelling Map interlinking includes R component, G components and the B component of all pixels point in the image mosaic region as data.
Preferably, in step S02, the stitching image data are specifically obtained with three primary colors R, G, B accounting of view data Obtaining mode is:
Respectively statistical picture data R component and, G components and, B component and and the road video-splicing view data R Ingredient amount and, G ingredients amount and, B ingredients amount and;
By calculate R ingredients amount and with R component and ratio, G ingredients amount and with G components and ratio, B ingredients amount and with B point The ratio of sum is measured, that is, obtains three primary colors R, G, B accounting of stitching image data and view data.
Preferably, when the splicing regions of image are more than 1, in addition it is also necessary to which three to each stitching image data and view data are former Color R, G, B accounting is weighted averagely, obtains R, G, B weight in the road video-splicing region.
Preferably, by R, G, B weight, the R of each splicing regions, G, B component and and each splicing regions scope, obtain R, G, B gain of each splicing regions of road video.
Preferably, in step S02, gain is compared with default regulation threshold values, judges whether to need to adjust image It is trichromatic to concretely comprise the following steps:
The yield value and default regulation threshold values of R, G, B are contrasted, when the yield value of one of component is less than regulation threshold values When, then the aberration of splicing regions is normal, otherwise the aberration exception of splicing regions;
When the aberration of splicing regions is abnormal, then according to the color of each R, G, B gain-adjusted splicing regions;
When the aberration of splicing regions is normal, then splicing regions scope is reduced by default stepping, as stated above again The aberration of splicing regions is judged, until the color or the splicing regions that adjust the splicing regions are reduced into zero.
Panorama backing system of the present invention is analyzed after multiway images are collected by the comparison to abnormal chromatism data, mark The transitional region of the abnormal aberration in panoramic mosaic region is made, the mistake of the yield value to abnormal aberration of statistical precipitation is reused Cross region to be adjusted, ultimately form the uniform view data of color transition.
Specific embodiment
It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, it is not intended to limit the present invention.
The present invention provides a kind of panorama backing system color balance adjusting method, in the first embodiment, panorama reversing System color balance adjusting method is comprised the following steps:
S01, the view data and stitching image data that gather N roads video respectively by N number of camera, the N more than etc. In 2 natural number;
S02, concatenation module according to stitching image data and the accounting of three primary colors R, G, B of view data, determine image R, The gain of G, B, and gain is compared with default regulation threshold values, judge whether the three primary colors for needing to adjust image;
S03, when being judged as adjusting the trichromatic R or G or B of image, then further reduce stitching image number According to scope, recalculate gain and judge whether the three primary colors for needing to adjust image, or stitching image data area is reduced To splicing regions do not exist.
Panorama backing system of the present invention is analyzed after multiway images are collected by the comparison to abnormal chromatism data, mark The transitional region of the abnormal aberration in panoramic mosaic region is made, the mistake of the yield value to abnormal aberration of statistical precipitation is reused Cross region to be adjusted, ultimately form the uniform view data of color transition.Described image data include all pictures of the image The R component of vegetarian refreshments, G components and B component, the stitching image data include R minutes of all pixels point in the image mosaic region Amount, G components and B component.
In a second embodiment, the panorama backing system color balance adjusting method is comprised the following steps:
The view data of S01, respectively collection N roads video, according to the view data of collection, adjusts the splice region of each road video Domain color, comprises the following steps:
S02, view data and the default splicing regions of road video according to collection, obtain the stitching image of the road video Data;Default splicing regions are the letter in the picture splicing region for being related to each road camera being stored in advance in memory Breath, concatenation module screens stitching image data according to the information from view data.
S03, the respectively R component of statistical picture data and, G components and, B component and and the road video-splicing view data R ingredients amount and, G ingredients amount and, B ingredients amount and;
S04, each component by view data and and the component and corresponding ingredient amount and, the road video is obtained respectively R, G, B weight of splicing regions;
S05, by R, G, B weight, obtain R, G, B gain in the road video-splicing region;
The yield value and default regulation threshold values of S06, contrast R, G, B, when the yield value of one of component is less than regulation During threshold values, then the aberration of splicing regions is normal, otherwise the aberration exception of splicing regions;
S07, when the aberration of splicing regions is abnormal, then according to the color of each R, G, B gain-adjusted splicing regions;
S08, when the aberration of splicing regions is normal, then by default stepping reduce splicing regions scope, as stated above The aberration of splicing regions is rejudged, until the color or the splicing regions that adjust the splicing regions are reduced into zero.
Based on second embodiment, in the third embodiment, when splicing regions only have 1, to the red of the splicing regions Regulation process is illustrated:
The R component of statistical picture data and:
Count stitching image data R ingredients amount and:
The R weights of stitching image data and view data:
By R weights and the scope m and n of splicing regions, the yield value of R is obtained;
Contrast KrWith default regulation threshold values KT, work as Kr< KT, then reduce the scope of splicing regions, that is, change m and n, again Spr, K, K are calculated as stated aboveT, and judge KrAnd KTSize;Work as Kr≥KTWhen, to abnormal each pixel of aberration transitional region Value C adjustment is as follows:
C (R')=C (R) * Kr
Based on second embodiment, in the fourth embodiment, when splicing regions are more than 1, step S03 to the S05 is specific For:
Respectively statistical picture data R component and, G components and, B component and and the R ingredients amount to each splicing regions and, G ingredients amount and, B ingredients amount and;
Calculate respectively each splicing regions R ingredients amount and with R component and ratio, G ingredients amount and with G components and ratio, B spell Component and with B component and ratio, obtain R, G, B accounting of each splicing regions;
R, G, B weight to each splicing regions is weighted averagely, obtains R, G, B weight in the road video-splicing region;
By R, G, B weight, the R of each splicing regions, G, B component and and each splicing regions scope, obtain the road video R, G, B gain of each splicing regions, gain be accounting or weight divided by splicing regions component average value (in the third embodiment As weight is with accounting).
By taking red regulation as an example, the regulation process of a splicing regions, b splicing regions to the present embodiment is:
The R component of statistical picture data and:
Statistics a splicing regions, the R ingredients amount of b splicing regions and:
The R accountings of a splicing regions, b splicing regions and view data:
By existing weighted average method, to KaAnd KbIt is weighted average, the weight K of acquisition a, b splicing regions;
The then gain of a splicing regions is Kar=K/ (Spar/m+n), the gain of b splicing regions is Kbr=K/ (Spbr/x+ y)。
K is contrasted respectivelyar、KbrWith default regulation threshold values KT
Work as Kar< KT, then reduce the scope of a splicing regions, that is, change m and n, calculate Spar, K as stated above againa、 K、Kar, and judge KarAnd KTSize;Work as Kar≥KTWhen, each pixel value C adjustment to a splicing regions is as follows:
C (R')=C (R) * Kar
Work as Kbr< KT, then reduce the scope of b splicing regions, that is, change x and y, calculate Spbr, K as stated above againb、 K、Kbr, and judge KbrAnd KTSize;Work as Kbr≥KTWhen, each pixel value C adjustment to b splicing regions is as follows:
C (R')=C (R) * Kbr
The preferred embodiments of the present invention are these are only, the scope of the claims of the invention is not thereby limited, it is every to utilize this hair Equivalent structure or equivalent flow conversion that bright description is made, or directly or indirectly it is used in other related technology necks Domain, is included within the scope of the present invention.

Claims (7)

1. a kind of panorama backing system color balance adjusting method, it is characterised in that comprise the following steps:
S01, the view data and stitching image data that gather N roads video respectively by camera, the N are more than or equal to oneself of 2 So count;
S02, concatenation module determine the increasing of image R, G, B according to stitching image data and three primary colors R, G, B accounting of view data Benefit, and gain is compared with default regulation threshold values, judge whether the three primary colors for needing to adjust image;
S03, when being judged as adjusting the trichromatic R or G or B of image, then further reduce stitching image data model Enclose, recalculate gain and judge whether the three primary colors for needing to adjust image, or stitching image data area is narrowed down into spelling Connect untill region do not exist.
2. panorama backing system color balance adjusting method as claimed in claim 1, it is characterised in that in step S01, institute The stitching image data for stating collection N roads video are specially:
After the view data of collection N roads video, the default splice region according to corresponding to the view data and N roads video of collection Domain, obtains the stitching image data of N roads video.
3. panorama backing system color balance adjusting method as claimed in claim 2, it is characterised in that described image packet R component, G components and the B component of all pixels point of the image are included, the stitching image data include the image mosaic region The R component of all pixels point, G components and B component.
4. panorama backing system color balance adjusting method as claimed in claim 1, it is characterised in that in step S02, institute State stitching image data is with the three primary colors specific acquisition pattern of R, G, B accounting of view data:
Respectively statistical picture data R component and, G components and, B component and and the road video-splicing view data R ingredients Amount and, G ingredients amount and, B ingredients amount and;
By calculate R ingredients amount and with R component and ratio, G ingredients amount and with G components and ratio, B ingredients amount and with B component and Ratio, that is, obtain three primary colors R, G, B accounting of stitching image data and view data.
5. panorama backing system color balance adjusting method as claimed in claim 4, it is characterised in that when the splice region of image When domain is more than 1, in addition it is also necessary to which three primary colors R, G, B accounting to each stitching image data and view data is weighted averagely, obtains R, G, B weight in the road video-splicing region.
6. panorama backing system color balance adjusting method as claimed in claim 5, it is characterised in that
By R, G, B weight, the R of each splicing regions, G, B component and and each splicing regions scope, obtain the road video each R, G, B gain of splicing regions.
7. panorama backing system color balance adjusting method as claimed in claim 1, it is characterised in that in step S02, will Gain is compared with default regulation threshold values, judges whether to need regulation the trichromatic of image to concretely comprise the following steps:
The yield value and default regulation threshold values of R, G, B are contrasted, when the yield value of one of component is less than regulation threshold values, then The aberration of splicing regions is normal, otherwise the aberration exception of splicing regions;
When the aberration of splicing regions is abnormal, then according to the color of each R, G, B gain-adjusted splicing regions;
When the aberration of splicing regions is normal, then splicing regions scope is reduced by default stepping, rejudged as stated above The aberration of splicing regions, until the color or the splicing regions that adjust the splicing regions are reduced into zero.
CN201611212914.XA 2016-12-25 2016-12-25 A kind of panorama backing system color balance adjusting method Active CN106937102B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201611212914.XA CN106937102B (en) 2016-12-25 2016-12-25 A kind of panorama backing system color balance adjusting method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201611212914.XA CN106937102B (en) 2016-12-25 2016-12-25 A kind of panorama backing system color balance adjusting method

Publications (2)

Publication Number Publication Date
CN106937102A true CN106937102A (en) 2017-07-07
CN106937102B CN106937102B (en) 2019-01-22

Family

ID=59444051

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611212914.XA Active CN106937102B (en) 2016-12-25 2016-12-25 A kind of panorama backing system color balance adjusting method

Country Status (1)

Country Link
CN (1) CN106937102B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107360418A (en) * 2017-09-21 2017-11-17 长沙全度影像科技有限公司 A kind of panorama camera colour consistency evaluation system and method
CN111405132A (en) * 2020-03-03 2020-07-10 Tcl移动通信科技(宁波)有限公司 Picture transmission method, picture analysis device and storage medium
EP4009631A4 (en) * 2019-08-02 2023-06-14 Zhejiang Uniview Technologies Co., Ltd. White balance abnormality determination method and apparatus, storage medium, and electronic device

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140071228A1 (en) * 2012-09-12 2014-03-13 National University of Sciences & Technology(NUST) Color correction apparatus for panorama video stitching and method for selecting reference image using the same
CN104143182A (en) * 2014-08-05 2014-11-12 乐视致新电子科技(天津)有限公司 Panoramic image splicing method and terminal device
CN105321151A (en) * 2015-10-27 2016-02-10 Tcl集团股份有限公司 Panorama stitching brightness equalization method and system
CN105894449A (en) * 2015-11-11 2016-08-24 乐卡汽车智能科技(北京)有限公司 Method and system for overcoming abrupt color change in image fusion processes
CN105915757A (en) * 2016-06-06 2016-08-31 北京时代拓灵科技有限公司 Color correction method based on RGB color channel error function

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140071228A1 (en) * 2012-09-12 2014-03-13 National University of Sciences & Technology(NUST) Color correction apparatus for panorama video stitching and method for selecting reference image using the same
CN104143182A (en) * 2014-08-05 2014-11-12 乐视致新电子科技(天津)有限公司 Panoramic image splicing method and terminal device
CN105321151A (en) * 2015-10-27 2016-02-10 Tcl集团股份有限公司 Panorama stitching brightness equalization method and system
CN105894449A (en) * 2015-11-11 2016-08-24 乐卡汽车智能科技(北京)有限公司 Method and system for overcoming abrupt color change in image fusion processes
CN105915757A (en) * 2016-06-06 2016-08-31 北京时代拓灵科技有限公司 Color correction method based on RGB color channel error function

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107360418A (en) * 2017-09-21 2017-11-17 长沙全度影像科技有限公司 A kind of panorama camera colour consistency evaluation system and method
EP4009631A4 (en) * 2019-08-02 2023-06-14 Zhejiang Uniview Technologies Co., Ltd. White balance abnormality determination method and apparatus, storage medium, and electronic device
CN111405132A (en) * 2020-03-03 2020-07-10 Tcl移动通信科技(宁波)有限公司 Picture transmission method, picture analysis device and storage medium

Also Published As

Publication number Publication date
CN106937102B (en) 2019-01-22

Similar Documents

Publication Publication Date Title
US9538093B2 (en) Forming high-dynamic-range (HDR) images using single-channel data
CN103259976B (en) Image processing equipment, picture pick-up device and image processing method
CN101242476B (en) Automatic correction method of image color and digital camera system
CN1312939C (en) Image processing method, image processing program, and image processor
CN103093429B (en) Image enchancing method
US20140078247A1 (en) Image adjuster and image adjusting method and program
US20020071042A1 (en) Method of image processing and electronic camera
EP1530155A2 (en) Method and apparatus for enhancing local luminance of image, and computer-readable recording medium for storing computer program
CN106937102A (en) A kind of panorama backing system color balance adjusting method
CN108022223B (en) Tone mapping method based on logarithm mapping function blocking processing fusion
WO2021004322A1 (en) Head special effect processing method and apparatus, and storage medium
JP2014107852A (en) Imaging apparatus
CN102340673A (en) White balance method for video camera aiming at traffic scene
CN105427268B (en) A kind of middle long wave dual-band infrared image feature level Color Fusion
CN105701773B (en) A kind of method and device of quick processing image
CN104021527B (en) Rain and snow removal method in image
CN107820069A (en) A kind of video monitoring equipment ISP adjustment methods
CN106327444B (en) One kind is for color synthetic method and device in high dynamic range images synthesis
Saad et al. Impact of camera pixel count and monitor resolution perceptual image quality
CN107563987A (en) Demarcate the method and device of imaging difference
CN107403408A (en) A kind of double fish eye images spliced panoramic image seam fusion methods
CN106550227A (en) A kind of image saturation method of adjustment and device
CN106686320B (en) A kind of tone mapping method based on number density equilibrium
CN107027017A (en) A kind of method of adjustment, device, picture processing chip and the storage device of image white balance
CN102903091B (en) Method for stitching image in digital image processing apparatus

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant