CN103853534B - A kind of photo instant playback method and device - Google Patents
A kind of photo instant playback method and device Download PDFInfo
- Publication number
- CN103853534B CN103853534B CN201210505091.5A CN201210505091A CN103853534B CN 103853534 B CN103853534 B CN 103853534B CN 201210505091 A CN201210505091 A CN 201210505091A CN 103853534 B CN103853534 B CN 103853534B
- Authority
- CN
- China
- Prior art keywords
- thumbnail
- photo
- animation
- rectangular outlet
- drawn
- 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.)
- Active
Links
Landscapes
- User Interface Of Digital Computer (AREA)
Abstract
The present invention is applied to image technique field, there is provided a kind of photo instant playback method and device, including:Taking pictures, interface is loaded into animation forms;Event of taking pictures is detected, and current shooting photo is obtained according to the event of taking pictures;Generation the first thumbnail corresponding with the current shooting photo;The animation that first thumbnail exports from rectangular outlet is drawn in the animation forms.Photo instant playback method provided by the invention is suitable for camera application program, after user has shot a photo using camera function, by drawing photo in real time from the animation process of specific outlet output, so as to user is just shot the photo finished immediately, be dynamically presented to user, reach intuitively photo instant playback effect, the prompting that action executing finishes of being taken pictures to user has been better achieved.
Description
Technical field
The invention belongs to image technique field, more particularly to a kind of photo instant playback method and device.
Background technology
With the continuous lifting of mobile terminal hardware configuration and the intelligentized continuous development of software, mobile phone, tablet personal computer etc.
The camera technology content more and more higher of mobile terminal, the camera function of mobile terminal have been fully able to substitute traditional card
Machine, meet the demand of taking pictures in user's daily life, therefore, increasing user's selection records the lower part of the body using mobile terminal
The visual angle on side.
Existing mobile terminal all possesses photo instant playback function, by the photo that has just shot user with thumbnail
Form mobile terminal screen some specific region carry out instant playback, with facilitate user confirm take pictures action complete, and
User can be by clicking on the thumbnail, the photo that preview has just been shot.
However, photo instant playback function of the prior art is only to show thumbnail in specific region, if user couple
Same Scene is continuously shot, or is shot in the state of the prompting of shutter sound is lacked, then is difficult intuitively to pass through contracting
Sketch map confirms the completion of action of taking pictures, i.e., when carrying out instant playback to photo in the prior art, instant playback effect is not directly perceived, shadow
The operating efficiency of user is rung.
The content of the invention
The purpose of the embodiment of the present invention is to provide a kind of photo instant playback function, it is intended to which solution compares in the prior art
When piece carries out instant playback, the non-intuitive problem of instant playback effect.
The embodiment of the present invention is achieved in that a kind of photo instant playback method, including:
Taking pictures, interface is loaded into animation forms;
Event of taking pictures is detected, and current shooting photo is obtained according to the event of taking pictures;
Generation the first thumbnail corresponding with the current shooting photo;
The animation that first thumbnail exports from rectangular outlet is drawn in the animation forms.
The another object of the embodiment of the present invention is to provide a kind of photo instant playback device, including:
Unit is loaded into, for being loaded into animation forms at interface of taking pictures;
Detection unit, current shooting photo is obtained for detecting event of taking pictures, and according to the event of taking pictures;
Generation unit, for generating the first thumbnail corresponding with the current shooting photo;
Drawing unit, the animation exported for drawing first thumbnail in the animation forms from rectangular outlet.
Photo instant playback method provided in an embodiment of the present invention is suitable for camera application program, when user's use is taken pictures
After function has shot a photo, by drawing photo in real time from the animation process of specific outlet output, so as to by user
Just shoot the photo finished immediately, be dynamically presented to user, reach intuitively photo instant playback effect, preferably in fact
The prompting that action executing finishes of being taken pictures to user is showed.
Brief description of the drawings
Fig. 1 is the implementation process figure of photo instant playback method provided in an embodiment of the present invention;
Fig. 2 is that camera application program provided in an embodiment of the present invention is taken pictures interface schematic diagram;
Fig. 3 is photo instant playback method and step S103 provided in an embodiment of the present invention specific implementation flow chart;
Fig. 4 is the specific implementation flow chart for the photo instant playback method and step S 103 that another embodiment of the present invention provides;
Fig. 5 is photo instant playback method effect diagram provided in an embodiment of the present invention;
Fig. 6 is the structured flowchart of photo instant playback device provided in an embodiment of the present invention;
Fig. 7 is the structured flowchart for the photo instant playback device that another embodiment of the present invention provides.
Embodiment
In order to make the purpose , technical scheme and advantage of the present invention be clearer, it is right below in conjunction with drawings and Examples
The present invention is further elaborated.It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, and
It is not used in the restriction present invention.
Photo instant playback method provided in an embodiment of the present invention is suitable for camera application program, when user's use is taken pictures
After function has shot a photo, by drawing photo in real time from the animation process of specific outlet output, so as to by user
Just shoot the photo finished immediately, be dynamically presented to user, reach intuitively photo instant playback effect, preferably in fact
The prompting that action executing finishes of being taken pictures to user is showed.
Above-mentioned camera application program can be the camera run in the terminal devices such as mobile phone, tablet personal computer or computer
Application program, and go for the terminal operating systems such as IOS, Android or Windows, user is by operating above-mentioned phase
Machine application program is controlled to the first-class imaging device of shooting being integrated in terminal device, so as to realize taking pictures for terminal device
Or shooting action.
Fig. 1 shows the implementation process of photo instant playback method provided in an embodiment of the present invention, and details are as follows:
In step S101, taking pictures, interface is loaded into animation forms.
Generally,, can be in terminal screen during triggering camera function when user starts camera application program in terminal device
On show interface of taking pictures as shown in Figure 2, user is taken pictures fast in interface after the scene for needing to shoot is taken by control
Door button 21, which can be realized, takes pictures.
Now, in the present embodiment, can be by being set in advance to just shooting the instant playback function of the photo finished
Animation effect is loaded in the animation forms put to realize, the animation forms are arranged in the interface of taking pictures of camera application program, tool
Body, it can set on animation forms 23, animation forms can also be arranged on Interface Control column 22 of taking pictures as shown in Figure 2
The corner of view-finder or border area, i.e. animation forms can be taken pictures with not influence user and find a view effect and user takes pictures control
Braking is used as premise, the optional position being placed in interface of taking pictures.
In step s 102, event of taking pictures is detected, and current shooting photo is obtained according to the event of taking pictures.
Specifically, after camera function starts, touched when detecting that the shutter release button in interface of taking pictures is in by state, or
The physical button that the system of detecting is provided as shutter release button is pressed, that is, determines event of taking pictures, while according to the bat
According to event, current shooting photo is got.
In step s 103, the first thumbnail corresponding with the current shooting photo is generated.
In the present embodiment, the first thumbnail is generated according to current shooting photo, the first thumbnail of generation is subsequently walking
It is used for the animation process for drawing out the output of the first thumbnail in rapid, and for terminating afterwards finally in animation in animation process
User is presented in forms.
Alternatively, the size of the first thumbnail of generation can be the size for being adapted to show in animation forms, with convenient
The animation effect that output is completed in animation forms is presented and finally presented.
Further, the first thumbnail of generation can be the full width thumbnail of the photo of current shooting, or when
The local thumbnail of the photo of preceding shooting.
In step S104, the animation that the first thumbnail exports from rectangular outlet is drawn in animation forms.
In the present embodiment, the first thumbnail is generated from the animation that rectangular outlet exports by drawing N two field pictures successively, its
In, N is the integer more than 1.By drawing each two field picture successively in animation window, to show the photo of current shooting
The animation that thumbnail exports from rectangular outlet.Specifically, i-th is drawn(1≤i≤N)The process of two field picture is as shown in Figure 3:
In step S301, rectangular outlet is drawn.
In the present embodiment, the position of rectangular outlet includes but is not limited to top, bottom, left side or the right side of animation forms
Side, using the output outlet as the first thumbnail.Preferably, rectangular outlet is located at the top of animation forms, to cause the first contracting
Sketch map can export from rectangular outlet from up to down, simulate the instant slice effect of Polaroid camera or photo-printer.
And alternatively, rectangular outlet can be depicted as round rectangle, and either orthogonal rectangle or all using rectangle as basic configuration can
Using the irregular shape exported as the first thumbnail, do not limit one by one herein.
In step s 302, i-th/N section of the first thumbnail is drawn towards outbound course at rectangular outlet.
In the present embodiment, by taking the animation that point photo of three frames completion current shooting exports from rectangular outlet as an example, painting
When making the first two field picture, then the 1/3rd part of the first thumbnail is only drawn;When drawing the second two field picture, then the first contracting is drawn
2/3rd part of sketch map;When drawing three two field pictures, then the 3/3rd part of the first thumbnail is drawn, that is, drawn out complete
First thumbnail.
When i-th/N section to the first thumbnail is drawn, its draw position be at rectangular outlet court
The outbound course of first thumbnail is drawn so that N group of picture into animation can simulate photo from Polaroid or
The effect of slice is printed in photo-printer.
Obviously, it is necessary to explanation, the drafting for each two field picture, the part of the first thumbnail exported every time can be with
The i/N of whole the first thumbnail is not limited to, can also be sequentially output, be not limited thereto according to other default ratios.
Preferably, after above-mentioned steps S302 is completed, phase can also be added in rectangular outlet and thumbnail as needed
The hatching effect of position is answered, with more life-like depicts the 3-D effect of photo output.
Pass through step S301 and step S302, you can to realize the drafting to the i-th two field picture, pass through such iterative cycles
Step shown in Fig. 3 in turn draws out N two field pictures with prefixed time interval, i.e., can be that user shows the first thumbnail from square
The animation of shape outlet output.
Preferably due to camera application program is under current shooting state, it will usually the upper photo that will be shot before this
It has been shown that, and the photo that finishes will just shot and override a upper photo for shooting after the completion of shooting action, so as to begin
A newest photo for user's shooting is shown in the form of thumbnail eventually, therefore, as one embodiment of the present of invention, in step
After S301, before step S302, as shown in figure 4, also including:
Step S303:Obtain the second thumbnail of a upper photo for shooting.
Wherein, the second thumbnail can by call storage shooting a upper photo in-time generatin, can also by
Before this during instant playback is carried out to a upper photo for shooting, the laggard of step S102 generation thumbnails is being performed
Row stores and directly calls the thumbnail from corresponding memory space in step S401.
Step S304:At rectangular outlet the second thumbnail is drawn towards outbound course.
Thus, effect as shown in Figure 5 can be presented in the wherein two field picture drawn out according to Fig. 4, that is, the photograph printed
Piece covering output is in a upper photo for shooting.
According to the method shown in Fig. 4 of the present invention, if in the absence of a upper photo for shooting, can step S301 it
Afterwards, before step S302, outbound course draws blank thumbnail directly at rectangular outlet, to represent the photo in current shooting
Before and in the absence of having shot photo.
In embodiments of the present invention, after user has shot a photo using camera function, by drawing in real time
Photo immediately, is dynamically presented to from the animation process of specific outlet output so as to which user just to be shot to the photo finished
User, reach intuitively photo instant playback effect, the prompting that action executing finishes of being taken pictures to user has been better achieved.
Fig. 6 shows the structured flowchart of photo instant playback device provided in an embodiment of the present invention, and the device can be located at
In the terminal devices such as mobile phone, tablet personal computer, for running the photo instant playback method shown in Fig. 1 of the present invention to Fig. 5.In order to just
In explanation, part related to the present embodiment illustrate only.
Reference picture 6, the device include:
Unit 61 is loaded into, interface is loaded into animation forms taking pictures.
Detection unit 62, current shooting photo is obtained for detecting event of taking pictures, and according to the event of taking pictures.
Generation unit 63, generate the first thumbnail corresponding with the current shooting photo.
Drawing unit 64, the animation that the first thumbnail exports from rectangular outlet is drawn in animation forms.
Alternatively, as shown in fig. 7, the first thumbnail from the animation that rectangular outlet exports by the animation forms according to
Secondary drafting N two field pictures generation, the N are the integer more than 1,
Wherein, drawing unit 64 includes when drawing the i-th two field picture:
First draws subelement 641, draws rectangular outlet.
Second draws subelement 642, draws i-th/N section of the first thumbnail towards outbound course in rectangular outlet.
In specific drawing process, subelement 642 is drawn by performing the first drafting subelement 641 and second repeatedly,
Finished until whole animation process is drawn.
Alternatively, drawing unit 64 also includes:
Subelement is obtained, obtains the second thumbnail of a upper photo for shooting.
3rd draws subelement, and the second thumbnail is drawn towards outbound course at rectangular outlet.
Alternatively, drawing unit 64 also includes:
4th draws subelement, and blank thumbnail is drawn towards outbound course at rectangular outlet.
Alternatively, drawing unit 64 also includes:
Hatching effect adds subelement, for adding hatching effect for the rectangular outlet and first thumbnail.
In embodiments of the present invention, after user has shot a photo using camera function, by drawing in real time
Photo immediately, is dynamically presented to from the animation process of specific outlet output so as to which user just to be shot to the photo finished
User, reach intuitively photo instant playback effect, the prompting that action executing finishes of being taken pictures to user has been better achieved.
The foregoing is merely illustrative of the preferred embodiments of the present invention, is not intended to limit the invention, all essences in the present invention
All any modification, equivalent and improvement made within refreshing and principle etc., should be included in the scope of the protection.
Claims (10)
- A kind of 1. photo instant playback method, it is characterised in that including:Taking pictures, interface is loaded into animation forms;Event of taking pictures is detected, and current shooting photo is obtained according to the event of taking pictures;Generation the first thumbnail corresponding with the current shooting photo;Animation is drawn in the animation forms, the animation includes the animation mistake that first thumbnail exports from rectangular outlet Journey.
- 2. the method as described in claim 1, it is characterised in that the drafting animation in the animation forms is included in described N two field pictures are drawn in animation forms successively, the N is the integer more than 1,Wherein, drawing the method for the i-th two field picture includes:Draw rectangular outlet;Draw i-th/N section of first thumbnail towards outbound course in the rectangular outlet, the i be more than or equal to 1 and Integer less than or equal to N.
- 3. method as claimed in claim 2, it is characterised in that described in the rectangle after the drafting rectangular outlet Before exporting i-th/N section that first thumbnail is drawn towards outbound course, methods described also includes:Obtain the second thumbnail of a upper photo for shooting;At rectangular outlet the second thumbnail is drawn towards outbound course.
- 4. method as claimed in claim 2, it is characterised in that described in the rectangle after the drafting rectangular outlet Before exporting i-th/N section that first thumbnail is drawn towards outbound course, methods described also includes:At rectangular outlet blank thumbnail is drawn towards outbound course.
- 5. the method as described in any one of claim 2~4, it is characterised in that drawn in the rectangular outlet towards outbound course After i-th/N section of first thumbnail, methods described also includes:Hatching effect is added for the rectangular outlet and first thumbnail.
- A kind of 6. photo instant playback device, it is characterised in that including:Unit is loaded into, for being loaded into animation forms at interface of taking pictures;Detection unit, current shooting photo is obtained for detecting event of taking pictures, and according to the event of taking pictures;Generation unit, for generating the first thumbnail corresponding with the current shooting photo;Drawing unit, for drawing animation in the animation forms, the animation goes out including first thumbnail from rectangle The animation process of mouth output.
- 7. device as claimed in claim 6, it is characterised in that the drafting animation in the animation forms is included in described N two field pictures are drawn in animation forms successively, the N is the integer more than 1,Wherein, the drawing unit includes when drawing the i-th two field picture:First draws subelement, for drawing rectangular outlet;Second draws subelement, for i-th/N section of first thumbnail to be drawn towards outbound course in the rectangular outlet, The i is the integer more than or equal to 1 and less than or equal to N.
- 8. device as claimed in claim 7, it is characterised in that the drawing unit also includes:Subelement is obtained, the second thumbnail of the upper photo for obtaining shooting;3rd draws subelement, for drawing the second thumbnail towards outbound course at rectangular outlet.
- 9. device as claimed in claim 7, it is characterised in that the drawing unit also includes:4th draws subelement, for drawing blank thumbnail towards outbound course at rectangular outlet.
- 10. the device as described in any one of claim 7~9, it is characterised in that the drawing unit also includes:Hatching effect adds subelement, for adding hatching effect for the rectangular outlet and first thumbnail.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210505091.5A CN103853534B (en) | 2012-11-30 | 2012-11-30 | A kind of photo instant playback method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210505091.5A CN103853534B (en) | 2012-11-30 | 2012-11-30 | A kind of photo instant playback method and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN103853534A CN103853534A (en) | 2014-06-11 |
CN103853534B true CN103853534B (en) | 2017-12-01 |
Family
ID=50861237
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201210505091.5A Active CN103853534B (en) | 2012-11-30 | 2012-11-30 | A kind of photo instant playback method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103853534B (en) |
Families Citing this family (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104793973B (en) * | 2015-04-23 | 2018-09-18 | 惠州Tcl移动通信有限公司 | A kind of loading method and system of mobile terminal picture file |
CN105068748A (en) * | 2015-08-12 | 2015-11-18 | 上海影随网络科技有限公司 | User interface interaction method in camera real-time picture of intelligent touch screen equipment |
CN105681648A (en) * | 2015-12-31 | 2016-06-15 | 北京金山安全软件有限公司 | Picture viewing method and device and electronic equipment |
CN116528038B (en) * | 2023-07-03 | 2023-10-20 | 荣耀终端有限公司 | Image processing method, electronic equipment and storage medium |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1571479A (en) * | 2004-04-23 | 2005-01-26 | 惠州Tcl移动通信有限公司 | Method for shooting motion picture using handset |
CN1863297A (en) * | 2005-05-12 | 2006-11-15 | 三星电子株式会社 | Method for displaying image data in portable terminal |
CN101431616A (en) * | 2007-11-06 | 2009-05-13 | 奥林巴斯映像株式会社 | Image synthesis device and method |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CA2475050A1 (en) * | 2002-02-15 | 2003-08-28 | Tridium, Inc. | Component model for real time system control |
TW200926048A (en) * | 2007-12-14 | 2009-06-16 | Lead Data Inc | Screen auxiliary system |
-
2012
- 2012-11-30 CN CN201210505091.5A patent/CN103853534B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1571479A (en) * | 2004-04-23 | 2005-01-26 | 惠州Tcl移动通信有限公司 | Method for shooting motion picture using handset |
CN1863297A (en) * | 2005-05-12 | 2006-11-15 | 三星电子株式会社 | Method for displaying image data in portable terminal |
CN101431616A (en) * | 2007-11-06 | 2009-05-13 | 奥林巴斯映像株式会社 | Image synthesis device and method |
Also Published As
Publication number | Publication date |
---|---|
CN103853534A (en) | 2014-06-11 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104135611B (en) | The method and device taken pictures using split screen function realization | |
KR101709380B1 (en) | Image processing apparatus, image processing method and program thereof | |
CN105245640B (en) | Mobile terminal and its control method | |
CN104683692B (en) | A kind of continuous shooting method and device | |
CN105187814B (en) | Image processing method and associated apparatus | |
CN103853534B (en) | A kind of photo instant playback method and device | |
CN107770312A (en) | Method for information display, device and terminal | |
CN106605403A (en) | Photographing method and electronic device | |
WO2014183537A1 (en) | Terminal screenshot method and device | |
CN105874776A (en) | Image processing apparatus and method | |
CN105812650A (en) | Image obtaining method and electronic device | |
CN104423946A (en) | Image processing method and electronic device | |
CN104618572A (en) | Photographing method and device for terminal | |
CN104219445B (en) | Screening-mode method of adjustment and device | |
CN107566579A (en) | Image pickup method, device, terminal and storage medium | |
CN103631599B (en) | One kind is taken pictures processing method, system and mobile terminal | |
WO2015184841A1 (en) | Method and apparatus for controlling projection display | |
CN108174082B (en) | Image shooting method and mobile terminal | |
CN106572295A (en) | Image processing method and device | |
CN104869372B (en) | Projection method and electronic equipment | |
CN106161916A (en) | A kind of image-pickup method and electronic equipment | |
CN106101526A (en) | Screen recording method and device | |
CN104423777B (en) | The method and device that a kind of window is shown | |
CN103873755B (en) | Jump portrait system and method | |
CN104050692B (en) | Picture display process and device during a kind of beautification of photo |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |