Camera thumbnail generation method, mobile terminal and storage medium

A mobile terminal and storage medium technology, which is applied in the field of photography and can solve problems such as extended thumbnail time

Active Publication Date: 2018-06-05
TCL COMM TECH NINGBO CO LTD
View PDF14 Cites 10 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

In this way, the user needs to go through the entire photo-taking process from pressing the shutter button to waiting for the final display of the thumbnail. In addition, the encoding of the thumbnail in the later stage and the increase in the size of the photo make the generation of the thumbnail longer.

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Camera thumbnail generation method, mobile terminal and storage medium
  • Camera thumbnail generation method, mobile terminal and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0055] The invention provides a method for generating camera thumbnails. see figure 1 , figure 1 It is a flow chart of a preferred embodiment of the method for generating camera thumbnails in the present invention. Such as figure 1 As shown, a method for generating a camera thumbnail includes the following steps:

[0056] In step S10, the shutter instruction is obtained, and the camera application program starts to monitor the preview data, and caches and forms a queue.

[0057] In the embodiment of the present invention, when the user presses the shutter button, the camera obtains the shutter command and reads the preview size. At this time, the camera application program will allocate a memory space according to the current preview size and the format of the preview data to create a Fixed-length circular queue. Because different hardware corresponds to different performance, and the length of the queue cannot be determined, the use of a fixed-length circular queue is be...

Embodiment 2

[0079] The present invention also provides a mobile terminal, such as figure 2 As shown, the mobile terminal in this embodiment of the present invention may be a smart device such as a mobile phone (or a tablet), wherein the mobile terminal in this embodiment includes a processor 10 and a memory 20 connected to the processor 10 .

[0080] The memory 20 stores a camera thumbnail generation program, and the camera thumbnail generation program is executed by the processor 10 to implement the following steps:

[0081] Obtain the shutter command, the camera application starts to monitor the preview data, and buffers to form a queue;

[0082] After the camera application program receives the photographing frame information, stop monitoring;

[0083] Find the queue and determine the preview data corresponding to the photo frame;

[0084] Sampling is performed according to the preview data to generate a thumbnail; the details are as described above.

[0085] Further, the program f...

Embodiment 3

[0100] The present invention also provides a storage medium, the storage medium stores a program for generating camera thumbnails, and when the program for generating camera thumbnails is executed by the processor 10, it is used to implement the method for generating camera thumbnails; specifically as above mentioned.

[0101] In summary, the present invention discloses a method for generating camera thumbnails, a mobile terminal and a storage medium. The method for generating a camera thumbnail image includes: acquiring a shutter command, the camera application program starts to monitor the preview data, and caches and forms a queue; when the camera application program receives the photographing frame information, stops monitoring; searches for the queue, and determines and photographs the frame Corresponding preview data; perform sampling processing according to the preview data to generate thumbnails. The present invention selects the preview data from the same frame sourc...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention discloses a camera thumbnail generation method, a mobile terminal and a storage medium. The method comprises the following steps: acquiring a shutter instruction, starting monitoring, bya camera application program, preview data, and buffering the preview data to form a queue; after the camera application program receives photographing frame information, stopping monitoring; searching the queue, and determining preview data corresponding to the photographing frame; and performing sampling processing according to the preview data to generate a thumbnail. According to the camera thumbnail generation method disclosed by the invention, the preview data from the same frame source as the photographing data is selected by matching the frame numbers, the thumbnail is generated by using the preview data as target data, the thumbnail is generated quickly in a shooting process, the consistency of the contents of the thumbnail and the photographing result graph is ensured, the interaction between photographing and the user is accelerated, the waiting time for generating the thumbnail is shortened, and convenience is brought to the user.

Description

technical field [0001] The invention relates to the technical field of photography, in particular to a method for generating camera thumbnails, a mobile terminal and a storage medium. Background technique [0002] With the popularity of mobile terminals, the use of camera applications on mobile terminals, especially the use of camera functions to record real life is becoming more and more widespread. In the prior art, in a camera application, after a photo is taken, there will be a specific area for displaying a thumbnail. The content of this thumbnail is consistent with the content of the current photo, and the user can understand the current situation of taking pictures according to this thumbnail, so as to realize the interaction between the camera application and the user. However, the existing thumbnail generation method is to generate a photo with a smaller size based on the target photo, that is, the thumbnail can only be obtained after the photo is taken. In this w...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Applications(China)
IPC IPC(8): H04N5/232H04N9/04
CPCH04N23/62H04N23/10
Inventor 史豪君
Owner TCL COMM TECH NINGBO CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products