CN104104880A - Mobile terminal and shooting method thereof - Google Patents

Mobile terminal and shooting method thereof Download PDF

Info

Publication number
CN104104880A
CN104104880A CN201410364410.4A CN201410364410A CN104104880A CN 104104880 A CN104104880 A CN 104104880A CN 201410364410 A CN201410364410 A CN 201410364410A CN 104104880 A CN104104880 A CN 104104880A
Authority
CN
China
Prior art keywords
image
subject image
composograph
preset time
mobile terminal
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
CN201410364410.4A
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.)
Shenzhen ZTE Mobile Telecom Co Ltd
Original Assignee
Shenzhen ZTE Mobile Telecom Co 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 Shenzhen ZTE Mobile Telecom Co Ltd filed Critical Shenzhen ZTE Mobile Telecom Co Ltd
Priority to CN201410364410.4A priority Critical patent/CN104104880A/en
Publication of CN104104880A publication Critical patent/CN104104880A/en
Pending legal-status Critical Current

Links

Abstract

The invention discloses a mobile terminal and a shooting method thereof. The shooting method includes that after beginning shooting, gathering object images according to a preset time interval and a corresponding preset focal length; selecting all the object images gathered in the preset time length or selecting a preset number of object images; carrying out additive operation on the selected object images to generate a composite image corresponding to the object movement track. Through gathering the corresponding object images of an object (such as thunder) through zooming treatment and compositing all the object images to generate the corresponding composite image, the shooting method solves the problem of unclear composite image and improves the image gathering definition, and accordingly the clear composite image corresponding to the object can be precisely presented to a user.

Description

Mobile terminal and image pickup method thereof
Technical field
The present invention relates to camera technique, relate in particular to a kind of mobile terminal and image pickup method thereof.
Background technology
Along with the continuous lifting of the stereographic hardware of the mobile terminal such as mobile phone, panel computer, the shoot function of mobile terminal is also more and more diversified, and user is also more and more higher to the photographing request of mobile terminal.The shoot function that current mobile terminal possesses, depends on the relevant treatment algorithm that stereographic hardware equipment and chip supplier provide, and only has several fixing screening-modes such as focusing, white balance.
And thunder and lightning shooting is mainly used in taking day aerial this weather view of thunder and lightning, due to the uniqueness of thunder and lightning weather view, therefore, thunder and lightning is taken the favor that is deeply subject to numerous shutterbugs.
Traditional thunder and lightning is taken, to take in the moment that occurs thunder and lightning, picture when utilizing the camera continuous acquisition thunder and lightning of mobile terminal to occur, and collected all pictures are synthesized, and then form the corresponding synthesising picture of thunder and lightning of taking.This processing mode, taking thunderstorm hour, is the modified-image that gathers thunder and lightning with same focal length, cannot gather the variation of thunder and lightning with different focal lengths, and the image that therefore synthetic thunder and lightning changes also can exist unsharp problem; In addition, this style of shooting also cannot embody the depth effect of thunder and lightning, and visual effect is not good.
Summary of the invention
Main purpose of the present invention is to solve the existing unintelligible problem of synthetic image.
For achieving the above object, the embodiment of the present invention provides a kind of image pickup method of mobile terminal, comprises the following steps:
After shooting starts, according to Preset Time interval and corresponding default focal length, gather subject image;
Choose all described subject image gathering in default duration, or choose the described subject image of predetermined number;
The described subject image of choosing is carried out to add operation, generate the composograph that this object is corresponding.
Preferably, after described shooting starts, according to Preset Time interval and corresponding default focal length, before gathering the step of subject image, also comprise:
According to the shooting duration that object is taken, in shooting duration, described default duration is set, and gathers described Preset Time interval corresponding to image in described default duration, and the described default focal length adopting after each Preset Time interval.
Preferably, after described shooting starts, according to Preset Time interval and corresponding default focal length, the step that gathers subject image comprises:
After shooting starts, according to the described shooting duration that object is taken, every a Preset Time interval, according to different described default focal length continuous acquisition subject image corresponding after this Preset Time interval.
Preferably, described the described subject image of choosing is carried out to add operation, the step that generates the composograph that this object is corresponding comprises:
The composograph that the current subject image of choosing is become with upper opening and closing carries out the synthetic processing of brightness according to add operation, generates the composograph that this object is corresponding.
Preferably, the step that the described composograph that the current subject image of choosing is become with upper opening and closing carries out the synthetic processing of brightness according to add operation comprises:
Whether the brightness that judges the pixel in current subject image is greater than the brightness of the pixel of same position in the composograph that opening and closing become;
If so, in the composograph upper opening and closing being become, the brightness of the pixel of this position replaces with the pixel in current image, carries out accordingly image and synthesizes.
In addition, for achieving the above object, the present invention also provides a kind of mobile terminal, and described mobile terminal comprises:
Acquisition module, after starting, according to Preset Time interval and corresponding default focal length, gathers subject image for shooting;
Choose module, for getting all described subject image gathering in default duration, or choose the described subject image of predetermined number;
Synthesis module, for the described subject image of choosing is carried out to add operation, generates the composograph that this object is corresponding.
Preferably, described mobile terminal also comprises:
Module is set, the shooting duration of object being taken for basis, in shooting duration, described default duration is set, and gathers described Preset Time interval corresponding to image in described default duration, and the described default focal length adopting after each Preset Time interval.
Preferably, described arrange module also for:
After shooting starts, according to the described shooting duration that object is taken, every a Preset Time interval, according to different described default focal length continuous acquisition subject image corresponding after this Preset Time interval.
Preferably, described synthesis module also for:
The composograph that the current subject image of choosing is become with upper opening and closing carries out the synthetic processing of brightness according to add operation, generates the composograph that this object is corresponding.
Preferably, described synthesis module also for:
Whether the brightness that judges the pixel in current subject image is greater than the brightness of the pixel of same position in the composograph that opening and closing become;
If so, in the composograph upper opening and closing being become, the brightness of the pixel of this position replaces with the pixel in current image, carries out accordingly image and synthesizes.
The present invention, after user has selected the synthetic screening-mode of image and started to take, according to Preset Time interval and corresponding default focal length, gathers subject image; Choose all described subject image gathering in default duration, or choose the described subject image of predetermined number; The described subject image of choosing is carried out to add operation, generate the composograph that this object is corresponding.Process and gather object subject image as corresponding in thunder and lightning by zoom, and all objects image is synthesized and generates composograph corresponding to this object, solve composograph and had unsharp problem, improve the definition of IMAQ, thereby can present the composograph of movement locus of object clearly to user exactly.
Brief description of the drawings
Fig. 1 is the schematic flow sheet of image pickup method first embodiment of mobile terminal of the present invention;
Fig. 2 is the schematic flow sheet of image pickup method second embodiment of mobile terminal of the present invention;
Fig. 3 is the high-level schematic functional block diagram of mobile terminal the first embodiment of the present invention;
Fig. 4 is the high-level schematic functional block diagram of mobile terminal the second embodiment of the present invention.
Realization, functional characteristics and the advantage of the object of the invention, in connection with embodiment, are described further with reference to accompanying drawing.
Embodiment
Should be appreciated that specific embodiment described herein, only in order to explain the present invention, is not intended to limit the present invention.
The invention provides a kind of image pickup method of mobile terminal.Please refer to Fig. 1, the schematic flow sheet of image pickup method the first embodiment that Fig. 1 is mobile terminal of the present invention.
In the embodiment described in Fig. 1, the image pickup method of this mobile terminal comprises the following steps:
After step S11, shooting start, according to Preset Time interval and corresponding default focal length, gather subject image;
In the embodiment of the present invention, the shoot function of this mobile terminal also possesses the synthetic screening-mode of image, and user can select the synthetic screening-mode of image or common screening-mode to take the movement locus of object.Wherein, the synthetic screening-mode of image is in conjunction with the requirement of photographed scene corresponding to object to be shot, preset the time for exposure, the parameter such as ISO, resolution, exposure compensating, noise reduction, can also, according to the default different thunder and lightning acquisition parameters of different thunder and lightning scene corresponding in different weather environment, while shooting for user, select.Adopt the described style of shooting of the present embodiment, can take static object, also can take the corresponding movement locus of object of motion; Wherein, the object of described motion can be understood as: the relative motion between object to be taken and the mobile terminal of this object of shooting, such as, the state of object is motion, the state of mobile terminal is static; Or the state of object is static, the state of mobile terminal is motion; Or, the state consistency of object and mobile terminal, but the relative position change of the two.
When having selected image, user synthesizes screening-mode, press and take button or trigger after virtual shooting button, mobile terminal receives the correspondence shooting instruction that user triggers, mobile terminal starts to carry out object shooting, according to the shooting duration that object is taken, in this shooting duration, mobile terminal carries out interval shooting every certain time length; According to the default focal length adopting after Preset Time interval and this Preset Time interval, mobile terminal gathers subject image.In the embodiment of the present invention, in the time gathering image, the aperture of mobile terminal is constant, only changes the focal length using when mobile terminal is taken.Such as, in this concrete photographed scene of thunder and lightning, for shooting the depth effect that thunder and lightning is corresponding, mobile terminal take background identical be that reference object is thunder and lightning, mobile terminal corresponding aperture of mobile terminal in the time taking is constant, the focal length using while only changing shooting according to Preset Time interval.After each Preset Time interval, all correspondence is provided with corresponding default focal length, and therefore, gather image after this Preset Time interval of process time, all objects image of mobile terminal collection is all to take with the default focal length of correspondence.Such as, Preset Time is set and is spaced apart 1ms,, after first 1ms, mobile terminal gathers image according to focal length L1; After second 1ms, mobile terminal gathers image etc. according to focal length L2.
Step S12, choose all described subject image gathering in default duration, or choose the described subject image of predetermined number;
In the embodiment of the present invention, mobile terminal can gather respectively the modified-image of subject image such as thunder and lightning according to the mode of zoom by one or more cameras in shooting duration, the subject image gathering, choose all objects image of taking in default duration in taking duration.Wherein, described shooting duration is more than or equal to described default duration.Such as, in the time that mobile terminal gathers image corresponding to thunder and lightning at the beginning, due to thunder and lightning DeGrain, or while shooting, produce shake and caused the not fogging clear of collection, mobile terminal is carrying out image when synthetic, directly above-mentioned image is rejected, automatically choose shooting effect better and image comparatively clearly image synthesize.
Mobile terminal is chosen corresponding subject image and also can be triggered by user.Such as, in order to obtain better synthetic effect, or user wishes to obtain different composographs, and user chooses the subject image that mobile terminal gathers; Mobile terminal receives after the selection instruction of user's triggering, according to user's selection instruction, chooses the subject image having gathered that described selection instruction is pointed to.Wherein, the described subject image of choosing can be to choose in a continuous default duration, also can within discontinuous several time periods, choose; The embodiment of the present invention does not limit the concrete selection mode of choosing the described thing moving image gathering in default duration.
In the embodiment of the present invention, also can choose the subject image of predetermined number, thereby the subject image of above-mentioned predetermined number is synthesized.
Step S13, the subject image of choosing is carried out to add operation, generate the composograph that this object is corresponding.
Collect subject image and choose after the subject image gathering in the default duration that will synthesize, it is synthetic that mobile terminal adopts addition algorithm that all subject image are carried out to image, to generate the composograph that this object is corresponding.In the embodiment of the present invention, carrying out image when synthetic, it is synthetic that mobile terminal can take following mode to carry out image: while collecting in default duration each subject image, synthesize in real time, also can be that the whole subject image that collect are first cached in memory, after shooting finishes, from memory, call subject image unified synthesizing again.
In one embodiment of the present invention, in order to save memory space, mobile terminal directly synthesizes the subject image of choosing, or from buffer memory, choose in real time subject image and carry out image synthetic after, complete after subject image synthetic, mobile terminal replacement buffer memory, empties the wherein data of buffer memory, for the data of subsequent acquisition provide certain spatial cache.
In the embodiment of the present invention, mobile terminal utilizes add operation to synthesize in the following way to the subject image of choosing to carry out: in the time choosing first subject image, set it as image to be synthesized, itself and image to be synthesized are synthesized to a current composograph choosing after second subject image, and successively the composograph of the selected subject image of getting and a upper generation is below synthesized, finally generate the composograph that captured all objects image forms.Such as, mobile terminal becomes the current subject image of choosing composograph with upper opening and closing is according to add operation, the monochrome information of the composograph becoming with upper opening and closing according to current subject image is carried out the synthetic processing of brightness, generates the composograph that this object is corresponding.
Further, in the embodiment of the present invention, mobile terminal becomes the current subject image of choosing composograph with upper opening and closing carries out the synthetic processing of brightness, generates composograph corresponding to movement locus of object and can take following mode:
Mobile terminal judges whether the brightness of the pixel in current subject image is greater than the brightness of pixel of same position in the composograph that opening and closing become; If the pixel intensity in current subject image is greater than the brightness of pixel of same position in the composograph that opening and closing become, in the composograph that mobile terminal becomes upper opening and closing, the brightness of the pixel of this position replaces with the pixel in current image, and according to this synthesis mode, carry out image synthetic, until complete all subject image to be synthesized.
Wherein, for the pixel of same position different time points, mobile terminal judges whether the brightness of the pixel in current subject image is greater than the brightness of the pixel of the composograph of an opening and closing one-tenth, if, pixel replacement in the composograph upper opening and closing being become is the pixel in current subject image, after the less pixel of brightness has all been replaced in the composograph becoming in upper opening and closing, be final synthetic composograph.That is, the synthetic mode that adopts brightness to select of the image of the present embodiment is carried out, taking synthetic image (composograph that upper opening and closing become) as basis, as base image; Then select the synthetic method that in successive image, the bright pixel of brightness ratio base image is replaced.
Such as having chosen first subject image, at this moment just taking first subject image (image in past) as basis, be elected to while getting second subject image (current image), the pixel of the correspondence position of first subject image and second subject image is contrasted, if the brightness that the brightness of second is greater than first, the pixel that extracts second subject image replaces the pixel of first subject image correspondence position, finally just obtain a composograph, then again taking this composograph as basis, follow-up subject image is carried out to identical processing, finally obtain the captured corresponding composograph of all objects image.
And for example, image comprises pixel cell 1, pixel cell 2 ... pixel cell n, n pixel cell altogether, wherein the brightness of pixel cell 501~pixel cell 700 current image that totally 200 pixel cells are corresponding is greater than the composograph that opening and closing become, mobile terminal is by the pixel of pixel cell 501~pixel cell 700 in the image in the pixel replacement past of pixel cell 501~pixel cell 700 in current image, acquisition new image, i.e. composograph after replacement completes.The mode that this kind of bright spot replaced, with respect to the mode of bright spot stack, can shoot the depth effect of thunder and lightning more clearly, and other bright spot that prevents thunder and lightning side is crossed bright and affected the depth effect of thunder and lightning.
In addition, mobile terminal also synthetic images carries out noise reduction process, simultaneously also according to the exposure of conventional images, controls the synthetic ratio of new composograph, suppresses the generation of overexposure.
Generating after the composograph that movement locus of object is corresponding, mobile terminal shows in real time this composograph generating on display screen, for the current movement locus of object of user's live preview.Further, in order to reach the effect of smooth preview, mobile terminal is by the undersized thumbnail of full-scale composograph boil down to, in the time of preview, the composograph that mobile terminal shows is undersized thumbnail after compression, and full-scale composograph is stored, mobile terminal is divided into two threads by demonstration preview and image storage and carries out respectively.
Take button or press after end key when user presses again, taking and finish.Mobile terminal can all be stored each composograph, also can only store a composograph of last generation.
The present embodiment, after user has selected the synthetic screening-mode of image and started to take, according to Preset Time interval and corresponding default focal length, gathers subject image; Choose all described subject image gathering in default duration, or choose the described subject image of predetermined number; The described subject image of choosing is carried out to add operation, generate the composograph that this object is corresponding.The embodiment of the present invention is processed and is gathered object subject image as corresponding in thunder and lightning by zoom, and all objects image is synthesized and generates composograph corresponding to this object, solve unsharp problem that synthetic image exists, improve the definition of IMAQ, thereby can present to user the composograph clearly that object is corresponding exactly.
With reference to Fig. 2, the schematic flow sheet of image pickup method the second embodiment that Fig. 2 is mobile terminal of the present invention.Described in the embodiment of the present invention and Fig. 1, the difference of embodiment is, before taking, mobile terminal arranges takes required time parameter.
Based on the description of embodiment described in Fig. 1, as shown in Figure 2, the image pickup method of mobile terminal of the present invention embodiment described in Fig. 1 " step S11, take and start after, according to Preset Time interval and corresponding default focal length, gather subject image " before, also comprise:
The shooting duration that step S10, basis are taken object, in shooting duration, described default duration is set, and gather described Preset Time interval corresponding to image in described default duration, and the described default focal length adopting after each Preset Time interval.
Synthesizing by image before screening-mode carries out movement locus of object shooting, first according to the shooting duration of taking for object to be taken, arrange and choose the subject image gathering in the required default duration of composograph; Simultaneously, the Preset Time interval of taking needed conversion shooting focal length is set, wherein, this Preset Time interval can be arranged by User Defined also can be by default setting, this Preset Time interval can equate, according to identical Preset Time space changing focal length, also can be unequal, according to different Preset Time space changing focal lengths.When Preset Time interval is set, mobile terminal arranges each Preset Time interval default focal length of correspondence later, after this Preset Time interval, again gather or the whole shooting process of photographic images in, all take according to the corresponding default focal length in described Preset Time interval, with continuous acquisition subject image.The subject image collecting between each section of Preset Time interval may be one, also may be multiple, can be for one or more for the camera that gathers subject image in the present embodiment, as it is one, one or more subject image between the each Preset Time interval this camera being gathered is synthesized, and generates the composograph that this object is corresponding; If camera is multiple, in the process of taking, mobile terminal arranges Preset Time interval and default focal length corresponding to difference that each camera is taken, make it in shooting duration, take according to default focal length corresponding to Preset Time interval and described Preset Time interval, then obtain multiple cameras and take all objects image obtaining, and synthesize according to these subject image, generate composograph corresponding to movement locus of object.
Treat before the object of shooting takes synthesizing screening-mode by image, according to the shooting duration of movement locus of object, in shooting duration, described default duration is set, and collection described Preset Time interval corresponding to image in described default duration, and the described default focal length adopting after each Preset Time interval, take according to default focal length to control camera, thereby gather corresponding subject image, provide the foundation for presenting to user the composograph clearly that object is corresponding exactly.
The embodiment of the present invention also provides a kind of mobile terminal the first embodiment; Please refer to Fig. 3, Fig. 3 is the high-level schematic functional block diagram of mobile terminal the first embodiment of the present invention; As shown in Figure 3, embodiment of the present invention mobile terminal comprises: acquisition module 01, choose module 02 and synthesis module 03.
Described acquisition module 01 for, after taking and starting, according to Preset Time interval and corresponding default focal length, gather subject image.
In the embodiment of the present invention, the shoot function of this mobile terminal also possesses the synthetic screening-mode of image, and user can select the synthetic screening-mode of image or common screening-mode to take the movement locus of object.Wherein, the synthetic screening-mode of image is in conjunction with the requirement of photographed scene corresponding to object to be shot, preset the time for exposure, the parameter such as ISO, resolution, exposure compensating, noise reduction, can also, according to the default different thunder and lightning acquisition parameters of different thunder and lightning scene corresponding in different weather environment, while shooting for user, select.Adopt the described style of shooting of the present embodiment, can take static object, also can take the corresponding movement locus of object of motion; Wherein, the object of described motion can be understood as: the relative motion between object to be taken and the mobile terminal of this object of shooting, such as, the state of object is motion, the state of mobile terminal is static; Or the state of object is static, the state of mobile terminal is motion; Or, the state consistency of object and mobile terminal, but the relative position change of the two.
When having selected image, user synthesizes screening-mode, press and take button or trigger after virtual shooting button, described acquisition module 01 receives the correspondence shooting instruction that user triggers, start to carry out object shooting, according to the shooting duration that object is taken, in this shooting duration, described acquisition module 01 carries out interval shooting every certain time length; According to the default focal length adopting after Preset Time interval and this Preset Time interval, described acquisition module 01 gathers subject image.In the embodiment of the present invention, in the time that described acquisition module 01 gathers image, the aperture of mobile terminal is constant, only changes the focal length using while shooting.Such as, in this concrete photographed scene of thunder and lightning, for shooting the depth effect that thunder and lightning is corresponding, background that described acquisition module 01 is taken is identical is that reference object is thunder and lightning, the aperture that when described acquisition module 01 is taken, mobile terminal is corresponding is constant, the focal length using while only changing shooting according to Preset Time interval.After each Preset Time interval, all correspondence is provided with corresponding default focal length, and therefore, gather image after this Preset Time interval of process time, all objects image that described acquisition module 01 gathers is all to take with the default focal length of correspondence.Such as, Preset Time is set and is spaced apart 1ms,, after first 1ms, described acquisition module 01 gathers image according to focal length L1; After second 1ms, described acquisition module 01 gathers image etc. according to focal length L2.
Described choose module 02 for, get all described subject image gathering in default duration, or choose the described subject image of predetermined number;
In the embodiment of the present invention, mobile terminal utilizes described acquisition module 01 in shooting duration, to gather respectively the modified-image of subject image such as thunder and lightning according to the mode of zoom by one or more cameras, from taking the subject image gathering in duration, described in choose module 02 and choose all objects image of taking in default duration.Wherein, described shooting duration is more than or equal to described default duration.Such as, in the time that described acquisition module 01 gathers image corresponding to thunder and lightning at the beginning, due to thunder and lightning DeGrain, or while shooting, produce shake and caused the not fogging clear of collection, described synthesis module 03 is carrying out image when synthetic, directly above-mentioned image is rejected, described in choose that module 02 is chosen shooting effect better automatically and image comparatively clearly image synthesize.
The described module 02 of choosing is chosen corresponding subject image and also can be triggered by user.Such as, in order to obtain better synthetic effect, or user wishes to obtain different composographs, and user chooses the subject image that mobile terminal gathers; The described module 02 of choosing receives after the selection instruction that user triggers, and according to user's selection instruction, chooses the subject image having gathered that described selection instruction is pointed to.Wherein, described in to choose the described subject image that module 02 chooses can be to choose in a continuous default duration, also can within discontinuous several time periods, choose; The embodiment of the present invention is chosen the concrete selection mode of the described thing moving image gathering in default duration and is not limited the described module 02 of choosing.
In the embodiment of the present invention, described in choose module 02 and also can choose the subject image of predetermined number, thereby the subject image of above-mentioned predetermined number is synthesized.
Described synthesis module 03 for, the described subject image of choosing is carried out to add operation, generate the composograph that this object is corresponding.
Described acquisition module 01 collects subject image and is chosen after the subject image gathering in the default duration that will synthesize by the described module 02 of choosing, it is synthetic that described synthesis module 03 adopts addition algorithm that all subject image are carried out to image, to generate the composograph that this object is corresponding.In the embodiment of the present invention, carrying out image when synthetic, it is synthetic that described synthesis module 03 can take following mode to carry out image: while collecting in default duration each subject image, synthesize in real time, also can be that the whole subject image that collect are first cached in memory, after shooting finishes, from memory, call subject image unified synthesizing again.
In one embodiment of the present invention, in order to save memory space, described synthesis module 03 directly synthesizes the subject image of choosing, or from buffer memory, choose in real time subject image and carry out image synthetic after, complete after subject image synthetic, described synthesis module 03 replacement buffer memory, empties the wherein data of buffer memory, for the data of subsequent acquisition provide certain spatial cache.
In the embodiment of the present invention, described synthesis module 03 utilizes add operation to synthesize in the following way to the subject image of choosing to carry out: in the time choosing first subject image, set it as image to be synthesized, itself and image to be synthesized are synthesized to a current composograph choosing after second subject image, and successively the composograph of the selected subject image of getting and a upper generation is below synthesized, finally generate the composograph that captured all objects image forms.Such as, described synthesis module 03 becomes the current subject image of choosing composograph with upper opening and closing is according to add operation, the monochrome information of the composograph becoming with upper opening and closing according to current subject image is carried out the synthetic processing of brightness, generates the composograph that this object is corresponding.
Further, in the embodiment of the present invention, described synthesis module 03 becomes the current subject image of choosing composograph with upper opening and closing carries out the synthetic processing of brightness, generates composograph corresponding to movement locus of object and can take following mode:
Described synthesis module 03 judges whether the brightness of the pixel in current subject image is greater than the brightness of pixel of same position in the composograph that opening and closing become; If the pixel intensity in current subject image is greater than the brightness of pixel of same position in the composograph that opening and closing become, in the composograph that described synthesis module 03 becomes upper opening and closing, the brightness of the pixel of this position replaces with the pixel in current image, and according to this synthesis mode, carry out image synthetic, until complete all subject image to be synthesized.
Wherein, for the pixel of same position different time points, described synthesis module 03 judges whether the brightness of the pixel in current subject image is greater than the brightness of the pixel of the composograph of an opening and closing one-tenth, if, pixel replacement in the composograph upper opening and closing being become is the pixel in current subject image, after the less pixel of brightness has all been replaced in the composograph becoming in upper opening and closing, be final synthetic composograph.That is, the synthetic mode that adopts brightness to select of the image of the present embodiment is carried out, taking synthetic image (composograph that upper opening and closing become) as basis, as base image; Then select the synthetic method that in successive image, the bright pixel of brightness ratio base image is replaced.
Such as having chosen first subject image, at this moment just taking first subject image (image in past) as basis, be elected to while getting second subject image (current image), the pixel of the correspondence position of first subject image and second subject image is contrasted, if the brightness that the brightness of second is greater than first, the pixel that extracts second subject image replaces the pixel of first subject image correspondence position, finally just obtain a composograph, then again taking this composograph as basis, follow-up subject image is carried out to identical processing, finally obtain the captured corresponding composograph of all objects image.
And for example, image comprises pixel cell 1, pixel cell 2 ... pixel cell n, n pixel cell altogether, wherein the brightness of pixel cell 501~pixel cell 700 current image that totally 200 pixel cells are corresponding is greater than the composograph that opening and closing become, described synthesis module 03 is by the pixel of pixel cell 501~pixel cell 700 in the image in the pixel replacement past of pixel cell 501~pixel cell 700 in current image, acquisition new image, i.e. composograph after replacement completes.The mode that this kind of bright spot replaced, with respect to the mode of bright spot stack, can shoot the depth effect of thunder and lightning more clearly, and other bright spot that prevents thunder and lightning side is crossed bright and affected the depth effect of thunder and lightning.
In addition, described synthesis module 03 is gone back synthetic images and is carried out noise reduction process, simultaneously also according to the exposure of conventional images, controls the synthetic ratio of new composograph, suppresses the generation of overexposure.
Generate after the composograph that movement locus of object is corresponding at described synthesis module 03, mobile terminal shows in real time this composograph generating on display screen, for the current movement locus of object of user's live preview.Further, in order to reach the effect of smooth preview, mobile terminal is by the undersized thumbnail of full-scale composograph boil down to, in the time of preview, the composograph that mobile terminal shows is undersized thumbnail after compression, and full-scale composograph is stored, mobile terminal is divided into two threads by demonstration preview and image storage and carries out respectively.
Take button or press after end key when user presses again, taking and finish.Mobile terminal can all be stored each composograph, also can only store a composograph of last generation.
The present embodiment, after user has selected the synthetic screening-mode of image and started to take, according to Preset Time interval and corresponding default focal length, gathers subject image; Choose all described subject image gathering in default duration, or choose the described subject image of predetermined number; The described subject image of choosing is carried out to add operation, generate the composograph that this object is corresponding.The embodiment of the present invention is processed and is gathered object subject image as corresponding in thunder and lightning by zoom, and all objects image is synthesized and generates composograph corresponding to this object, solve unsharp problem that synthetic image exists, improve the definition of IMAQ, thereby can present to user the composograph clearly that object is corresponding exactly.
The embodiment of the present invention also provides a kind of mobile terminal the second embodiment; Please refer to Fig. 4, Fig. 4 is the high-level schematic functional block diagram of mobile terminal the second embodiment of the present invention.Described in the embodiment of the present invention and Fig. 3, the difference of embodiment is, before taking, mobile terminal arranges takes required time parameter.
Based on the description of embodiment described in Fig. 3, as shown in Figure 4, mobile terminal of the present invention also comprises:
Module 04 is set, the shooting duration of object being taken for basis, in shooting duration, described default duration is set, and gathers described Preset Time interval corresponding to image in described default duration, and the described default focal length adopting after each Preset Time interval.
Synthesizing by image before screening-mode carries out movement locus of object shooting, the described module 04 that arranges, first according to the shooting duration of taking for object to be taken, arranges and chooses the subject image gathering in the required default duration of composograph; Simultaneously, the described module 04 that arranges arranges the Preset Time interval of taking needed conversion shooting focal length, and wherein, this Preset Time interval can be arranged by User Defined also can be by default setting, this Preset Time interval can equate, according to identical Preset Time space changing focal length; Described default focal length also can be unequal, according to different Preset Time space changing focal lengths.When Preset Time interval is set, the described module 04 that arranges arranges each Preset Time interval default focal length of correspondence later, after this Preset Time interval, again gather or the whole shooting process of photographic images in, all take according to the corresponding default focal length in described Preset Time interval, with continuous acquisition subject image.The subject image collecting between each section of Preset Time interval may be one, also may be multiple, can be for one or more for the camera that gathers subject image in the present embodiment, as it is one, one or more subject image between each Preset Time interval that described synthesis module 03 gathers this camera is synthesized, and generates the composograph that this object is corresponding; If camera is multiple, in the process of taking, the described module 04 that arranges arranges Preset Time interval and default focal length corresponding to difference that each camera is taken, make it in shooting duration, taken according to default focal length corresponding to Preset Time interval and described Preset Time interval by described acquisition module 01, then obtain multiple cameras and take all objects image obtaining by the described module 02 of choosing, and synthesized according to these subject image by synthesis module 03, generate composograph corresponding to movement locus of object.
Treat before the object of shooting takes synthesizing screening-mode by image, according to the shooting duration of movement locus of object, in shooting duration, described default duration is set, and collection described Preset Time interval corresponding to image in described default duration, and the described default focal length adopting after each Preset Time interval, take according to default focal length to control camera, thereby gather corresponding subject image, provide the foundation for presenting to user the composograph clearly that object is corresponding exactly.
It should be noted that, in this article, term " comprises ", " comprising " or its any other variant are intended to contain comprising of nonexcludability, thereby the process, method, article or the device that make to comprise a series of key elements not only comprise those key elements, but also comprise other key elements of clearly not listing, or be also included as the intrinsic key element of this process, method, article or device.The in the situation that of more restrictions not, the key element being limited by statement " comprising ... ", and be not precluded within process, method, article or the device that comprises this key element and also have other identical element.
The invention described above embodiment sequence number, just to describing, does not represent the quality of embodiment.
Through the above description of the embodiments, those skilled in the art can be well understood to the mode that above-described embodiment method can add essential general hardware platform by software and realize, can certainly pass through hardware, but in a lot of situation, the former is better execution mode.Based on such understanding, the part that technical scheme of the present invention contributes to prior art in essence in other words can embody with the form of software product, this computer software product is stored in a storage medium (as ROM/RAM, magnetic disc, CD), comprise that some instructions (can be mobile phones in order to make a station terminal equipment, computer, server, or the network equipment etc.) carry out the method described in each embodiment of the present invention.
These are only the preferred embodiments of the present invention; not thereby limit the scope of the claims of the present invention; every equivalent structure or conversion of equivalent flow process that utilizes specification of the present invention and accompanying drawing content to do; or be directly or indirectly used in other relevant technical fields, be all in like manner included in scope of patent protection of the present invention.

Claims (10)

1. an image pickup method for mobile terminal, is characterized in that, comprises the following steps:
After shooting starts, according to Preset Time interval and corresponding default focal length, gather subject image;
Choose all described subject image gathering in default duration, or choose the described subject image of predetermined number;
The described subject image of choosing is carried out to add operation, generate the composograph that this object is corresponding.
2. the image pickup method of movement locus of object as claimed in claim 1, is characterized in that, after described shooting starts, according to Preset Time interval and corresponding default focal length, before gathering the step of subject image, also comprises:
According to the shooting duration that object is taken, in shooting duration, described default duration is set, and gathers described Preset Time interval corresponding to image in described default duration, and the described default focal length adopting after each Preset Time interval.
3. the image pickup method of movement locus of object as claimed in claim 2, is characterized in that, after described shooting starts, according to Preset Time interval and corresponding default focal length, the step that gathers subject image comprises:
After shooting starts, according to the described shooting duration that object is taken, every a Preset Time interval, according to different described default focal length continuous acquisition subject image corresponding after this Preset Time interval.
4. the image pickup method of the movement locus of object as described in claims 1 to 3 any one, is characterized in that, described the described subject image of choosing is carried out to add operation, and the step that generates the composograph that this object is corresponding comprises:
The composograph that the current subject image of choosing is become with upper opening and closing carries out the synthetic processing of brightness according to add operation, generates the composograph that this object is corresponding.
5. the image pickup method of movement locus of object as claimed in claim 4, is characterized in that, the described composograph that the current subject image of choosing is become with upper opening and closing carries out the synthetic step of processing of brightness according to add operation and comprises:
Whether the brightness that judges the pixel in current subject image is greater than the brightness of the pixel of same position in the composograph that opening and closing become;
If so, in the composograph upper opening and closing being become, the brightness of the pixel of this position replaces with the pixel in current image, carries out accordingly image and synthesizes.
6. a mobile terminal, is characterized in that, described mobile terminal comprises:
Acquisition module, after starting, according to Preset Time interval and corresponding default focal length, gathers subject image for shooting;
Choose module, for getting all described subject image gathering in default duration, or choose the described subject image of predetermined number;
Synthesis module, for the described subject image of choosing is carried out to add operation, generates the composograph that this object is corresponding.
7. mobile terminal as claimed in claim 6, is characterized in that, described mobile terminal also comprises:
Module is set, the shooting duration of object being taken for basis, in shooting duration, described default duration is set, and gathers described Preset Time interval corresponding to image in described default duration, and the described default focal length adopting after each Preset Time interval.
8. mobile terminal as claimed in claim 7, is characterized in that, described arrange module also for:
After shooting starts, according to the described shooting duration that object is taken, every a Preset Time interval, according to different described default focal length continuous acquisition subject image corresponding after this Preset Time interval.
9. the mobile terminal as described in claim 6 to 8 any one, is characterized in that, described synthesis module also for:
The composograph that the current subject image of choosing is become with upper opening and closing carries out the synthetic processing of brightness according to add operation, generates the composograph that this object is corresponding.
10. mobile terminal as claimed in claim 9, is characterized in that, described synthesis module also for:
Whether the brightness that judges the pixel in current subject image is greater than the brightness of the pixel of same position in the composograph that opening and closing become;
If so, in the composograph upper opening and closing being become, the brightness of the pixel of this position replaces with the pixel in current image, carries out accordingly image and synthesizes.
CN201410364410.4A 2014-07-28 2014-07-28 Mobile terminal and shooting method thereof Pending CN104104880A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410364410.4A CN104104880A (en) 2014-07-28 2014-07-28 Mobile terminal and shooting method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410364410.4A CN104104880A (en) 2014-07-28 2014-07-28 Mobile terminal and shooting method thereof

Publications (1)

Publication Number Publication Date
CN104104880A true CN104104880A (en) 2014-10-15

Family

ID=51672649

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410364410.4A Pending CN104104880A (en) 2014-07-28 2014-07-28 Mobile terminal and shooting method thereof

Country Status (1)

Country Link
CN (1) CN104104880A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110611767A (en) * 2019-09-25 2019-12-24 北京迈格威科技有限公司 Image processing method and device and electronic equipment
CN111050069A (en) * 2019-12-12 2020-04-21 维沃移动通信有限公司 Shooting method and electronic equipment
CN111083389A (en) * 2019-12-27 2020-04-28 维沃移动通信有限公司 Method and device for shooting image
CN113676661A (en) * 2019-11-09 2021-11-19 深圳市瑞沃德生命科技有限公司 Focus search method and system thereof

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006065337A (en) * 2005-09-12 2006-03-09 Ricoh Co Ltd Automatic focusing device, camera, portable information input device, focused position detecting method, and recording medium readable by computer
CN103491308A (en) * 2013-10-10 2014-01-01 珠海市魅族科技有限公司 Method and terminal for acquiring image data
CN103797780A (en) * 2011-09-14 2014-05-14 株式会社理光 Image capturing apparatus
CN103888683A (en) * 2014-03-24 2014-06-25 深圳市中兴移动通信有限公司 Mobile terminal and shooting method thereof
CN103905730A (en) * 2014-03-24 2014-07-02 深圳市中兴移动通信有限公司 Shooting method of mobile terminal and mobile terminal

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006065337A (en) * 2005-09-12 2006-03-09 Ricoh Co Ltd Automatic focusing device, camera, portable information input device, focused position detecting method, and recording medium readable by computer
CN103797780A (en) * 2011-09-14 2014-05-14 株式会社理光 Image capturing apparatus
CN103491308A (en) * 2013-10-10 2014-01-01 珠海市魅族科技有限公司 Method and terminal for acquiring image data
CN103888683A (en) * 2014-03-24 2014-06-25 深圳市中兴移动通信有限公司 Mobile terminal and shooting method thereof
CN103905730A (en) * 2014-03-24 2014-07-02 深圳市中兴移动通信有限公司 Shooting method of mobile terminal and mobile terminal

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110611767A (en) * 2019-09-25 2019-12-24 北京迈格威科技有限公司 Image processing method and device and electronic equipment
CN110611767B (en) * 2019-09-25 2021-08-10 北京迈格威科技有限公司 Image processing method and device and electronic equipment
CN113676661A (en) * 2019-11-09 2021-11-19 深圳市瑞沃德生命科技有限公司 Focus search method and system thereof
CN113676661B (en) * 2019-11-09 2023-08-01 深圳市瑞沃德生命科技有限公司 Focusing searching method and system thereof
CN111050069A (en) * 2019-12-12 2020-04-21 维沃移动通信有限公司 Shooting method and electronic equipment
CN111083389A (en) * 2019-12-27 2020-04-28 维沃移动通信有限公司 Method and device for shooting image

Similar Documents

Publication Publication Date Title
CN103905730B (en) The image pickup method of mobile terminal and mobile terminal
CN104125407A (en) Object motion track shooting method and mobile terminal
CN105827964B (en) A kind of image processing method and mobile terminal
CN103888683B (en) Mobile terminal and shooting method thereof
US20140092272A1 (en) Apparatus and method for capturing multi-focus image using continuous auto focus
CN103152489B (en) A kind of exhibiting method of image of autodyning and device
CN109729274B (en) Image processing method, image processing device, electronic equipment and storage medium
CN108337445A (en) Photographic method, relevant device and computer storage media
CN102158648B (en) Image capturing device and image processing method
CN105933601A (en) Method, apparatus, and computer program product for presenting burst images
CN104079833A (en) Method and device for shooting star orbit videos
CN104754227A (en) Method and device for shooting video
CN104104873A (en) Orbit shooting method, shooting method of object motion trails and mobile terminal
CN111107265B (en) Image processing method and device, computer readable medium and electronic equipment
CN113411498B (en) Image shooting method, mobile terminal and storage medium
CN104104881B (en) The image pickup method of object and mobile terminal
CN104104880A (en) Mobile terminal and shooting method thereof
CN103945116B (en) For handling the device and method of image in the mobile terminal with camera
CN110072059A (en) Image capturing device, method and terminal
CN112991245A (en) Double-shot blurring processing method and device, electronic equipment and readable storage medium
JP2022103020A (en) Photographing method and device, terminal, and storage medium
CN110047115A (en) Stars image capturing method, device, computer equipment and storage medium
CN101594459A (en) Select image system and method thereof
KR101773647B1 (en) Method and device for generating images comprising motion blur
CN112188085B (en) Image processing method and handheld pan-tilt camera

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information

Address after: 518000 Guangdong province Shenzhen city Nanshan District high tech park, No. 9018 North Central Avenue, building A, floor six, Han's innovation

Applicant after: Nubian Technologies Ltd.

Address before: 518000 Guangdong province Shenzhen city Nanshan District high tech park, No. 9018 North Central Avenue, building A, floor six, Han's innovation

Applicant before: Shenzhen ZTE Mobile Tech Co., Ltd.

COR Change of bibliographic data
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20141015