CN105227856A - A kind of method of image procossing and mobile terminal - Google Patents

A kind of method of image procossing and mobile terminal Download PDF

Info

Publication number
CN105227856A
CN105227856A CN201510634239.9A CN201510634239A CN105227856A CN 105227856 A CN105227856 A CN 105227856A CN 201510634239 A CN201510634239 A CN 201510634239A CN 105227856 A CN105227856 A CN 105227856A
Authority
CN
China
Prior art keywords
image
original image
frequency component
processed
factor
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201510634239.9A
Other languages
Chinese (zh)
Inventor
庄万柳
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp 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 Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201510634239.9A priority Critical patent/CN105227856A/en
Publication of CN105227856A publication Critical patent/CN105227856A/en
Pending legal-status Critical Current

Links

Landscapes

  • Studio Devices (AREA)
  • Image Processing (AREA)

Abstract

Embodiments provide a kind of method of image procossing, described method comprises: utilize the camera of mobile terminal to obtain original image; Exposure-processed is carried out to described original image, to open one's eyes wide logo image to obtain N, wherein, described N be more than or equal to 1 integer; Logo image of described original image and described N being opened one's eyes wide synthesizes HDR image.The embodiment of the present invention additionally provides a kind of mobile terminal.Adopt the present embodiment can process individual original image, thus, the number of times of taking pictures of camera can be reduced, correspondingly, can reduce because user's hand shaking is moved or object moves the probability producing ghost image in the process of taking pictures, thus, the probability producing ghost image in the HDR image of synthesis can decline.

Description

A kind of method of image procossing and mobile terminal
Technical field
The present invention relates to technical field of image processing, be specifically related to a kind of method and mobile terminal of image procossing.
Background technology
Along with the development of science and technology, mobile terminal (as panel computer, mobile phone etc.) is rapidly developed, and the requirement of people to mobile terminal is also more and more higher, and is one comparatively outstanding in numerous requirement to the requirement of the camera function of mobile terminal.
At present, mobile terminal is all (English: HighDynamicRange with high dynamic range images, be called for short: HDR) function, its general principle is all utilize the camera of mobile terminal repeatedly to take same scene, thus, this is repeatedly taken the multiple pictures obtained and adopt certain algorithm synthesis HDR image.In the implementation procedure of this HDR image, if user's hand shaking is dynamic or there are objects moving, so in the HDR image of synthesis, just there will be ghost phenomena.
Summary of the invention
Embodiments provide a kind of method and mobile terminal of image procossing, the probability producing ghost image in the process generating HDR image can be reduced as far as possible.
Embodiment of the present invention first aspect provides a kind of method of image procossing, comprising:
The camera of mobile terminal is utilized to obtain original image;
Exposure-processed is carried out to described original image, to open one's eyes wide logo image to obtain N, wherein, described N be more than or equal to 1 integer;
Logo image of described original image and described N being opened one's eyes wide synthesizes HDR image.
In conjunction with embodiment of the present invention first aspect, in the first possible execution mode of first aspect, described exposure-processed, for adding process of exposing to the sun, describedly carries out exposure-processed to described original image, comprising:
Determine the factor of described original image;
Increase described factor;
According to the factor after increasing, exposure-processed is carried out to described original image.
In conjunction with embodiment of the present invention first aspect, in the execution mode that the second of first aspect is possible, described exposure-processed, for falling process of exposing to the sun, describedly carries out exposure-processed to described original image, comprising:
Determine the factor of described original image;
Reduce described factor;
According to the factor after reducing, exposure-processed is carried out to described original image.
In conjunction with embodiment of the present invention first aspect, in the third possible execution mode of first aspect, when N is 2, described N logo image of opening one's eyes wide is first object image and the second target image, described exposure-processed is carried out to described original image, to open one's eyes wide logo image to obtain N, comprising:
Process of exposing to the sun is added to described original image, to obtain described first object image;
Process of exposing to the sun is fallen to described original image, to obtain described second target image.
In conjunction with the first of embodiment of the present invention first aspect or first aspect to the third any one possible execution mode, in the 4th kind of possible execution mode of first aspect, described logo image of described original image and described N being opened one's eyes wide synthesizes HDR image, comprising:
Adopt default Multiresolution Decompositions Approach that described original image is decomposed into the first low frequency component and the first high fdrequency component;
Described default Multiresolution Decompositions Approach logo image of being opened one's eyes wide by described N is adopted to be decomposed into the second low frequency component and the second high fdrequency component;
Described first low frequency component and described second low frequency component are weighted process, to obtain the 3rd low frequency component;
Described first high fdrequency component and described second high fdrequency component are processed according to predetermined manner, to obtain third high frequency component;
Described 3rd low frequency component and described third high frequency component are carried out inverse transformation, to obtain HDR image according to the inverse transform method corresponding with described default Multiresolution Decompositions Approach.
Embodiment of the present invention second aspect provides a kind of mobile terminal, comprising:
Acquiring unit, obtains original image for utilizing the camera of mobile terminal;
Processing unit, carries out exposure-processed for the original image got described acquiring unit, to open one's eyes wide logo image to obtain N, wherein, described N be more than or equal to 1 integer;
Synthesis unit, the N obtained for the original image that got by described acquiring unit and described processing unit processes logo image of opening one's eyes wide synthesizes HDR image.
In conjunction with embodiment of the present invention second aspect, in the first possible execution mode of second aspect, described exposure-processed is for adding process of exposing to the sun, and described processing unit comprises:
First determining unit, for determining the factor of the original image that described acquiring unit gets;
Increase unit, for increasing the factor that described first determining unit is determined;
First process subelement, carries out exposure-processed according to the factor after described increase unit increases to described original image.
In conjunction with embodiment of the present invention second aspect, in the execution mode that the second of second aspect is possible, described exposure-processed is for falling process of exposing to the sun, and described processing unit comprises:
Second determining unit, for determining the factor of the original image that described acquiring unit gets;
Reduce unit, for reducing the factor that described second determining unit is determined;
Second process subelement, carries out exposure-processed for the factor after reducing according to described reduction unit to described original image.
In conjunction with embodiment of the present invention second aspect, in the third possible execution mode of second aspect, when N is 2, described N logo image of opening one's eyes wide is first object image and the second target image, described processing unit also specifically for:
Process of exposing to the sun is added to described original image, to obtain described first object image;
Process of exposing to the sun is fallen to described original image, to obtain described second target image.
In conjunction with the first of embodiment of the present invention second aspect or second aspect to the third any one possible execution mode, in the 4th kind of possible execution mode of second aspect, described synthesis unit comprises:
Resolving cell, is decomposed into the first low frequency component and the first high fdrequency component for adopting default Multiresolution Decompositions Approach by the original image that described acquiring unit gets;
Described resolving cell also specifically for:
Described default Multiresolution Decompositions Approach logo image of being opened one's eyes wide by the N after described processing unit processes is adopted to be decomposed into the second low frequency component and the second high fdrequency component;
Low frequency component processing unit, for decomposing the first low frequency component of obtaining and the second low frequency component is weighted process, to obtain the 3rd low frequency component by described resolving cell;
High fdrequency component processing unit, for decomposing the first high fdrequency component of obtaining and the second high fdrequency component processes according to predetermined manner, to obtain third high frequency component by described resolving cell;
Synthon unit, for the 3rd low frequency component after described low frequency component processing unit processes and the third high frequency component after described high fdrequency component processing unit processes are carried out inverse transformation, to obtain HDR image according to the inverse transform method corresponding with described default Multiresolution Decompositions Approach.
Implement the embodiment of the present invention, there is following beneficial effect:
The camera of mobile terminal can be utilized to obtain original image by the embodiment of the present invention, exposure-processed is carried out to this original image, to open one's eyes wide logo image to obtain N, logo image of original image and this N being opened one's eyes wide synthesizes HDR image, because carry out exposure-processed to individual original image, and then the image after exposure-processed and original image are synthesized HDR, in the present embodiment, can process individual original image, thus, the number of times of taking pictures of camera can be reduced, correspondingly, can reduce in the process of taking pictures because user's hand shaking is moved or object moves the probability producing ghost image, thus, the probability producing ghost image in the HDR image of synthesis can decline.
Accompanying drawing explanation
In order to be illustrated more clearly in the technical scheme in the embodiment of the present invention, below the accompanying drawing used required in describing embodiment is briefly described, apparently, accompanying drawing in the following describes is some embodiments of the present invention, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to these accompanying drawings.
Fig. 1 is the schematic flow sheet of the first embodiment of the method for a kind of image procossing that the embodiment of the present invention provides;
Fig. 2 is the schematic flow sheet of the second embodiment of the method for a kind of image procossing that the embodiment of the present invention provides;
Fig. 3 is the schematic flow sheet of the 3rd embodiment of the method for a kind of image procossing that the embodiment of the present invention provides;
Fig. 4 a is the structural representation of the first embodiment of a kind of mobile terminal that the embodiment of the present invention provides;
Fig. 4 b is the another structural representation of the first embodiment of a kind of mobile terminal that the embodiment of the present invention provides;
Fig. 4 c is the another structural representation of the first embodiment of a kind of mobile terminal that the embodiment of the present invention provides;
Fig. 4 d is the another structural representation of the first embodiment of a kind of mobile terminal that the embodiment of the present invention provides;
Fig. 5 is the structural representation of the second embodiment of a kind of mobile terminal that the embodiment of the present invention provides.
Embodiment
The embodiment of the present invention provides a kind of method and mobile terminal of image procossing, can avoid in prior art owing to repeatedly taking the ghost problems synthesizing HDR image again and bring as far as possible.
The present invention program is understood better in order to make those skilled in the art person, below in conjunction with the accompanying drawing in the embodiment of the present invention, technical scheme in the embodiment of the present invention is clearly and completely described, obviously, described embodiment is only the embodiment of a part of the present invention, instead of whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art, not making the every other embodiment obtained under creative work prerequisite, should belong to the scope of protection of the invention.
Below be described in detail respectively.
Term " first ", " second ", " the 3rd " and " the 4th " etc. in specification of the present invention and claims and described accompanying drawing are for distinguishing different object, instead of for describing particular order.In addition, term " comprises " and " having " and their any distortion, and intention is to cover not exclusive comprising.Such as contain the process of series of steps or unit, method, system, product or equipment and be not defined in the step or unit listed, but also comprise the step or unit do not listed alternatively, or also comprise alternatively for other intrinsic step of these processes, method, product or equipment or unit.
Mobile terminal described by the embodiment of the present invention can comprise smart mobile phone (as Android phone, iOS mobile phone, WindowsPhone mobile phone etc.), panel computer, palmtop PC, notebook computer, mobile internet device (MID, or Wearable etc. MobileInternetDevices), above-mentioned mobile terminal is only citing, and non exhaustive, including but not limited to above-mentioned mobile terminal.
Refer to Fig. 1, the schematic flow sheet of the first embodiment of the method for a kind of image procossing provided for the embodiment of the present invention.The method of the image procossing described in the present embodiment, comprises the following steps:
S101, utilize mobile terminal camera obtain original image.
In specific implementation, mobile terminal can utilize the camera of this mobile terminal to obtain an original image, this original image can be RAW image, also referred to as the image of RAW form, the full name of RAW form is RAWImageFormat, and RAW image is exactly that the light signal captured is converted into the initial data of digital signal by CMOS or ccd image inductor.
S102, exposure-processed is carried out to described original image, to open one's eyes wide logo image to obtain N, wherein, described N be more than or equal to 1 integer.
In specific implementation, exposure-processed can be divided into adding exposes to the sun process and falls process of exposing to the sun, and herein, adds process of exposing to the sun and refers to the factor increasing original image, carry out exposure-processed according to the factor after increasing to original image.Fall process of exposing to the sun and refer to the factor reducing original image, according to the factor after reducing, exposure-processed is carried out to original image.The present embodiment, mobile terminal can carry out single exposure process to original image, thus, obtain one and to open one's eyes wide logo image.Alternatively, mobile terminal can carry out multiexposure, multiple exposure process to original image, thus, multiple target images can be obtained.Thus, mobile terminal carries out exposure-processed to original image and can obtain N and to open one's eyes wide logo image, wherein, N be more than or equal to 1 integer.
Alternatively, the embodiment adding process of exposing to the sun can be as follows:
Mobile terminal can determine the factor of original image, based on this factor, is increased by this factor, then carries out exposure-processed according to the factor after increasing to original image.It should be noted that the factor of original image and ambient brightness also have mobile terminal whether to drive photoflash lamp relevant.Generally, the higher then factor of ambient brightness is comparatively large, and the less then factor of ambient brightness is less.
Further alternatively, the embodiment of falling process of exposing to the sun can be as follows:
Mobile terminal can determine the factor of original image, based on this factor, is reduced by this factor, then carries out exposure-processed according to the factor after reducing to original image.
S103, logo image of described original image and described N being opened one's eyes wide synthesize HDR image.
In specific implementation, mobile terminal logo image of original image and N can being opened one's eyes wide carries out synthesizing to obtain HDR image.Be described when being 1 with N, if target image is add the image after process of exposing to the sun, then can by original image and target image synthesis HDR image.Further, if target image is fall the image after process of exposing to the sun, then can by this original image and target image synthesis HDR image.
Alternatively, mobile terminal can simulate the response curve of camera according to the principle of least square, and obtain the mapping relations that original image and N open one's eyes wide in logo image between pixel value and exposure respectively, and then logo image of original image and N being opened one's eyes wide is fused into a panel height dynamic image.
The camera of mobile terminal can be utilized to obtain original image by the embodiment of the present invention, exposure-processed is carried out to this original image, to open one's eyes wide logo image to obtain N, logo image of original image and this N being opened one's eyes wide synthesizes HDR image, because carry out exposure-processed to individual original image, and then the image after exposure-processed and original image are synthesized HDR, in the present embodiment, can process individual original image, thus, the number of times of taking pictures of camera can be reduced, correspondingly, can reduce in the process of taking pictures because user's hand shaking is moved or object moves the probability producing ghost image, thus, the probability producing ghost image in the HDR image of synthesis can decline.
Refer to Fig. 2, the schematic flow sheet of the second embodiment of the method for a kind of image procossing provided for the embodiment of the present invention.The method of the image procossing described in the present embodiment, comprises the following steps:
S201, utilize mobile terminal camera obtain original image.
In specific implementation, mobile terminal can utilize the camera of this mobile terminal to obtain an original image, this original image can be RAW image, also referred to as the image of RAW form, the full name of RAW form is RAWImageFormat, and RAW image is exactly that the light signal captured is converted into the initial data of digital signal by CMOS or ccd image inductor.
S202, process of exposing to the sun is added to described original image, to obtain first object image.
In specific implementation, mobile terminal can enter add to original image process of exposing to the sun, and such as, carries out+1 exposure-processed to original image, namely carries out+1 on the basis of the factor of original image, and the factor then after basis+1 adds to original image process of exposing to the sun.Preferentially, can carry out+1/3 exposure-processed to original image, namely carry out+1/3 on the basis of the factor to original image, the factor then after basis+1/3 adds to original image process of exposing to the sun.
S203, process of exposing to the sun is fallen to described original image, to obtain the second target image.
In specific implementation, mobile terminal can enter fall to original image process of exposing to the sun, and such as, carries out-1 exposure-processed to original image, namely carries out-1 on the basis of the factor of original image, and the factor then after basis-1 falls to original image process of exposing to the sun.Preferentially, can carry out-1/3 exposure-processed to original image, namely carry out-1/3 on the basis of the factor to original image, the factor then after basis-1/3 adds to original image process of exposing to the sun.
S204, described original image, described first object image and described second target image are synthesized HDR image.
In specific implementation, mobile terminal logo image of original image and N can being opened one's eyes wide carries out synthesizing to obtain HDR image.Be described when being 1 with N, if target image is add the image after process of exposing to the sun, then can by original image and target image synthesis HDR image.Further, if target image is fall the image after process of exposing to the sun, then can by this original image and target image synthesis HDR image.
Alternatively, mobile terminal can simulate the response curve of camera according to the principle of least square, and obtain the mapping relations that original image and N open one's eyes wide in logo image between pixel value and exposure respectively, and then logo image of original image and N being opened one's eyes wide is fused into a panel height dynamic image.
In the present embodiment, mobile terminal can to the original image got, carry out respectively adding exposing to the sun and process and fall process of exposing to the sun, to obtain first object image and the second target image, again by first object image, the second target image and original image synthesis HDR image, can avoid in prior art owing to repeatedly taking the ghost problems synthesizing HDR image again and bring as far as possible.
Refer to Fig. 3, the schematic flow sheet of the 3rd embodiment of the method for a kind of image procossing provided for the embodiment of the present invention.The method of the image procossing described in the present embodiment, comprises the following steps:
S301, utilize mobile terminal camera obtain original image.
In specific implementation, mobile terminal can utilize the camera of this mobile terminal to obtain an original image, this original image can be RAW image, also referred to as the image of RAW form, the full name of RAW form is RAWImageFormat, and RAW image is exactly that the light signal captured is converted into the initial data of digital signal by CMOS or ccd image inductor.
S302, exposure-processed is carried out to described original image, to open one's eyes wide logo image to obtain N, wherein, described N be more than or equal to 1 integer.
In specific implementation, exposure-processed can be divided into adding exposes to the sun process and falls process of exposing to the sun, and herein, adds process of exposing to the sun and refers to the factor increasing original image, carry out exposure-processed according to the factor after increasing to original image.Fall process of exposing to the sun and refer to the factor reducing original image, according to the factor after reducing, exposure-processed is carried out to original image.The present embodiment, mobile terminal can carry out single exposure process to original image, thus, obtain one and to open one's eyes wide logo image.Alternatively, mobile terminal can carry out multiexposure, multiple exposure process to original image, thus, multiple target images can be obtained.Thus, mobile terminal carries out exposure-processed to original image and can obtain N and to open one's eyes wide logo image, wherein, N be more than or equal to 1 integer.
Alternatively, the embodiment adding process of exposing to the sun can be as follows:
Mobile terminal can determine the factor of original image, based on this factor, is tuned up by this factor, then carries out exposure-processed according to the factor after increasing to original image.It should be noted that the factor of original image and ambient brightness also have mobile terminal whether to drive photoflash lamp relevant.Generally, the higher then factor of ambient brightness is comparatively large, and the less then factor of ambient brightness is less.
Further alternatively, the embodiment of falling process of exposing to the sun can be as follows:
Mobile terminal can determine the factor of original image, based on this factor, is reduced by this factor, then carries out exposure-processed according to the factor after reducing to original image.
S303, employing are preset Multiresolution Decompositions Approach and described original image are decomposed into the first low frequency component and the first high fdrequency component.
In specific implementation, default Multiresolution Decompositions Approach can include but are not limited to: the conversion of wavelet transformation, profile wave convert, non-down sampling contourlet transform, shearing wave, ridgelet transform and warp wavelet etc.Mobile terminal can adopt default Multiresolution Decompositions Approach to decompose original image, thus, the first low frequency component and first high fdrequency component of this original image can be obtained.Alternatively, can inverse transformation corresponding to Multiresolution Decompositions Approach default with this be carried out to this first low frequency component and the first high fdrequency component and obtain original image.First low frequency component comprises the main information of original image, and the first high fdrequency component comprises the detailed information of original image.
S304, described default Multiresolution Decompositions Approach logo image of being opened one's eyes wide by described N is adopted to be decomposed into the second low frequency component and the second high fdrequency component.
In specific implementation, mobile terminal can adopt default Multiresolution Decompositions Approach to carry out multi-resolution decomposition to N logo image of opening one's eyes wide respectively, thus N number of low frequency component and several high fdrequency components can be obtained, N number of low frequency component is collectively referred to as the second low frequency component, and these several high fdrequency components are collectively referred to as the second high fdrequency component.
S305, described first low frequency component and described second low frequency component are weighted process, to obtain the 3rd low frequency component.
In specific implementation, mobile terminal can respectively to first point of frequency component and the second low frequency component weights assigned factor, according to this weighted factor to the first low frequency component and the second low frequency component weighting process, to obtain the 3rd low frequency component.Preferably, when above-mentioned N is 1, namely the second low frequency component comprises a low frequency component, then can be weighted average calculating operation to the first low frequency component and the second low frequency component, to obtain the 3rd low frequency component.
Such as, target image can be n, and this n target image can be respectively: the 1st target image, the 2nd target image ..., the i-th target image ..., the n-th target image.The weighted factor of the first low frequency component can be k 0, the second low frequency component can comprise n weighted factor, and this n weighted factor is respectively: the weighted factor of the 1st target image is k 1, the 2nd target image weighted factor be k 2..., the i-th target image weighted factor be k i..., the n-th target image weighted factor be k n, and k 0+ k 1+ k 2+ ...+k i+ ... .+k n=1.The first low frequency component of original image is made to be expressed as f 0, the second low frequency component is respectively: the weighted factor of the 1st target image is expressed as f 1, the 2nd target image weighted factor be f 2..., the i-th target image weighted factor be f i..., the n-th target image weighted factor be f n.In addition, the 3rd low frequency component can represent F low, so can according to following formulae discovery the 3rd low frequency component:
k 0×f 0+k 1×f 1+k 2×f 2+...+k i×f i+....+k n×f n=F Low
S306, described first high fdrequency component and described second high fdrequency component to be processed according to predetermined manner, to obtain third high frequency component.
In specific implementation, mobile terminal the first high fdrequency component and the second high fdrequency component can carry out absolute value maximizing operation, can obtain third high frequency component.
Alternatively, owing to carrying out multi-resolution decomposition to original image and target image respectively, so can obtain several high fdrequency components, absolute value is got large account form and can be described when being 1 by N, and concrete formula is as follows:
C N H i g h ( x , y ) = m a x ( | C N O ( x , y ) | , | C N L ( x , y ) | )
Wherein, N represents N number of high fdrequency component, and max represents maximizing operation, represent N number of high fdrequency component of original image, represent N number of high fdrequency component of target image, (x, y) represents the position of pixel.
S307, described 3rd low frequency component and described third high frequency component are carried out inverse transformation, to obtain HDR image according to the inverse transform method corresponding with described default Multiresolution Decompositions Approach.
The camera of mobile terminal can be utilized to obtain original image by the embodiment of the present invention, exposure-processed is carried out to this original image, to open one's eyes wide logo image to obtain N, logo image of original image and this N being opened one's eyes wide carries out multi-resolution decomposition, low frequency component after decomposition and high fdrequency component are processed targetedly, finally the low frequency component after process and high fdrequency component are synthesized HDR image, in the present embodiment, can process individual original image, thus, the number of times of taking pictures of camera can be reduced, correspondingly, can reduce in the process of taking pictures because user's hand shaking is moved or object moves the probability producing ghost image, thus, the probability producing ghost image in the HDR image of synthesis can decline.
Be apparatus of the present invention embodiment below, the method that apparatus of the present invention embodiment realizes for performing the inventive method embodiment one to three, for convenience of explanation, illustrate only the part relevant to the embodiment of the present invention, concrete ins and outs do not disclose, and please refer to the embodiment of the present invention one to embodiment three.
Refer to Fig. 4 a-Fig. 4 d, the first example structure schematic diagram of a kind of mobile terminal that Fig. 4 a provides for the embodiment of the present invention.Mobile terminal described in Fig. 4 a comprises: acquiring unit 401, processing unit 402 and synthesis unit 403, specific as follows:
Acquiring unit 401, obtains original image for utilizing the camera of mobile terminal.
Processing unit 402, carries out exposure-processed for the original image got described acquiring unit 401, to open one's eyes wide logo image to obtain N, wherein, described N be more than or equal to 1 integer.
As a kind of possible execution mode, when N is 2, N logo image of opening one's eyes wide is first object image and the second target image, processing unit 402 also specifically for:
Process of exposing to the sun is added to described original image, to obtain described first object image; Process of exposing to the sun is fallen to described original image, to obtain described second target image.
Synthesis unit 403, the N obtained for the original image that got by described acquiring unit 401 and described processing unit processes logo image of opening one's eyes wide synthesizes HDR image.
As a kind of possible execution mode, as shown in Figure 4 b, be the situation adding process of exposing to the sun in exposure-processed, the processing unit 402 described in Fig. 4 a comprises:
First determining unit 4021, for determining the factor of the original image that described acquiring unit 401 gets.
Increase unit 4022, for increasing the factor that described first determining unit 4021 is determined.
First process subelement 4023, carries out exposure-processed according to the factor after described increase unit 4022 increases to described original image.
As a kind of possible execution mode, as illustrated in fig. 4 c, when exposure-processed exposes to the sun process for falling, the processing unit 402 described in Fig. 4 a comprises:
Second determining unit 404, for determining the factor of the original image that described acquiring unit 401 gets.
Reduce unit 405, for reducing the factor that described second determining unit 404 is determined.
Second process subelement 406, carries out exposure-processed for the factor after reducing according to described reduction unit 405 to described original image.
As a kind of possible execution mode, as shown in figure 4d, the synthesis unit 403 of Fig. 4 a or the mobile terminal described in Fig. 4 b can comprise:
Resolving cell 4031, is decomposed into the first low frequency component and the first high fdrequency component for adopting default Multiresolution Decompositions Approach by the original image that described acquiring unit 401 gets.
Described resolving cell 4031 also specifically for:
N after adopting described default Multiresolution Decompositions Approach to be processed by described processing unit 402 logo image of opening one's eyes wide is decomposed into the second low frequency component and the second high fdrequency component.
Low frequency component processing unit 4032, for decomposing the first low frequency component of obtaining and the second low frequency component is weighted process, to obtain the 3rd low frequency component by described resolving cell 4031.
High fdrequency component processing unit 4033, for decomposing the first high fdrequency component of obtaining and the second high fdrequency component processes according to predetermined manner, to obtain third high frequency component by described resolving cell 4031.
Synthon unit 4034, inverse transformation is carried out, to obtain HDR image according to the inverse transform method corresponding with described default Multiresolution Decompositions Approach for the third high frequency component after the 3rd low frequency component after being processed by described low frequency component processing unit 4032 and described high fdrequency component processing unit 4033 process.
Mobile terminal described by the embodiment of the present invention can utilize the camera of mobile terminal to obtain original image, exposure-processed is carried out to this original image, to open one's eyes wide logo image to obtain N, logo image of original image and this N being opened one's eyes wide synthesizes HDR image, because carry out exposure-processed to individual original image, and then the image after exposure-processed and original image are synthesized HDR, in the present embodiment, can process individual original image, thus, the number of times of taking pictures of camera can be reduced, correspondingly, can reduce in the process of taking pictures because user's hand shaking is moved or object moves the probability producing ghost image, thus, the probability producing ghost image in the HDR image of synthesis can decline.
Refer to Fig. 5, the structural representation of the second embodiment of a kind of mobile terminal provided for the embodiment of the present invention.Mobile terminal described in the present embodiment, comprising: at least one input equipment 1000; At least one output equipment 2000; At least one processor 3000, such as CPU; With memory 4000, above-mentioned input equipment 1000, output equipment 2000, processor 3000 are connected by bus 5000 with memory 4000.
Wherein, above-mentioned input equipment 1000 specifically can be touch-screen, physical button, pointer etc.
Above-mentioned output equipment 2000 specifically can be display screen or display.
Above-mentioned memory 4000 can be high-speed RAM memory, also can be non-labile memory (non-volatilememory), such as magnetic disc store.Above-mentioned memory 4000 is for storing batch processing code, and above-mentioned input equipment 1000, output equipment 2000 and processor 3000, for calling the program code stored in memory 4000, perform and operate as follows:
Above-mentioned processor 3000, obtains original image for utilizing the camera of mobile terminal;
Exposure-processed is carried out to described original image, to open one's eyes wide logo image to obtain N, wherein, described N be more than or equal to 1 integer;
Logo image of described original image and described N being opened one's eyes wide synthesizes HDR image.
As a kind of possible execution mode, described exposure-processed is for adding process of exposing to the sun, and above-mentioned processor 3000 carries out exposure-processed to described original image, comprising:
Determine the factor of described original image;
Increase described factor;
According to the factor after increasing, exposure-processed is carried out to described original image.
As a kind of possible execution mode, described exposure-processed is for falling process of exposing to the sun, and above-mentioned processor 3000 carries out exposure-processed to described original image, comprising:
Determine the factor of described original image;
Reduce described factor;
According to the factor after reducing, exposure-processed is carried out to described original image.
As a kind of possible execution mode, when N is 2, described N logo image of opening one's eyes wide is first object image and the second target image, and above-mentioned processor 3000 carries out exposure-processed to described original image, to open one's eyes wide logo image, comprising to obtain N:
Process of exposing to the sun is added to described original image, to obtain described first object image;
Process of exposing to the sun is fallen to described original image, to obtain described second target image.
As a kind of possible execution mode, above-mentioned processor 3000 logo image of described original image and described N being opened one's eyes wide synthesizes HDR image, comprising:
Adopt default Multiresolution Decompositions Approach that described original image is decomposed into the first low frequency component and the first high fdrequency component;
Described default Multiresolution Decompositions Approach logo image of being opened one's eyes wide by described N is adopted to be decomposed into the second low frequency component and the second high fdrequency component;
Described first low frequency component and described second low frequency component are weighted process, to obtain the 3rd low frequency component;
Described first high fdrequency component and described second high fdrequency component are processed according to predetermined manner, to obtain third high frequency component;
Described 3rd low frequency component and described third high frequency component are carried out inverse transformation, to obtain HDR image according to the inverse transform method corresponding with described default Multiresolution Decompositions Approach.
In specific implementation, input equipment 1000 described in the embodiment of the present invention, output equipment 2000 and processor 3000 can perform the first embodiment of the method for a kind of image procossing that the embodiment of the present invention provides, the second embodiment and the implementation described in the 3rd embodiment, also can perform the implementation of the mobile terminal described in the first embodiment of a kind of mobile terminal that the embodiment of the present invention provides, not repeat them here.
Mobile terminal described by the embodiment of the present invention can utilize the camera of mobile terminal to obtain original image, exposure-processed is carried out to this original image, to open one's eyes wide logo image to obtain N, logo image of original image and this N being opened one's eyes wide synthesizes HDR image, in the present embodiment, can process individual original image, thus, the number of times of taking pictures of camera can be reduced, correspondingly, can reduce because user's hand shaking is moved or object moves the probability producing ghost image in the process of taking pictures, thus, the probability producing ghost image in the HDR image of synthesis can decline.
The embodiment of the present invention also provides a kind of computer-readable storage medium, and wherein, this computer-readable storage medium can have program stored therein, and comprises the part or all of step of any one signal processing method recorded in said method embodiment when this program performs.
In the above-described embodiments, the description of each embodiment is all emphasized particularly on different fields, in certain embodiment, there is no the part described in detail, can see the associated description of other embodiments.
It should be noted that, for aforesaid each embodiment of the method, in order to simple description, therefore it is all expressed as a series of combination of actions, but those skilled in the art should know, the present invention is not by the restriction of described sequence of movement, because according to the present invention, some step may can adopt other orders or carry out simultaneously.Secondly, those skilled in the art also should know, the embodiment described in specification all belongs to preferred embodiment, and involved action and module might not be that the present invention is necessary.
In several embodiments that the application provides, should be understood that, disclosed device, the mode by other realizes.Such as, device embodiment described above is only schematic, the division of such as said units, be only a kind of logic function to divide, actual can have other dividing mode when realizing, such as multiple unit or assembly can in conjunction with or another system can be integrated into, or some features can be ignored, or do not perform.Another point, shown or discussed coupling each other or direct-coupling or communication connection can be by some interfaces, and the indirect coupling of device or unit or communication connection can be electrical or other form.
The above-mentioned unit illustrated as separating component or can may not be and physically separates, and the parts as unit display can be or may not be physical location, namely can be positioned at a place, or also can be distributed in multiple network element.Some or all of unit wherein can be selected according to the actual needs to realize the object of the present embodiment scheme.
In addition, each functional unit in various embodiments of the present invention can be integrated in a processing unit, also can be that the independent physics of unit exists, also can two or more unit in a unit integrated.Above-mentioned integrated unit both can adopt the form of hardware to realize, and the form of SFU software functional unit also can be adopted to realize.
If above-mentioned integrated unit using the form of SFU software functional unit realize and as independently production marketing or use time, can be stored in a computer read/write memory medium.Based on such understanding, the part that technical scheme of the present invention contributes to prior art in essence in other words or all or part of of this technical scheme can embody with the form of software product, this computer software product is stored in a storage medium, comprise all or part of step of some instructions in order to make a computer equipment (can be personal computer, server or the network equipment etc., can be specifically the processor in computer equipment) perform each embodiment said method of the present invention.Wherein, and aforesaid storage medium can comprise: USB flash disk, portable hard drive, magnetic disc, CD, read-only memory are (English: Read-OnlyMemory, abbreviation: ROM) or random access memory (English: RandomAccessMemory, abbreviation: RAM) etc. various can be program code stored medium.
The above, above embodiment only in order to technical scheme of the present invention to be described, is not intended to limit; Although with reference to previous embodiment to invention has been detailed description, those of ordinary skill in the art is to be understood that: it still can be modified to the technical scheme described in foregoing embodiments, or carries out equivalent replacement to wherein portion of techniques feature; And these amendments or replacement, do not make the essence of appropriate technical solution depart from the spirit and scope of various embodiments of the present invention technical scheme.

Claims (10)

1. a method for image procossing, is characterized in that, comprising:
The camera of mobile terminal is utilized to obtain original image;
Exposure-processed is carried out to described original image, to open one's eyes wide logo image to obtain N, wherein, described N be more than or equal to 1 integer;
Logo image of described original image and described N being opened one's eyes wide synthesizes HDR image.
2. method according to claim 1, is characterized in that, described exposure-processed, for adding process of exposing to the sun, describedly carries out exposure-processed to described original image, comprising:
Determine the factor of described original image;
Increase described factor;
According to the factor after increasing, exposure-processed is carried out to described original image.
3. method according to claim 1, is characterized in that, described exposure-processed, for falling process of exposing to the sun, describedly carries out exposure-processed to described original image, comprising:
Determine the factor of described original image;
Reduce described factor;
According to the factor after reducing, exposure-processed is carried out to described original image.
4. the method for claim 1, is characterized in that, when N is 2, described N logo image of opening one's eyes wide is first object image and the second target image, describedly carries out exposure-processed to described original image, to open one's eyes wide logo image, comprising to obtain N:
Process of exposing to the sun is added to described original image, to obtain described first object image;
Process of exposing to the sun is fallen to described original image, to obtain described second target image.
5. the method as described in any one of Claims 1-4, is characterized in that, described logo image of described original image and described N being opened one's eyes wide synthesizes HDR image, comprising:
Adopt default Multiresolution Decompositions Approach that described original image is decomposed into the first low frequency component and the first high fdrequency component;
Described default Multiresolution Decompositions Approach logo image of being opened one's eyes wide by described N is adopted to be decomposed into the second low frequency component and the second high fdrequency component;
Described first low frequency component and described second low frequency component are weighted process, to obtain the 3rd low frequency component;
Described first high fdrequency component and described second high fdrequency component are processed according to predetermined manner, to obtain third high frequency component;
Described 3rd low frequency component and described third high frequency component are carried out inverse transformation, to obtain HDR image according to the inverse transform method corresponding with described default Multiresolution Decompositions Approach.
6. a mobile terminal, is characterized in that, comprising:
Acquiring unit, obtains original image for utilizing the camera of mobile terminal;
Processing unit, carries out exposure-processed for the original image got described acquiring unit, to open one's eyes wide logo image to obtain N, wherein, described N be more than or equal to 1 integer;
Synthesis unit, the N obtained for the original image that got by described acquiring unit and described processing unit processes logo image of opening one's eyes wide synthesizes HDR image.
7. mobile terminal according to claim 6, is characterized in that, described exposure-processed is for adding process of exposing to the sun, and described processing unit comprises:
First determining unit, for determining the factor of the original image that described acquiring unit gets;
Increase unit, for increasing the factor that described first determining unit is determined;
First process subelement, carries out exposure-processed according to the factor after described increase unit increases to described original image.
8. mobile terminal according to claim 6, is characterized in that, described exposure-processed is for falling process of exposing to the sun, and described processing unit comprises:
Second determining unit, for determining the factor of the original image that described acquiring unit gets;
Reduce unit, for reducing the factor that described second determining unit is determined;
Second process subelement, carries out exposure-processed for the factor after reducing according to described reduction unit to described original image.
9. mobile terminal as claimed in claim 6, is characterized in that, when N is 2, described N logo image of opening one's eyes wide is first object image and the second target image, described processing unit also specifically for:
Process of exposing to the sun is added to described original image, to obtain described first object image;
Process of exposing to the sun is fallen to described original image, to obtain described second target image.
10. the mobile terminal as described in any one of claim 6 to 9, is characterized in that, described synthesis unit comprises:
Resolving cell, is decomposed into the first low frequency component and the first high fdrequency component for adopting default Multiresolution Decompositions Approach by the original image that described acquiring unit gets;
Described resolving cell also specifically for:
Described default Multiresolution Decompositions Approach logo image of being opened one's eyes wide by the N after described processing unit processes is adopted to be decomposed into the second low frequency component and the second high fdrequency component;
Low frequency component processing unit, for decomposing the first low frequency component of obtaining and the second low frequency component is weighted process, to obtain the 3rd low frequency component by described resolving cell;
High fdrequency component processing unit, for decomposing the first high fdrequency component of obtaining and the second high fdrequency component processes according to predetermined manner, to obtain third high frequency component by described resolving cell;
Synthon unit, for the 3rd low frequency component after described low frequency component processing unit processes and the third high frequency component after described high fdrequency component processing unit processes are carried out inverse transformation, to obtain HDR image according to the inverse transform method corresponding with described default Multiresolution Decompositions Approach.
CN201510634239.9A 2015-09-28 2015-09-28 A kind of method of image procossing and mobile terminal Pending CN105227856A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510634239.9A CN105227856A (en) 2015-09-28 2015-09-28 A kind of method of image procossing and mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510634239.9A CN105227856A (en) 2015-09-28 2015-09-28 A kind of method of image procossing and mobile terminal

Publications (1)

Publication Number Publication Date
CN105227856A true CN105227856A (en) 2016-01-06

Family

ID=54996506

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510634239.9A Pending CN105227856A (en) 2015-09-28 2015-09-28 A kind of method of image procossing and mobile terminal

Country Status (1)

Country Link
CN (1) CN105227856A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105744159A (en) * 2016-02-15 2016-07-06 努比亚技术有限公司 Image synthesizing method and device
CN105844606A (en) * 2016-03-22 2016-08-10 博康智能网络科技股份有限公司 Wavelet transform-based image fusion method and system thereof
CN106375675A (en) * 2016-08-30 2017-02-01 中国科学院长春光学精密机械与物理研究所 Aerial camera multi-exposure image fusion method
CN109688322A (en) * 2018-11-26 2019-04-26 维沃移动通信(杭州)有限公司 A kind of method, device and mobile terminal generating high dynamic range images
CN110177223A (en) * 2019-06-28 2019-08-27 Oppo广东移动通信有限公司 Image processing method and device, electronic equipment, computer readable storage medium
WO2021056538A1 (en) * 2019-09-29 2021-04-01 深圳市大疆创新科技有限公司 Image processing method and device

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101627899A (en) * 2009-07-28 2010-01-20 上海市激光技术研究所 Microcirculation two-channel three-space simulation pseudocolor microscopy video imaging system
US20120002082A1 (en) * 2010-07-05 2012-01-05 Johnson Garrett M Capturing and Rendering High Dynamic Range Images
CN104702971A (en) * 2015-03-24 2015-06-10 西安邮电大学 High dynamic range imaging method of camera array
CN104853091A (en) * 2015-04-30 2015-08-19 广东欧珀移动通信有限公司 Picture taking method and mobile terminal
CN104869297A (en) * 2015-06-15 2015-08-26 联想(北京)有限公司 Image processing method and electronic equipment
CN104881644A (en) * 2015-05-25 2015-09-02 华南理工大学 Face image acquisition method under uneven lighting condition

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101627899A (en) * 2009-07-28 2010-01-20 上海市激光技术研究所 Microcirculation two-channel three-space simulation pseudocolor microscopy video imaging system
US20120002082A1 (en) * 2010-07-05 2012-01-05 Johnson Garrett M Capturing and Rendering High Dynamic Range Images
CN104702971A (en) * 2015-03-24 2015-06-10 西安邮电大学 High dynamic range imaging method of camera array
CN104853091A (en) * 2015-04-30 2015-08-19 广东欧珀移动通信有限公司 Picture taking method and mobile terminal
CN104881644A (en) * 2015-05-25 2015-09-02 华南理工大学 Face image acquisition method under uneven lighting condition
CN104869297A (en) * 2015-06-15 2015-08-26 联想(北京)有限公司 Image processing method and electronic equipment

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
刘国旗等: "《数码相机的原理、使用与维修》", 31 October 2006, 中国计量出版社 *
屠明非: "《曝光技术与技巧》", 31 July 1995, 辽宁美术出版社 *

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105744159A (en) * 2016-02-15 2016-07-06 努比亚技术有限公司 Image synthesizing method and device
WO2017140182A1 (en) * 2016-02-15 2017-08-24 努比亚技术有限公司 Image synthesis method and apparatus, and storage medium
CN105744159B (en) * 2016-02-15 2019-05-24 努比亚技术有限公司 A kind of image composition method and device
CN105844606A (en) * 2016-03-22 2016-08-10 博康智能网络科技股份有限公司 Wavelet transform-based image fusion method and system thereof
CN106375675A (en) * 2016-08-30 2017-02-01 中国科学院长春光学精密机械与物理研究所 Aerial camera multi-exposure image fusion method
CN106375675B (en) * 2016-08-30 2019-04-05 中国科学院长春光学精密机械与物理研究所 A kind of more exposure image fusion methods of aerial camera
CN109688322A (en) * 2018-11-26 2019-04-26 维沃移动通信(杭州)有限公司 A kind of method, device and mobile terminal generating high dynamic range images
CN109688322B (en) * 2018-11-26 2021-04-02 维沃移动通信(杭州)有限公司 Method and device for generating high dynamic range image and mobile terminal
CN110177223A (en) * 2019-06-28 2019-08-27 Oppo广东移动通信有限公司 Image processing method and device, electronic equipment, computer readable storage medium
WO2021056538A1 (en) * 2019-09-29 2021-04-01 深圳市大疆创新科技有限公司 Image processing method and device

Similar Documents

Publication Publication Date Title
CN105227856A (en) A kind of method of image procossing and mobile terminal
EP3627437B1 (en) Data screening device and method
US11010338B2 (en) Data screening device and method
US8805120B2 (en) Image processing apparatus and method which generates reference data according to learning images
CN110110145B (en) Descriptive text generation method and device
CN108734749A (en) The visual style of image converts
CN108292358A (en) The generation of the synthesis three-dimensional object image of system for identification
WO2020146911A2 (en) Multi-stage multi-reference bootstrapping for video super-resolution
CN111931877B (en) Target detection method, device, equipment and storage medium
CN104853091A (en) Picture taking method and mobile terminal
Ishii et al. Color-histogram-based tracking at 2000 fps
CN105141827A (en) Distortion correction method and terminal
CN112562019A (en) Image color adjusting method and device, computer readable medium and electronic equipment
JP2021530770A (en) Video processing methods, equipment and computer storage media
KR20240058070A (en) Edge device including npu and operation method thereof
KR102102182B1 (en) Apparatus and method for restoring image
CN115049783A (en) Model determination method, scene reconstruction model, medium, device and product
WO2022216521A1 (en) Dual-flattening transformer through decomposed row and column queries for semantic segmentation
CN112714263B (en) Video generation method, device, equipment and storage medium
CN112801882B (en) Image processing method and device, storage medium and electronic equipment
CN112489144A (en) Image processing method, image processing apparatus, terminal device, and storage medium
CN116704200A (en) Image feature extraction and image noise reduction method and related device
CN111488886A (en) Panorama image significance prediction method and system with attention feature arrangement and terminal
CN114419517A (en) Video frame processing method and device, computer equipment and storage medium
CN114331845A (en) Image processing apparatus and method

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20160106

RJ01 Rejection of invention patent application after publication