CN106780339B - A method of it is inconsistent to solve interchannel brightness - Google Patents
A method of it is inconsistent to solve interchannel brightness Download PDFInfo
- Publication number
- CN106780339B CN106780339B CN201611224484.3A CN201611224484A CN106780339B CN 106780339 B CN106780339 B CN 106780339B CN 201611224484 A CN201611224484 A CN 201611224484A CN 106780339 B CN106780339 B CN 106780339B
- Authority
- CN
- China
- Prior art keywords
- brightness
- pixel
- model
- optimal solution
- sample
- 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.)
- Active
Links
Classifications
-
- 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
- G06T2207/00—Indexing scheme for image analysis or image enhancement
- G06T2207/10—Image acquisition modality
- G06T2207/10004—Still image; Photographic image
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T2207/00—Indexing scheme for image analysis or image enhancement
- G06T2207/20—Special algorithmic details
- G06T2207/20212—Image combination
- G06T2207/20221—Image fusion; Image merging
Landscapes
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Image Processing (AREA)
- Television Receiver Circuits (AREA)
Abstract
The present invention provides a kind of methods that solution interchannel brightness is inconsistent, comprising the following steps: provides two images, in the edge joint position of two images, sets a width range;Piece is surrounded by set width;Calculate the brightness of every row pixel in set width range;Using the coordinate of every row pixel value in set width range as abscissa and ordinate, to obtain point set;According to the method for seeking optimal solution in Ransac algorithm, point set is fitted into straight line, obtains the optimal solution model of point set;The match value that each pixel in piece side is found out in optimal solution model adjusts the brightness of the pixel of piece side corresponding position according to the match value.Method of the invention can be automatically performed making up for interchannel difference in brightness, optimize image effect.
Description
Technical field
The present invention relates to image sensor technologies fields, and in particular to a method of it is inconsistent that brightness is built in solution channel.
Background technique
During image imaging joint, there is the inconsistent problem of brightness of image, and have in the centre of image
Apparent gap can make image seem apparent splicing gap, and conventional application method is: a channel is added one
Value obtains a channel multiplied by a value identical so that two interchannel brightness are consistent or two interchannel adjust gains
Brightness, or the emergence processing at splicing gap, so that seeming smooth excessive, brightness change seems unobvious.
But first two method changes unanimous circumstances primarily directed to two channel luminances, not in face of interchannel brightness change
Unanimously, that is to say, that effect is unobvious in the case that possible top half and lower half portion variation are different, and a kind of last emergence
The case where will affect the clarity of image, facing fine definition is infeasible.
Summary of the invention
In order to overcome the above problems, the present invention is directed to a kind of method that solution interchannel brightness is inconsistent, can know automatically
The optimal solution of other interchannel numerical value change improves image effect.
In order to achieve the above object, the present invention provides a kind of method that solution interchannel brightness is inconsistent, packets
Include following steps:
Step 01: two images being provided, in the edge joint position of two images, set a width range;Piece is by set
Width surrounds;
Step 02: calculating the brightness of every row pixel in set width range;
Step 03: using the coordinate of every row pixel value in set width range as abscissa and ordinate, thus
Obtain point set;
Step 04: according to the method for seeking optimal solution in Ransac algorithm, point set being fitted into straight line, is obtained a little
The optimal solution model of set;
Step 05: finding out the match value of each pixel in piece side in optimal solution model, adjusted according to the match value
The brightness of the pixel of whole piece side corresponding position.
Preferably, in the step 02, the brightness of every row pixel is each pixel in corresponding line
The summation of value is divided by set width.
Preferably, in the optimal solution model, the brightness of every row pixel on the piece left side, which is equal to, is spelled
Stitch the brightness of the pixel of the corresponding line on the right.
Preferably, the step 04 specifically includes:
Step 041: the minimum sampling of setting integrates as the model of n and a sample set (P), and sample set (P) is in every row
Point set of the pixel value as transverse and longitudinal coordinate, number of samples is greater than n in sample set (P);
Step 042: the subset (S) of the sample set P comprising n sample is randomly selected from sample sets (P), simulation obtains just
Beginningization model (M);
Step 043: the sample of given threshold t will be less than in the complementary set of sample sets (P) with the error of initialization model (M)
Collection and subset (S) constitute new set (S*), are interior point sets in set (S*);
Step 044: if number >=N of set (S*), then it is assumed that initialization model (M) is correct;If gathering the number of (S*)
=N extracts new subset (S) again, repeats the above steps, and obtains the interior point set of maximum number, and corresponding model is exactly optimal
Solve model.
Preferably, in the step 042, initialization model (M) is obtained using least square method.
Of the invention solves the inconsistent method of interchannel brightness, can be automatically performed making up for interchannel difference in brightness,
Optimize image effect.
Detailed description of the invention
Fig. 1 is the inconsistent image schematic diagram in the channel of a preferred embodiment of the invention
Fig. 2 is the optimal solution model schematic of a preferred embodiment of the invention
Fig. 3 is the flow diagram for solving the inconsistent method of interchannel brightness of a preferred embodiment of the invention
Specific embodiment
To keep the contents of the present invention more clear and easy to understand, below in conjunction with Figure of description, the contents of the present invention are made into one
Walk explanation.Certainly the invention is not limited to the specific embodiment, general replacement known to those skilled in the art
It is included within the scope of protection of the present invention.
Below in conjunction with attached drawing 1~3 and specific embodiment, invention is further described in detail.It should be noted that attached drawing
It is all made of very simplified form, using non-accurate ratio, and only to facilitate, clearly reach aid illustration the present embodiment
Purpose.
Referring to Fig. 3, in the present embodiment, a method of it is inconsistent to solve interchannel brightness, comprising the following steps:
Step 01: two images being provided, in the edge joint position of two images, set a width range;Piece is by set
Width surrounds;
Specifically, as shown in Figure 1, the image inconsistent there are channel chooses certain width in the edge joint position of two images
Degree, as shown in Figure 1, there are pieces between gray image and white image.Here the width set is i_weight.
Step 02: calculating the brightness of every row pixel in set width range;
Specifically, the brightness of every row pixel is the summation of each pixel value in corresponding line divided by set width.Please after
It is continuous refering to fig. 1, the brightness on the jth row piece left side be Mean_left (1, j)=(I (i, j)+I (i-1, j)+...+I (i-i_
Weight+1, j))/i_weight, it can similarly calculate the brightness Mean_right (1, j) on the right of jth row piece.
Step 03: using the coordinate of every row pixel value in set width range as abscissa and ordinate, thus
Obtain point set;
Specifically, please continue to refer to Fig. 1, such as the abscissa of a pixel I (i, j) is i, ordinate j, to constitute
One coordinate, and then the point set in the width range set.
Step 04: according to the method for seeking optimal solution in Ransac algorithm, point set being fitted into straight line, is obtained a little
The optimal solution model of set;
Specifically, referring to Fig. 2, the brightness of every row pixel on the piece left side is equal on the right of piece in optimal solution model
The brightness of the pixel of corresponding line.
This step 04 specifically includes:
Step 041: the minimum sampling of setting integrates as the model of n and a sample set (P), and sample set (P) is in every row
Point set of the pixel value as transverse and longitudinal coordinate, number of samples is greater than n in sample set (P);
Step 042: the subset (S) of the sample set P comprising n sample is randomly selected from sample sets (P), simulation obtains just
Beginningization model (M);Here it is possible to obtain initialization model (M) using least square method.
Step 043: the sample of given threshold t will be less than in the complementary set of sample sets (P) with the error of initialization model (M)
Collection and subset (S) constitute new set (S*), are interior point sets in set (S*);
Step 044: if number >=N of set (S*), then it is assumed that initialization model (M) is correct;If gathering the number of (S*)
=N extracts new subset (S) again, repeats the above steps, and obtains the interior point set of maximum number, and corresponding model is exactly optimal
Solve model
Step 05: finding out the match value of each pixel in piece side in optimal solution model, adjusted according to the match value
The brightness of the pixel of whole piece side corresponding position.
Specifically, since the pixel intensity on the left of piece is equal to the pixel intensity on the right side of piece, Mean_left=f
(Mean_right), all pixels of piece left or right side can be mapped with the respective pixel in optimal solution model,
To complete brightness adjustment.
Although the present invention is disclosed as above with preferred embodiment, right embodiment is illustrated only for the purposes of explanation, and
It is non-to limit the present invention, those skilled in the art can make without departing from the spirit and scope of the present invention it is several more
Dynamic and retouching, the protection scope that the present invention is advocated should be subject to claims.
Claims (3)
1. a kind of solve the inconsistent method of interchannel brightness, which comprises the following steps:
Step 01: two images being provided, in the edge joint position of two images, set a width range;Piece is by set width
It surrounds;
Step 02: calculating the brightness of every row pixel in set width range;
Step 03: using the coordinate of every row pixel value in set width range as abscissa and ordinate, to obtain
Point set;
Step 04: according to the method for seeking optimal solution in Ransac algorithm, point set being fitted into straight line, obtains point set
Optimal solution model;It specifically includes:
Step 041: the minimum sampling of setting integrates as the model of n and a sample set (P), and sample set (P) is with the pixel in every row
It is worth the point set as transverse and longitudinal coordinate, number of samples is greater than n in sample set (P);
Step 042: the subset (S) of the sample set P comprising n sample is randomly selected from sample sets (P), simulation is initialized
Model (M);
Step 043: the sample set of given threshold t will be less than in the complementary set of sample sets (P) with the error of initialization model (M), and
Subset (S) constitutes new set (S*), is interior point set in set (S*);
Step 044: if number >=N of set (S*), then it is assumed that initialization model (M) is correct;If gathering the number=N of (S*),
Again new subset (S) is extracted, is repeated the above steps, the interior point set of maximum number is obtained, corresponding model is exactly optimal solution mould
Type;In the optimal solution model, the brightness of every row pixel on the piece left side is equal to the brightness of the pixel of the corresponding line on the right of piece;
Step 05: finding out the match value of each pixel in piece side in optimal solution model, spelling is adjusted according to the match value
Stitch the brightness of the pixel of side corresponding position.
2. the method according to claim 1, wherein the brightness of every row pixel is corresponding line in the step 02
In each pixel value summation divided by set width.
3. the method according to claim 1, wherein being obtained initially in the step 042 using least square method
Change model (M).
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201611224484.3A CN106780339B (en) | 2016-12-27 | 2016-12-27 | A method of it is inconsistent to solve interchannel brightness |
PCT/CN2017/115207 WO2018121221A1 (en) | 2016-12-27 | 2017-12-08 | Method resolving brightness inconsistency between channels |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201611224484.3A CN106780339B (en) | 2016-12-27 | 2016-12-27 | A method of it is inconsistent to solve interchannel brightness |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106780339A CN106780339A (en) | 2017-05-31 |
CN106780339B true CN106780339B (en) | 2019-02-05 |
Family
ID=58927337
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201611224484.3A Active CN106780339B (en) | 2016-12-27 | 2016-12-27 | A method of it is inconsistent to solve interchannel brightness |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN106780339B (en) |
WO (1) | WO2018121221A1 (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106780339B (en) * | 2016-12-27 | 2019-02-05 | 上海集成电路研发中心有限公司 | A method of it is inconsistent to solve interchannel brightness |
Family Cites Families (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6128108A (en) * | 1997-09-03 | 2000-10-03 | Mgi Software Corporation | Method and system for compositing images |
CN104318517A (en) * | 2014-11-19 | 2015-01-28 | 北京奇虎科技有限公司 | Image splicing method and device and client terminal |
CN104392416B (en) * | 2014-11-21 | 2017-02-22 | 中国电子科技集团公司第二十八研究所 | Video stitching method for sports scene |
CN104574421B (en) * | 2015-01-29 | 2017-05-24 | 北方工业大学 | Large-breadth small-overlapping-area high-precision multispectral image registration method and device |
CN106780339B (en) * | 2016-12-27 | 2019-02-05 | 上海集成电路研发中心有限公司 | A method of it is inconsistent to solve interchannel brightness |
-
2016
- 2016-12-27 CN CN201611224484.3A patent/CN106780339B/en active Active
-
2017
- 2017-12-08 WO PCT/CN2017/115207 patent/WO2018121221A1/en active Application Filing
Also Published As
Publication number | Publication date |
---|---|
WO2018121221A1 (en) | 2018-07-05 |
CN106780339A (en) | 2017-05-31 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109191428B (en) | Masking texture feature-based full-reference image quality evaluation method | |
CN107067382A (en) | A kind of improved method for detecting image edge | |
CN102568005A (en) | Moving object detection method based on Gaussian mixture model | |
CN105261046B (en) | A kind of tone moving method of scene adaptive | |
CN105654437A (en) | Enhancement method for low-illumination image | |
CN105513105B (en) | Image background weakening method based on notable figure | |
WO2016000331A1 (en) | Image enhancement method, image enhancement device and display device | |
Fanti et al. | Neurongrowth, a software for automatic quantification of neurite and filopodial dynamics from time‐lapse sequences of digital images | |
WO2020082593A1 (en) | Method and device for enhancing image contrast | |
CN103198470B (en) | Image cutting method and image cutting system | |
CN104732578B (en) | A kind of building texture optimization method based on oblique photograph technology | |
CN103065334A (en) | Color cast detection and correction method and device based on HSV (Hue, Saturation, Value) color space | |
CN102768757B (en) | Remote sensing image color correcting method based on image type analysis | |
CN106327448A (en) | Picture stylization processing method based on deep learning | |
CN106204494A (en) | A kind of image defogging method comprising large area sky areas and system | |
EP2950272A3 (en) | Method and apparatus for processing a video frame in a video file | |
CN109544467B (en) | Method for enhancing contrast of color image based on LAB model | |
CN104504722A (en) | Method for correcting image colors through gray points | |
CN102446347A (en) | White balance method and device for image | |
CN106780339B (en) | A method of it is inconsistent to solve interchannel brightness | |
CN106341929B (en) | A kind of method of light and display content mergence | |
CN110969584B (en) | Low-illumination image enhancement method | |
CN106327437A (en) | Color text image correction method and system | |
CN102722720B (en) | Video background extraction method based on hue-saturation-value (HSV) space on-line clustering | |
CN107027017A (en) | A kind of method of adjustment, device, picture processing chip and the storage device of image white balance |
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 |