CN109688292A - A kind of removal image flicker Histogram Mapping method - Google Patents

A kind of removal image flicker Histogram Mapping method Download PDF

Info

Publication number
CN109688292A
CN109688292A CN201811553611.3A CN201811553611A CN109688292A CN 109688292 A CN109688292 A CN 109688292A CN 201811553611 A CN201811553611 A CN 201811553611A CN 109688292 A CN109688292 A CN 109688292A
Authority
CN
China
Prior art keywords
histogram
image
frame image
current frame
flicker
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.)
Pending
Application number
CN201811553611.3A
Other languages
Chinese (zh)
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.)
University of Electronic Science and Technology of China
Original Assignee
University of Electronic Science and Technology of China
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 University of Electronic Science and Technology of China filed Critical University of Electronic Science and Technology of China
Priority to CN201811553611.3A priority Critical patent/CN109688292A/en
Publication of CN109688292A publication Critical patent/CN109688292A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/80Camera processing pipelines; Components thereof
    • H04N23/81Camera processing pipelines; Components thereof for suppressing or minimising disturbance in the image signal generation
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N5/00Details of television systems
    • H04N5/30Transforming light or analogous information into electric information
    • H04N5/33Transforming infrared radiation

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Picture Signal Circuits (AREA)

Abstract

The invention discloses a kind of removal image flicker Histogram Mapping methods, this method comprises: Step 1: obtaining the histogram of current frame image according to the histogram of previous frame image;Step 2: the histogram to current frame image carries out enhancing processing, the Histogram Mapping table of current frame image is obtained, realtime graphic is exported according to the Histogram Mapping table of current frame image.For the present invention is compared to existing removal image flicker technology, directly the histogram of image is handled, the variation of image background can be made and be timely responded to and handle, so that removal flicker effect is good;Simultaneously invention also contemplates that relevance between adjacent two field pictures, improves image displaying quality, high reliablity.And treatment process of the invention is more succinct, calculation amount is small, is convenient for hardware realization.

Description

A kind of removal image flicker Histogram Mapping method
Technical field
The present invention relates to technical field of image processing, and in particular to a kind of removal image flicker Histogram Mapping method.
Background technique
Existing common infrared camera generally detects the illumination intensity of local environment using light-sensitive element, according to The threshold value determined in design parameter generates control signal, realizes the unlatching of infrared lamp: infrared when illumination intensity is lower than threshold value Lamp, which is opened, to shine, and then closes when higher than threshold value.Wherein, the case where when illumination intensity is slightly less than threshold value: light-sensitive element detects photograph Bright intensity is slightly less than threshold value, and control infrared lamp, which is opened, to shine;After infrared lamp shines, the illumination detected, which improves, (be added reversed Infrared light back), and be more than threshold value, control infrared lamp is closed;Lead to the luminance reduction detected, another secondary control is red Outer lamp is opened.Do not stop and so on, causes the flashing of image;Therefore in order to obtain high quality graphic, need to infrared image into The processing of row blink-off.And image histogram is since to calculate cost smaller for it, and has image translation, rotation, scaling invariance etc. Many merits are widely used in the every field of image procossing, therefore existing frequently with the methods of image histogram equalization Blink-off processing is carried out to image.
Existing video image blink-off method further include: in such a way that threshold value is set, the image of present frame is carried out Processing handles current frame image mapping table by the Histogram Mapping table to previous frame image, however when video image display Substantially multiframe still image continuously displays process, and therefore, existing blink-off processing method does not consider adjacent multiframe figure Relevance as between, causes image procossing precision not high, poor reliability;Furthermore when image background changes, existing skill Art cannot in time handle it to the variation, cause treatment effect still undesirable.
Summary of the invention
Undesirable for solution removal flicker effect of the existing technology, the technical problems such as poor reliability, the present invention provides A kind of removal image flicker Histogram Mapping method.This method is directly handled histogram, can be become to image background It changes to make and timely responds to and handle, improve image displaying quality.
The present invention is achieved through the following technical solutions:
A kind of removal image flicker Histogram Mapping method, method includes the following steps:
Step 1: obtaining the histogram of current frame image according to the histogram of previous frame image;
Step 2: the histogram to current frame image carries out enhancing processing, the Histogram Mapping table of current frame image is obtained, Realtime graphic is exported according to the Histogram Mapping table of current frame image.
Preferably, the step 1 specifically includes:
When 1.1 current frame images are the 1st frame image, the histogram L of the 1st frame image is counted1, directly adopt histogram L1 Execute step 2;
When 1.2 current frame images are n-th frame image, the histogram L of n-th frame image is countedn', according to the (n-1)th frame image Histogram Ln-1To the histogram L of current frame imagen' handled to obtain present frame treated histogram Ln;Wherein, 1 < n≤ N and n are positive integer, and N is the totalframes of video image;
Preferably, according to the histogram L of the (n-1)th frame imagen-1To the histogram L of current frame imagen' handled to obtain Present frame treated histogram LnIt specifically includes: L is obtained using weighted average methodn=Ln′*P+Ln-1* (1-P), wherein P For weighting parameter.
Preferably, the P value is 0.25~0.75.
Preferably, the P value is 0.5.
Preferably, the enhancing processing uses histogram equalization method.
The present invention has the advantage that and the utility model has the advantages that
For the present invention is compared to existing removal image flicker technology, directly the histogram of image is handled, energy Enough make to the variation of image background timely responds to and handles, so that removal flicker effect is good;Simultaneously invention also contemplates that phase Relevance between adjacent two field pictures improves image displaying quality, high reliablity.And treatment process of the invention is simpler Clean, calculation amount is small, is convenient for hardware realization.
Detailed description of the invention
Attached drawing described herein is used to provide to further understand the embodiment of the present invention, constitutes one of the application Point, do not constitute the restriction to the embodiment of the present invention.In the accompanying drawings:
Fig. 1 is 6 frame image processing flow schematic diagrames of the invention.
Fig. 2 is the image comparison figure handled using the prior art and method of the invention same image.
Specific embodiment
To make the objectives, technical solutions, and advantages of the present invention clearer, below with reference to embodiment and attached drawing, to this Invention is described in further detail, and exemplary embodiment of the invention and its explanation for explaining only the invention, are not made For limitation of the invention.
Embodiment 1
The present embodiment proposes a kind of removal image flicker Histogram Mapping method, this method comprises:
Step 1: obtaining the histogram of current frame image according to the histogram of previous frame image;
Wherein, the step 1 specifically includes:
When 1.1 current frame images are the 1st frame image, the histogram L of the 1st frame image is counted1, directly adopt histogram L1 Execute step 2;
When 1.2 current frame images are n-th frame image, the histogram L of n-th frame image is countedn', according to the (n-1)th frame image Histogram Ln-1To the histogram L of current frame imagen' handled to obtain present frame treated histogram Ln, it is specific as follows:
L is obtained using weighted average methodn=Ln′*P+Ln-1* (1-P), wherein P is weighting parameter.Preferably, the P Value is 0.25~0.75.
Wherein, 1 < n≤N and n are positive integer, and N is the totalframes of video image;
Step 2: the histogram to current frame image carries out enhancing processing, the Histogram Mapping table of current frame image is obtained, Realtime graphic is exported according to the Histogram Mapping table of current frame image.Specifically using histogram equalization method to current frame image Histogram carry out enhancing processing, and map to 0~255, the Histogram Mapping table of current frame image obtained, according to present frame figure The Histogram Mapping table of picture exports realtime graphic.
Embodiment 2
The present embodiment 2 based on the above embodiment 1 propose a kind of removal image flicker Histogram Mapping method, to 6 frame figures As being handled, as shown in Figure 1, concrete processing procedure is as follows:
The histogram L of 2.1 the 1st frame images of statistics1, using histogram equalization method to the histogram of the 1st frame image into Row enhancing processing, and 0~255 is mapped to, the Histogram Mapping table of the 1st frame image is obtained, is reflected according to the histogram of the 1st frame image Firing table exports realtime graphic;
The histogram L of 2.2 statistics n-th frame imagesn', according to the histogram L of the (n-1)th frame imagen-1To current frame image Histogram Ln' handled to obtain present frame treated histogram Ln;It is handled using histogram equalization method to present frame Histogram L afterwardsnEnhancing processing is carried out, and maps to 0~255, the Histogram Mapping table of n-th frame image is obtained, according to n-th frame The Histogram Mapping table of image exports realtime graphic, wherein 1 n≤6 < and n is positive integer;
Wherein, according to the histogram L of the (n-1)th frame imagen-1To the histogram L of current frame imagen' handled and worked as Previous frame treated histogram Ln, it is specific as follows:
L is obtained using weighted average methodn=Ln′*P+Ln-1* (1-P), wherein P is weighting parameter.Preferably, the P Value is 0.25~0.75.
2.3 repeat step 2.2, until obtaining the Histogram Mapping table of the 6th frame image, according to the straight of the 6th frame image Square figure mapping table exports realtime graphic.
Embodiment 3
A kind of removal image sudden strain of a muscle that existing removal image flicker method is respectively adopted in the present embodiment 3 and above-described embodiment proposes Bright Histogram Mapping method is removed flashing processing to same image, obtains output image as shown in Figure 2, wherein in Fig. 2 (left side) figure is the output image handled using the prior art, and (right side) figure is the output handled using the present invention in Fig. 2 Image;As seen from the figure: the display effect of (right side) figure is substantially better than (left side) figure, that is, shows method removal flicker effect of the invention more Excellent, reliability is higher.Wherein, in the present embodiment, the P value is 0.5.
Above-described specific embodiment has carried out further the purpose of the present invention, technical scheme and beneficial effects It is described in detail, it should be understood that being not intended to limit the present invention the foregoing is merely a specific embodiment of the invention Protection scope, all within the spirits and principles of the present invention, any modification, equivalent substitution, improvement and etc. done should all include Within protection scope of the present invention.

Claims (6)

1. a kind of removal image flicker Histogram Mapping method, which is characterized in that method includes the following steps:
Step 1: obtaining the histogram of current frame image according to the histogram of previous frame image;
Step 2: the histogram to current frame image carries out enhancing processing, the Histogram Mapping table of current frame image is obtained, according to The Histogram Mapping table of current frame image exports realtime graphic.
2. a kind of removal image flicker Histogram Mapping method according to claim 1, which is characterized in that the step 1 It specifically includes:
When 1.1 current frame images are the 1st frame image, the histogram L of the 1st frame image is counted1, directly adopt histogram L1It executes Step 2;
When 1.2 current frame images are n-th frame image, the histogram L of n-th frame image is countedn', according to the histogram of the (n-1)th frame image Scheme Ln-1To the histogram L of current frame imagen' handled to obtain present frame treated histogram Ln;Wherein, 1 < n≤N and n For positive integer, N is the totalframes of video image.
3. a kind of removal image flicker Histogram Mapping method according to claim 2, which is characterized in that according to (n-1)th The histogram L of frame imagen-1To the histogram L of current frame imagenHandled to obtain present frame treated histogram LnSpecifically It include: that L is obtained using weighted average methodn=Ln′*P+Ln-1* (1-P), wherein P is weighting parameter.
4. a kind of removal image flicker Histogram Mapping method according to claim 3, which is characterized in that the P value It is 0.25~0.75.
5. a kind of removal image flicker Histogram Mapping method according to claim 3, which is characterized in that the P value It is 0.5.
6. a kind of removal image flicker Histogram Mapping method according to claim 1-5, which is characterized in that institute Enhancing processing is stated using histogram equalization method.
CN201811553611.3A 2018-12-18 2018-12-18 A kind of removal image flicker Histogram Mapping method Pending CN109688292A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811553611.3A CN109688292A (en) 2018-12-18 2018-12-18 A kind of removal image flicker Histogram Mapping method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811553611.3A CN109688292A (en) 2018-12-18 2018-12-18 A kind of removal image flicker Histogram Mapping method

Publications (1)

Publication Number Publication Date
CN109688292A true CN109688292A (en) 2019-04-26

Family

ID=66186995

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811553611.3A Pending CN109688292A (en) 2018-12-18 2018-12-18 A kind of removal image flicker Histogram Mapping method

Country Status (1)

Country Link
CN (1) CN109688292A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2021238655A1 (en) * 2020-05-29 2021-12-02 展讯通信(上海)有限公司 Image processing method and apparatus, storage medium and terminal

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101059951A (en) * 2006-04-20 2007-10-24 佳能株式会社 Image processing apparatus and method
US20120162245A1 (en) * 2010-12-22 2012-06-28 Louis Joseph Kerofsky Ambient adaptive illumination of a liquid crystal display
CN103177429A (en) * 2013-04-16 2013-06-26 南京理工大学 FPGA (field programmable gate array)-based infrared image detail enhancing system and method
CN104268840A (en) * 2014-09-30 2015-01-07 成都市晶林科技有限公司 Method for enhancing infrared image histogram redundancy elimination and gray level equal interval mapping
CN105530406A (en) * 2015-12-18 2016-04-27 成都国翼电子技术有限公司 Intelligent enhancement method based on history frame image statistic values
CN105635524A (en) * 2015-12-18 2016-06-01 成都国翼电子技术有限公司 Intelligent enhancement method based on dark region histogram area statistics of history frame image
CN106028014A (en) * 2016-05-27 2016-10-12 京东方科技集团股份有限公司 Method and equipment for correcting video flicker
CN106204505A (en) * 2016-06-22 2016-12-07 成都市晶林科技有限公司 Video based on infrared image enhancement Histogram Mapping table goes to flash method
CN106791283A (en) * 2017-01-25 2017-05-31 京东方科技集团股份有限公司 A kind of method for correcting video flashes, device and video equipment
CN108090887A (en) * 2016-11-23 2018-05-29 杭州海康威视数字技术股份有限公司 A kind of method of video image processing and device

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101059951A (en) * 2006-04-20 2007-10-24 佳能株式会社 Image processing apparatus and method
US20120162245A1 (en) * 2010-12-22 2012-06-28 Louis Joseph Kerofsky Ambient adaptive illumination of a liquid crystal display
CN103177429A (en) * 2013-04-16 2013-06-26 南京理工大学 FPGA (field programmable gate array)-based infrared image detail enhancing system and method
CN104268840A (en) * 2014-09-30 2015-01-07 成都市晶林科技有限公司 Method for enhancing infrared image histogram redundancy elimination and gray level equal interval mapping
CN105530406A (en) * 2015-12-18 2016-04-27 成都国翼电子技术有限公司 Intelligent enhancement method based on history frame image statistic values
CN105635524A (en) * 2015-12-18 2016-06-01 成都国翼电子技术有限公司 Intelligent enhancement method based on dark region histogram area statistics of history frame image
CN106028014A (en) * 2016-05-27 2016-10-12 京东方科技集团股份有限公司 Method and equipment for correcting video flicker
CN106204505A (en) * 2016-06-22 2016-12-07 成都市晶林科技有限公司 Video based on infrared image enhancement Histogram Mapping table goes to flash method
CN108090887A (en) * 2016-11-23 2018-05-29 杭州海康威视数字技术股份有限公司 A kind of method of video image processing and device
CN106791283A (en) * 2017-01-25 2017-05-31 京东方科技集团股份有限公司 A kind of method for correcting video flashes, device and video equipment

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2021238655A1 (en) * 2020-05-29 2021-12-02 展讯通信(上海)有限公司 Image processing method and apparatus, storage medium and terminal

Similar Documents

Publication Publication Date Title
CN101833754B (en) Image enhancement method and image enhancement system
CN102693532B (en) The automatic local directed complete set of image shadow and highlight
CN110706172B (en) Low-illumination color image enhancement method based on adaptive chaotic particle swarm optimization
CN101620819B (en) Dynamic regulation method and dynamic regulation device for displaying image back light brightness, and moving display device
CN106897981A (en) A kind of enhancement method of low-illumination image based on guiding filtering
CN108093175B (en) A kind of adaptive defogging method of real-time high-definition video and device
CN103440674B (en) A kind of rapid generation of digital picture wax crayon specially good effect
WO2024060576A1 (en) Image dehazing method based on dark channel prior
CN103955918A (en) Full-automatic fine image matting device and method
WO2012155525A1 (en) Method, device and apparatus for processing video images
CN102014279B (en) Method and device for intensifying video image contrast
CN107404647A (en) Camera lens condition detection method and device
CN105374042A (en) Device and method of on-line automatic count of fries on the basis of machine vision
CN103002291A (en) Camera wide dynamic image enhancement method and device
CN107862672B (en) Image defogging method and device
CN106169182A (en) A kind of method synthesizing several different exposure images
CN106057700B (en) A kind of detection method on red of the side of solar battery sheet
CN106296618A (en) A kind of color image defogging method based on Gaussian function weighted histogram regulation
CN108616700A (en) Image processing method and device, electronic equipment, computer readable storage medium
CN110047052A (en) A kind of strong Xanthophyll cycle night vision Enhancement Method based on FPGA
CN105118077B (en) A kind of method and system for improving file shooting fluency
CN105263008B (en) Color image quality method for improving and its device under low environment illumination
CN109688292A (en) A kind of removal image flicker Histogram Mapping method
CN103839245A (en) Retinex night color image enhancement method based on statistical regularities
CN116524195A (en) Semantic segmentation method, semantic segmentation device, electronic equipment and storage medium

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20190426

RJ01 Rejection of invention patent application after publication