CN105898230A - Spliced image brightness balancing method and device based on multiple input channels - Google Patents
Spliced image brightness balancing method and device based on multiple input channels Download PDFInfo
- Publication number
- CN105898230A CN105898230A CN201610340994.0A CN201610340994A CN105898230A CN 105898230 A CN105898230 A CN 105898230A CN 201610340994 A CN201610340994 A CN 201610340994A CN 105898230 A CN105898230 A CN 105898230A
- Authority
- CN
- China
- Prior art keywords
- image
- brightness
- gain
- data
- passage
- 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
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N7/00—Television systems
- H04N7/18—Closed-circuit television [CCTV] systems, i.e. systems in which the video signal is not broadcast
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T3/00—Geometric image transformation in the plane of the image
- G06T3/40—Scaling the whole image or part thereof
- G06T3/4038—Scaling the whole image or part thereof for image mosaicing, i.e. plane images composed of plane sub-images
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T5/00—Image enhancement or restoration
- G06T5/50—Image enhancement or restoration by the use of more than one image, e.g. averaging, subtraction
Abstract
The invention provides a spliced image brightness balancing method and device based on multiple input channels. The method comprises following steps of preprocessing each image input through N channels in a set period, thus obtaining to-be-spliced image data, wherein the N is more than or equal to 2, and the N is an integer; restoring the image brightness data of N images from all to-be-spliced image data; carrying out statistics to obtain brightness average data of the image of each channel in a current statistic period; judging whether the image brightness difference of adjacent channels exceeds a preset image brightness difference threshold range or not; selecting a channel gain with set brightness as a reference channel gain if the image brightness difference exceeds the preset image brightness difference threshold range; calculating the brightness gains of the other channels according to the reference channel gain; and carrying out brightness balancing adjustment to each image input through the N channels in a next period according to the brightness gains. According to the technical scheme provided by the invention, the spliced image brightness balance can be improved, the pseudo color phenomenon is solved, and the display effect of the image is improved.
Description
Technical field
The present invention relates to technical field of image processing, equal particularly to a kind of stitching image brightness based on multiple input path
Weighing apparatus method and device.
Background technology
In safety defense monitoring system, generally use panoramic camera that large scene is monitored.Panoramic camera uses many mirrors
The image of input is also spliced in real time by head input by hardware.But, owing to the hardware such as each camera lens, optical filter there are differences, make
Become each image gathered there are differences, and then cause the brightness irregularities of the panoramic picture of splicing.Conventional processing method be
Carrying out luminance proportion process after being spliced into panoramic picture, the method can play the improvement of luminance proportion in certain degree and make
With, however the method can not all scenes of self adaptation, such as the environment (such as indoor environment) bigger at luminance difference, bright dark transition
Region there will be colour cast phenomenon, additionally, brightness references passage choosing mistake also can often occur in above-mentioned method, and causes panoramic picture
The still problem of brightness disproportionation.
Summary of the invention
The technical problem to be solved is: provide a kind of stitching image luminance proportion side based on multiple input path
Method, it is possible to increase the harmony of stitching image brightness, strengthens the display effect of image.
In order to solve above-mentioned technical problem, the technical solution used in the present invention is: provide a kind of based on multiple input path
Stitching image luminance proportion method, comprises the steps:
The each two field picture inputted through N number of passage in setting cycle is pre-processed, obtains view data to be spliced,
Wherein, N >=2, and N is integer;
The image brightness data of N two field picture, and statistics current statistic is restored from all view data to be spliced
The luminance mean value data of each channel image in cycle;
Judge whether the brightness of image difference of adjacency channel exceeds the brightness of image discrepancy threshold scope preset, if then selecting
Take the channel gain setting brightness to increase as reference channel gain, the brightness calculating remaining channel according to reference channel gain
Benefit;
According to luminance gain, each two field picture inputted through N number of passage in next cycle is carried out luminance proportion regulation.
In order to solve above-mentioned technical problem, another technical solution used in the present invention is: provide a kind of based on multi input
The stitching image luminance proportion device of passage, including:
Pretreatment module, for pre-processing each two field picture inputted in setting cycle through N number of passage, is treated
The view data of splicing, wherein, N >=2, and N is integer;
Extraction module, for restoring the image brightness data of N two field picture from all view data to be spliced, and
The luminance mean value data of each channel image in the statistics current statistic cycle;
Judge module, for judging that whether the brightness of image difference of adjacency channel is beyond the brightness of image discrepancy threshold preset
Scope, if then choose set brightness channel gain as reference channel gain, calculate residue according to reference channel gain
The channel gain of passage;
Adjustment module, for carrying out bright according to channel gain to each two field picture inputted through N number of passage in next cycle
Degree well-balanced adjustment.
The beneficial effects of the present invention is: be different from CCTV camera in prior art and exist when being spliced into panoramic picture
Brightness disproportionation and the problem of bright dark transition region colour cast, the invention provides a kind of stitching image brightness based on multiple input path
Equalization methods, pre-processed by first each two field picture to the multiple input path in the current statistic cycle draw to be output
Stitching image, then extracts image luminance information data, by carrying out image brightness data from stitching image to be output
Histogrammic statistical disposition and calculate the luminance gain of each passage, it is possible to according to statistics, and by calculated gain
The luminance proportion regulation that coefficient feedback participates in next cycle each image to respective data input pin realizes, and whole calculating processes
Process simultaneously can the false colour phenomenon of the bright dark transition zone of adaptive correction.Compared to of the prior art image export before right
The regulation of brightness of image so that after process, each channel image data splices the panoramic picture overall brightness obtained evenly, face
Look more meets actual scene, decreases the various errors of brightness regulation, it is possible to preferably regulation brightness of image is harmonious, thus increases
The display effect of strong image.
Accompanying drawing explanation
The concrete structure of the present invention is described in detail in detail below in conjunction with the accompanying drawings
Fig. 1 is the flow chart of present invention stitching image based on multiple input path luminance proportion method one embodiment;
Fig. 2 is the particular flow sheet of step S10 in Fig. 1;
Fig. 3 is the particular flow sheet of step S20 in Fig. 1;
Fig. 4 is the block diagram of present invention stitching image based on multiple input path luminance proportion device one embodiment;
Fig. 5 is the block diagram of pretreatment module in Fig. 4;
Fig. 6 is the block diagram of extraction module in Fig. 4.
Label declaration book:
10, pretreatment module: 11, gain unit;12, Date Conversion Unit;13, data compression unit;
20, extraction module: 21, reduction unit;22, extraction unit;23, statistic unit;
30, judge module;
40, adjustment module.
Detailed description of the invention
By describing the technology contents of the present invention, structural feature in detail, being realized purpose and effect, below in conjunction with embodiment
And coordinate accompanying drawing to be explained in detail.
The design of most critical of the present invention is: in pretreatment, this programme is by showing that in image to be spliced, extraction image is bright
Degrees of data, and go out, through statistical computation, the luminance gain coefficient that each passage is to be feedback, and then increase according to the brightness of image of feedback
Benefit coefficient carries out brightness regulation to input picture, it is possible to reduce the error of the rearmounted regulation of brightness, is adjusted by the feedback of brightness of image
Energy-conservation enough preferably regulation brightness of image are harmonious and solve the bright dark transition zone colour cast phenomenon being likely to occur, thus strengthen figure
The display effect of picture.
Refer to Fig. 1, The embodiment provides a kind of stitching image luminance proportion side based on multiple input path
Method, comprises the steps:
S10, each two field picture inputted through N number of passage in setting cycle is pre-processed, obtain image to be spliced
Data, wherein, N >=2, and N is integer.The image input of each passage each passage camera lens all corresponding, the image of each passage
View data to be output can be formed after splicing.
S20, from all view data to be spliced, restore the image brightness data of N two field picture, and statistics is current
The luminance mean value data of each channel image in measurement period.In above-mentioned steps, each two field picture inputted through N number of passage all can
Forming view data to be spliced through suitable process, this view data supplies the splicing in later stage to obtain panoramic picture number
According to, in order to improve the splicing effect of image, use from image data extraction monochrome information data to be spliced, in order to statistical computation
Going out gain information to be feedback, concrete, this feedback information is the brightness of image gain coefficient of the N two field picture calculated.It addition,
In the time that measurement period is in setting cycle.
S30, judge the brightness of image difference of adjacency channel whether beyond the brightness of image discrepancy threshold scope preset, if
Then choose set brightness channel gain as reference channel luminance gain, calculate remaining channel according to reference channel gain
Luminance gain.In this step, by judging the brightness of image of adjacency channel, the brightness of image difference at adjacency channel surpasses
When going out default brightness of image discrepancy threshold scope, needing to be adjusted processing, the brightness of image difference at adjacency channel is in
Time in the range of the brightness of image discrepancy threshold preset, illustrate that the brightness of image change of adjacency channel is little, it is not necessary to well-balanced adjustment.Set
The channel luminance gain of brightness can set according to the selection of user, and conventional has three kinds: the brightest channel gain, dark
Gain and mean flow rate gain.In order to allow the overall brightness of spliced panorama sketch be unlikely to partially dark, this programme is preferentially chosen
The brightest passage is reference channel gain.Concrete, this is weight to select the passage corresponding to minimum brightness gain gain_min (≤1)
Folded district that passage the brightest is set to chref, by the luminance mean value chref_light_average1 of this passage overlay region and
Chref_light_average2, and overlay region pixel sum chref_sum, with the luminance histogram statistics of this passage
Result: bright average lh_normal_light_average of normal areas, bright average lh_high_light_ of highlight bar
Average, overall brightness average lh_sum_h compares:
If 1 meets following condition,
Then illustrate the bright area of current channel just in overlay region, and now this passage is exactly not necessarily the brightest passage, because of
This can not directly use this passage as reference channel.If lh_norm_percent maximum≤20% of each passage, just use
Passage maximum for lh_light_average is as reference channel, and corresponding gain value is as reference gain gain_ref;Otherwise
Just judging to select reference channel gain with lh_normal_light_average, lh_normal_light_average is maximum
Passage elect reference channel as, corresponding luminance gain gain is set to reference gain gain_ref;Terminate with reference to reference channel
Select.Otherwise enter next step.
If 2 meet following condition,
|(chref_light_average1+chref_light_average2)/2-lh_high_light_average|
≤ 10, lh_high_percent > 40%,
The most directly choose current gain_min as reference gain gain_ref.Terminate to select with reference to reference channel.No
Then enter next step.
If 3 meet following condition,
|(chref_light_average1+chref_light_average2)/2-lh_high_light_average|
> 10,
The brightness then choosing two regions left after removing dark space in each channel luminance statistics with histogram result is equal
Passage maximum for value lum_ave is as reference channel, and the gain value of this passage is as reference channel gain gain_ref.Now,
Lum_ave=(lh_high_light_average*lh_sum_h+lh_normal_light_average*l h_
sum_n)/(lh_sum_h+lh_sum_n)。
S40, according to channel gain, each two field picture inputted through N number of passage in next cycle is carried out luminance proportion tune
Joint.This step participates in brightness of image equilibrium calculation by each channel luminance gain calculated, it is possible to preferably regulate image
Brightness.
The beneficial effects of the present invention is: be different from CCTV camera in prior art and exist when being spliced into panoramic picture
Brightness disproportionation and the problem of bright dark transition region colour cast, the invention provides a kind of stitching image brightness based on multiple input path
Equalization methods, pre-processed by first each two field picture to the multiple input path in the current statistic cycle draw to be output
Stitching image, then extracts image luminance information data, by carrying out image brightness data from stitching image to be output
Histogrammic statistical disposition and calculate the channel luminance gain of each passage, it is possible to according to statistics, and by calculated
Gain coefficient feeds back to respective data input pin and participates in the luminance proportion regulation realization of next cycle each image, whole calculating
Processing procedure simultaneously can the false colour phenomenon of the bright dark transition zone of adaptive correction., defeated at image compared to of the prior art
Go out the front regulation to brightness of image so that the panoramic picture overall brightness that after process, the splicing of each channel image data obtains is more equal
Even, color more meets actual scene, decreases the various errors of brightness regulation, it is possible to preferably regulation brightness of image is harmonious,
Thus strengthen the display effect of image.
Refer to Fig. 2, in a specific embodiment, described each frame figure to inputting through N number of passage in setting cycle
As pre-processing, obtain step S10 of view data to be spliced, specifically include:
S11, the view data inputted through N number of passage in setting cycle is carried out gain process, obtain the figure of preliminary treatment
As data.This gain process namely luminance proportion process, particularly as follows: view data rawdata_i of input is multiplied by correspondence
Luminance proportion coefficient gain obtains view data rawdata_o of preliminary treatment.It addition, measurement period is 20s in the present embodiment
Interior luminance mean value, to reduce the impact that judge correct on brightness change of brightness abrupt transients.
S12, the view data of preliminary treatment is carried out space it is converted to the RGB data corresponding with N number of passage;This RGB
The figure place of data is 12, for the ease of realizing on FPGA, in addition it is also necessary to the RGB data of 12 are compressed into the RGB number of 10
According to.
S13, according to tone-mapping algorithm, RGB data is compressed process and forms view data to be spliced.Data pressure
During contracting, may cause image color cast that false colour occurs to a certain extent, especially the region of dark images, in order to reduce data letter
The loss of breath, preferably introducing tone-mapping algorithm tonemapping during data space is changed can be by the RGB of 12
Data are converted into the RGB of 10, realize data bit compression by the way of tabling look-up.
Refer to Fig. 3, in a specific embodiment, described from all view data to be spliced, restore N frame figure
The image luminance information data of picture, and step S20 of the interior luminance mean value data with each image of statistics current period, specifically
Including:
S21, restore the RGB data of input picture corresponding with pre-processing top n passage from view data to be spliced.
S22, each RGB data is converted into yuv data, and from yuv data, extracts brightness data Y as each frame figure
The image brightness data of picture;
S23, according to the different brightness of image brightness data in image, divide the image into low clear zone lh_low light, in
The region that in clear zone lh_norm light, tri-regions of highlight bar lh_high light and adjacency channel, image is overlapping, and
The luminance mean value of corresponding region in the statistics current statistic cycle.
Accounting lh_low_percent in low clear zone, accounting lh_norm_percent in middle clear zone, the accounting of highlight bar
Lh_high_percent meets:
Lh_low_percent+lh_norm_percent+lh_high_percent=1;
Sum_all=lh_sum_l+lh_sum_n+lh_sum_h;
Wherein, sum_all represents total pixel number of single passage, and lh_sum_l represents low brightness area pixel
Number, lh_sum_n represent in bright area pixel number, lh_sum_h highlight regions pixel number.
Low bright area lh_low_light_average of statistics, middle bright area lh_normal_light_average, height
The luminance mean value lh_high_light_average of bright area, overall brightness average lh_light_average, and passage
The luminance mean value chx_light_average1, chx_light_average2 of image overlay region.
In one embodiment, described in choose set brightness channel gain as reference channel gain, according to reference channel
Gain calculates the step of the channel gain of remaining channel, specifically includes:
Choose and set the highest channel gain of brightness as reference channel gain;
Reference channel gain is normalized, and calculates the luminance gain of remaining channel.
In order to make brightness change in image overlay region seamlessly transit, need to meet condition:
Chx_light_average2*gainx ≈ ch (x+1) _ light_average1*gain (x+1),
So, after the gain setting a passage, the gain of remaining channel can be obtained according to above-mentioned formula.Further
, it is also possible to a sequence is done in the gain of striving to calculating, and finds maximum gain gain_max and least gain gain_min,
And average gain value gain_ave, wherein,
Gain_max=MAX (gain0, gain1 ... ..gainN);
Gain_min=MIN (gain0, gain1 ... gainN);
Gain_ave=(gain0+gain1+...+gainN)/(N+1).
In order to avoid brightness change acutely, it is achieved progressively seamlessly transitting of luminance proportion, in one embodiment, described basis
Channel gain carries out the step of luminance proportion regulation to each two field picture inputted through N number of passage in next cycle, specifically includes:
Gain interval between channel gain and this passage current gain is divided into some equal portions, obtains the brightness of each equal portions
Regulated value;
According to approximate algorithm, expection channel gain is progressively regulated, so that input through N number of passage in next cycle
The luminance proportion of each two field picture.
In this step, by the difference between the channel gain gainx_new calculated and this passage current gain gainx_cur
Value is divided into several equal portions (the most each be divided into step-length pace), in order to the brightness gain values that calculates by gainx_cur by
The smooth gainx_new that approaches of step, the length of design step-length can design (representing step number with num) according to the requirement of user, a frame
It is set to a step size computation time, only need to ensure to complete to approach within the 20s time.The computational methods of step-length are:
Pace=| gainx_new-gainx_cur |/num, (num < 500)
Approximation Operator is:
Gainx_cur=gainx_cur+pace (work as gainx_new > gainx_cur)
Or, gainx_cur=gainx_cur-pace (as gainx_new < gainx_cur).
Refer to Fig. 4, the present embodiment additionally provides a kind of stitching image luminance proportion device based on multiple input path, bag
Include pretreatment module 10, extraction module 20, judge module 30 and adjustment module 40.
Pretreatment module 10, for pre-processing each two field picture inputted in setting cycle through N number of passage, obtains
View data to be spliced, wherein, N >=2, and N is integer.The image input that each passage each camera lens all corresponding gathers,
The image of each passage can form view data to be spliced after pretreatment.
Extraction module 20, for restoring the image brightness data of N two field picture from all view data to be spliced, with
And the luminance mean value data of each channel image in the statistics current statistic cycle.The each two field picture inputted through N number of passage all can be through
Crossing suitable process and form view data to be spliced, this view data supplies the splicing in later stage to obtain panoramic picture number
According to, in order to improve the splicing effect of image, use and treat instead in order to calculate from image data extraction monochrome information data to be spliced
Feedforward information, concrete, this feedback information is the luminance gain of the N two field picture calculated.
Judge module 30, for judging that whether the brightness of image difference of adjacency channel is beyond the brightness of image difference threshold preset
Value scope, if then choose set brightness channel gain as reference channel gain, calculate surplus according to reference channel gain
The channel gain of remaining passage.This judge module 30 is by judging the brightness of image of adjacency channel, at the figure of adjacency channel
When image brightness difference is beyond the brightness of image discrepancy threshold scope preset, need to be adjusted processing, at the image of adjacency channel
When luminance difference is in the range of default brightness of image discrepancy threshold, illustrate that the brightness of image change of adjacency channel is little, it is not necessary to
Regulation.The channel gain setting brightness can set according to the selection of user, and conventional has three kinds: the brightest channel gain,
Dark gain and mean flow rate gain.
Adjustment module 40, for carrying out each two field picture inputted through N number of passage in next cycle according to channel gain
Luminance proportion regulates.This adjustment module 40 participates in brightness of image equilibrium calculation by the channel gain calculated, it is possible to preferably
The brightness of regulation image.
Refer to Fig. 5, in a specific embodiment, described pretreatment module 10 specifically includes gain unit 11, data
Converting unit 12 and data compression unit 13.
Gain unit 11, for the view data inputted through N number of passage in setting cycle is carried out luminance proportion process,
View data to preliminary treatment;View data rawdata_i of input is multiplied by the luminance proportion of correspondence by this gain unit 11
Coefficient gain obtains view data rawdata_o of preliminary treatment.It addition, the brightness in measurement period is 20s in the present embodiment
Average, to reduce the impact that judge correct on brightness change of brightness abrupt transients.
Date Conversion Unit 12, is converted to corresponding with N number of passage for the view data of preliminary treatment is carried out space
RGB data;The RGB data obtaining 12 is processed, for the ease of realizing on FPGA, in addition it is also necessary to right through Date Conversion Unit 12
The RGB data of 12 is compressed into the RGB data of 10.
Data compression unit 13, is formed to be spliced for RGB data being compressed process according to tone-mapping algorithm
View data.During data compression, may cause image color cast that false colour occurs to a certain extent, especially the district of dark images
Territory, in order to reduce the loss of data message, is preferably and introduces according to tone-mapping algorithm during data space is changed
The RGB data of 12 can be converted into the RGB of 10 by tonemapping, realizes data bit compression by the way of tabling look-up.
Refer to Fig. 6, in a specific embodiment, described extraction module 20 specifically includes reduction unit 21, extracts list
Unit 22 and statistic unit 23.
Reduction unit 21, for restoring input picture corresponding with N number of passage before pretreatment from view data to be spliced
RGB data;
Extraction unit 22, for each RGB data is converted into yuv data, and extracts brightness data Y from yuv data
Image brightness data as each two field picture;
Statistic unit 23, for according to the different brightness of image brightness data in image, divide the image into low clear zone, in bright
The region that in district, three regions of highlight bar and adjacency channel, image is overlapping, and corresponding region in adding up the current statistic cycle
Luminance mean value.Low bright area lh_low_light_average that can be counted by this statistic unit 23, middle bright area lh_
Normal_light_average, the luminance mean value lh_high_light_average of highlight regions, overall brightness average lh_
Light_average, and the luminance mean value chx_light_average1, chx_light_ of the image overlay region of passage
average2。
In a specific embodiment, described judge module 30 includes choosing unit, computing unit and judging unit.
This judging unit, for judging that whether the brightness of image difference of adjacency channel is beyond the brightness of image difference threshold preset
Value scope.
Choose unit, set the highest channel gain of brightness as reference channel gain for choosing;
Computing unit, for being normalized reference channel gain, and calculates the channel gain of remaining channel.
In order to make brightness change in image overlay region seamlessly transit, need to meet condition:
Chx_light_average2*gainx ≈ ch (x+1) _ light_average1*gain (x+1),
So, after the gain setting a passage, the gain of remaining channel can be obtained according to above-mentioned formula.Further
, it is also possible to a sequence is done in the gain of striving to calculating, and finds maximum gain gain_max and least gain and gain_
Min, and average gain value gain_ave, wherein,
Gain_max=MAX (gain0, gain1 ... ..gainN);
Gain_min=MIN (gain0, gain1 ... gainN);
Gain_ave=(gain0+gain1+...+gainN)/(N+1).
Preferably, described adjustment module 40 specifically includes division unit and regulation unit,
Division unit, for gain interval between channel gain and passage current gain is divided into some equal portions, obtains every
The brightness regulation value of one equal portions;
Regulation unit, for passage current gain progressively being regulated according to approximate algorithm, so that through N in next cycle
The luminance proportion of each two field picture of individual passage input.
This division unit is by the difference between the channel gain gainx_new calculated and passage current gain gainx_cur
Value is divided into several equal portions (the most each be divided into step-length pace), and press approximate algorithm calculating brightness by computing unit
Yield value is by the gainx_cur progressively smooth gainx_new that approaches, and the length of design step-length can design according to the requirement of user
(representing step number with num), a frame is set to a step size computation time, only need to ensure to complete to approach within the 20s time.
In sum, the present invention provide stitching image luminance proportion device based on multiple input path, by use with
The luminance proportion method of upper closed-loop system, it is possible to the false colour that channel luminance each to image and bright dark transition zone are likely to occur carries out reality
Shi Jiaozheng, it is thus possible to preferably regulation brightness of image harmony avoids false colour phenomenon to produce, thus strengthens the display effect of image
Really.
The foregoing is only embodiments of the invention, not thereby limit the scope of the claims of the present invention, every utilize this
Equivalent structure or equivalence flow process that bright specification and accompanying drawing content are made convert, or are directly or indirectly used in other relevant skills
Art field, is the most in like manner included in the scope of patent protection of the present invention.
Claims (10)
1. a stitching image luminance proportion method based on multiple input path, it is characterised in that comprise the steps:
The each two field picture inputted through N number of passage in setting cycle is pre-processed, obtains view data to be spliced, its
In, N >=2, and N is integer;
The image brightness data of N two field picture, and statistics current statistic cycle is restored from all view data to be spliced
The luminance mean value data of interior each channel image;
Judge that the brightness of image difference of adjacency channel, whether beyond the brightness of image discrepancy threshold scope preset, sets if then choosing
Determine the channel gain of brightness as reference channel gain, calculate the luminance gain of remaining channel according to reference channel gain;
According to luminance gain, each two field picture inputted through N number of passage in next cycle is carried out luminance proportion regulation.
2. stitching image luminance proportion method based on multiple input path as claimed in claim 1, it is characterised in that described right
The each two field picture inputted through N number of passage in setting cycle pre-processes, and obtains the step of view data to be spliced, specifically
Including:
The view data inputted through N number of passage in setting cycle is carried out gain process, obtains the view data of preliminary treatment;
The view data of preliminary treatment is carried out space and is converted to the RGB data corresponding with N number of passage;
According to tone-mapping algorithm, RGB data is compressed process and forms view data to be spliced.
3. stitching image luminance proportion method based on multiple input path as claimed in claim 2, it is characterised in that described from
All view data to be spliced restore the image brightness data of N two field picture, and statistics current statistic cycle Nei Getong
The step of the luminance mean value data of road image, specifically includes:
The RGB data of input picture corresponding with N number of passage before pretreatment is restored from view data to be spliced;
Each RGB data is converted into yuv data, and from yuv data, extracts the brightness data Y image as each two field picture
Brightness data;
According to the different brightness of image brightness data in image, divide the image into low clear zone, middle clear zone, three regions of highlight bar,
And the region that in adjacency channel, image is overlapping, and the luminance mean value of corresponding region in adding up the current statistic cycle.
4. stitching image luminance proportion method based on multiple input path as claimed in claim 3, it is characterised in that described choosing
Take set brightness channel gain as reference channel gain, calculate the luminance gain of remaining channel according to reference channel gain
Step, specifically include:
Choose and set the highest channel gain of brightness as reference channel gain;
Reference channel gain is normalized, and calculates the luminance gain of remaining channel.
5. the stitching image luminance proportion method based on multiple input path as described in any one of Claims 1-4, its feature exists
In, the described step that according to luminance gain, each two field picture inputted through N number of passage in next cycle is carried out luminance proportion regulation
Suddenly, specifically include:
Gain interval between channel gain and passage current gain is divided into some equal portions, obtains the brightness regulation of each equal portions
Value;
According to approximate algorithm, channel gain is progressively regulated, so that each frame figure inputted through N number of passage in next cycle
The luminance proportion of picture.
6. a stitching image luminance proportion device based on multiple input path, it is characterised in that including:
Pretreatment module, for pre-processing each two field picture inputted in setting cycle through N number of passage, obtains to be spliced
View data, wherein, N >=2, and N is integer;
Extraction module, for restoring the image brightness data of N two field picture from all view data to be spliced, and statistics
The luminance mean value data of each channel image in the current statistic cycle;
Judge module, for judging that whether the brightness of image difference of adjacency channel is beyond the brightness of image discrepancy threshold model preset
Enclose, setting the channel gain of brightness as reference channel gain if then choosing, calculating residue according to reference channel gain logical
The channel gain in road;
Adjustment module, equal for each two field picture inputted through N number of passage in next cycle being carried out brightness according to channel gain
Weighing apparatus regulation.
7. stitching image luminance proportion device based on multiple input path as claimed in claim 6, it is characterised in that described pre-
Processing module specifically includes:
Gain unit, for the view data inputted through N number of passage in setting cycle is carried out gain process, obtains preliminary treatment
View data;
Date Conversion Unit, is converted to the RGB number corresponding with N number of passage for the view data of preliminary treatment is carried out space
According to;
Data compression unit, for being compressed processing to form image to be spliced to RGB data according to tone-mapping algorithm
Data.
8. stitching image luminance proportion device based on multiple input path as claimed in claim 7, it is characterised in that described in carry
Delivery block specifically includes:
Reduction unit, for restoring the RGB number of input picture corresponding with pre-processing top n passage from view data to be spliced
According to;
Extraction unit, for each RGB data is converted into yuv data, and extracts brightness data Y as often from yuv data
The image brightness data of one two field picture;
Statistic unit, for according to the different brightness of image brightness data in image, divides the image into low clear zone, middle clear zone, height
The region that in region, three, clear zone and adjacency channel, image is overlapping, and the brightness of corresponding region in adding up the current statistic cycle
Average.
9. stitching image luminance proportion device based on multiple input path as claimed in claim 8, it is characterised in that described in sentence
Disconnected module includes:
Choose unit, set the highest channel gain of brightness as reference channel gain for choosing;
Computing unit, for being normalized reference channel gain, and calculates the channel gain of remaining channel.
10. the stitching image luminance proportion device based on multiple input path as described in any one of claim 6 to 9, its feature
Being, described adjustment module specifically includes:
Division unit, for the gain interval between channel gain and passage current gain is divided into some equal portions, obtains each
The brightness regulation value of equal portions;
Regulation unit, for channel gain progressively being regulated according to approximate algorithm, so that defeated through N number of passage in next cycle
The luminance proportion of each two field picture entered.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610340994.0A CN105898230B (en) | 2016-05-20 | 2016-05-20 | Stitching image luminance proportion method and device based on multiple input path |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610340994.0A CN105898230B (en) | 2016-05-20 | 2016-05-20 | Stitching image luminance proportion method and device based on multiple input path |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105898230A true CN105898230A (en) | 2016-08-24 |
CN105898230B CN105898230B (en) | 2019-02-05 |
Family
ID=56716660
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610340994.0A Active CN105898230B (en) | 2016-05-20 | 2016-05-20 | Stitching image luminance proportion method and device based on multiple input path |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105898230B (en) |
Cited By (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107230193A (en) * | 2017-06-09 | 2017-10-03 | 西安煤航遥感信息有限公司 | A kind of aviation digital camera brightness of image equalizes method |
CN107330872A (en) * | 2017-06-29 | 2017-11-07 | 无锡维森智能传感技术有限公司 | Luminance proportion method and apparatus for vehicle-mounted viewing system |
CN107820067A (en) * | 2017-10-29 | 2018-03-20 | 苏州佳世达光电有限公司 | The joining method and splicing apparatus of more projected pictures |
CN107888944A (en) * | 2016-09-30 | 2018-04-06 | 顶级公司 | Image procossing |
WO2018121012A1 (en) * | 2016-12-29 | 2018-07-05 | 杭州海康威视数字技术股份有限公司 | Method and apparatus for controlling synchronization output of digital matrix, and electronic device |
CN109361855A (en) * | 2018-10-24 | 2019-02-19 | 深圳六滴科技有限公司 | Panoramic image pixel brightness correcting method, device, panorama camera and storage medium |
CN109461639A (en) * | 2018-11-23 | 2019-03-12 | 北方夜视技术股份有限公司 | A kind of optics adjusting method and device |
CN110060213A (en) * | 2019-04-09 | 2019-07-26 | Oppo广东移动通信有限公司 | Image processing method, device, storage medium and electronic equipment |
CN112312108A (en) * | 2019-08-02 | 2021-02-02 | 浙江宇视科技有限公司 | White balance abnormity determining method and device, storage medium and electronic equipment |
CN114723637A (en) * | 2022-04-27 | 2022-07-08 | 上海复瞰科技有限公司 | Color difference adjusting method and system |
CN115809960A (en) * | 2022-06-08 | 2023-03-17 | 北京爱芯科技有限公司 | Image splicing device, chip and image splicing method |
CN116506562A (en) * | 2023-06-27 | 2023-07-28 | 深圳市门钥匙科技有限公司 | Video display method and system based on multiple channels |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103942762A (en) * | 2014-04-24 | 2014-07-23 | 胡建国 | Two-dimension code preprocessing method and device |
US20150228060A1 (en) * | 2012-10-24 | 2015-08-13 | Fuji Xerox Co., Ltd. | Information processing apparatus, information processing method, information processing system, and non-transitory computer readable medium |
CN105005963A (en) * | 2015-06-30 | 2015-10-28 | 重庆市勘测院 | Multi-camera images stitching and color homogenizing method |
CN105321151A (en) * | 2015-10-27 | 2016-02-10 | Tcl集团股份有限公司 | Panorama stitching brightness equalization method and system |
-
2016
- 2016-05-20 CN CN201610340994.0A patent/CN105898230B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20150228060A1 (en) * | 2012-10-24 | 2015-08-13 | Fuji Xerox Co., Ltd. | Information processing apparatus, information processing method, information processing system, and non-transitory computer readable medium |
CN103942762A (en) * | 2014-04-24 | 2014-07-23 | 胡建国 | Two-dimension code preprocessing method and device |
CN105005963A (en) * | 2015-06-30 | 2015-10-28 | 重庆市勘测院 | Multi-camera images stitching and color homogenizing method |
CN105321151A (en) * | 2015-10-27 | 2016-02-10 | Tcl集团股份有限公司 | Panorama stitching brightness equalization method and system |
Cited By (17)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107888944A (en) * | 2016-09-30 | 2018-04-06 | 顶级公司 | Image procossing |
CN107888944B (en) * | 2016-09-30 | 2021-03-30 | 顶级公司 | Image processing |
US11360729B2 (en) | 2016-12-29 | 2022-06-14 | Hangzhou Hikvision Digital Technology Co., Ltd. | Method and apparatus for controlling synchronization output of digital matrix, and electronic device |
WO2018121012A1 (en) * | 2016-12-29 | 2018-07-05 | 杭州海康威视数字技术股份有限公司 | Method and apparatus for controlling synchronization output of digital matrix, and electronic device |
CN107230193A (en) * | 2017-06-09 | 2017-10-03 | 西安煤航遥感信息有限公司 | A kind of aviation digital camera brightness of image equalizes method |
CN107330872A (en) * | 2017-06-29 | 2017-11-07 | 无锡维森智能传感技术有限公司 | Luminance proportion method and apparatus for vehicle-mounted viewing system |
CN107820067A (en) * | 2017-10-29 | 2018-03-20 | 苏州佳世达光电有限公司 | The joining method and splicing apparatus of more projected pictures |
CN107820067B (en) * | 2017-10-29 | 2019-09-20 | 苏州佳世达光电有限公司 | The joining method and splicing apparatus of more projected pictures |
CN109361855A (en) * | 2018-10-24 | 2019-02-19 | 深圳六滴科技有限公司 | Panoramic image pixel brightness correcting method, device, panorama camera and storage medium |
CN109461639A (en) * | 2018-11-23 | 2019-03-12 | 北方夜视技术股份有限公司 | A kind of optics adjusting method and device |
CN110060213A (en) * | 2019-04-09 | 2019-07-26 | Oppo广东移动通信有限公司 | Image processing method, device, storage medium and electronic equipment |
WO2021022820A1 (en) * | 2019-08-02 | 2021-02-11 | 浙江宇视科技有限公司 | White balance abnormality determination method and apparatus, storage medium, and electronic device |
CN112312108A (en) * | 2019-08-02 | 2021-02-02 | 浙江宇视科技有限公司 | White balance abnormity determining method and device, storage medium and electronic equipment |
CN114723637A (en) * | 2022-04-27 | 2022-07-08 | 上海复瞰科技有限公司 | Color difference adjusting method and system |
CN115809960A (en) * | 2022-06-08 | 2023-03-17 | 北京爱芯科技有限公司 | Image splicing device, chip and image splicing method |
CN116506562A (en) * | 2023-06-27 | 2023-07-28 | 深圳市门钥匙科技有限公司 | Video display method and system based on multiple channels |
CN116506562B (en) * | 2023-06-27 | 2023-09-05 | 深圳市门钥匙科技有限公司 | Video display method and system based on multiple channels |
Also Published As
Publication number | Publication date |
---|---|
CN105898230B (en) | 2019-02-05 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105898230A (en) | Spliced image brightness balancing method and device based on multiple input channels | |
US7656375B2 (en) | Image-processing device and method for enhancing the luminance and the image quality of display panels | |
JP3857991B2 (en) | Method and apparatus for changing brightness of video | |
JP4524259B2 (en) | Adaptive video brightness control apparatus, adaptive video brightness control method, and computer-readable recording medium | |
US7352410B2 (en) | Method and system for automatic brightness and contrast adjustment of a video source | |
CN103491357B (en) | A kind of auto white balance treatment method of image sensor | |
US20160372080A1 (en) | Device or method for displaying image | |
US20090317017A1 (en) | Image characteristic oriented tone mapping for high dynamic range images | |
CN100524450C (en) | Moving image display device and moving image display method | |
CN107833184A (en) | A kind of image enchancing method for merging framework again based on more exposure generations | |
WO2020082593A1 (en) | Method and device for enhancing image contrast | |
CN107680056A (en) | A kind of image processing method and device | |
US10521887B2 (en) | Image processing device and image processing method | |
EP3136736A1 (en) | Method for inverse tone mapping of a sequence of images | |
US20190281215A1 (en) | Method for High-Quality Panorama Generation with Color, Luminance, and Sharpness Balancing | |
US8860806B2 (en) | Method, device, and system for performing color enhancement on whiteboard color image | |
CN101686402A (en) | Video dataprocessing method and system | |
CN103380451B (en) | Video display device | |
US8064693B2 (en) | Methods of and apparatus for adjusting colour saturation in an input image | |
CN104284168A (en) | Image color enhancing method and system | |
CN105898252A (en) | Television color adjustment method and device | |
KR101113483B1 (en) | Apparatus for enhancing visibility of color image | |
WO2005055588A1 (en) | Image processing device for controlling intensity of noise removal in a screen, image processing program, image processing method, and electronic camera | |
CN107194884A (en) | A kind of several LDR image acquisition methods with different exposure values | |
CN106327444A (en) | Method and device for color combination in high-dynamic-range image combination |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |