CN105631814A - Low pass filtering-based length exposure wide dynamic feathering fusion method - Google Patents
Low pass filtering-based length exposure wide dynamic feathering fusion method Download PDFInfo
- Publication number
- CN105631814A CN105631814A CN201510956310.5A CN201510956310A CN105631814A CN 105631814 A CN105631814 A CN 105631814A CN 201510956310 A CN201510956310 A CN 201510956310A CN 105631814 A CN105631814 A CN 105631814A
- Authority
- CN
- China
- Prior art keywords
- image
- mask
- pass filtering
- long exposure
- fusion method
- 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
Links
- 238000001914 filtration Methods 0.000 title claims abstract description 21
- 238000007500 overflow downdraw method Methods 0.000 title claims abstract description 19
- 238000000034 method Methods 0.000 claims abstract description 24
- 230000000694 effects Effects 0.000 claims abstract description 11
- 238000000605 extraction Methods 0.000 claims description 5
- 210000003746 feather Anatomy 0.000 claims description 4
- 238000006243 chemical reaction Methods 0.000 claims description 3
- 230000004927 fusion Effects 0.000 description 6
- 238000002156 mixing Methods 0.000 description 3
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000007812 deficiency Effects 0.000 description 1
Classifications
-
- G06T5/77—
-
- 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
-
- 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
Abstract
The invention discloses a low pass filtering-based length exposure wide dynamic feathering fusion method. The method comprises steps: a highlight area in a long exposure image is extracted through a brightness area adjustment operator; a mean value is solved according to results obtained in the first step, the mean value is used for binary processing, and a binary mask formed by 0 and 1 is obtained; low pass filtering is carried out on the binary mask, feathering effects are generated, and a feathering mask is obtained; short exposure information and long exposure information are extracted: (1) multiplication operation is carried out on the feathering mask obtained in the third step and the short exposure image; (2) the feathering mask image obtained in the third step is subjected to negation, multiplication operation with the long exposure image is carried out; addition operation is carried out on the result obtained in the fourth step; and data correction is carried out on the result of the fifth step and the data are outputted. The method is applicable to FPGA realization, the realization is simple, the occupied hardware resources are few, the fusion method directly fuses the original pixel, and the real-time performance is high.
Description
Technical field
The present invention relates to a kind of wide dynamic fusion algorithm, particularly relate to a kind of length based on low-pass filtering and expose width and dynamically sprout wings fusion method.
Background technology
In various wide dynamic techniques, the wide dynamic technique merged based on multiframe is comparatively general one, and blending algorithm is also varied, such as methods such as the fusion of pyramid, segment fusions, comparatively speaking, these algorithms realize complexity, take hardware resource more, real-time is poor, is unfavorable for that product realizes.
Summary of the invention
It is an object of the invention to overcome the deficiencies in the prior art, it is provided that a kind of under the premise as far as possible not changing original image pixels value, length exposure image is directly merged, is suitable for the hard-wired length based on low-pass filtering and exposes width and dynamically sprout wings fusion method.
It is an object of the invention to be achieved through the following technical solutions: a kind of length based on low-pass filtering exposes width and dynamically sprouts wings fusion method, comprises the following steps:
S1: extract highlight regions, adjusts operator by luminance area and the highlight regions in long exposure image is extracted;
S2: set up binaryzation mask, the result that step S1 is obtained is averaged, and utilizes average to carry out binary conversion treatment, obtains a binaryzation mask being made up of 0 and 1;
S3: mask is sprouted wings, and binaryzation mask is carried out low-pass filtering so that it is produce feather effect, obtain emergence mask L " (x, y);
S4: extract short exposure information and long exposure information:
(1) the emergence mask obtained by step S3 and short exposed images do multiplication operation;
(2) the emergence mask image obtained by step S3 negates, and does multiplication operation with long exposure image;
S5: length exposure information merges, and the result obtained by step S4 does add operation;
S6: the result of step S5 is carried out data correction, then exports.
Described extraction highlight regions method is: first by each pixel F of long exposure image F (x, y) is normalized, then bring into formula L (x, y)=1/ (1+F (and x, y)-10) obtain high luminance area area image L.
Described set up binaryzation mask method be: first ask in step S1 the acquiring method of the average M, average M of high luminance area area image L for be added by all pixels, and divided by the total pixel number of image;
Traversal high luminance area area image L, to each pixel L, (x, y) proceeds as follows: as L, (x, when y) value is be more than or equal to M, L ' (x, y)=1, as L, (x, when y) value is less than M, L ' (x, y)=0, it may be assumed that
Wherein, M is the average of high luminance area area image L, and L ' is the binaryzation mask obtained.
The method of described extraction short exposure information and long exposure information is:
(1) the emergence mask L that step S3 obtained " (x, y) does multiplication operation, obtains a short exposure frame B ' with short exposed images B, it may be assumed that
B ' (x, y)=L " (x, y) B (x, y)
Wherein, B ' is short exposure frame, and B is short exposed images;
(2) the emergence mask image obtained by step S3 negates, and does multiplication operation with long exposure image F, obtains a long exposure information image F ', it may be assumed that
F ' (x, y)=F (x, y) [1-L " (x, y)]
Wherein, F ' is long exposure information image, and F is long exposure image.
The method that described length exposure information merges is: the long exposure information image F ' obtained by S4 and short exposure frame B ' carries out being added and merges, the image O after being merged, and in order to regulate syncretizing effect, is multiplied by a factor sigma and does effect adjustment, it may be assumed that
O (x, y)=�� B ' (x, y)+(1-��) F ' (x, y)
Wherein, �� span is [0,1], and O is the image after merging.
The method of described data correction is: traversing graph as O each pixel O (x, y), it is judged that ((x, time y) more than 255, is set to 255 by the value of data to O as O for x, value size y); When O (x, when value y) is less than 0, is set to 0 by the value of data, it may be assumed that
The invention has the beneficial effects as follows: comparing the blending algorithms such as the tradition fusion of pyramid, segment fusion, this blending algorithm realizes simple, takies hardware resource less, and image pixel is directly merged by this fusion method, and real-time is significantly high.
(1) this fusion method is except mask emergence needs employing convolution realization, and other steps are all based on the operation of pixel, is suitable for FPGA and realizes, it is achieved simply;
(2) this fusion method is based on the fusion of pixel, is directly merged by length exposure information, and the image after therefore merging has been maximally maintained artwork information, will not produce unpredictable problem.
Accompanying drawing explanation
Fig. 1 is fusion method flow chart of the present invention.
Detailed description of the invention
Below in conjunction with accompanying drawing, technical scheme is described in further detail, but protection scope of the present invention is not limited to the following stated.
The fusion method as it is shown in figure 1, a kind of length exposure width based on low-pass filtering is dynamically sprouted wings, comprises the following steps:
S1: extract highlight regions, adjusts operator by luminance area and the highlight regions in long exposure image is extracted;
Described extraction highlight regions method is: first by each pixel F of long exposure image F (x, y) is normalized, then bring into formula L (x, y)=1/ (1+F (and x, y)-10) obtain high luminance area area image L.
S2: set up binaryzation mask, the result that step S1 is obtained is averaged, and utilizes average to carry out binary conversion treatment, obtains a binaryzation mask being made up of 0 and 1;
Described set up binaryzation mask method be: first ask in step S1 the acquiring method of the average M, average M of high luminance area area image L for be added by all pixels, and divided by the total pixel number of image;
Traversal high luminance area area image L, to each pixel L, (x, y) proceeds as follows: as L, (x, when y) value is be more than or equal to M, L ' (x, y)=1, as L, (x, when y) value is less than M, L ' (x, y)=0, it may be assumed that
Wherein, M is the average of high luminance area area image L, and L ' is the binaryzation mask obtained.
S3: mask is sprouted wings, and binaryzation mask is carried out low-pass filtering so that it is produce feather effect, obtain emergence mask L " (x, y);
Described set up the method that binaryzation mask sprouts wings and be: the binaryzation mask that obtains in S2 is adopted known gaussian filtering or mean filter method so that it is produce feather effect, and obtain an emergence mask L " (x, y).
S4: extract short exposure information and long exposure information:
(1) the emergence mask L that step S3 obtained " (x, y) does multiplication operation, obtains a short exposure frame B ' with short exposed images B, it may be assumed that
B ' (x, y)=L " (x, y) B (x, y)
Wherein, B ' is short exposure frame, and B is short exposed images;
(2) the emergence mask image obtained by step S3 negates, and does multiplication operation with long exposure image F, obtains a long exposure information image F ', it may be assumed that
F ' (x, y)=F (x, y) [1-L " (x, y)]
Wherein, F ' is long exposure information image, and F is long exposure image.
S5: length exposure information merges, and the result obtained by step S4 does add operation;
The method that described length exposure information merges is: the long exposure information image F ' obtained by S4 and short exposure frame B ' carries out being added and merges, the image O after being merged, and in order to regulate syncretizing effect, is multiplied by a factor sigma and does effect adjustment, it may be assumed that
O (x, y)=�� B ' (x, y)+(1-��) F ' (x, y)
Wherein, �� span is [0,1], and O is the image after merging.
S6: the result of step S5 is carried out data correction, then exports;
The method of described data correction is: traversing graph as O each pixel O (x, y), it is judged that ((x, time y) more than 255, is set to 255 by the value of data to O as O for x, value size y); When O (x, when value y) is less than 0, is set to 0 by the value of data, it may be assumed that
The technical issues that need to address of the present invention have:
(1) useful information respective in long exposure image and short exposed images is split;
(2) emergence mask how is set up;
(3) emergence mask how is utilized to be split two width image corresponding regions;
(4) how two parts useful information is synthesized one without the image splicing vestige.
The above is only the preferred embodiment of the present invention, it is to be understood that the present invention is not limited to form disclosed herein, it is not to be taken as the eliminating to other embodiments, and can be used for other combinations various, amendment and environment, and in contemplated scope described herein, can be modified by the technology of above-mentioned instruction or association area or knowledge. And the change that those skilled in the art carry out and change are without departing from the spirit and scope of the present invention, then all should in the protection domain of claims of the present invention.
Claims (7)
1. the length based on low-pass filtering exposes width and dynamically sprouts wings fusion method, it is characterised in that comprise the following steps:
S1: extract highlight regions, adjusts operator by luminance area and the highlight regions in long exposure image is extracted;
S2: set up binaryzation mask, the result that step S1 is obtained is averaged, and utilizes average to carry out binary conversion treatment, obtains a binaryzation mask being made up of 0 and 1;
S3: mask is sprouted wings, and binaryzation mask is carried out low-pass filtering so that it is produce feather effect, obtain emergence mask;
S4: extract short exposure information and long exposure information:
(1) the emergence mask obtained by step S3 and short exposed images do multiplication operation;
(2) the emergence mask image obtained by step S3 negates, and does multiplication operation with long exposure image;
S5: length exposure information merges, and the result obtained by step S4 does add operation;
S6: the result of step S5 is carried out data correction, then exports.
2. a kind of length based on low-pass filtering according to claim 1 exposes width and dynamically sprouts wings fusion method, it is characterized in that: described extraction highlight regions method is: first by each pixel F (x of long exposure image F, y) it is normalized, then formula L (x is brought into, y)=1/ (1+F (x, y)-10) obtain high luminance area area image L.
3. a kind of length based on low-pass filtering according to claim 1 exposes width and dynamically sprouts wings fusion method, it is characterized in that: described set up binaryzation mask method be: first ask for the average M of high luminance area area image L in step S1, the acquiring method of average M is for be added all pixels, and divided by the total pixel number of image;
Traversal high luminance area area image L, to each pixel L, (x, y) proceeds as follows: as L, (x, when y) value is be more than or equal to M, L ' (x, y)=1, as L, (x, when y) value is less than M, L ' (x, y)=0, it may be assumed that
Wherein, M is the average of high luminance area area image L, and L ' is the binaryzation mask obtained.
4. a kind of length based on low-pass filtering according to claim 1 exposes width and dynamically sprouts wings fusion method, it is characterised in that: described low-pass filtering adopts gaussian filtering or mean filter.
5. a kind of length based on low-pass filtering according to claim 1 exposes width and dynamically sprouts wings fusion method, it is characterised in that: the method for described extraction short exposure information and long exposure information is:
(1) the emergence mask L that step S3 obtained " (x, y) does multiplication operation, obtains a short exposure frame B ' with short exposed images B, it may be assumed that
B ' (x, y)=L " (x, y) B (x, y)
Wherein, B ' is short exposure frame, and B is short exposed images;
(2) the emergence mask image obtained by step S3 negates, and does multiplication operation with long exposure image F, obtains a long exposure information image F ', it may be assumed that
F ' (x, y)=F (x, y) [1-L " (x, y)]
Wherein, F ' is long exposure information image, and F is long exposure image.
6. a kind of length based on low-pass filtering according to claim 1 exposes width and dynamically sprouts wings fusion method, it is characterized in that: the method that described length exposure information merges is: the long exposure information image F ' obtained by S4 and short exposure frame B ' carries out being added and merges, image O after being merged, in order to regulate syncretizing effect, it is multiplied by a factor sigma and does effect adjustment, it may be assumed that
O (x, y)=�� B ' (x, y)+(1-��) F ' (x, y)
Wherein, �� span is [0,1], and O is the image after merging.
7. a kind of length based on low-pass filtering according to claim 1 exposes width and dynamically sprouts wings fusion method, it is characterized in that: the method for described data correction is: traversing graph is as each pixel O (x of O, y), judge O (x, y) value size, as O, (x, time y) more than 255, is set to 255 by the value of data; When O (x, when value y) is less than 0, is set to 0 by the value of data, it may be assumed that
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510956310.5A CN105631814A (en) | 2015-12-18 | 2015-12-18 | Low pass filtering-based length exposure wide dynamic feathering fusion method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510956310.5A CN105631814A (en) | 2015-12-18 | 2015-12-18 | Low pass filtering-based length exposure wide dynamic feathering fusion method |
Publications (1)
Publication Number | Publication Date |
---|---|
CN105631814A true CN105631814A (en) | 2016-06-01 |
Family
ID=56046702
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510956310.5A Pending CN105631814A (en) | 2015-12-18 | 2015-12-18 | Low pass filtering-based length exposure wide dynamic feathering fusion method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105631814A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111045609A (en) * | 2018-10-13 | 2020-04-21 | 森大(深圳)技术有限公司 | Ink jet printing method, device, equipment and storage medium |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104899845A (en) * | 2015-05-10 | 2015-09-09 | 北京工业大学 | Method for fusing multiple exposure images based on 1 alphabeta space scene migration |
WO2015184408A1 (en) * | 2014-05-30 | 2015-12-03 | Apple Inc. | Scene motion correction in fused image systems |
-
2015
- 2015-12-18 CN CN201510956310.5A patent/CN105631814A/en active Pending
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2015184408A1 (en) * | 2014-05-30 | 2015-12-03 | Apple Inc. | Scene motion correction in fused image systems |
CN104899845A (en) * | 2015-05-10 | 2015-09-09 | 北京工业大学 | Method for fusing multiple exposure images based on 1 alphabeta space scene migration |
Non-Patent Citations (3)
Title |
---|
吴黎: "人像照片背景替换方法研究", 《中国优秀硕士学位论文全文数据库(信息科技辑)》 * |
胡燕翔 等: "大动态范围多曝光图像融合方法", 《计算机工程与应用》 * |
顾桓: "用双扫拼合技术扩大图像的动态范围", 《印刷杂志》 * |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111045609A (en) * | 2018-10-13 | 2020-04-21 | 森大(深圳)技术有限公司 | Ink jet printing method, device, equipment and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107507134B (en) | Super-resolution method based on convolutional neural network | |
US10755390B2 (en) | Image deblurring method based on light streak information in an image | |
DE102016011877A1 (en) | Dulling photos and videos using visual artifact suppression | |
CN110223251B (en) | Convolution neural network underwater image restoration method suitable for artificial and natural light sources | |
KR20120072245A (en) | Apparatus and method for stereo matching | |
CN104809709A (en) | Single-image self-adaptation defogging method based on domain transformation and weighted quadtree decomposition | |
CN103778599A (en) | Image processing method and system thereof | |
CN103606134A (en) | Enhancing method of low-light video images | |
CN105282529A (en) | RAW space based digital wide dynamic method and device | |
CN105335933A (en) | Image contrast enhancement method and apparatus | |
CN104809694A (en) | Digital image processing method and digital image processing device | |
Reddy et al. | Dynamic clipped histogram equalization technique for enhancing low contrast images | |
CN104952089B (en) | A kind of image processing method and system | |
CN104732495A (en) | Automatic-toning image processing method and system based on fuzzing | |
CN112991165B (en) | Image processing method and device | |
CN105631814A (en) | Low pass filtering-based length exposure wide dynamic feathering fusion method | |
CN103455974B (en) | Image sketching style processing method | |
CN105427270A (en) | Length exposure wide dynamic eclosion fusion method based on gauss filtering | |
CN106416341B (en) | Downlink, uplink compression method and the device of the nonstandard bandwidth of LTE system | |
Wu et al. | Low-Light image enhancement algorithm based on HSI color space | |
CN110545414B (en) | Image sharpening method | |
CN103413306B (en) | A kind of Harris angular-point detection method of adaptive threshold | |
CN110175959B (en) | Typhoon cloud picture enhancement method | |
CN105704349A (en) | Single frame width dynamic enhancing method based on individual adjustment of clear zone and dark zone | |
CN105608686A (en) | Long and short exposure wide dynamic feather blending method based on mean filtering |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20160601 |