CN102402782A - Method for realizing special effect mode of mobile phone photographing - Google Patents
Method for realizing special effect mode of mobile phone photographing Download PDFInfo
- Publication number
- CN102402782A CN102402782A CN2011103512027A CN201110351202A CN102402782A CN 102402782 A CN102402782 A CN 102402782A CN 2011103512027 A CN2011103512027 A CN 2011103512027A CN 201110351202 A CN201110351202 A CN 201110351202A CN 102402782 A CN102402782 A CN 102402782A
- Authority
- CN
- China
- Prior art keywords
- lattice
- mobile phone
- data
- camera output
- frame data
- 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
Links
Images
Abstract
The invention discloses a method for realizing special effect mode of mobile phone photographing. Configurations are made in terms of previewing and imaging; a mobile phone is used to aim at a scene for photographing to obtain multiple scenes of different angles, and some required elements are highlighted so as to improve playability of mobile phone photographing; and this photographing special effect mode is different from imaging special effect of four-color pictorial poster, and the four-color pictorial poster has four same scenes with four different colors, while the four-picture photography in the method can obtain scenes of different angles from a scene and belongs to special effect modes of different properties, so that the special effect can be realized in viewing interface. The method makes sampling according to specific algorithm and generates new image data, and such generated image data will bring different feel but not the same scene to the people, so that different photographing experience is provided for user.
Description
Technical field
The present invention relates to a kind of method of mobile phone photograph, particularly relate to a kind of method that realizes the mobile phone photograph trick-mode.
Background technology
Present on the market the relevant trick-mode of mobile phone photograph comprises the trick-mode of intelligent machine, at this piece of four lattice; Basically all be view data to be carried out convergent-divergent handle; The effect of four lattice is that scene all is the same, and angle can cause user's vision dull too like this.
Summary of the invention
The objective of the invention is to overcome the deficiency of prior art, a kind of method that realizes the mobile phone photograph trick-mode is provided, can form the trick-mode of the four lattice bat of different scenes and angle, bring the user the good experience of taking pictures.
In order to achieve the above object, the technical scheme that the present invention adopts is, a kind of method that realizes the mobile phone photograph trick-mode, and its step is following:
Step 1, from a frame preview data of camera output, this size of data is consistent with screen to be defined as the high h that is at present, wide is w, and these data are put into an INPUT memory block, and entering is cut apart and the convergent-divergent handling procedure;
Step 2, establishment one extra buffer, consistent with the frame data size of camera output;
Step 3, be distinguished into 4 lattice memory blocks to adhoc buffer, the size of every lattice memory block is w/2*h/2, and 4 lattice memory blocks are used for respectively depositing to the data behind certain part convergent-divergent of every frame data of camera output;
Step 4, the frame data of camera output are all zoomed to first lattice of the 4 lattice memory blocks of creating, as first of four lattice bat;
Step 5, the original frame data of camera output is carried out taking out the memory block of middle w/2*h/2 size originally, do not do the processing of convergent-divergent, deposit second lattice of the 4 lattice memory blocks of creating in, as second lattice of four lattice bat;
Step 6, the memory block of 3/4 size that begins with the upper left corner of getting the original frame data of camera output are done convergent-divergent, deposit the 3rd lattice of the 4 lattice memory blocks of creating in, as the 3rd lattice of four lattice bat;
Step 7, the memory block of 3/4 size that begins with the lower right corner of getting the original frame data of camera output are done convergent-divergent, and the 4th lattice of the 4 lattice memory blocks of creating above putting into, as the 4th lattice of four lattice bat;
Step 8, judging whether to quit a program, is then to quit a program, and obtains the next frame data otherwise return step 1.
Above-mentioned steps 8 described quitting a program comprise that preserving four lattice that generate claps picture.Described picture format is the form that system supported, refers in particular to the JPG form.
Compared with prior art, the invention has the beneficial effects as follows: the sampling of specific algorithm also generates new view data, and what the view data of such generation will be given the people feels different, rather than all the same scene, has brought the different experience of taking pictures to the user.
Description of drawings
Fig. 1 is a program flow diagram of the present invention.
Embodiment
Purport of the present invention is to overcome the deficiency of prior art; A kind of method that realizes the mobile phone photograph trick-mode is provided; Four lattice of the present invention are clapped the four lattice trick-mode that trick-mode is different from other brand, are view data according to a kind of specific algorithm sampling and generate new view data, and the view data of such generation will give that the people's feel different; Rather than all the same scene, brought the different experience of taking pictures to the user.
Be elaborated with reference to accompanying drawing below in conjunction with embodiment, so that technical characterictic of the present invention and advantage are carried out more deep annotation.
Program flow diagram of the present invention is as shown in Figure 1, a kind of method that realizes the mobile phone photograph trick-mode, and its step is following:
Step 1, from a frame preview data of camera output, this size of data is consistent with screen to be defined as the high h that is at present, wide is w, and these data are put into an INPUT memory block, and entering is cut apart and the convergent-divergent handling procedure;
Step 2, establishment one extra buffer, consistent with the frame data size of camera output;
Step 3, be distinguished into 4 lattice memory blocks to adhoc buffer, the size of every lattice memory block is w/2*h/2, and 4 lattice memory blocks are used for respectively depositing to the data behind certain part convergent-divergent of every frame data of camera output;
Step 4, the frame data of camera output are all zoomed to first lattice of the 4 lattice memory blocks of creating, as first of four lattice bat;
Step 5, the original frame data of camera output is carried out taking out the memory block of middle w/2*h/2 size originally, do not do the processing of convergent-divergent, deposit second lattice of the 4 lattice memory blocks of creating in, as second lattice of four lattice bat;
Step 6, the memory block of 3/4 size that begins with the upper left corner of getting the original frame data of camera output are done convergent-divergent, deposit the 3rd lattice of the 4 lattice memory blocks of creating in, as the 3rd lattice of four lattice bat;
Step 7, the memory block of 3/4 size that begins with the lower right corner of getting the original frame data of camera output are done convergent-divergent, deposit the 4th lattice of the 4 lattice memory blocks of creating in, as the 4th lattice of four lattice bat;
Step 8, judging whether to quit a program, is then to quit a program, and obtains the next frame data otherwise return step 1.
Above-mentioned steps 8 described quitting a program comprise that preserving four lattice that generate claps picture.Described picture format is the form that system supported, refers in particular to the JPG form.
The present invention is provided with from preview and imaging two aspects, uses mobile phone to aim at certain scene and takes pictures, and develops out the scene of a plurality of different angles; Outstanding required some element; Thereby promote the playability of mobile phone photograph, the imaging special efficacy of these take pictures trick-mode and four look pictorial posters is different, and four look pictorial posters are that four kinds of scenes all are the same; Just color is four kinds of colors; And four lattice bat of the present invention is the scene that a kind of scene develops out different angles, belongs to trick-mode of different nature, and this special efficacy just can be realized in the interface finding a view.
Preview aspect: carry out the block sampling processing from every frame data of camera output; The principle of handling is that these frame buffer data are carried out data sampling by different proportion; Obtain data that from original frame data, extract according to a certain percentage and generate data of 1/4th before, what the user saw like this is exactly the view data of other a kind of effect.
Imaging aspect: at first read a data cached the inside to the original JPG file that generates; Create four interim buffer memorys that have only raw image data 1/4th sizes then; Be used to preserve the scene of four kinds of different angles of required generation; We carry out cutting of different proportion according to different cropped areas then, thereby generate corresponding trick-mode.
Although the present invention has made the clear description of accomplishing through instantiation to the method that how to realize the mobile phone photograph trick-mode; But the present invention is not limited only to said embodiment, and to reach identical purpose be contingent and all be included in the present invention through simple reprogramming.
Claims (3)
1. method that realizes the mobile phone photograph trick-mode, its step is following:
Step 1, from a frame preview data of camera output, this size of data is consistent with screen to be defined as the high h that is at present, wide is w, and these data are put into an INPUT memory block, and entering is cut apart and the convergent-divergent handling procedure;
Step 2, establishment one extra buffer, consistent with the frame data size of camera output;
Step 3, be distinguished into 4 lattice memory blocks to adhoc buffer, the size of every lattice memory block is w/2*h/2, and 4 lattice memory blocks are used for respectively depositing to the data behind certain part convergent-divergent of every frame data of camera output;
Step 4, the frame data of camera output are all zoomed to first lattice of the 4 lattice memory blocks of creating, as first of four lattice bat;
Step 5, the original frame data of camera output is carried out taking out the memory block of middle w/2*h/2 size originally, do not do the processing of convergent-divergent, deposit second lattice of the 4 lattice memory blocks of creating in, as second lattice of four lattice bat;
Step 6, the memory block of 3/4 size that begins with the upper left corner of getting the original frame data of camera output are done convergent-divergent, deposit the 3rd lattice of the 4 lattice memory blocks of creating in, as the 3rd lattice of four lattice bat;
Step 7, the memory block of 3/4 size that begins with the lower right corner of getting the original frame data of camera output are done convergent-divergent, and the 4th lattice of the 4 lattice memory blocks of creating above putting into, as the 4th lattice of four lattice bat;
Step 8, judging whether to quit a program, is then to quit a program, and obtains the next frame data otherwise return step 1.
2. the method for realization mobile phone photograph trick-mode according to claim 1 is characterized in that: described the quitting a program of step 8 comprises that preserving four lattice that generate claps picture.
3. the method for realization mobile phone photograph trick-mode according to claim 2 is characterized in that: described picture format is the form that system supported, refers in particular to the JPG form.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2011103512027A CN102402782A (en) | 2011-11-09 | 2011-11-09 | Method for realizing special effect mode of mobile phone photographing |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2011103512027A CN102402782A (en) | 2011-11-09 | 2011-11-09 | Method for realizing special effect mode of mobile phone photographing |
Publications (1)
Publication Number | Publication Date |
---|---|
CN102402782A true CN102402782A (en) | 2012-04-04 |
Family
ID=45884960
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN2011103512027A Pending CN102402782A (en) | 2011-11-09 | 2011-11-09 | Method for realizing special effect mode of mobile phone photographing |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN102402782A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104079824A (en) * | 2014-06-27 | 2014-10-01 | 宇龙计算机通信科技(深圳)有限公司 | Displaying method, device and terminal for view-finding image |
CN105847556A (en) * | 2016-03-28 | 2016-08-10 | 乐视控股(北京)有限公司 | Method and apparatus for controlling shooting software in mobile terminal |
CN108629296A (en) * | 2018-04-17 | 2018-10-09 | 广州视源电子科技股份有限公司 | Image processing method and device |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20060152600A1 (en) * | 2003-05-08 | 2006-07-13 | Hiroaki Hamada | Mobile telephone device |
CN101895635A (en) * | 2010-07-15 | 2010-11-24 | 优视科技有限公司 | Mobile terminal-based image converting method and device |
CN201690498U (en) * | 2009-10-09 | 2010-12-29 | 深圳市聚合互动科技有限公司 | Mobile phone photographing-and-merging device and mobile phone |
-
2011
- 2011-11-09 CN CN2011103512027A patent/CN102402782A/en active Pending
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20060152600A1 (en) * | 2003-05-08 | 2006-07-13 | Hiroaki Hamada | Mobile telephone device |
CN201690498U (en) * | 2009-10-09 | 2010-12-29 | 深圳市聚合互动科技有限公司 | Mobile phone photographing-and-merging device and mobile phone |
CN101895635A (en) * | 2010-07-15 | 2010-11-24 | 优视科技有限公司 | Mobile terminal-based image converting method and device |
Non-Patent Citations (1)
Title |
---|
手机中国 张浩: "LOMO乐拍全能社交手机OPPO U521评测", 《手机中国 OPPO U521 ULIKE STYLE 文章》, 14 December 2010 (2010-12-14), pages 5 * |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104079824A (en) * | 2014-06-27 | 2014-10-01 | 宇龙计算机通信科技(深圳)有限公司 | Displaying method, device and terminal for view-finding image |
CN105847556A (en) * | 2016-03-28 | 2016-08-10 | 乐视控股(北京)有限公司 | Method and apparatus for controlling shooting software in mobile terminal |
CN108629296A (en) * | 2018-04-17 | 2018-10-09 | 广州视源电子科技股份有限公司 | Image processing method and device |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10477005B2 (en) | Portable electronic devices with integrated image/video compositing | |
CN105100615B (en) | A kind of method for previewing of image, device and terminal | |
CN106233329A (en) | 3D draws generation and the use of east image | |
US10182187B2 (en) | Composing real-time processed video content with a mobile device | |
EP2432229A2 (en) | Object tracking and highlighting in stereoscopic images | |
TW201218746A (en) | Image processing apparatus, image processing method, and computer program | |
WO2015192547A1 (en) | Method for taking three-dimensional picture based on mobile terminal, and mobile terminal | |
CN104143212A (en) | Reality augmenting method and system based on wearable device | |
US20180300863A1 (en) | Multiple exposure method, terminal, system, and computer readable storage medium | |
JP2004040445A (en) | Portable equipment having 3d display function and 3d transformation program | |
CN106228530B (en) | A kind of stereography method, device and stereo equipment | |
JP2010154422A (en) | Image processor | |
CN101309389A (en) | Method, apparatus and terminal synthesizing visual images | |
CN109218630B (en) | Multimedia information processing method and device, terminal and storage medium | |
CN104010124A (en) | Method and device for displaying filter effect, and mobile terminal | |
CN104424624A (en) | Image synthesis optimization method and device | |
CN102447939A (en) | Method for optimizing 2D (two-dimensional) to 3D (three-dimensional) conversion of video work | |
CN105701762B (en) | Picture processing method and electronic equipment | |
CN103024167A (en) | Photographing method and system for mobile terminal | |
CN107016728A (en) | A kind of method and system that photography is simulated in virtual reality scenario | |
WO2022262416A1 (en) | Audio processing method and electronic device | |
CN102402782A (en) | Method for realizing special effect mode of mobile phone photographing | |
CN109788359A (en) | A kind of video data handling procedure and relevant apparatus | |
KR101303279B1 (en) | Method and device for synthesizing image using multiful cameras | |
CN103997607A (en) | Image obtaining method, corresponding device and electronic mobile terminal containing device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C12 | Rejection of a patent application after its publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20120404 |