CN110351489A - Generate the method, apparatus and mobile terminal of HDR image - Google Patents
Generate the method, apparatus and mobile terminal of HDR image Download PDFInfo
- Publication number
- CN110351489A CN110351489A CN201810301810.9A CN201810301810A CN110351489A CN 110351489 A CN110351489 A CN 110351489A CN 201810301810 A CN201810301810 A CN 201810301810A CN 110351489 A CN110351489 A CN 110351489A
- Authority
- CN
- China
- Prior art keywords
- pixel
- fused
- image
- channel
- same position
- 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
- 238000000034 method Methods 0.000 title claims abstract description 32
- 230000004927 fusion Effects 0.000 claims abstract description 47
- 108010001267 Protein Subunits Proteins 0.000 claims description 2
- PCHJSUWPFVWCPO-UHFFFAOYSA-N gold Chemical compound [Au] PCHJSUWPFVWCPO-UHFFFAOYSA-N 0.000 claims 3
- 239000010931 gold Substances 0.000 claims 3
- 229910052737 gold Inorganic materials 0.000 claims 3
- 238000004364 calculation method Methods 0.000 abstract description 5
- 238000010586 diagram Methods 0.000 description 6
- 238000004422 calculation algorithm Methods 0.000 description 4
- 238000003384 imaging method Methods 0.000 description 3
- 230000033001 locomotion Effects 0.000 description 3
- 238000006073 displacement reaction Methods 0.000 description 2
- 238000007499 fusion processing Methods 0.000 description 2
- 230000010354 integration Effects 0.000 description 2
- 238000004519 manufacturing process Methods 0.000 description 2
- 238000004590 computer program Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000011156 evaluation Methods 0.000 description 1
- 230000006870 function Effects 0.000 description 1
- 230000005484 gravity Effects 0.000 description 1
- 238000007500 overflow downdraw method Methods 0.000 description 1
- 238000005070 sampling Methods 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
- 230000000007 visual effect Effects 0.000 description 1
Classifications
-
- 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
-
- G06T5/90—
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T7/00—Image analysis
- G06T7/90—Determination of colour characteristics
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N23/00—Cameras or camera modules comprising electronic image sensors; Control thereof
- H04N23/70—Circuitry for compensating brightness variation in the scene
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N23/00—Cameras or camera modules comprising electronic image sensors; Control thereof
- H04N23/70—Circuitry for compensating brightness variation in the scene
- H04N23/741—Circuitry for compensating brightness variation in the scene by increasing the dynamic range of the image compared to the dynamic range of the electronic image sensors
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N5/00—Details of television systems
- H04N5/222—Studio circuitry; Studio devices; Studio equipment
- H04N5/262—Studio circuits, e.g. for mixing, switching-over, change of character of image, other special effects ; Cameras specially adapted for the electronic generation of special effects
- H04N5/265—Mixing
-
- 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/20016—Hierarchical, coarse-to-fine, multiscale or multiresolution image processing; Pyramid transform
Abstract
The present invention provides a kind of method, apparatus and mobile terminal for generating HDR image.The described method includes: receiving two frame LDR images, including a frame short exposed images and a frame length exposure image, it is aligned the two frames LDR image;The luminance channel of two frame LDR images after alignment is extracted respectively, and fusion treatment is carried out to luminance channel, obtains fused luminance channel;The Color Channel of two frame LDR images after alignment is extracted respectively, and fusion treatment is carried out to Color Channel, obtains fused Color Channel;According to fused luminance channel and fused Color Channel, HDR image is constructed.The present invention can reduce calculation amount of the HDR image in generating process, be simple and efficient.
Description
Technical field
The present invention relates to technical field of image processing more particularly to a kind of method, apparatus for generating HDR image and movements eventually
End.
Background technique
High dynamic range (high dynamic range, HDR) imaging technique is capable of providing more brightness and detailed information,
One of most important function of mobile imaging equipment, and the important indicator of evaluation and test picture pick-up device performance are become.Due to manufacture
The dynamic range of the limitation of technique, imaging sensor covering is much smaller than human eye, and comparatively, acquired image is low dynamic model
Enclose (low dynamic range, LDR) image.It is traditional in order to obtain the HDR image that can be received close to human eye as far as possible
Method is after obtaining a series of different LDR images exposed, to generate HDR image by the method for multiframe fusion.In reality
In, due to mobile phone shaking etc., there are interframe displacements for collected multiframe LDR image, so needing first to multiframe
LDR image carries out alignment operation.Multiframe LDR image is aligned and then merges to multiframe LDR image, obtains final HDR
Image.
In the implementation of the present invention, inventor's discovery at least has the following technical problems in the prior art:
For existing multiframe fusion method in fusion process, the frame number of processing is more, and committed memory space is more, calculation amount
It is bigger, and if there are local motions in frame sequence, frame number is more, and the result ghost image situation after merging is more serious, seriously
Influence user experience.
Summary of the invention
The method, apparatus and mobile terminal provided by the invention for generating HDR image, can reduce HDR image and generate
Calculation amount in journey, is simple and efficient.
In a first aspect, the present invention provides a kind of method for generating HDR image, comprising:
Two frame LDR images, including a frame short exposed images and a frame length exposure image are received, the two frames LDR figure is aligned
Picture;
The luminance channel of two frame LDR images after alignment is extracted respectively, and fusion treatment is carried out to luminance channel, is melted
Luminance channel after conjunction;
The Color Channel of two frame LDR images after alignment is extracted respectively, and fusion treatment is carried out to Color Channel, is melted
Color Channel after conjunction;
According to fused luminance channel and fused Color Channel, HDR image is constructed.
Optionally, the luminance channel for extracting two frame LDR images after alignment respectively, and luminance channel is merged
Processing, obtaining fused luminance channel includes:
The luminance channel for extracting two frame LDR images after alignment respectively, it is corresponding high to generate the two frames LDR image
This pyramid and laplacian pyramid;
Fusion treatment successively is carried out to the laplacian pyramid of the two frames LDR image, obtains fused drawing pula
This pyramid;
Successively rebuild the fused laplacian pyramid;
The bottom image of laplacian pyramid after output reconstruction, obtains fused luminance channel.
Optionally, the pixel value of the pixel of each position of each layer of the fused laplacian pyramid passes through
Following methods obtain:
When the pixel of wherein one layer of a position for the gaussian pyramid of the long exposure image is overexposure luminous point,
The identical layer of the fused laplacian pyramid and the pixel value of the pixel of same position are as follows: the short exposed images
Laplacian pyramid identical layer and the pixel value of the pixel of same position and the long exposure image Laplce
The weighted average of the pixel value of pyramidal identical layer and the pixel of same position, wherein the drawing of the short exposed images
The pixel value of this pyramidal identical layer of pula and the pixel of same position uses biggish weight, the long exposure image
The pixel value of the pixel of the identical layer and same position of laplacian pyramid uses lesser weight;
When the pixel of wherein one layer of a position for the gaussian pyramid of the long exposure image is non-overexposure luminous point
When, the identical layer of the fused laplacian pyramid and the pixel value of the pixel of same position are as follows: the long exposure
The pixel value of the pixel of the identical layer and same position of the laplacian pyramid of image.
Optionally, pixel value weight use intermediate value for 100 Gaussian curve.
Optionally, the value of the fused Color Channel at various locations is obtained by following methods:
It is described fused when pixel of the luminance channel of the long exposure image a position is overexposure luminous point
Value of the Color Channel in same position are as follows: value of the Color Channel of the short exposed images in same position;
When pixel of the luminance channel of the long exposure image a position is non-overexposure luminous point, after the fusion
Color Channel same position value are as follows: value of the Color Channel of the long exposure image in same position.
Second aspect, the present invention provide a kind of device for generating HDR image, comprising:
Alignment module, for receiving two frame LDR images, including a frame short exposed images and a frame length exposure image, alignment
The two frames LDR image;
Luminance channel Fusion Module, for extracting the luminance channel of two frame LDR images after being aligned respectively, and it is logical to brightness
Road carries out fusion treatment, obtains fused luminance channel;
Color Channel Fusion Module, for extracting the Color Channel of two frame LDR images after being aligned respectively, and it is logical to color
Road carries out fusion treatment, obtains fused Color Channel;
Constructing module, for constructing HDR image according to fused luminance channel and fused Color Channel.
Optionally, the luminance channel Fusion Module includes:
Pyramid generation unit generates two frame for extracting the luminance channel of two frame LDR images after being aligned respectively
The corresponding gaussian pyramid of LDR image and laplacian pyramid;
Fusion treatment unit carries out fusion treatment for the laplacian pyramid successively to the two frames LDR image, obtains
To fused laplacian pyramid;
Reconstruction unit, for successively rebuilding the fused laplacian pyramid;
Output unit obtains fused bright for exporting the bottom image of the laplacian pyramid after rebuilding
Spend channel.
Optionally, the fusion treatment unit includes:
Judgment sub-unit, the pixel of each position of each layer of the gaussian pyramid for judging the long exposure image
It whether is overexposure luminous point;
Assignment subunit, the pixel of wherein one layer of the position for the gaussian pyramid when the long exposure image
When point is overexposure luminous point, by the identical layer of the fused laplacian pyramid and the pixel value of the pixel of same position
Assignment are as follows: the pixel value of the pixel of the identical layer and same position of the laplacian pyramid of the short exposed images and described
The weighted average of the pixel value of the pixel of the identical layer and same position of the laplacian pyramid of long exposure image,
In, the pixel value of the pixel of the identical layer and same position of the laplacian pyramid of the short exposed images uses biggish
The pixel value use of weight, the identical layer and the pixel of same position of the laplacian pyramid of the long exposure image is smaller
Weight;It is also used to when the pixel of wherein one layer of a position for the gaussian pyramid of the long exposure image be non-overexposure
When luminous point, by the pixel value assignment of the identical layer of the fused laplacian pyramid and the pixel of same position are as follows:
The identical layer of the laplacian pyramid of the long exposure image and the pixel value of the pixel of same position.
Optionally, the pixel value weight that the assignment subunit is used use intermediate value for 100 Gaussian curve.
Optionally, the Color Channel Fusion Module includes:
Judging unit, for judging whether the pixel of the luminance channel of the long exposure image at various locations is overexposure
Luminous point;
Assignment unit, the pixel for the luminance channel when the long exposure image a position is overexposure luminous point
When, by the fused Color Channel same position value assignment are as follows: the Color Channel of the short exposed images is identical
The value of position;It is also used to when the luminance channel of the long exposure image is when the pixel of a position is non-overexposure luminous point, it will
Value assignment of the fused Color Channel in same position are as follows: the Color Channel of the long exposure image is in same position
Value.
The third aspect, the present invention provide a kind of mobile terminal, and the mobile terminal includes the dress of above-mentioned generation HDR image
It sets.
The method, apparatus and mobile terminal provided by the invention for generating HDR image, is used only two frame LDR images as defeated
Enter, including a frame short exposed images and a frame length exposure image, exports as a frame HDR image, in image alignment, fusing stage,
Memory headroom can be saved, calculation amount is reduced, improves efficiency of algorithm, reduces the processing time, simultaneously as the frame number of input only has
Two frames also reduce the influence of error caused by interframe displacement difference.It, can be with effective solution additionally by integration region is reasonably selected
Interframe local motion problem promotes user experience to enhance the visual effect of algorithm.Present invention is particularly suitable for memory sources
It is limited, focus on the mobile terminal of user experience.
Detailed description of the invention
Fig. 1 is the flow diagram of one embodiment of the method for generation HDR image of the invention;
Fig. 2 is the flow diagram of another embodiment of the method for generation HDR image of the invention;
Fig. 3 is the structural schematic diagram of one embodiment of the device of generation HDR image of the invention;
Fig. 4 is the structural schematic diagram of luminance channel Fusion Module in Fig. 3;
Fig. 5 is the structural schematic diagram of fusion treatment unit in Fig. 4;
Fig. 6 is the structural schematic diagram of Color Channel Fusion Module in Fig. 3.
Specific embodiment
In order to make the object, technical scheme and advantages of the embodiment of the invention clearer, below in conjunction with the embodiment of the present invention
In attached drawing, technical scheme in the embodiment of the invention is clearly and completely described, it is clear that described embodiment is only
It is only a part of the embodiment of the present invention, instead of all the embodiments.Based on the embodiments of the present invention, ordinary skill
Personnel's every other embodiment obtained without making creative work, shall fall within the protection scope of the present invention.
The embodiment of the present invention provides a kind of method for generating HDR image, as shown in Figure 1, which comprises
S11, two frame LDR images, including a frame short exposed images and a frame length exposure image, alignment two frame LDR figure are received
Picture;
S12, the luminance channel for extracting two frame LDR images after alignment respectively, and fusion treatment is carried out to luminance channel, it obtains
To fused luminance channel;
S13, the Color Channel for extracting two frame LDR images after alignment respectively, and fusion treatment is carried out to Color Channel, it obtains
To fused Color Channel;
S14, according to fused luminance channel and fused Color Channel, construct HDR image.
Specifically, in reference Fig. 2, step S11, two frame LDR images, including a frame short exposed images I are inputted0With a frame length
Exposure image I1If normal exposure image EV=0, then short exposed images EV=-1, long exposure image EV=+1.Calculate separately I0
And I1Luminance channel L0And L1, down-sampling then is carried out to it, respectively obtains I0And I1Image pyramid P0And P1.In image
Pyramid P0And P1Each layer carry out intermediate value binaryzation first, then start with least square error from top and successively calculate
Interframe offset, obtained after the bottom two field pictures global offset amount (Δ x, Δ y), using global offset amount (Δ x,
Δ y) is aligned two frame input picture I0And I1, after being alignedWith
In step S12, extract respectivelyWithLuminance channelWithGenerate corresponding gaussian pyramid
WithAnd laplacian pyramidWithThen successively to two field picturesWithLaplacian pyramidWithFusion treatment is carried out, fused laplacian pyramid P is obtained.
To handle laplacian pyramidWithN-th layer, and then for obtaining the n-th layer of P, when handling the layer
Some position (x1, y1) pixel when, first determine whether long exposure imageGaussian pyramid n-th layer image
Whether the pixel in the position (x1, y1) is that overexposure luminous point (by taking 8bit image as an example, can define the point of pixel brightness value > 240
For overexposure luminous point).
If the pixel is overexposure luminous point, the short exposed images of big specific gravity are usedLaplacian pyramid
N-layer imageIn the pixel value p of the pixel of the position (x1, y1)0With the long exposure image of small specific gravityLaplce
Pyramidal n-th layer imageIn the pixel value p of the pixel of the position (x1, y1)1It is weighted and averaged, will be weighted and averaged
Value is assigned to output point p (x1, y1), wherein pixel value weight can use intermediate value for 100 Gaussian curve.
If the pixel is non-overexposure luminous point, without weighted average, directly by p1Value be assigned to output point p
(x1, y1).
Using same method successively to the laplacian pyramid of two field picturesWithFusion treatment is carried out, is obtained
Fused laplacian pyramid P.
Finally, rebuilding since top to laplacian pyramid P, the laplacian pyramid P ' after rebuilding is most
Bottom layer image L is the luminance channel of HDR image, the bottom image L of the laplacian pyramid P ' after output reconstruction.
In step S13, extract respectivelyWithColor ChannelWithDifferent from luminance channel, Color Channel is not
It needs to make gaussian pyramid and laplacian pyramid.In fusion process, when the point that handle some position (x2, y2)
When, first determine whether long exposure imageLuminance channelWhether the pixel at coordinate (x2, y2) is overexposure luminous point, if
It is overexposure luminous point, then exports C (p) equal to short exposed imagesValue of the Color Channel at coordinate (x2, y2)If
It is non-overexposure luminous point, then exports C (p) equal to long exposure imageValue of the Color Channel at coordinate (x2, y2)
The fusion results C of the fusion results L of luminance channel and Color Channel are combined, final HDR image is obtained.
Two frame LDR images are used only as input, including one in the method provided in an embodiment of the present invention for generating HDR image
Frame short exposed images and a frame length exposure image, exporting can save big for a frame HDR image in image alignment, fusing stage
The memory headroom of amount reduces calculation amount, improves efficiency of algorithm, reduces the time that whole flow process expends, being more applicable for resource has
Limit, focuses on the mobile terminal of user experience.In addition, the present invention is inputted using two frames, alignment is reduced to greatest extent and is melted
The difficulty in conjunction stage, and the integration region by reasonably selecting two frames, for daily use, it is possible to prevente effectively from the production of ghost image
It is raw, it compared to complicated deghost algorithm, was both simple and efficient, effect is again good, and then substantially improves soft on the mobile terminals such as mobile phone
The user experience of part multiframe HDR scheme.
The embodiment of the present invention also provides a kind of device for generating HDR image, as shown in figure 3, described device includes:
Alignment module 31 is right for receiving two frame LDR images, including a frame short exposed images and a frame length exposure image
Neat two frames LDR image;
Luminance channel Fusion Module 32, for extracting the luminance channel of two frame LDR images after being aligned respectively, and to brightness
Channel carries out fusion treatment, obtains fused luminance channel;
Color Channel Fusion Module 33, for extracting the Color Channel of two frame LDR images after being aligned respectively, and to color
Channel carries out fusion treatment, obtains fused Color Channel;
Constructing module 34, for constructing HDR image according to fused luminance channel and fused Color Channel.
Optionally, as shown in figure 4, luminance channel Fusion Module 32 includes:
Pyramid generation unit 321 generates two frames for extracting the luminance channel of two frame LDR images after being aligned respectively
The corresponding gaussian pyramid of LDR image and laplacian pyramid;
Fusion treatment unit 322 carries out fusion treatment for the laplacian pyramid successively to two frame LDR images, obtains
To fused laplacian pyramid;
Reconstruction unit 323, for successively rebuilding fused laplacian pyramid;
Output unit 324 obtains fused for exporting the bottom image of the laplacian pyramid after rebuilding
Luminance channel.
Further, as shown in figure 5, fusion treatment unit 322 includes:
Judgment sub-unit 3221, the pixel of each position of each layer of the gaussian pyramid for judging long exposure image
It whether is overexposure luminous point;
Assignment subunit 3222, the pixel of wherein one layer of the position for the gaussian pyramid when long exposure image
When point is overexposure luminous point, by the pixel value assignment of the identical layer of fused laplacian pyramid and the pixel of same position
Are as follows: the pixel value of the pixel of the identical layer and same position of the laplacian pyramid of short exposed images and long exposure image
The weighted average of the pixel value of the pixel of the identical layer and same position of laplacian pyramid, wherein short exposed images
Laplacian pyramid identical layer and the pixel of same position pixel value use biggish weighted value, long exposure image
Laplacian pyramid identical layer and the pixel of same position pixel value use lesser weighted value;It is also used to when length
It is when the pixel of wherein one layer of a position for the gaussian pyramid of exposure image is non-overexposure luminous point, fused drawing is general
The pixel value assignment of the pyramidal identical layer in Lars and the pixel of same position are as follows: the laplacian pyramid of long exposure image
Identical layer and the pixel of same position pixel value.Wherein, pixel value weight use intermediate value for 100 Gaussian curve.
Optionally, as shown in fig. 6, Color Channel Fusion Module 33 includes:
Judging unit 331, for judging whether the pixel of the luminance channel of long exposure image at various locations is overexposure
Luminous point;
Assignment unit 332, for when pixel of the luminance channel of long exposure image a position is overexposure luminous point,
By fused Color Channel same position value assignment are as follows: value of the Color Channel of short exposed images in same position;Also
For when pixel of the luminance channel of long exposure image a position is non-overexposure luminous point, by fused Color Channel
In the value assignment of same position are as follows: value of the Color Channel of long exposure image in same position.
The embodiment of the present invention also provides a kind of mobile terminal, and the mobile terminal includes the device of above-mentioned generation HDR image.
Those of ordinary skill in the art will appreciate that realizing all or part of the process in above-described embodiment method, being can be with
Relevant hardware is instructed to complete by computer program, the program can be stored in a computer-readable storage medium
In, the program is when being executed, it may include such as the process of the embodiment of above-mentioned each method.Wherein, the storage medium can be magnetic
Dish, CD, read-only memory (Read-Only Memory, ROM) or random access memory (Random Access
Memory, RAM) etc..
The above description is merely a specific embodiment, but scope of protection of the present invention is not limited thereto, any
In the technical scope disclosed by the present invention, any changes or substitutions that can be easily thought of by those familiar with the art, all answers
It is included within the scope of the present invention.Therefore, protection scope of the present invention should be subject to the protection scope in claims.
Claims (11)
1. a kind of method for generating HDR image characterized by comprising
Two frame LDR images, including a frame short exposed images and a frame length exposure image are received, the two frames LDR image is aligned;
The luminance channel of two frame LDR images after alignment is extracted respectively, and fusion treatment is carried out to luminance channel, after obtaining fusion
Luminance channel;
The Color Channel of two frame LDR images after alignment is extracted respectively, and fusion treatment is carried out to Color Channel, after obtaining fusion
Color Channel;
According to fused luminance channel and fused Color Channel, HDR image is constructed.
2. the method according to claim 1, wherein described extract the bright of two frame LDR images after alignment respectively
Channel is spent, and fusion treatment is carried out to luminance channel, obtaining fused luminance channel includes:
The luminance channel for extracting two frame LDR images after alignment respectively generates the corresponding Gauss gold of the two frames LDR image
Word tower and laplacian pyramid;
Fusion treatment successively is carried out to the laplacian pyramid of the two frames LDR image, obtains fused Laplce's gold
Word tower;
Successively rebuild the fused laplacian pyramid;
The bottom image of laplacian pyramid after output reconstruction, obtains fused luminance channel.
3. according to the method described in claim 2, it is characterized in that, each layer of the fused laplacian pyramid it is each
The pixel value of the pixel of a position is obtained by following methods:
It is described when the pixel of wherein one layer of a position for the gaussian pyramid of the long exposure image is overexposure luminous point
The pixel value of the pixel of the identical layer and same position of fused laplacian pyramid are as follows: the drawing of the short exposed images
Laplce's gold word of this pyramidal identical layer of pula and the pixel value of the pixel of same position and the long exposure image
The weighted average of the pixel value of the pixel of the identical layer and same position of tower, wherein the La Pula of the short exposed images
The pixel value of this pyramidal identical layer and the pixel of same position uses biggish weight, the La Pu of the long exposure image
The pixel value of the pyramidal identical layer in Lars and the pixel of same position uses lesser weight;
When the pixel of wherein one layer of a position for the gaussian pyramid of the long exposure image is non-overexposure luminous point, institute
State the pixel value of the identical layer of fused laplacian pyramid and the pixel of same position are as follows: the long exposure image
The pixel value of the pixel of the identical layer and same position of laplacian pyramid.
4. according to the method described in claim 3, it is characterized in that, pixel value weight use intermediate value for 100 Gaussian curve.
5. the method according to claim 1, wherein the value of the fused Color Channel at various locations is logical
Following methods are crossed to obtain:
When pixel of the luminance channel of the long exposure image a position is overexposure luminous point, the fused color
Value of the channel in same position are as follows: value of the Color Channel of the short exposed images in same position;
When pixel of the luminance channel of the long exposure image a position is non-overexposure luminous point, the fused face
Value of the chrominance channel in same position are as follows: value of the Color Channel of the long exposure image in same position.
6. a kind of device for generating HDR image characterized by comprising
Alignment module, for receiving two frame LDR images, including a frame short exposed images and a frame length exposure image, described in alignment
Two frame LDR images;
Luminance channel Fusion Module, for extract respectively alignment after two frame LDR images luminance channel, and to luminance channel into
Row fusion treatment obtains fused luminance channel;
Color Channel Fusion Module, for extract respectively alignment after two frame LDR images Color Channel, and to Color Channel into
Row fusion treatment obtains fused Color Channel;
Constructing module, for constructing HDR image according to fused luminance channel and fused Color Channel.
7. device according to claim 6, which is characterized in that the luminance channel Fusion Module includes:
Pyramid generation unit generates the two frames LDR for extracting the luminance channel of two frame LDR images after being aligned respectively
The corresponding gaussian pyramid of image and laplacian pyramid;
Fusion treatment unit carries out fusion treatment for the laplacian pyramid successively to the two frames LDR image, is melted
Laplacian pyramid after conjunction;
Reconstruction unit, for successively rebuilding the fused laplacian pyramid;
It is logical to obtain fused brightness for exporting the bottom image of the laplacian pyramid after rebuilding for output unit
Road.
8. device according to claim 7, which is characterized in that the fusion treatment unit includes:
Judgment sub-unit, whether the pixel of each position of each layer of the gaussian pyramid for judging the long exposure image
For overexposure luminous point;
Assignment subunit, the pixel of wherein one layer of a position for the gaussian pyramid when the long exposure image are
When overexposure luminous point, by the pixel value assignment of the identical layer of the fused laplacian pyramid and the pixel of same position
Are as follows: the pixel value of the pixel of the identical layer and same position of the laplacian pyramid of the short exposed images and the long exposure
The weighted average of the pixel value of the pixel of the identical layer and same position of the laplacian pyramid of light image, wherein institute
The pixel value for stating the identical layer of the laplacian pyramid of short exposed images and the pixel of same position uses biggish weight,
The pixel value of the identical layer of the laplacian pyramid of the long exposure image and the pixel of same position uses lesser power
Weight;It is also used to when the pixel of wherein one layer of a position for the gaussian pyramid of the long exposure image be non-overexposure luminous point
When, by the pixel value assignment of the identical layer of the fused laplacian pyramid and the pixel of same position are as follows: described
The pixel value of the pixel of the identical layer and same position of the laplacian pyramid of long exposure image.
9. device according to claim 8, which is characterized in that during the pixel value weight that the assignment subunit is used uses
The Gaussian curve that value is 100.
10. device according to claim 6, which is characterized in that the Color Channel Fusion Module includes:
Judging unit, for judging whether the pixel of the luminance channel of the long exposure image at various locations is overexposure
Point;
Assignment unit, for inciting somebody to action when pixel of the luminance channel of the long exposure image a position is overexposure luminous point
Value assignment of the fused Color Channel in same position are as follows: the Color Channel of the short exposed images is in same position
Value;It is also used to melt described when the luminance channel of the long exposure image is when the pixel of a position is non-overexposure luminous point
The value assignment of Color Channel after conjunction in same position are as follows: value of the Color Channel of the long exposure image in same position.
11. a kind of mobile terminal, which is characterized in that the mobile terminal includes as described in any one of claim 6 to 10
Generate the device of HDR image.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810301810.9A CN110351489B (en) | 2018-04-04 | 2018-04-04 | Method and device for generating HDR image and mobile terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810301810.9A CN110351489B (en) | 2018-04-04 | 2018-04-04 | Method and device for generating HDR image and mobile terminal |
Publications (2)
Publication Number | Publication Date |
---|---|
CN110351489A true CN110351489A (en) | 2019-10-18 |
CN110351489B CN110351489B (en) | 2021-04-23 |
Family
ID=68172757
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810301810.9A Active CN110351489B (en) | 2018-04-04 | 2018-04-04 | Method and device for generating HDR image and mobile terminal |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110351489B (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112528944A (en) * | 2020-12-23 | 2021-03-19 | 杭州海康汽车软件有限公司 | Image identification method and device, electronic equipment and storage medium |
WO2023077938A1 (en) * | 2021-11-05 | 2023-05-11 | 荣耀终端有限公司 | Video frame generation method and apparatus, electronic device, and storage medium |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20090169102A1 (en) * | 2007-11-29 | 2009-07-02 | Chao Zhang | Multi-scale multi-camera adaptive fusion with contrast normalization |
CN104301636A (en) * | 2014-10-30 | 2015-01-21 | 西安电子科技大学 | Low-complexity and high-efficiency synthesis method for high-dynamic digital image |
CN106204513A (en) * | 2016-08-15 | 2016-12-07 | 厦门美图之家科技有限公司 | The methods, devices and systems of image procossing |
US20170148165A1 (en) * | 2014-02-05 | 2017-05-25 | Casio Computer Co., Ltd. | Medical skin examination device |
CN106920221A (en) * | 2017-03-10 | 2017-07-04 | 重庆邮电大学 | Take into account the exposure fusion method that Luminance Distribution and details are presented |
-
2018
- 2018-04-04 CN CN201810301810.9A patent/CN110351489B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20090169102A1 (en) * | 2007-11-29 | 2009-07-02 | Chao Zhang | Multi-scale multi-camera adaptive fusion with contrast normalization |
US20170148165A1 (en) * | 2014-02-05 | 2017-05-25 | Casio Computer Co., Ltd. | Medical skin examination device |
CN104301636A (en) * | 2014-10-30 | 2015-01-21 | 西安电子科技大学 | Low-complexity and high-efficiency synthesis method for high-dynamic digital image |
CN106204513A (en) * | 2016-08-15 | 2016-12-07 | 厦门美图之家科技有限公司 | The methods, devices and systems of image procossing |
CN106920221A (en) * | 2017-03-10 | 2017-07-04 | 重庆邮电大学 | Take into account the exposure fusion method that Luminance Distribution and details are presented |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112528944A (en) * | 2020-12-23 | 2021-03-19 | 杭州海康汽车软件有限公司 | Image identification method and device, electronic equipment and storage medium |
WO2023077938A1 (en) * | 2021-11-05 | 2023-05-11 | 荣耀终端有限公司 | Video frame generation method and apparatus, electronic device, and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN110351489B (en) | 2021-04-23 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
TWI728465B (en) | Method, device and electronic apparatus for image processing and storage medium thereof | |
CN109671023B (en) | Face image super-resolution secondary reconstruction method | |
CN112543317B (en) | Method for converting high-resolution monocular 2D video into binocular 3D video | |
CN105872393A (en) | High dynamic range image generation method and device | |
CN110798627B (en) | Shooting method, shooting device, storage medium and terminal | |
CN105247567B (en) | A kind of image focusing device, method, system and non-transient program storage device again | |
CN108198161A (en) | A kind of fusion method, device and the equipment of dual camera image | |
CN105989574A (en) | Image processing device and image field-depth processing method | |
CN111047709A (en) | Binocular vision naked eye 3D image generation method | |
CN103679767A (en) | Image generation apparatus and image generation method | |
CN106200881A (en) | A kind of method for exhibiting data and device and virtual reality device | |
CN110351489A (en) | Generate the method, apparatus and mobile terminal of HDR image | |
CN110443766A (en) | Image processing method, device, electronic equipment and readable storage medium storing program for executing | |
CN111612722A (en) | Low-illumination image processing method based on simplified Unet full-convolution neural network | |
WO2023202200A1 (en) | Method for reconstructing hdr images, terminal, and electronic device | |
CN106875371A (en) | Image interfusion method and image fusion device based on Bayer format | |
WO2021128593A1 (en) | Facial image processing method, apparatus, and system | |
CN113962859A (en) | Panorama generation method, device, equipment and medium | |
CN105791793A (en) | Image processing method and electronic device | |
CN106157305A (en) | High-dynamics image rapid generation based on local characteristics | |
CN117274107B (en) | End-to-end color and detail enhancement method, device and equipment under low-illumination scene | |
CN208424534U (en) | The cartridge assemblies and imager of imager | |
CN108282616A (en) | Processing method, device, storage medium and the electronic equipment of image | |
CN105893578A (en) | Method and device for selecting photos | |
CN111696034A (en) | Image processing method and device and electronic equipment |
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 |