CN104349067A - Information processing method and electronic equipment - Google Patents

Information processing method and electronic equipment Download PDF

Info

Publication number
CN104349067A
CN104349067A CN201310342278.2A CN201310342278A CN104349067A CN 104349067 A CN104349067 A CN 104349067A CN 201310342278 A CN201310342278 A CN 201310342278A CN 104349067 A CN104349067 A CN 104349067A
Authority
CN
China
Prior art keywords
image
exposure value
pixel
row
generate
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201310342278.2A
Other languages
Chinese (zh)
Other versions
CN104349067B (en
Inventor
谌安军
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Lenovo Beijing Ltd
Original Assignee
Lenovo Beijing Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Lenovo Beijing Ltd filed Critical Lenovo Beijing Ltd
Priority to CN201310342278.2A priority Critical patent/CN104349067B/en
Publication of CN104349067A publication Critical patent/CN104349067A/en
Application granted granted Critical
Publication of CN104349067B publication Critical patent/CN104349067B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Studio Devices (AREA)

Abstract

The invention discloses an information processing method and electronic equipment. The method comprises the following steps that in the N-th frame, a first image is obtained on the basis of a first exposure value; in the (N+1)th frame, a second image is obtained on the basis of a second exposure value, and the first image and the second image respectively include M lines and L lines of pixel points; M lines of pixel points of the second image are inserted in a mode of inserting one line every one line in the first image, and a third image is generated; on the basis of the third image, L lines of process pixel points are generated; L lines of process pixel points are inserted in a mode of inserting one line every one line in the third image, and a fourth image is generated. The method and the electronic equipment provided by the invention achieves the technical effects that the data processing quantity in the image processing process is reduced, the processing speed is accelerated, and the real-time requirement of a camera is met.

Description

A kind of method of information processing and electronic equipment
Technical field
The present invention relates to field of computer technology, particularly relate to a kind of method and electronic equipment of information processing.
Background technology
Have on the market take pictures and camera function electronic equipment get more and more, such as: camera, mobile phone, flat board etc.Every shutterbugs can record people at one's side, thing, scape, thing at any time by taking pictures or photographing, in order to the scene wanting to retain can be recorded really, the quality of user to the image obtained or video has more and more higher requirement, namely a wherein very important quality index is the dynamic range of image or video, dynamic range refers to camera or video camera to brightest area and the limitation that exists compared with the performance of dark areas in Same Scene, and namely popular saying be that can the details assessing part bright especially and part dark especially know the parameter presented simultaneously.
Current, the dynamic range of camera sensor is very limited, and the scene in real life greatly exceed the expressive ability of camera sensor, and in order to obtain high dynamic range, electronic equipment on the market takes following two kinds of technical schemes:
One is, adopt HDR(height dynamically) technology, namely the exposure that employing 3 is different obtains the image of 3 width Same Scene, again 3 width images are divided into some parts, according to the shading value of every part, the most suitable part of this Partial exposure degree in 3 width images is selected to form final image, to make every part in final image all take suitable exposure, to obtain high dynamic range.
Two are, improve from hardware, produce the transducer that need customize, to obtain the image of high dynamic range.
But present inventor is in the process realizing invention technical scheme in the embodiment of the present application, find that above-mentioned technology at least exists following technical problem:
HDR technology, require the image of the different exposure of acquisition 3 width, and 3 width images all with finally need the measure-alike of image, also need to select by brightness 3 width picture portion territories, data processing amount is very big, processing speed is slow, can only be used for simple process of taking pictures, cannot meet the requirement of real time of video camera.
And for improving to produce the transducer that need customize on hardware, current correlation technique is not universal general, as very high in customized then cost to particular vendors.
Visible, take HDR technology to improve the dynamic range of image in prior art, there is the technical problem that data processing amount is large, processing speed slow to such an extent as to cannot meet the requirement of real time of video camera.
Summary of the invention
The embodiment of the present application is by providing a kind of method and electronic equipment of information processing, solve in prior art and take HDR technology to improve the dynamic range of the image of acquisition, there is the technical problem that data processing amount is large, processing speed slow to such an extent as to cannot meet the requirement of real time of video camera.
On the one hand, the embodiment of the present application provides following technical scheme:
A method for information processing, the method is applied in an electronic equipment, comprising:
At N frame, obtain the first image based on the first exposure value;
At N+1 frame, obtain the second image based on the second exposure value different from described first exposure value, wherein, described first image and described second image include the capable and L row pixel of M, and N, L and M are natural number;
In described first image, to insert the mode of a line in every line, insert the capable pixel of M of described second image, to generate the 3rd image that comprises the capable and L row pixel of 2M;
Based on the L row pixel of described 3rd image, generate L row process pixel;
In the mode arranged every a row insertion one in described 3rd image, insert described L row process pixel, to generate the 4th image that comprises the capable and 2L row pixel of 2M.
Optionally, described at N frame, before obtaining the first image based on the first exposure value, described method also comprises: receive the first light collection; Based on described first light collection, obtain a recommendation exposure value of answering with described first light set pair; Based on described recommendation exposure value, obtain described first exposure value and described second exposure value, wherein, described recommendation exposure value is greater than described first exposure value, and be less than described second exposure value, or described recommendation exposure value is less than described first exposure value, and be greater than described second exposure value.
Optionally, described based on described recommendation exposure value, obtain described first exposure value and described second exposure value, be specially: described recommendation exposure value deducts a preset value preset, and generates described first exposure value, and described recommendation exposure value adds described preset value, generate described second exposure value, or described recommendation exposure value adds a preset value preset, and generates described first exposure value, and described recommendation exposure value deducts described preset value, generate described second exposure value.
Optionally, to insert the mode of a line in every line in the capable pixel of M of described first image, insert the capable pixel of M of described second image, with generate one comprise the 3rd image of the capable and L row pixel of 2M after, also comprise: gamma process is carried out to described 3rd image, with the brightness of the level and smooth adjacent rows of described 3rd image and tone, obtain the 5th image.
Optionally, the described L row pixel based on described 3rd image, generates L row process pixel, is specifically as follows: the L row pixel based on described 3rd image adopts mean algorithm to generate described L row process pixel; Or the L row pixel based on described 3rd image adopts trend simulation algorithm to generate described L row process pixel.
On the other hand, the embodiment of the present application additionally provides a kind of electronic equipment, and described electronic equipment comprises:
Acquisition module, at N frame, obtains the first image based on the first exposure value; At N+1 frame, obtain the second image based on the second exposure value different from described first exposure value, wherein, described first image and described second image include the capable and L row pixel of M, and N, L and M are natural number;
First processing module, in described first image, to insert the mode of a line in every line, inserts the capable pixel of M of described second image, to generate the 3rd image that comprises the capable and L row pixel of 2M;
Second processing module, for the L row pixel based on described 3rd image, generates L row process pixel; In the mode arranged every a row insertion one in described 3rd image, insert described L row process pixel, to generate the 4th image that comprises the capable and 2L row pixel of 2M.
Optionally, described electronic equipment also comprises: receiver module, for receiving the first light collection; First computing module, for based on described first light collection, obtains a recommendation exposure value of answering with described first light set pair; Second computing module, for based on described recommendation exposure value, obtain described first exposure value and described second exposure value, wherein, described recommendation exposure value is greater than described first exposure value, and be less than described second exposure value, or described recommendation exposure value is less than described first exposure value, and be greater than described second exposure value.
Optionally, described second computing module also deducts a preset value preset for: described recommendation exposure value, generate described first exposure value, and described recommendation exposure value adds described preset value, generate described second exposure value, or described recommendation exposure value adds a preset value preset, and generates described first exposure value, and described recommendation exposure value deducts described preset value, generate described second exposure value.
Optionally, described first processing module also for, gamma process is carried out to described 3rd image, with the brightness of the level and smooth adjacent rows of described 3rd image and tone, obtains the 5th image.
Optionally, described second processing module also for: based on described 3rd image L row pixel adopt mean algorithm generate described L row process pixel; Or the L row pixel based on described 3rd image adopts trend simulation algorithm to generate described L row process pixel.
The one or more technical schemes provided in the embodiment of the present application, at least have following technique effect or advantage:
1, the method that provides of the embodiment of the present application and electronic equipment, adopt different exposure values to obtain two width small-sized images to form final large-size images, drastically increase the processing speed of image-acquisition phase; And take interlacing to insert and subregion selection process need not be carried out every the processing method arranging insertion, substantially reduce data processing amount, improve the processing speed of image processing stage, namely solve in prior art and take HDR technology to improve to obtain the dynamic range of image, the data processing amount of existence is large, processing speed slow to such an extent as to cannot meet the technical problem of the requirement of real time of video camera.Achieve the data processing amount, the lifting processing speed that reduce image processing process, to meet the technique effect of the requirement of real time of video camera.
Further, the method provided due to the embodiment of the present application and electronic equipment need not special transducers customized, solve in prior art and customize transducer to improve dynamic range, the technical problem that the customization cost of existence is high.Achieve at minimizing data processing amount, promote processing speed, so that cost technique effect is reduced on the basis meeting the requirement of real time of video camera.
2, the method that provides of the embodiment of the present application and electronic equipment, one of arranging in described first exposure value and described second exposure value is greater than described recommendation exposure value, another is less than described recommendation exposure value, one in described first image and described second image can be made to present dark place details, another can present bright place details, can present the technique effect of dark place details and bright place details with the final image realizing obtaining based on described first image and described second image clearly simultaneously.
3, the method that provides of the embodiment of the present application and electronic equipment, described first exposure value is set and deducts the difference of recommending exposure value, equal the difference that described recommendation exposure value deducts the second exposure value, make one in the first image and the second image can present dark place details, another can present on the basis of bright place details, ensure that dark place details and bright place details can balanced presenting, can the simultaneously clear and technique effect presenting dark place details and bright place details of equilibrium to realize the final image that obtains based on described first image and described second image.
4, the method that the embodiment of the present application provides and electronic equipment, after acquisition the 3rd image, first gamma process is carried out to the 3rd image, with the brightness of its adjacent rows level and smooth and tone, carry out inserting formation the 4th image every row based on the image generation process pixel after gamma process again, adjacent rows pixel due to the 3rd image is the pixel that different exposure is formed, there is the problem of brightness and tone step-shaped transition, the more level and smooth nature of whole image brightness and tone transition can be made by gamma process, make the more level and smooth nature of the brightness of the 4th image formed based on the 3rd image and tone transition further.
Accompanying drawing explanation
Fig. 1 is the flow chart of the method for information processing in the embodiment of the present application one;
Fig. 2 is the module map of electronic equipment in the embodiment of the present application three.
Embodiment
The embodiment of the present application is by providing a kind of method and electronic equipment of information processing, solve in prior art the dynamic range taking HDR technology to improve to obtain image, there is the technical problem that data processing amount is large, processing speed slow to such an extent as to cannot meet the requirement of real time of video camera.Achieve the data processing amount, the lifting processing speed that reduce image processing process, to meet the technique effect of the requirement of real time of video camera.
Large, the processing speed of data processing amount existed for the technical scheme solving above-mentioned existing raising dynamic range is slow to such an extent as to cannot meet the technical problem of the requirement of real time of video camera, and the general thought of the technical scheme that the embodiment of the present application provides is as follows:
A method for information processing, the method is applied in an electronic equipment, comprising:
At N frame, obtain the first image based on the first exposure value;
At N+1 frame, obtain the second image based on the second exposure value different from described first exposure value, wherein, described first image and described second image include the capable and L row pixel of M, and N, L and M are natural number;
In described first image, to insert the mode of a line in every line, insert the capable pixel of M of described second image, to generate the 3rd image that comprises the capable and L row pixel of 2M;
Based on the L row pixel of described 3rd image, generate L row process pixel;
In the mode arranged every a row insertion one in described 3rd image, insert described L row process pixel, to generate the 4th image that comprises the capable and 2L row pixel of 2M.
Can be found out by foregoing, adopt different exposure values to obtain two width small-sized images to form final large-size images, drastically increase the processing speed of image-acquisition phase; And take interlacing to insert and subregion selection process need not be carried out every the processing method arranging insertion, substantially reduce data processing amount, improve the processing speed of image processing stage, namely solve in prior art and take HDR technology to improve dynamic range, the data processing amount of existence is large, processing speed is slow to such an extent as to cannot meet the technical problem of the requirement of real time of video camera.Achieve and reduce data processing amount, lifting processing speed, to meet the technique effect of the requirement of real time of video camera.
Further, the method provided due to the embodiment of the present application and electronic equipment need not special transducers customized, solve in prior art and customize transducer to improve dynamic range, the technical problem that the customization cost of existence is high.Achieve at minimizing data processing amount, promote processing speed, so that cost technique effect is reduced on the basis meeting the requirement of real time of video camera.
In order to better understand technique scheme, below in conjunction with Figure of description and concrete execution mode, technique scheme is described in detail.
Embodiment one:
A kind of method of information processing is provided in embodiment one, the method is applied in an electronic equipment, in actual applications, described electronic equipment can be the electronic equipments such as mobile phone, camera, video camera, panel computer, will not enumerate in the present embodiment.
Please refer to Fig. 1, Fig. 1 is the main flow figure of the method for information processing in the embodiment of the present application one, and the method comprises the following steps:
Step S101, at N frame, obtains the first image based on the first exposure value;
Step S102, at N+1 frame, obtains the second image based on the second exposure value different from described first exposure value, and wherein, described first image and described second image include the capable and L row pixel of M, and N, L and M are natural number;
Step S103, in described first image, to insert the mode of a line in every line, inserts the capable pixel of M of described second image, to generate the 3rd image that comprises the capable and L row pixel of 2M;
Step S104, based on the L row pixel of described 3rd image, generates L row process pixel;
Step S105, in the mode arranged every a row insertion one in described 3rd image, inserts described L row process pixel, to generate the 4th image that comprises the capable and 2L row pixel of 2M.
The method of the information processing that the embodiment of the present application provides, not only can be applied to photograph taking, due to its faster processing speed can also be applied to video capture.
Below in conjunction with Fig. 1, for described electronic equipment for being with the mobile phone of camera, to the approach application of the information processing provided in the embodiment one specific implementation process when video capture, describe in detail by step:
In the embodiment of the present application, before step S101, namely described at N frame, before obtaining the first image based on the first exposure value, specifically also comprise the steps:
Receive the first light collection;
Based on described first light collection, obtain a recommendation exposure value of answering with described first light set pair;
Based on described recommendation exposure value, obtain described first exposure value and described second exposure value, wherein, described recommendation exposure value is greater than described first exposure value, and be less than described second exposure value, or described recommendation exposure value is less than described first exposure value, and be greater than described second exposure value.
In specific implementation process, for how accepting the first light collection, and obtain corresponding recommendation exposure value, concrete implementation procedure can be:
The viewfinder window of mobile phone camera aims at the mark scene by user, and opens image pickup mode, to receive the first light collection that target scene sends or reflects;
After receiving described first light collection, based on brightness power and the Luminance Distribution of described first light collection, adopt AE(automatic exposure) algorithm, calculate the recommendation exposure value of answering with described first light set pair fast, this recommendation exposure value is the more suitable exposure value calculated based on the overall brightness of described first light collection.
Specifically, when described second exposure value is greater than the first exposure value, described recommendation exposure value is greater than described first exposure value, and is less than described second exposure value; When described first exposure value is greater than the second exposure value, described recommendation exposure value is less than described first exposure value, and is greater than described second exposure value.Namely ensure that one in described first exposure value and described second exposure value is greater than described recommendation exposure value, another is less than described recommendation exposure value, one in described first image and described second image can be made to present dark place details, another can present bright place details, can present the technique effect of dark place details and bright place details with the final image realizing obtaining based on described first image and described second image clearly simultaneously.
In order to more suitably the first exposure value and the second exposure value can be obtained, in the embodiment of the present application, described based on described recommendation exposure value, obtain described first exposure value and described second exposure value, can also be specifically:
Described recommendation exposure value deducts a preset value preset, and generate described first exposure value, and described recommendation exposure value adds described preset value, generates described second exposure value, or
Described recommendation exposure value adds a preset value preset, and generate described first exposure value, and described recommendation exposure value deducts described preset value, generates described second exposure value.
Specifically, described first exposure value is set and deducts the difference of recommending exposure value, equal the difference that described recommendation exposure value deducts the second exposure value, make one in the first image and the second image can present dark place details, another can present on the basis of bright place details, ensure that dark place details and bright place details can balanced presenting, can the simultaneously clear and technique effect presenting dark place details and bright place details of equilibrium to realize final image.
After got the first exposure value and the second exposure value by above-mentioned steps, the method in the embodiment of the present application enters step S101 and S102, namely at N frame, obtains the first image based on the first exposure value; At N+1 frame, obtain the second image based on the second exposure value different from described first exposure value, wherein, described first image and described second image include the capable and L row pixel of M, and N, L and M are natural number;
After obtaining the first image and the second image by step S101 and step S102, method in the embodiment of the present application enters step S103, namely in described first image, to insert the mode of a line in every line, insert the capable pixel of M of described second image, to generate the 3rd image that comprises the capable and L row pixel of 2M;
For how to insert the second Computer image genration the 3rd image in the mode inserting a line in every line in the first image, concrete implementation procedure can be divided into following two kinds:
A, odd-line pixels point using the capable pixel of M of described first image as described 3rd image, the even rows point using the capable pixel of M of described second image as described 3rd image, to form the 3rd image;
B, even rows point using the capable pixel of M of described first image as described 3rd image, the odd-line pixels point using the capable pixel of M of described second image as described 3rd image, to form the 3rd image;
The 3rd image obtained by above-mentioned steps, be equivalent in height do drawing high of twice to target scene image, to reach the height that user finally needs image, but the width of the 3rd image is only the half that user finally needs the width of image, in visual effect, be rendered as elongation shape image in the height direction.
In order to obtain the final large-size images needed, after obtaining the 3rd image by step S103, the method in the embodiment of the present application enters step S104 and step S105, namely based on the L row pixel of described 3rd image, generates L row process pixel; In the mode arranged every a row insertion one in described 3rd image, insert described L row process pixel, to generate the 4th image that comprises the capable and 2L row pixel of 2M.
In the embodiment of the present application, based on the L row pixel of described 3rd image, generate L row process pixel, be specifically as follows:
L row pixel based on described 3rd image adopts mean algorithm to generate described L row process pixel; Or
L row pixel based on described 3rd image adopts trend simulation algorithm to generate described L row process pixel.
In specific implementation process, adopt mean algorithm to generate described L row process pixel, and to insert in the 3rd image to generate the 4th image that size meets the demands, following two kinds of modes can be had:
A, the 1st row pixel using the 1st row pixel of described 3rd image as L row process pixel, namely the 1st row pixel of described 3rd image is identical with the 1st row pixel of L row process pixel;
With in the J-1 row pixel of described 3rd image and J row pixel, in the brightness of two pixels and the average of tone of same a line, generate the pixel of the J row corresponding row of L row process pixel, raw to become the J row pixel in L row process pixel, by that analogy, generate the 2nd in L row process pixel and arrange to L row pixel, wherein, J for being more than or equal to 2, and is less than or equal to the natural number of L;
Using the described L row process pixel generated as the odd column pixel point of the 4th image, using the L row pixel of described 3rd image as the even column pixels point of the 4th image, to generate the 4th image that comprises the capable and 2L row pixel of 2M, now, the 1st row pixel of described 4th image is identical with the 2nd row pixel.
B, with in the J-1 row pixel of described 3rd image and J row pixel, in the brightness of two pixels and the average of tone of same a line, generate the pixel of the J-1 row corresponding row of L row process pixel, to generate the J-1 row pixel in L row process pixel, by that analogy, generate the 1st in L row process pixel and arrange to L-1 row pixel, wherein, J for being more than or equal to 2, and is less than or equal to the natural number of L;
Using the L row pixel of described 3rd image as the L row pixel of L row process pixel, namely the L row pixel of described 3rd image is identical with the L row pixel of L row process pixel;
Using the L row pixel of described 3rd image generated as the odd column pixel point of the 4th image, using described L row process pixel as the even column pixels point of the 4th image, to generate the 4th image that comprises the capable and 2L row pixel of 2M, now, the 2L row pixel of described 4th image is identical with 2L-1 row pixel.
In specific implementation process, adopt trend simulation algorithm to generate described L row process pixel, and to insert in the 3rd image to generate the 4th image that size meets the demands, following two kinds of modes can be had:
A, using the odd column pixel point of the L row pixel of described 3rd image as described 4th image, the even column pixels point of described 4th image is set to blank temporarily;
The L row pixel of described 3rd image is simulated by its brightness and tone variations rule with every behavior unit, simulate the pixel of this row even column in described 4th image, also the pixel of this row in described L row process pixel is namely simulated, by that analogy, simulate all L row process pixels, and as the even column pixels point of described 4th image, to generate the 4th image that comprises the capable and 2L row pixel of 2M.
B, using the even column pixels point of the L row pixel of described 3rd image as described 4th image, the odd column pixel point of described 4th image is set to blank temporarily;
The L row pixel of described 3rd image is simulated by its brightness and tone variations rule with every behavior unit, simulate the pixel of this row odd column in described 4th image, also the pixel of this row in described L row process pixel is namely simulated, by that analogy, simulate all L row process pixels, and as the odd column pixel point of described 4th image, to generate the 4th image that comprises the capable and 2L row pixel of 2M.
For how using the 4th image as the two field picture in video, concrete implementation procedure can be:
When the information processing method that the overall process of taking all takes the present embodiment to provide, described N is odd number, now, by the 4th image by the first image of N frame and the second Computer image genration of N+1 frame, as (N+1)/2 two field picture of whole video image.
When the information processing method that the partial routine taken takes the present embodiment to provide, delete the first image and the second image, at the video location residing for the first image and the second image, insert described 4th image that a frame generates, namely two frames are condensed to a frame.
In order to the final image effect of more clear and natural can be obtained, embodiment two will be provided below as preferred embodiment:
Embodiment two:
A kind of method of information processing is provided in embodiment two, the method is applied in an electronic equipment, in actual applications, described electronic equipment can be the electronic equipments such as mobile phone, camera, video camera, panel computer, will not enumerate in the present embodiment.
In the embodiment of the present application two, after step S103 in embodiment one, namely in the capable pixel of M of described first image to insert the mode of a line in every line, insert the capable pixel of M of described second image, with generate one comprise the 3rd image of the capable and L row pixel of 2M after, can also comprise:
Gamma process is carried out to described 3rd image, with the brightness of the level and smooth adjacent rows of described 3rd image and tone, obtains the 5th image.
Because the two row pixels be connected in described 3rd image are the pixel taking different exposure to generate, all there is the change of ladder in its brightness and tone, make the ledgement the 3rd image easily occurring different length, and then cause last the 4th image generated also occurs ledgement, affect definition and the naturalness of the 4th image.
Therefore gamma process is carried out to described 3rd image, with the brightness of the level and smooth adjacent rows of described 3rd image and tone, obtain the 5th image to substitute the 3rd image.And step S104 and step S105 is carried out to the 5th image generated after gamma process, namely based on the L row pixel of described 5th image, generate L row process pixel; In the mode arranged every a row insertion one in described 5th image, insert described L row process pixel, to generate the 4th image that comprises the capable and 2L row pixel of 2M.To make the 4th image of acquisition more clear, level and smooth, natural, and without ledgement.
Specifically, after acquisition the 3rd image, first gamma process is carried out to the 3rd image, with the brightness of its adjacent rows level and smooth and tone, carry out inserting formation the 4th image every row based on the 5th image generation process pixel after gamma process again, adjacent rows pixel due to the 3rd image is the pixel that different exposure is formed, there is the problem of brightness and tone step-shaped transition, the more level and smooth nature of whole image brightness and tone transition can be made by gamma process, make the more level and smooth nature of the brightness of the 4th image formed based on the 3rd image and tone transition further.
Certainly, after acquisition the 4th image, gamma process can be carried out to the 4th image, with the brightness of level and smooth 4th integral image and tone, then using the final image exported in final video of the 4th image after gamma process.
Embodiment three:
In embodiment three, provide a kind of electronic equipment, described electronic equipment can be the electronic equipments such as mobile phone, camera, video camera, panel computer, will not enumerate in the present embodiment.
Please refer to Fig. 2, Fig. 2 is the module map of electronic equipment in the embodiment of the present application three, and described electronic equipment comprises:
Acquisition module 201, at N frame, obtains the first image based on the first exposure value; At N+1 frame, obtain the second image based on the second exposure value different from described first exposure value, wherein, described first image and described second image include the capable and L row pixel of M, and N, L and M are natural number;
First processing module 202, in described first image, to insert the mode of a line in every line, inserts the capable pixel of M of described second image, to generate the 3rd image that comprises the capable and L row pixel of 2M;
Second processing module 203, for the L row pixel based on described 3rd image, generates L row process pixel; In the mode arranged every a row insertion one in described 3rd image, insert described L row process pixel, to generate the 4th image that comprises the capable and 2L row pixel of 2M.
In the embodiment of the present application, described electronic equipment also comprises:
Receiver module 204, for receiving the first light collection;
First computing module 205, for based on described first light collection, obtains a recommendation exposure value of answering with described first light set pair;
Second computing module 206, for based on described recommendation exposure value, obtain described first exposure value and described second exposure value, wherein, described recommendation exposure value is greater than described first exposure value, and be less than described second exposure value, or described recommendation exposure value is less than described first exposure value, and be greater than described second exposure value.
In the embodiment of the present application, described second computing module 206 also for:
Described recommendation exposure value deducts a preset value preset, and generate described first exposure value, and described recommendation exposure value adds described preset value, generates described second exposure value, or
Described recommendation exposure value adds a preset value preset, and generate described first exposure value, and described recommendation exposure value deducts described preset value, generates described second exposure value.
In the embodiment of the present application, described first processing module 202 also for, gamma process is carried out to described 3rd image, with the brightness of the level and smooth adjacent rows of described 3rd image and tone, obtains the 5th image.
In the embodiment of the present application, described second processing module 203 also for:
L row pixel based on described 3rd image adopts mean algorithm to generate described L row process pixel; Or
L row pixel based on described 3rd image adopts trend simulation algorithm to generate described L row process pixel.
The method of the information processing in the electronic equipment provided in the present embodiment and embodiment one, based on the aspect of two under same inventive concept, detailed description is done to the implementation process of method above, so those skilled in the art can according to the structure of the electronic equipment in aforementioned understanding the present embodiment be described clearly and implementation process, succinct in order to specification, has just repeated no more at this.
Technical scheme in above-mentioned the embodiment of the present application, at least has following technique effect or advantage:
1, the method that provides of the embodiment of the present application and electronic equipment, adopt different exposure values to obtain two width small-sized images to form final large-size images, drastically increase the processing speed of image-acquisition phase; And take interlacing to insert and subregion selection process need not be carried out every the processing method arranging insertion, substantially reduce data processing amount, improve the processing speed of image processing stage, namely solve in prior art and take HDR technology to improve to obtain the dynamic range of image, the data processing amount of existence is large, processing speed slow to such an extent as to cannot meet the technical problem of the requirement of real time of video camera.Achieve the data processing amount, the lifting processing speed that reduce image processing process, to meet the technique effect of the requirement of real time of video camera.
Further, the method provided due to the embodiment of the present application and electronic equipment need not special transducers customized, solve in prior art and customize transducer to improve dynamic range, the technical problem that the customization cost of existence is high.Achieve at minimizing data processing amount, promote processing speed, so that cost technique effect is reduced on the basis meeting the requirement of real time of video camera.
2, the method that provides of the embodiment of the present application and electronic equipment, one of arranging in described first exposure value and described second exposure value is greater than described recommendation exposure value, another is less than described recommendation exposure value, one in described first image and described second image can be made to present dark place details, another can present bright place details, can present the technique effect of dark place details and bright place details with the final image realizing obtaining based on described first image and described second image clearly simultaneously.
3, the method that provides of the embodiment of the present application and electronic equipment, described first exposure value is set and deducts the difference of recommending exposure value, equal the difference that described recommendation exposure value deducts the second exposure value, make one in the first image and the second image can present dark place details, another can present on the basis of bright place details, ensure that dark place details and bright place details can balanced presenting, can the simultaneously clear and technique effect presenting dark place details and bright place details of equilibrium to realize the final image that obtains based on described first image and described second image.
4, the method that the embodiment of the present application provides and electronic equipment, after acquisition the 3rd image, first gamma process is carried out to the 3rd image, with the brightness of its adjacent rows level and smooth and tone, carry out inserting formation the 4th image every row based on the image generation process pixel after gamma process again, adjacent rows pixel due to the 3rd image is the pixel that different exposure is formed, there is the problem of brightness and tone step-shaped transition, the more level and smooth nature of whole image brightness and tone transition can be made by gamma process, make the more level and smooth nature of the brightness of the 4th image formed based on the 3rd image and tone transition further.
Those skilled in the art should understand, embodiments of the invention can be provided as method, system or computer program.Therefore, the present invention can adopt the form of complete hardware embodiment, completely software implementation or the embodiment in conjunction with software and hardware aspect.And the present invention can adopt can by the form of installing the upper computer program implemented of medium (including but not limited to disk erector, CD-ROM, optics erector etc.) at one or more computer wherein including computer usable program code.
The present invention describes with reference to according to the flow chart of the method for the embodiment of the present invention, equipment (system) and computer program and/or block diagram.Should understand can by the combination of the flow process in each flow process in computer program instructions realization flow figure and/or block diagram and/or square frame and flow chart and/or block diagram and/or square frame.These computer program instructions can being provided to the processor of all-purpose computer, special-purpose computer, Embedded Processor or other programmable data processing device to produce a machine, making the instruction performed by the processor of computer or other programmable data processing device produce device for realizing the function of specifying in flow chart flow process or multiple flow process and/or block diagram square frame or multiple square frame.
These computer program instructions also can be arranged on can in the computer-readable erector that works in a specific way of vectoring computer or other programmable data processing device, the instruction making to be arranged in this computer-readable erector produces the manufacture comprising command device, and this command device realizes the function of specifying in flow chart flow process or multiple flow process and/or block diagram square frame or multiple square frame.
These computer program instructions also can be loaded in computer or other programmable data processing device, make on computer or other programmable devices, to perform sequence of operations step to produce computer implemented process, thus the instruction performed on computer or other programmable devices is provided for the step realizing the function of specifying in flow chart flow process or multiple flow process and/or block diagram square frame or multiple square frame.
Obviously, those skilled in the art can carry out various change and modification to the present invention and not depart from the spirit and scope of the present invention.Like this, if these amendments of the present invention and modification belong within the scope of the claims in the present invention and equivalent technologies thereof, then the present invention is also intended to comprise these change and modification.

Claims (10)

1. a method for information processing, the method is applied in an electronic equipment, comprising:
At N frame, obtain the first image based on the first exposure value;
At N+1 frame, obtain the second image based on the second exposure value different from described first exposure value, wherein, described first image and described second image include the capable and L row pixel of M, and N, L and M are natural number;
In described first image, to insert the mode of a line in every line, insert the capable pixel of M of described second image, to generate the 3rd image that comprises the capable and L row pixel of 2M;
Based on the L row pixel of described 3rd image, generate L row process pixel;
In the mode arranged every a row insertion one in described 3rd image, insert described L row process pixel, to generate the 4th image that comprises the capable and 2L row pixel of 2M.
2. the method for claim 1, is characterized in that, described at N frame, before obtaining the first image based on the first exposure value, described method also comprises:
Receive the first light collection;
Based on described first light collection, obtain a recommendation exposure value of answering with described first light set pair;
Based on described recommendation exposure value, obtain described first exposure value and described second exposure value, wherein, described recommendation exposure value is greater than described first exposure value, and be less than described second exposure value, or described recommendation exposure value is less than described first exposure value, and be greater than described second exposure value.
3. method as claimed in claim 2, is characterized in that, described based on described recommendation exposure value, obtains described first exposure value and described second exposure value, is specially:
Described recommendation exposure value deducts a preset value preset, and generate described first exposure value, and described recommendation exposure value adds described preset value, generates described second exposure value, or
Described recommendation exposure value adds a preset value preset, and generate described first exposure value, and described recommendation exposure value deducts described preset value, generates described second exposure value.
4. the method as described in claim arbitrary in claim 1-3, it is characterized in that, to insert the mode of a line in every line in the capable pixel of M of described first image, insert the capable pixel of M of described second image, with generate one comprise the 3rd image of the capable and L row pixel of 2M after, also comprise:
Gamma process is carried out to described 3rd image, with the brightness of the level and smooth adjacent rows of described 3rd image and tone, obtains the 5th image.
5. the method as described in claim arbitrary in claim 1-3, is characterized in that, the described L row pixel based on described 3rd image, generates L row process pixel, is specifically as follows:
L row pixel based on described 3rd image adopts mean algorithm to generate described L row process pixel; Or
L row pixel based on described 3rd image adopts trend simulation algorithm to generate described L row process pixel.
6. an electronic equipment, described electronic equipment comprises:
Acquisition module, at N frame, obtains the first image based on the first exposure value; At N+1 frame, obtain the second image based on the second exposure value different from described first exposure value, wherein, described first image and described second image include the capable and L row pixel of M, and N, L and M are natural number;
First processing module, in described first image, to insert the mode of a line in every line, inserts the capable pixel of M of described second image, to generate the 3rd image that comprises the capable and L row pixel of 2M;
Second processing module, for the L row pixel based on described 3rd image, generates L row process pixel; In the mode arranged every a row insertion one in described 3rd image, insert described L row process pixel, to generate the 4th image that comprises the capable and 2L row pixel of 2M.
7. electronic equipment as claimed in claim 6, it is characterized in that, described electronic equipment also comprises:
Receiver module, for receiving the first light collection;
First computing module, for based on described first light collection, obtains a recommendation exposure value of answering with described first light set pair;
Second computing module, for based on described recommendation exposure value, obtain described first exposure value and described second exposure value, wherein, described recommendation exposure value is greater than described first exposure value, and be less than described second exposure value, or described recommendation exposure value is less than described first exposure value, and be greater than described second exposure value.
8. electronic equipment as claimed in claim 7, is characterized in that, described second computing module also for:
Described recommendation exposure value deducts a preset value preset, and generate described first exposure value, and described recommendation exposure value adds described preset value, generates described second exposure value, or
Described recommendation exposure value adds a preset value preset, and generate described first exposure value, and described recommendation exposure value deducts described preset value, generates described second exposure value.
9. the electronic equipment as described in claim arbitrary in claim 6-8, is characterized in that, described first processing module also for, gamma process is carried out to described 3rd image, with the brightness of the level and smooth adjacent rows of described 3rd image and tone, obtains the 5th image.
10. the electronic equipment as described in claim arbitrary in claim 6-8, is characterized in that, described second processing module also for:
L row pixel based on described 3rd image adopts mean algorithm to generate described L row process pixel; Or
L row pixel based on described 3rd image adopts trend simulation algorithm to generate described L row process pixel.
CN201310342278.2A 2013-08-07 2013-08-07 The method and electronic equipment of a kind of information processing Active CN104349067B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310342278.2A CN104349067B (en) 2013-08-07 2013-08-07 The method and electronic equipment of a kind of information processing

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310342278.2A CN104349067B (en) 2013-08-07 2013-08-07 The method and electronic equipment of a kind of information processing

Publications (2)

Publication Number Publication Date
CN104349067A true CN104349067A (en) 2015-02-11
CN104349067B CN104349067B (en) 2017-12-26

Family

ID=52503785

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310342278.2A Active CN104349067B (en) 2013-08-07 2013-08-07 The method and electronic equipment of a kind of information processing

Country Status (1)

Country Link
CN (1) CN104349067B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110958363A (en) * 2019-12-04 2020-04-03 RealMe重庆移动通信有限公司 Image processing method and device, computer readable medium and electronic device

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101155255A (en) * 2006-09-26 2008-04-02 株式会社日立制作所 Video signal processing apparatus, video displaying apparatus and high resolution method for video signal
US20090009660A1 (en) * 2007-07-05 2009-01-08 Masahiro Kageyama Video displaying apparatus, video signal processing apparatus and video signal processing method
CN101394487A (en) * 2008-10-27 2009-03-25 华为技术有限公司 Image synthesizing method and system
CN101631193A (en) * 2008-07-17 2010-01-20 索尼株式会社 Image processing apparatus, image processing method and program
CN102075679A (en) * 2010-11-18 2011-05-25 无锡中星微电子有限公司 Method and device for acquiring image

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101155255A (en) * 2006-09-26 2008-04-02 株式会社日立制作所 Video signal processing apparatus, video displaying apparatus and high resolution method for video signal
US20090009660A1 (en) * 2007-07-05 2009-01-08 Masahiro Kageyama Video displaying apparatus, video signal processing apparatus and video signal processing method
CN101631193A (en) * 2008-07-17 2010-01-20 索尼株式会社 Image processing apparatus, image processing method and program
CN101394487A (en) * 2008-10-27 2009-03-25 华为技术有限公司 Image synthesizing method and system
CN102075679A (en) * 2010-11-18 2011-05-25 无锡中星微电子有限公司 Method and device for acquiring image

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110958363A (en) * 2019-12-04 2020-04-03 RealMe重庆移动通信有限公司 Image processing method and device, computer readable medium and electronic device
CN110958363B (en) * 2019-12-04 2022-04-15 RealMe重庆移动通信有限公司 Image processing method and device, computer readable medium and electronic device

Also Published As

Publication number Publication date
CN104349067B (en) 2017-12-26

Similar Documents

Publication Publication Date Title
US9451173B2 (en) Electronic device and control method of the same
CN103888683B (en) Mobile terminal and shooting method thereof
CN107274476B (en) Shadow map generation method and device
US20210090279A1 (en) Depth Determination for Images Captured with a Moving Camera and Representing Moving Features
CN105872393A (en) High dynamic range image generation method and device
US9412170B1 (en) Image processing device and image depth processing method
CN107666606A (en) Binocular panoramic picture acquisition methods and device
CN105323466B (en) A kind of image pickup method and terminal based on scene
CN104917950A (en) Information processing method and electronic equipment
CN104574495A (en) Method and device for rendering image
WO2020001176A1 (en) Display method and device, visible light communication transmission method and device
CN104836996A (en) Image processing apparatus and method for controlling image processing apparatus
CN113962859B (en) Panorama generation method, device, equipment and medium
CN103729833A (en) Image splicing method and device
CN105574813A (en) Image processing method and device
CN108665415A (en) Picture quality method for improving based on deep learning and its device
CN105791793A (en) Image processing method and electronic device
KR20220066040A (en) Defocus blur removal and depth estimation using dual-pixel image data
CN102521876A (en) Method and system for realizing three dimensional (3D) stereoscopic effect of user interface
CN105893578A (en) Method and device for selecting photos
CN104349067A (en) Information processing method and electronic equipment
US20220108420A1 (en) Method and system of efficient image rendering for near-eye light field displays
US20190028698A1 (en) Generation method for multi-view auto-stereoscopic images, displaying method and electronic apparatus
CN109308690B (en) Image brightness balancing method and terminal
CN104092946A (en) Image collection method and device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant