CN106780396A - A kind of method for eliminating image piece - Google Patents

A kind of method for eliminating image piece Download PDF

Info

Publication number
CN106780396A
CN106780396A CN201611269994.2A CN201611269994A CN106780396A CN 106780396 A CN106780396 A CN 106780396A CN 201611269994 A CN201611269994 A CN 201611269994A CN 106780396 A CN106780396 A CN 106780396A
Authority
CN
China
Prior art keywords
piece
average
image
average area
brightness value
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
CN201611269994.2A
Other languages
Chinese (zh)
Other versions
CN106780396B (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.)
Shanghai IC R&D Center Co Ltd
Chengdu Image Design Technology Co Ltd
Original Assignee
Shanghai Integrated Circuit Research and Development Center Co Ltd
Chengdu Image Design Technology 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 Shanghai Integrated Circuit Research and Development Center Co Ltd, Chengdu Image Design Technology Co Ltd filed Critical Shanghai Integrated Circuit Research and Development Center Co Ltd
Priority to CN201611269994.2A priority Critical patent/CN106780396B/en
Publication of CN106780396A publication Critical patent/CN106780396A/en
Application granted granted Critical
Publication of CN106780396B publication Critical patent/CN106780396B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • G06T5/77
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T5/00Image enhancement or restoration
    • G06T5/50Image enhancement or restoration by the use of more than one image, e.g. averaging, subtraction

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Image Analysis (AREA)
  • Image Processing (AREA)

Abstract

The invention discloses a kind of method for eliminating image piece, original image is corrected by gathering completely black figure, obtain a new image, again in the edge joint position of new image, choose piece average area of piece or so each certain width as left side or right side, the average brightness value in the piece left and right sides average area of piece is calculated respectively, finally, obtain the mean luminance differences in the piece left and right sides average area of piece and made up in all pixels of piece side, to reach optimization image effect, the purpose for eliminating image piece is reached.

Description

A kind of method for eliminating image piece
Technical field
The invention belongs to the technical field of image procossing, more particularly to a kind of method for eliminating image piece.
Background technology
During image imaging joint, because the biasing of each channel circuit is inconsistent with gain, interchannel is result in bright The inconsistent problem of degree, so that image has looked obvious spells piece gap.The ameliorative way of prior art is by adjustment The AD gains (numerical simulation gain) of piece or so reach the consistent effect of piece both sides brightness.But in real process, by In without the adjustment numerical value for determining, only rely on experience and vision is repeatedly adjusted, not only take, and operate it is difficult to be adjusted to one Cause.
The content of the invention
It is an object of the invention to overcome drawbacks described above, it is proposed that a kind of method of elimination image piece, can be automatically complete Into making up for interchannel difference in brightness, optimize image effect.
To achieve the above object, technical scheme is as follows:
A kind of method for eliminating image piece, specifically includes following steps:
Step S01:Gather completely black figure to correct original image, obtain new image;
Step S02:In the edge joint position of new image, spelling of piece or so each certain width as left side or right side is chosen Stitch average area, calculate respectively piece left side piece average area average brightness value and the piece right side average area of piece it is average bright Angle value;
Step S03:According to piece left side or the average brightness value in the average area of right side piece, the piece left and right sides is calculated Mean luminance differences;
Step S04:The mean luminance differences of the piece left and right sides are made up in whole pixels of piece side.
Preferably, in the step S01, the completely black figure is gathered by closing aperture.
Preferably, in the step S01, corresponding each picture of completely black figure is subtracted with the brightness of each pixel of original image The brightness of element, obtains the new image.
Preferably, in the step S02, the average brightness value in the piece left side or the average area of right side piece is equal to piece The brightness of the pixel in left side or the average area of right side piece and divided by piece left side or the average area of right side piece in number of pixels.
From above-mentioned technical proposal as can be seen that the present invention is corrected by gathering completely black figure to original image, one is obtained New image, then in the edge joint position of new image, choose piece or so each certain width and put down as the piece on left side or right side Equal area, calculates the average brightness value in the piece left and right sides average area of piece respectively, finally, obtains piece left and right sides piece and puts down The mean luminance differences in equal area are simultaneously made up in all pixels of piece side, to reach optimization image effect, reach elimination The purpose of image piece.
Brief description of the drawings
Fig. 1 is a kind of method flow diagram for eliminating image piece of the invention;
Fig. 2 is the structural representation of image piece the right and left pixel difference.
Specific embodiment
Below with reference to specific embodiment, the present invention is described in further detail.
It should be noted that in following specific embodiments, when embodiments of the present invention are described in detail, in order to clear Ground represents structure of the invention in order to illustrate, spy, not according to general scale, and has carried out part to the structure in accompanying drawing Amplifying, deform and simplify treatment, therefore, should avoid being understood in this, as limitation of the invention.
Below according to Fig. 1, Fig. 1 is a kind of method flow diagram of elimination image piece of the invention, and combines Fig. 2, and Fig. 2 is The structural representation of image piece the right and left pixel difference, is described in further detail to specific embodiment of the invention. A kind of method for eliminating image piece of the invention, comprises the following steps:
Step S01:Gather completely black figure to correct original image, obtain new image.
Because original image is larger in the difference in brightness of edge joint position, even if being used in the region of piece or so one fixed width The method of mean flow rate, can also make error larger, it is impossible to reach satisfied effect, so, the present invention does to original image first Correction, farthest the luminance difference on reduction piece both sides, the precision of piece is eliminated to improve.In the present embodiment, in collection When image, first close aperture, gather it is light tight in the case of completely black figure, then with the brightness of each pixel of original image The brightness of corresponding each pixel of completely black figure is subtracted, new image is obtained.New image has identical pixel point with original image Resolution.The height of the new image shown in Fig. 2 is h, that is, have h row pixels.
Step S02:In the edge joint position of new image, spelling of piece or so each certain width as left side or right side is chosen Stitch average area, calculate respectively piece left side piece average area average brightness value and the piece right side average area of piece it is average bright Angle value;
Refer to Fig. 2.As illustrated, in the left side of piece 01, selection width is wL, highly for h band as left side The average area of piece, likewise, on the right side of piece 01, selection width is wR, highly for h band as left side piece put down Equal area.The width in the average area of piece should be smaller, if excessive, can increase the error of calculating.Then piece left side is calculated respectively The average brightness value in average brightness value and piece the right side average area of piece in the average area of piece.
The average brightness value in piece left side or the average area of right side piece is equal in piece left side or the average area of right side piece The brightness of pixel and divided by piece left side or the average area of right side piece in number of pixels.The calculation of average brightness value is realized with program Method, can be using step in detail below:
Step S021:Using the row of brightness calculation piece i-th left side of each pixel in the i-th row left side or the average area of right side piece Or the row average brightness value in the average area of right side piece.Specifically, by each pixel in the i-th row left side or the average area of right side piece Divided by left side or the width (columns) in the average area of right side piece after brightness summation, that is, obtain the row of piece i-th left side or right side piece Row average brightness value in average area, is shown below
Wherein I (i, k) is the brightness value of the i-th row kth row pixel, and is assumed close to the unit on the left of piece for jth is arranged, tightly Unit on the right side of adjacent piece is the row of jth+1, and j is definite value, as shown in Fig. 2 ML(i) and MR(i) be respectively the row of piece i-th left side and Row average brightness value in the average area of right side piece.
Step S022:The row that repeat step S011 is obtained in the left side or the average area of right side piece of all rows respectively is averagely bright Angle value.
Step S023:Using in the left side or the average area of right side piece of each row row average brightness value calculate piece left side or The average brightness value in the average area of right side piece.Specifically, by the row mean flow rate in the left side of each row or the average area of right side piece Divided by line number after value summation, the average brightness value in piece left side or the average area of right side piece is obtained, that is, be shown below.
Wherein MLTAnd MRTIt is the average brightness value in piece left side and the average area of right side piece, h is the pixels tall of image, Namely line number.
Similar, the column average brightness value in piece left side or the average area of right side piece is first sought, then obtain piece left side or right The column average brightness value of all row in the average area of side piece, then by the column average in the left side of each row or the average area of right side piece Divided by columns after brightness value summation, it is also possible to obtain the average brightness value in piece left side or the average area of right side piece.Certainly, also may be used The calculating of average brightness value is realized there are other specific procedures, without departing from thought of the invention, the present invention is belonged to Protection domain.
On the basis of step S01, then implementation steps S02, can not only retain all characteristics of image of original image, and And the precision for eliminating piece can be improved, more preferable effect is reached, to realize eliminating the purpose of piece.
Step S03:According to piece left side or the average brightness value in the average area of right side piece, the piece left and right sides is calculated Mean luminance differences.
Using piece left side or the average brightness value in the average area of right side piece, the mean flow rate of the piece left and right sides is calculated Difference, that is, be shown below
M=MLT-MRT
Wherein m is the average area's mean luminance differences of piece left and right sides piece.
Step S04:The mean luminance differences in the piece left and right sides average area of piece are made up all pixels of piece side On.
Specifically, average brightness value can be subtracted in all pixels of pixel piece side high, or it is low in pixel The all pixels of piece side add average brightness value, that is, realize the regulation of piece both sides brightness, make the brightness phase of piece both sides Together, the purpose for eliminating piece is reached.
In sum, the present invention is by first weakening piece, then the mean flow rate for calculating the piece left and right sides average area of piece Difference is simultaneously made up in all pixels of piece side, with automatic identification luminance difference, and the brightness near piece can be carried out Regulation, that is, be automatically performed making up for interchannel difference in brightness, has reached the purpose for eliminating image piece, optimizes the effect of image.
Above-described is only embodiments of the invention, and the embodiment simultaneously is not used to limit patent protection model of the invention Enclose, therefore every equivalent structure change made with specification of the invention and accompanying drawing content, similarly should be included in this hair In bright protection domain.

Claims (4)

1. it is a kind of eliminate image piece method, it is characterised in that comprise the following steps:
Step S01:Gather completely black figure to correct original image, obtain new image;
Step S02:In the edge joint position of new image, choose piece or so each certain width and put down as the piece on left side or right side Equal area, calculates the average brightness value in the piece left side average area of piece and the mean flow rate in the piece right side average area of piece respectively Value;
Step S03:According to piece left side or the average brightness value in the average area of right side piece, the average of the piece left and right sides is calculated Luminance difference;
Step S04:The mean luminance differences of the piece left and right sides are made up in whole pixels of piece side.
2. it is according to claim 1 eliminate image piece method, it is characterised in that in the step S01, by close Aperture gathers the completely black figure.
3. it is according to claim 2 eliminate image piece method, it is characterised in that in the step S01, use original graph The brightness of each pixel of picture subtracts the brightness of corresponding each pixel of completely black figure, obtains the new image.
4. it is according to claim 1 eliminate image piece method, it is characterised in that in the step S02, the piece The average brightness value in left side or the average area of right side piece be equal to piece left side or the average area of right side piece in pixel brightness and Divided by the number of pixels in piece left side or the average area of right side piece.
CN201611269994.2A 2016-12-30 2016-12-30 Method for eliminating image seam Active CN106780396B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201611269994.2A CN106780396B (en) 2016-12-30 2016-12-30 Method for eliminating image seam

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201611269994.2A CN106780396B (en) 2016-12-30 2016-12-30 Method for eliminating image seam

Publications (2)

Publication Number Publication Date
CN106780396A true CN106780396A (en) 2017-05-31
CN106780396B CN106780396B (en) 2020-01-10

Family

ID=58952604

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611269994.2A Active CN106780396B (en) 2016-12-30 2016-12-30 Method for eliminating image seam

Country Status (1)

Country Link
CN (1) CN106780396B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108279857A (en) * 2017-12-29 2018-07-13 广东创捷智能科技有限公司 The liquid crystal-spliced screen of zero piece of integrated pixel filling based on HDbaseT signal transmissions
CN112289209A (en) * 2020-10-20 2021-01-29 长春希达电子技术有限公司 LED display box body and display screen splicing pixel interval brightness correction method
CN112700382A (en) * 2020-12-23 2021-04-23 杭州海康微影传感科技有限公司 Image seam eliminating method and device and electronic equipment

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004069673A (en) * 2002-06-11 2004-03-04 Nec Corp Visual inspection apparatus and method thereof
US20050058366A1 (en) * 2003-09-11 2005-03-17 Yan-Ru Jiang Method of reparing scratches in digital images
CN1601559A (en) * 2004-10-21 2005-03-30 武汉大学 Correspond rediation correction method for push-scanning satellite images CCD
CN101640038A (en) * 2009-08-26 2010-02-03 广东威创视讯科技股份有限公司 Display device colour luminance compensation method, device and system
CN102708558A (en) * 2012-06-01 2012-10-03 惠州华阳通用电子有限公司 Video image mosaic device, mosaic method and video surveillance system
CN103647911A (en) * 2013-11-15 2014-03-19 天津天地伟业数码科技有限公司 Image seamless splicing method based on black-level adjustment
CN104376531A (en) * 2014-12-11 2015-02-25 重庆地质仪器厂 Image splicing method and system
CN104966493A (en) * 2015-07-31 2015-10-07 西安诺瓦电子科技有限公司 Method for compensating spliced bright and dark lines
CN106127690A (en) * 2016-07-06 2016-11-16 李长春 A kind of quick joining method of unmanned aerial vehicle remote sensing image

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004069673A (en) * 2002-06-11 2004-03-04 Nec Corp Visual inspection apparatus and method thereof
US20050058366A1 (en) * 2003-09-11 2005-03-17 Yan-Ru Jiang Method of reparing scratches in digital images
CN1601559A (en) * 2004-10-21 2005-03-30 武汉大学 Correspond rediation correction method for push-scanning satellite images CCD
CN101640038A (en) * 2009-08-26 2010-02-03 广东威创视讯科技股份有限公司 Display device colour luminance compensation method, device and system
CN102708558A (en) * 2012-06-01 2012-10-03 惠州华阳通用电子有限公司 Video image mosaic device, mosaic method and video surveillance system
CN103647911A (en) * 2013-11-15 2014-03-19 天津天地伟业数码科技有限公司 Image seamless splicing method based on black-level adjustment
CN104376531A (en) * 2014-12-11 2015-02-25 重庆地质仪器厂 Image splicing method and system
CN104966493A (en) * 2015-07-31 2015-10-07 西安诺瓦电子科技有限公司 Method for compensating spliced bright and dark lines
CN106127690A (en) * 2016-07-06 2016-11-16 李长春 A kind of quick joining method of unmanned aerial vehicle remote sensing image

Non-Patent Citations (4)

* Cited by examiner, † Cited by third party
Title
LI FENG ET AL.: ""Algorithm of edge blending based on the nonlinear function"", 《2009 IEEE INTERNATIONAL CONFERENCE ON INTELLIGENT COMPUTING AND INTELLIGENT SYSTEMS》 *
宋宝森 等: ""一种消除图像拼接痕迹的新方法"", 《计算机科学》 *
宋振兴: ""图像拼接融合技术中去鬼影及裂缝方法研究"", 《中国优秀硕士学位论文全文数据库信息科技辑》 *
王帅 等: ""基于亮度统一的加权融合图像拼接算法"", 《山东科学》 *

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108279857A (en) * 2017-12-29 2018-07-13 广东创捷智能科技有限公司 The liquid crystal-spliced screen of zero piece of integrated pixel filling based on HDbaseT signal transmissions
CN108279857B (en) * 2017-12-29 2021-09-10 广东创捷智能科技有限公司 Zero-splicing-seam liquid crystal splicing screen with integrated pixel filling based on HDbaseT signal transmission
CN112289209A (en) * 2020-10-20 2021-01-29 长春希达电子技术有限公司 LED display box body and display screen splicing pixel interval brightness correction method
CN112289209B (en) * 2020-10-20 2022-08-23 长春希达电子技术有限公司 LED display box body and display screen abutted pixel interval brightness correction method
CN112700382A (en) * 2020-12-23 2021-04-23 杭州海康微影传感科技有限公司 Image seam eliminating method and device and electronic equipment
CN112700382B (en) * 2020-12-23 2024-03-26 杭州海康微影传感科技有限公司 Image seam elimination method and device and electronic equipment

Also Published As

Publication number Publication date
CN106780396B (en) 2020-01-10

Similar Documents

Publication Publication Date Title
CN103929632B (en) A kind of method for correcting automatic white balance and device
CN104408701B (en) A kind of large scene video image joining method
CN104581098B (en) A kind of adaptive processing method of lens shading
CN109754377B (en) Multi-exposure image fusion method
CN106197673B (en) A kind of adaptive wide temperature range non-uniform correction method and system
CN106657946B (en) System and method are eliminated in image purple boundary
CN106780396A (en) A kind of method for eliminating image piece
US8842912B2 (en) Method for processing highlights and saturated regions in a digital image
CN103327245B (en) A kind of Atomatic focusing method of infrared imaging system
KR101426298B1 (en) apparatus and method for compensating image for enhancing fog removing efficiency
CN104917975A (en) Adaptive automatic exposure method based on object characteristics
CN106197690B (en) Image calibrating method and system under the conditions of a kind of wide temperature range
CN110895810B (en) Chromosome image example segmentation method and device based on improved Mask RCNN
CN107590840A (en) Colored shadow bearing calibration and its correction system based on mesh generation
DE112016001871T5 (en) Image processing apparatus, image processing method and program
CN106251298B (en) Method and apparatus for processing image
CN107563987A (en) Demarcate the method and device of imaging difference
CN106454305A (en) White balance correcting method and device
CN106342194B (en) A kind of Infrared Image Non-uniformity Correction method of ground scene
CN104091307A (en) Frog day image rapid restoration method based on feedback mean value filtering
CN106651779B (en) A kind of detection method of sugarcane cutting-height
CN111192298A (en) Relative radiation correction method for luminous remote sensing image
CN104504736A (en) Method and system for identifying green plants in field crop growth monitoring image
JP4624884B2 (en) Image processing device for work vehicles
CN101908204B (en) Inverse diffusion method for eliminating Gibbs annular artifact of magnetic resonance image

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