CN109698910A - The generation method and device of high dynamic range photo, electronic equipment, storage medium - Google Patents
The generation method and device of high dynamic range photo, electronic equipment, storage medium Download PDFInfo
- Publication number
- CN109698910A CN109698910A CN201710996008.1A CN201710996008A CN109698910A CN 109698910 A CN109698910 A CN 109698910A CN 201710996008 A CN201710996008 A CN 201710996008A CN 109698910 A CN109698910 A CN 109698910A
- Authority
- CN
- China
- Prior art keywords
- picture
- dynamic range
- generation method
- high dynamic
- channel
- 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
Classifications
-
- 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
-
- 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
- H04N25/00—Circuitry of solid-state image sensors [SSIS]; Control thereof
- H04N25/50—Control of the SSIS exposure
- H04N25/57—Control of the dynamic range
- H04N25/58—Control of the dynamic range involving two or more exposures
-
- 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/20172—Image enhancement details
- G06T2207/20208—High dynamic range [HDR] image processing
Abstract
The disclosure provides the generation method and device, electronic equipment, computer readable storage medium of a kind of high dynamic range photo, is related to technical field of image processing.The generation method of the high dynamic range photo includes: the reference picture for obtaining a reference base picture and generating multiple different brightness according to the reference base picture;Camera receptance function is estimated using a preset calibrations algorithm based on reference picture described in multiple;High dynamic range photo is generated according to the camera receptance function using a default weighting algorithm.The disclosure can generate high dynamic range photo according to single picture, to promote picture quality.
Description
Technical field
This disclosure relates to the generation method and dress of technical field of image processing more particularly to a kind of high dynamic range photo
It sets, electronic equipment, computer readable storage medium.
Background technique
High dynamic range (High Dynamic Range, HDR) image composing technique is a kind of utilization computer high speed fortune
The scene image synthetic technology for generating high quality vivid effect is calculated, computer program development, medical imaging, distant is widely used in
Feel the fields such as image procossing and computer graphics.The dynamic range of HDR image is very high, and so-called dynamic range refers to that image is bright
The ratio of the maxima and minima of angle value, the scene details that dynamic range shows that more greatly image is shown is more, and visual effect is more forced
Very.Normal image stores the brightness value of a pixel using a byte i.e. space of 8 bits, so the brightness of normal image
Rank only has 256 grades, this is not able to satisfy in many occasions to the very high needs of scene detail.And HDR image is using floating
Multibyte count to store the brightness value of a pixel, therefore can comprehensively represent the high dynamic range of natural scene.
The patented technology much about HDR image generation method is had existed in the prior art, but it is required to through excessive
Secondary exposure is to obtain the pictures of different exposures, then the picture based on different exposures carries out synthesis processing and could generate HDR scheming
Picture.By taking CN200410069953.X as an example, even if the disclosure of the invention is a kind of, there are scene or camera motion, can also be from boundary
Image sequence in generate HDR image system and process.It follows that the invention needs to generate based on image sequence
HDR image.
It should be noted that information is only used for reinforcing the reason to the background of the disclosure disclosed in above-mentioned background technology part
Solution, therefore may include the information not constituted to the prior art known to persons of ordinary skill in the art.
Summary of the invention
The generation method and device, electronic equipment, calculating for being designed to provide a kind of high dynamic range photo of the disclosure
Machine readable storage medium storing program for executing, so overcome caused by the limitation and defect due to the relevant technologies at least to a certain extent one or
The multiple problems of person.
Other characteristics and advantages of the disclosure will be apparent from by the following detailed description, or partially by the disclosure
Practice and acquistion.
According to one aspect of the disclosure, a kind of generation method of high dynamic range photo is provided, comprising:
It obtains a reference base picture and generates the reference picture of multiple different brightness according to the reference base picture;
Camera receptance function is estimated using a preset calibrations algorithm based on reference picture described in multiple;
High dynamic range photo is generated according to the camera receptance function using a default weighting algorithm.
In a kind of exemplary embodiment of the disclosure, the reference that multiple different brightness are generated according to the reference base picture
Picture includes:
The reference base picture is converted into targeted colorspace by RGB color, to obtain the first intermediate picture;The mesh
Mark color space includes multiple channels, and one of channel is luminance channel;
Separate each channel of first intermediate picture, and to the pixel value of each pixel of the luminance channel multiplied by
One predetermined coefficient, to obtain a reference brightness channel;
The reference brightness channel and other channels in the multiple channel are merged, to obtain the second middle graph
Piece;
Second intermediate picture is converted into RGB color by the targeted colorspace, to obtain the reference
Picture.
In a kind of exemplary embodiment of the disclosure, the targeted colorspace is Lab color space, the Lab color
Space includes luminance channel, the first color channel and the second color channel.
In a kind of exemplary embodiment of the disclosure, the targeted colorspace is hsv color space, the hsv color
Space includes luminance channel, form and aspect channel and saturation degree channel.
In a kind of exemplary embodiment of the disclosure, the reference picture includes brightness deterioration picture and brightness enhancing simultaneously
Picture.
In a kind of exemplary embodiment of the disclosure, the predetermined coefficient is 1- σ, and the reference picture is that the brightness subtracts
Weak picture;
Wherein, 0 < σ < 1.
In a kind of exemplary embodiment of the disclosure, the predetermined coefficient is 1+ σ, and the reference picture is brightness increasing
Strong picture;
Wherein, 0 < σ < 1.
In a kind of exemplary embodiment of the disclosure, the range of the σ is 0.2~0.4.
It is described to use a preset calibrations algorithm based on multiple described reference pictures in a kind of exemplary embodiment of the disclosure
Estimate that camera receptance function includes:
The camera receptance function is estimated using Debevec calibration algorithm based on reference picture described in multiple.
It is described that letter is responded according to the camera using a default weighting algorithm in a kind of exemplary embodiment of the disclosure
Number generates high dynamic range photo
High dynamic range photo is generated according to the camera receptance function using Debevec weighting algorithm.
In a kind of exemplary embodiment of the disclosure, the generation method further include:
High dynamic range photo compression is shown as by low-dynamic range picture using tone-mapping algorithm.
According to one aspect of the disclosure, a kind of generating means of high dynamic range photo are provided, comprising:
Picture conversion module, for obtaining a reference base picture and generating the ginsengs of multiple different brightness according to the reference base picture
Examine picture;
Camera calibration module, for being rung based on multiple described reference pictures using preset calibrations algorithm estimation camera
Answer function;
Image generating module, for generating high dynamic range according to the camera receptance function using a default weighting algorithm
Enclose picture.
In a kind of exemplary embodiment of the disclosure, further includes:
Picture mapping block, for high dynamic range photo compression to be shown as low dynamic using tone-mapping algorithm
Range picture.
According to one aspect of the disclosure, a kind of electronic equipment is provided, comprising:
Processor;And
Memory, for storing the executable instruction of the processor;
Wherein, the processor is configured to execute above-mentioned high dynamic range photo via the executable instruction is executed
Generation method.
According to one aspect of the disclosure, a kind of computer readable storage medium is provided, computer program is stored thereon with,
The computer program realizes the generation method of above-mentioned high dynamic range photo when being executed by processor.
The generation method and device of high dynamic range photo provided by disclosure illustrative embodiments can be directed to individual
Picture is handled to obtain the reference picture of multiple different brightness, then simulates difference with the reference picture of multiple different brightness
The picture of light exposure, to realize the generation of HDR picture.Based on this, this example embodiment only needs a picture to produce
HDR picture, algorithm is simple, and can effectively promote picture quality.
It should be understood that above general description and following detailed description be only it is exemplary and explanatory, not
The disclosure can be limited.
Detailed description of the invention
The drawings herein are incorporated into the specification and forms part of this specification, and shows the implementation for meeting the disclosure
Example, and together with specification for explaining the principles of this disclosure.It should be evident that the accompanying drawings in the following description is only the disclosure
Some embodiments for those of ordinary skill in the art without creative efforts, can also basis
These attached drawings obtain other attached drawings.
Fig. 1 schematically shows the generation method flow chart of HDR picture in disclosure exemplary embodiment;
Fig. 2 schematically shows the generation method flow chart of reference picture in disclosure exemplary embodiment;
Fig. 3 schematically shows the generating process schematic diagram of brightness deterioration picture in disclosure exemplary embodiment;
Fig. 4 schematically shows the effect contrast figure that HDR picture in disclosure exemplary embodiment generates front and back;
Fig. 5 schematically shows the generating means schematic diagram of HDR picture in disclosure exemplary embodiment;
Fig. 6 schematically shows the schematic diagram of electronic equipment in disclosure exemplary embodiment;
Fig. 7 schematically shows the schematic diagram of program product in disclosure exemplary embodiment.
Specific embodiment
Example embodiment is described more fully with reference to the drawings.However, example embodiment can be with a variety of shapes
Formula is implemented, and is not understood as limited to example set forth herein;On the contrary, thesing embodiments are provided so that the disclosure will more
Fully and completely, and by the design of example embodiment comprehensively it is communicated to those skilled in the art.Described feature, knot
Structure or characteristic can be incorporated in any suitable manner in one or more embodiments.
In addition, attached drawing is only the schematic illustrations of the disclosure, it is not necessarily drawn to scale.Identical attached drawing mark in figure
Note indicates same or similar part, thus will omit repetition thereof.Some block diagrams shown in the drawings are function
Energy entity, not necessarily must be corresponding with physically or logically independent entity.These function can be realized using software form
Energy entity, or these functional entitys are realized in one or more hardware modules or integrated circuit, or at heterogeneous networks and/or place
These functional entitys are realized in reason device device and/or microcontroller device.
This example embodiment provides a kind of generation method of high dynamic range photo, as shown in Figure 1, the HDR picture
Generation method may include:
S1, the reference picture for obtaining a reference base picture and generating multiple different brightness according to the reference base picture;
S2, the reference picture based on multiple different brightness estimate camera receptance function using a preset calibrations algorithm;
S3, high dynamic range photo is generated according to the camera receptance function using a default weighting algorithm.
The generation method of high dynamic range photo provided by disclosure illustrative embodiments, can for single picture into
Row processing simulates different light exposures to obtain the reference picture of multiple different brightness, then with the reference picture of multiple different brightness
Picture, to realize the generation of HDR picture.Based on this, this example embodiment only needs a picture to produce HDR figure
Piece, algorithm is simple, and can effectively promote picture quality.
The generation method of high dynamic range photo provided by this example embodiment is carried out with reference to the accompanying drawing detailed
Explanation.
In step sl, it obtains a reference base picture and generates the reference picture of multiple different brightness according to the reference base picture.
In this example embodiment, the reference base picture refers to as the picture on processing basis, and it is true to can be camera
The picture obtained in fact is also possible to the picture stored in storage medium.In view of based on the picture that camera really obtains
Picture obtained from being handled has most true environmental information and optimal picture quality, therefore the present embodiment preferably uses
The picture that camera really obtains is as the reference base picture.The reference picture, which refers to, to be handled and is obtained according to reference base picture
The picture with different brightness arrived.In view of the picture quality ultimately generated, the present embodiment preferably reference picture is wrapped simultaneously
Include brightness deterioration picture and brightness enhancing picture.
In one embodiment, the generating mode of the reference picture can be with are as follows: generates the first ginseng according to reference base picture
Picture is examined, generates the second reference picture further according to the first reference picture.
In another embodiment, the generating mode of the reference picture can be with are as follows: is given birth to respectively according to reference base picture
At the first reference picture and the second reference picture.
Since the validity of reference picture is not as good as reference base picture, the present embodiment preferably generates institute by the way of the latter
There is reference picture.
In this step, as shown in Fig. 2, may include: according to the specific method that reference base picture generates reference picture
S101, reference base picture is converted into targeted colorspace by RGB color, to obtain the first intermediate picture;
S102, each channel for separating the first intermediate picture, and the pixel value of each pixel to luminance channel therein
Multiplied by a predetermined coefficient, to obtain a reference brightness channel;
S103, reference brightness channel and other channels are merged, to obtain the second intermediate picture;
S104, the second intermediate picture is converted into RGB color by targeted colorspace, to obtain reference picture.
Wherein, the targeted colorspace can be for example Lab color space or hsv color space etc., and be not limited to
This, as long as in the targeted colorspace including luminance channel.
In one embodiment, the targeted colorspace can be Lab color space, which includes
Three channels, it may be assumed that luminance channel L, the first color channel a and the second color channel b.Wherein, luminance channel L indicates the bright of pixel
Degree, value range is [0,100], for indicating from black to pure white;First color channel a indicates the model from red to green
It encloses, value range is [127, -128];Second color channel b indicate from yellow to blue range, value range be [127 ,-
128]。
In another embodiment, the targeted colorspace can be hsv color space, hsv color space packet
Include three channels, it may be assumed that form and aspect channel H, saturation degree channel S and luminance channel V.Wherein, form and aspect channel H indicates the phase of color
Angle, value range are [0,360];Saturation degree channel S indicates that the saturation degree of color, i.e., the purity and the color of selected color are maximum
Ratio between purity, value range are [0,1];Luminance channel V indicates the light levels of color, and value range is [0,1].
It should be understood that since Lab color space has the advantages that colour gamut is broad, but also can overcome the disadvantages that rgb color mould
The deficiency of COLOR COMPOSITION THROUGH DISTRIBUTION unevenness in type, therefore the present embodiment preferably uses Lab color space as targeted colorspace.
By taking the brightness for reducing picture as an example, refering to what is shown in Fig. 3, as follows according to the process that reference base picture generates reference picture:
S111, the reference base picture I of input is converted into Lab color space by RGB color, to obtain the first middle graph
Piece;
S112, three channels for separating the first intermediate picture, and to luminance channel I thereinLCarry out subsequent processing;
S113, luminance channel I is recycledLEach pixel, and by the pixel value of each pixel multiplied by predetermined coefficient
1- σ (0 < σ < 1), to obtain reference brightness channel IL';
S114, by reference brightness channel IL' and other two unconverted channels i.e. the first color channel a and the second color
Channel b is merged, to obtain the second intermediate picture;
S115, by the second intermediate picture by Lab color space conversion be RGB color, thus obtain brightness reduction
Reference picture ILow。
Similarly, when improving the brightness of picture, it is only necessary to above-mentioned predetermined coefficient are changed to 1+ σ, other processes are constant
Obtain the raised reference picture I of brightnessHigh。
Wherein, the σ in the predetermined coefficient is preferably provided between 0.2~0.4.Proved by repetition test, when σ=
Picture generated has optimal effect when 0.3.
Based on above-mentioned steps it is found that different brightness can be obtained according to reference base picture by setting different predetermined coefficients
Reference picture, the reference picture may include brightness deterioration picture and brightness enhancing picture.So, using reference map
Piece, brightness deterioration picture and brightness enhancing picture can simulate the different exposure values of picture, to provide to generate HDR picture
Basis.Certainly, it participates in generating the reference picture of HDR picture in the present embodiment only including brightness deterioration picture, or only
Enhance picture including brightness, but its picture quality generated is not so good as while being given birth to using brightness deterioration picture and brightness enhancing picture
At picture quality, therefore the present embodiment preferably uses the former schemes generation HDR picture.
In step s 2, the reference picture based on multiple different brightness is using preset calibrations algorithm estimation camera response
Function.
Wherein, the preset calibrations algorithm can be Debevec calibration algorithm.In this example embodiment, the camera shooting
Head receptance function (Camera Response Function, CRF) is for describing between image data and actual scene illumination
Mapping relations.The present embodiment can calibrate camera using the picture of the pictorial simulation difference exposure of multiple different brightness
Receptance function, so that the illumination of actual scene is recovered, in order to finally obtain HDR picture.
In step s3, high dynamic range photo is generated according to the camera receptance function using a default weighting algorithm.
Wherein, the default weighting algorithm can be Debevec weighting algorithm.In this example embodiment, according to upper one
The camera receptance function that step generates produces HDR picture using Debevec weighting algorithm.
HDR picture is produced based on above-mentioned steps S1-S3.On this basis, this example embodiment can also use
HDR generated is schemed in the methods of tone mapping (Tone-mapping) algorithm, bilateral filtering and gamma (gamma) correction
Piece compression is shown as low-dynamic range (Low Dynamic Range, LDR) picture, to reach the effect for improving LDR picture quality
Fruit, improvement is as shown in Figure 4.
This example embodiment provides a kind of generating means of high dynamic range photo, as shown in figure 5, the HDR picture
Generating means may include:
Picture conversion module 10, for obtaining a reference base picture and generating the ginsengs of multiple different brightness according to the reference base picture
Examine picture;
Camera calibration module 20 is estimated for the reference picture based on multiple different brightness using a preset calibrations algorithm
Camera receptance function;
Image generating module 30, for generating high dynamic range according to the camera receptance function using a default weighting algorithm
Enclose picture.
The generating means of high dynamic range photo provided by disclosure illustrative embodiments, can for single picture into
Row processing simulates different light exposures to obtain the reference picture of multiple different brightness, then with the reference picture of multiple different brightness
Picture, to realize the generation of HDR picture.Based on this, this example embodiment only needs a picture to produce HDR figure
Piece, algorithm is simple, and can effectively promote picture quality.
Further, refering to what is shown in Fig. 5, the generating means of the HDR picture can also include:
Picture mapping block 40, for using tone mapping (Tone-mapping) algorithm, bilateral filtering and gamma
(gamma) HDR picture compression is shown as LDR picture by correction, to achieve the effect that improve LDR picture quality.
It should be understood that the detail of the modules unit of the HDR photograph creation device is corresponding
It is described in detail in HDR Picture Generation Method, which is not described herein again.
It should be noted that although being referred to several modules or list for acting the equipment executed in the above detailed description
Member, but this division is not enforceable.In fact, according to embodiment of the present disclosure, it is above-described two or more
Module or the feature and function of unit can embody in a module or unit.Conversely, an above-described mould
The feature and function of block or unit can be to be embodied by multiple modules or unit with further division.
In addition, although describing each step of method in the disclosure in the accompanying drawings with particular order, this does not really want
These steps must be executed in this particular order by asking or implying, or having to carry out step shown in whole could realize
Desired result.Additional or alternative, it is convenient to omit multiple steps are merged into a step and executed by certain steps, and/
Or a step is decomposed into execution of multiple steps etc..
In an exemplary embodiment of the disclosure, a kind of electronic equipment that can be realized the above method is additionally provided.
Person of ordinary skill in the field it is understood that various aspects of the invention can be implemented as system, method or
Program product.Therefore, various aspects of the invention can be embodied in the following forms, it may be assumed that complete hardware embodiment, complete
The embodiment combined in terms of full Software Implementation (including firmware, microcode etc.) or hardware and software, can unite here
Referred to as circuit, " module " or " system ".
The electronic equipment 600 of this embodiment according to the present invention is described referring to Fig. 6.The electronics that Fig. 6 is shown
Equipment 600 is only an example, should not function to the embodiment of the present invention and use scope bring any restrictions.
As shown in fig. 6, electronic equipment 600 is showed in the form of universal computing device.The component of electronic equipment 600 can wrap
It includes but is not limited to: at least one above-mentioned processing unit 610, at least one above-mentioned storage unit 620, the different system components of connection
The bus 630 of (including storage unit 620 and processing unit 610).
Wherein, the storage unit 620 is stored with program code, and said program code can be by the processing unit 610
It executes, so that various according to the present invention described in the execution of the processing unit 610 this specification above-mentioned example method part
The step of illustrative embodiments.For example, the processing unit 610 can execute step S1 as shown in fig. 1, obtain a base
Quasi- picture and the reference picture that multiple different brightness are generated according to the reference base picture;Step S2, the ginseng based on multiple different brightness
It examines picture and camera receptance function is estimated using a preset calibrations algorithm;Step S3, it is taken the photograph using a default weighting algorithm according to this
As head receptance function generates high dynamic range photo.
Storage unit 620 may include the readable medium of volatile memory cell form, such as Random Access Storage Unit
(RAM) 6201 and/or cache memory unit 6202, it can further include read-only memory unit (ROM) 6203.
Storage unit 620 can also include program/utility with one group of (at least one) program module 6205
6204, such program module 6205 includes but is not limited to: operating system, one or more application program, other program moulds
It may include the realization of network environment in block and program data, each of these examples or certain combination.
Bus 630 can be to indicate one of a few class bus structures or a variety of, including storage unit bus or storage
Cell controller, peripheral bus, graphics acceleration port, processing unit use any bus structures in a variety of bus structures
Local bus.
Electronic equipment 600 can also be with one or more external equipments 700 (such as keyboard, sensing equipment, bluetooth equipment
Deng) communication, can also be enabled a user to one or more equipment interact with the electronic equipment 600 communicate, and/or with make
Any equipment (such as the router, modulation /demodulation that the electronic equipment 600 can be communicated with one or more of the other calculating equipment
Device etc.) communication.This communication can be carried out by input/output (I/O) interface 650.Also, electronic equipment 600 can be with
By network adapter 660 and one or more network (such as local area network (LAN), wide area network (WAN) and/or public network,
Such as internet) communication.As shown, network adapter 660 is communicated by bus 630 with other modules of electronic equipment 600.
It should be understood that although not shown in the drawings, other hardware and/or software module can not used in conjunction with electronic equipment 600, including but not
Be limited to: microcode, device driver, redundant processing unit, external disk drive array, RAID system, tape drive and
Data backup storage system etc..
Through the above description of the embodiments, those skilled in the art is it can be readily appreciated that example described herein is implemented
Mode can also be realized by software realization in such a way that software is in conjunction with necessary hardware.Therefore, according to the disclosure
The technical solution of embodiment can be embodied in the form of software products, which can store non-volatile at one
Property storage medium (can be CD-ROM, USB flash disk, mobile hard disk etc.) in or network on, including some instructions are so that a calculating
Equipment (can be personal computer, server, terminal installation or network equipment etc.) is executed according to disclosure embodiment
Method.
In an exemplary embodiment of the disclosure, a kind of computer readable storage medium is additionally provided, energy is stored thereon with
Enough realize the program product of this specification above method.In some possible embodiments, various aspects of the invention may be used also
In the form of being embodied as a kind of program product comprising program code, when described program product is run on the terminal device, institute
Program code is stated for executing the terminal device described in this specification above-mentioned example method part according to the present invention
The step of various illustrative embodiments.
Refering to what is shown in Fig. 7, describing the program product for realizing the above method of embodiment according to the present invention
800, can using portable compact disc read only memory (CD-ROM) and including program code, and can in terminal device,
Such as it is run on PC.However, program product of the invention is without being limited thereto, in this document, readable storage medium storing program for executing can be with
To be any include or the tangible medium of storage program, the program can be commanded execution system, device or device use or
It is in connection.
Described program product can be using any combination of one or more readable mediums.Readable medium can be readable letter
Number medium or readable storage medium storing program for executing.Readable storage medium storing program for executing for example can be but be not limited to electricity, magnetic, optical, electromagnetic, infrared ray or
System, device or the device of semiconductor, or any above combination.The more specific example of readable storage medium storing program for executing is (non exhaustive
List) include: electrical connection with one or more conducting wires, portable disc, hard disk, random access memory (RAM), read-only
Memory (ROM), erasable programmable read only memory (EPROM or flash memory), optical fiber, portable compact disc read only memory
(CD-ROM), light storage device, magnetic memory device or above-mentioned any appropriate combination.
Computer-readable signal media may include in a base band or as carrier wave a part propagate data-signal,
In carry readable program code.The data-signal of this propagation can take various forms, including but not limited to electromagnetic signal,
Optical signal or above-mentioned any appropriate combination.Readable signal medium can also be any readable Jie other than readable storage medium storing program for executing
Matter, the readable medium can send, propagate or transmit for by instruction execution system, device or device use or and its
The program of combined use.
The program code for including on readable medium can transmit with any suitable medium, including but not limited to wirelessly, have
Line, optical cable, RF etc. or above-mentioned any appropriate combination.
The program for executing operation of the present invention can be write with any combination of one or more programming languages
Code, described program design language include object oriented program language-Java, C++ etc., further include conventional
Procedural programming language-such as " C " language or similar programming language.Program code can be fully in user
It calculates and executes in equipment, partly executes on a user device, being executed as an independent software package, partially in user's calculating
Upper side point is executed on a remote computing or is executed in remote computing device or server completely.It is being related to far
Journey calculates in the situation of equipment, and remote computing device can pass through the network of any kind, including local area network (LAN) or wide area network
(WAN), it is connected to user calculating equipment, or, it may be connected to external computing device (such as utilize ISP
To be connected by internet).
In addition, above-mentioned attached drawing is only the schematic theory of processing included by method according to an exemplary embodiment of the present invention
It is bright, rather than limit purpose.It can be readily appreciated that the time that above-mentioned processing shown in the drawings did not indicated or limited these processing is suitable
Sequence.In addition, be also easy to understand, these processing, which can be, for example either synchronously or asynchronously to be executed in multiple modules.
Those skilled in the art after considering the specification and implementing the invention disclosed here, will readily occur to its of the disclosure
His embodiment.This application is intended to cover any variations, uses, or adaptations of the disclosure, these modifications, purposes or
Adaptive change follow the general principles of this disclosure and including the undocumented common knowledge in the art of the disclosure or
Conventional techniques.The description and examples are only to be considered as illustrative, and the true scope and spirit of the disclosure are by claim
It points out.
It should be understood that the present disclosure is not limited to the precise structures that have been described above and shown in the drawings, and
And various modifications and changes may be made without departing from the scope thereof.The scope of the present disclosure is only limited by the attached claims.
Claims (15)
1. a kind of generation method of high dynamic range photo characterized by comprising
It obtains a reference base picture and generates the reference picture of multiple different brightness according to the reference base picture;
Camera receptance function is estimated using a preset calibrations algorithm based on reference picture described in multiple;
High dynamic range photo is generated according to the camera receptance function using a default weighting algorithm.
2. generation method according to claim 1, which is characterized in that described to generate multiple differences according to the reference base picture
The reference picture of brightness includes:
The reference base picture is converted into targeted colorspace by RGB color, to obtain the first intermediate picture;The target face
The colour space includes multiple channels, and one of channel is luminance channel;
Each channel of first intermediate picture is separated, and pre- multiplied by one to the pixel value of each pixel of the luminance channel
If coefficient, to obtain a reference brightness channel;
The reference brightness channel and other channels in the multiple channel are merged, to obtain the second intermediate picture;
Second intermediate picture is converted into RGB color by the targeted colorspace, to obtain the reference picture.
3. generation method according to claim 2, which is characterized in that the targeted colorspace is Lab color space, institute
Stating Lab color space includes luminance channel, the first color channel and the second color channel.
4. generation method according to claim 2, which is characterized in that the targeted colorspace is hsv color space, institute
Stating hsv color space includes luminance channel, form and aspect channel and saturation degree channel.
5. generation method according to claim 2, which is characterized in that the reference picture includes simultaneously brightness deterioration picture
Enhance picture with brightness.
6. generation method according to claim 5, which is characterized in that the predetermined coefficient is 1- σ, and the reference picture is
The brightness deterioration picture;
Wherein, 0 < σ < 1.
7. generation method according to claim 5, which is characterized in that the predetermined coefficient is 1+ σ, and the reference picture is
The brightness enhances picture;
Wherein, 0 < σ < 1.
8. generation method according to claim 6 or 7, which is characterized in that the range of the σ is 0.2~0.4.
9. generation method according to claim 1, which is characterized in that described pre- using one based on multiple described reference pictures
If calibration algorithm estimation camera receptance function includes:
The camera receptance function is estimated using Debevec calibration algorithm based on reference picture described in multiple.
10. generation method according to claim 1, which is characterized in that described to use a default weighting algorithm according to
Camera receptance function generates high dynamic range photo
High dynamic range photo is generated according to the camera receptance function using Debevec weighting algorithm.
11. generation method according to claim 1-7, which is characterized in that the generation method further include:
High dynamic range photo compression is shown as by low-dynamic range picture using tone-mapping algorithm.
12. a kind of generating means of high dynamic range photo characterized by comprising
Picture conversion module, for obtain a reference base picture and according to the reference base picture generate multiple different brightness with reference to figure
Piece;
Camera calibration module, for responding letter using preset calibrations algorithm estimation camera based on multiple described reference pictures
Number;
Image generating module, for generating high dynamic range figure according to the camera receptance function using a default weighting algorithm
Piece.
13. generating means according to claim 12, which is characterized in that further include:
Picture mapping block, for high dynamic range photo compression to be shown as low-dynamic range using tone-mapping algorithm
Picture.
14. a kind of electronic equipment characterized by comprising
Processor;And
Memory, for storing the executable instruction of the processor;
Wherein, the processor is configured to require 1-11 described in any item via executing the executable instruction and carry out perform claim
The generation method of high dynamic range photo.
15. a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that the computer program
The generation method of the described in any item high dynamic range photos of claim 1-11 is realized when being executed by processor.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710996008.1A CN109698910A (en) | 2017-10-23 | 2017-10-23 | The generation method and device of high dynamic range photo, electronic equipment, storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710996008.1A CN109698910A (en) | 2017-10-23 | 2017-10-23 | The generation method and device of high dynamic range photo, electronic equipment, storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN109698910A true CN109698910A (en) | 2019-04-30 |
Family
ID=66226841
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710996008.1A Pending CN109698910A (en) | 2017-10-23 | 2017-10-23 | The generation method and device of high dynamic range photo, electronic equipment, storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109698910A (en) |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103702116A (en) * | 2013-12-06 | 2014-04-02 | 浙江宇视科技有限公司 | Wide dynamic compressing method and device for image |
CN106412448A (en) * | 2016-02-03 | 2017-02-15 | 周彩章 | Single-frame image based wide dynamic range processing method and system |
CN106464815A (en) * | 2014-11-21 | 2017-02-22 | 深圳市大疆创新科技有限公司 | System and method of fast adaptive blending for high dynamic range imaging |
CN106530263A (en) * | 2016-10-19 | 2017-03-22 | 天津大学 | Single-exposure high-dynamic range image generation method adapted to medical image |
US20170223267A1 (en) * | 2016-02-03 | 2017-08-03 | Texas Instruments Incorporated | Image processing for wide dynamic range (wdr) sensor data |
CN107045715A (en) * | 2017-02-22 | 2017-08-15 | 西南科技大学 | A kind of method that single width low dynamic range echograms generates high dynamic range images |
-
2017
- 2017-10-23 CN CN201710996008.1A patent/CN109698910A/en active Pending
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103702116A (en) * | 2013-12-06 | 2014-04-02 | 浙江宇视科技有限公司 | Wide dynamic compressing method and device for image |
CN106464815A (en) * | 2014-11-21 | 2017-02-22 | 深圳市大疆创新科技有限公司 | System and method of fast adaptive blending for high dynamic range imaging |
CN106412448A (en) * | 2016-02-03 | 2017-02-15 | 周彩章 | Single-frame image based wide dynamic range processing method and system |
US20170223267A1 (en) * | 2016-02-03 | 2017-08-03 | Texas Instruments Incorporated | Image processing for wide dynamic range (wdr) sensor data |
CN106530263A (en) * | 2016-10-19 | 2017-03-22 | 天津大学 | Single-exposure high-dynamic range image generation method adapted to medical image |
CN107045715A (en) * | 2017-02-22 | 2017-08-15 | 西南科技大学 | A kind of method that single width low dynamic range echograms generates high dynamic range images |
Non-Patent Citations (2)
Title |
---|
ANOOP K. JOHNSON: "Single Shot High Dynamic Range Imaging using Histogram Separation and Exposure Fusion", 《2015 FIFTH NATIONAL CONFERENCE ON COMPUTER VISION, PATTERN RECOGNITION, IMAGE PROCESSING AND GRAPHICS(NCVPRIPG)》 * |
刘艳辉: "高动态范围图像合成显示系统设计与实现", 《中国优秀硕士学位论文全文数据库信息科技辑》 * |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10791310B2 (en) | Method and system of deep learning-based automatic white balancing | |
US10949958B2 (en) | Fast fourier color constancy | |
CN103051905B (en) | Use of noise-optimized selection criteria to calculate scene white points | |
CN113170028B (en) | Method for generating image data of machine learning based imaging algorithm | |
US20200389635A1 (en) | Image white balancing | |
JPWO2008133195A1 (en) | Image quality adjustment capability measurement method, apparatus and program, and image quality adjustment method, apparatus and program | |
CN112840636A (en) | Image processing method and device | |
CN116668656B (en) | Image processing method and electronic equipment | |
CN112819691B (en) | Image processing method, device, equipment and readable storage medium | |
CN114500843A (en) | Shooting method, shooting device, storage medium and electronic equipment | |
CN113066020A (en) | Image processing method and device, computer readable medium and electronic device | |
US20130093915A1 (en) | Multi-Illuminant Color Matrix Representation and Interpolation Based on Estimated White Points | |
CN109982059A (en) | The estimation of illumination coloration in automatic white balance | |
WO2019090580A1 (en) | System and method for image dynamic range adjusting | |
WO2024027287A1 (en) | Image processing system and method, and computer-readable medium and electronic device | |
CN112489144A (en) | Image processing method, image processing apparatus, terminal device, and storage medium | |
JP5824423B2 (en) | Illumination light color estimation device, illumination light color estimation method, and illumination light color estimation program | |
WO2020155072A1 (en) | Mixed layer processing method and apparatus | |
WO2023015993A9 (en) | Chromaticity information determination method and related electronic device | |
CN114286000B (en) | Image color processing method and device and electronic equipment | |
CN109698910A (en) | The generation method and device of high dynamic range photo, electronic equipment, storage medium | |
JP2012028973A (en) | Illumination light estimation device, illumination light estimation method, and illumination light estimation program | |
TW201401890A (en) | Dynamic range compression method for image and image processing device | |
CN112513939A (en) | Color conversion for environmentally adaptive digital content | |
CN114512094B (en) | Screen color adjusting method, device, terminal and computer readable 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 | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20190430 |