CN103162666B - Method for correcting position deflection angles of intelligent terminal - Google Patents
Method for correcting position deflection angles of intelligent terminal Download PDFInfo
- Publication number
- CN103162666B CN103162666B CN201310096903.XA CN201310096903A CN103162666B CN 103162666 B CN103162666 B CN 103162666B CN 201310096903 A CN201310096903 A CN 201310096903A CN 103162666 B CN103162666 B CN 103162666B
- Authority
- CN
- China
- Prior art keywords
- line
- degrees
- angle
- adjustment
- intelligent 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.)
- Expired - Fee Related
Links
Landscapes
- Studio Devices (AREA)
Abstract
The invention discloses a method for correcting position deflection angles of an intelligent terminal. A camera position deflection angle adjusting program is arranged in the intelligent terminal and can be used for adjusting camera position deflection angles by the following steps of: monitoring an acceleration sensor, acquiring device degrees by the acceleration sensor, calling back a manipulation function, and adjusting the angles of an adjusting line (2) and a base line (1) until that the adjusting line (2) and the base line (1) almost coincide, and the like. According to the method disclosed by the invention, the position of the intelligent terminal can be more accurately corrected by a user, and the estimation by naked eyes is eliminated, so that photographs can be perfect, the expected direction of the photographs of the user can completely coincide with a horizontal direction or a vertical direction, and the photographs are more convenient to be viewed and admired by people and have better art effects; and the user can well express aesthetic ideas by the photographs which are shot by the method and have certain inclined angles with the horizontal direction or the vertical direction.
Description
Technical field
The present invention relates to a kind of method revising drift angle, intelligent terminal position.
Background technology
Along with developing rapidly of science and technology, the processing power that the intelligent terminals such as smart mobile phone, panel computer, Ipad are powerful and multimedia function with rapid changepl. never-ending changes and improvements, make many being operated on intelligent terminal needing in the past to complete on PC, on notebook computer just can easily realize.Even, in certain field, intelligent terminal has the trend replacing PC and notebook computer tradition status.Along with the development of camera lens, module and MEMS technology, the camera function of intelligent terminal has had the trend replacing part low and middle-end camera.People use intelligent terminal to take pictures becomes more and more simpler He general behavior with sharing of photo.
When intelligent terminal is taken pictures, the position of camera is difficult to be consistent with the vertical or horizontal direction of expecting, to such an extent as to the photo taken is not be in completely vertically or the state of level, affects it and views and admires and artistic expression effect; And when wishing that in photo, the person of being taken forms an angle with picture shape, the size of this angle is also not easy to control.
Summary of the invention
The object of the invention is to overcome the deficiencies in the prior art, a kind of method revising drift angle, intelligent terminal position of the drift angle, position providing a kind of user of being beneficial to adjust intelligent terminal.
The object of the invention is to be achieved through the following technical solutions: a kind of method revising intelligent terminal camera position drift angle, regulate program in drift angle, intelligent terminal built-in camera position, described camera position drift angle regulates program to carry out the adjustment of camera position drift angle according to following steps:
S1: monitor acceleration transducer;
S2: acceleration transducer obtains the equipment number of degrees;
S3: readjustment process function;
Described readjustment process function is used for the recording unit number of degrees, when the equipment number of degrees and the record number of degrees are inconsistent, record the new number of degrees, and gives next step process.
S4: adjustment regulates the angle of line and datum line, until regulate line substantially to overlap with datum line;
Described adjustment regulates the step of the angle of line to comprise following sub-step:
S411: the input number of degrees deducting acceleration transducer readjustment with 360, its result is as the output number of degrees;
S412: judge to regulate line whether substantially to overlap with datum line, when substantially overlapping, arranges and regulates line for green; When not overlapping, arrange and regulate line for yellow;
S413: input new angle value, the namely above-mentioned output number of degrees to adjustment line;
S414: the angle regulating line with the adjustment of new angle value;
The step of the angle of described adjustment datum line comprises following sub-step:
S421: judge whether the input number of degrees that acceleration transducer is adjusted back are 0,90,180,270, one in 360, do not process when not being, when being, input new angle value to datum line, i.e. the input number of degrees of acceleration transducer readjustment;
S422: by the angle of new angle value adjustment datum line.
Of the present invention judge regulate line with the criterion whether datum line overlaps substantially be: regulate the angle of line and datum line to be less than 3 degree.
The invention has the beneficial effects as follows: the present invention can make user revise the position of intelligent terminal more accurately, instead of estimate with naked eyes, thus make the photo of shooting more perfect, the direction that family is expected overlaps completely with horizontal direction or vertical direction, take the photo obtained and be more conducive to other people viewing and admiring, be more conducive to art of expression effect, user can also use the present invention to shoot the photo formed an angle with horizontal direction or vertical direction, better expresses the aesthetic standards of oneself.
Accompanying drawing explanation
Fig. 1 is method flow schematic diagram of the present invention;
Fig. 2 is the angle modification figure of using state figure of the present invention;
Fig. 3 is that the angle modification of using state figure of the present invention is successfully schemed;
In figure, 1-datum line, 2-regulates line, 3-gyroscope, 4-view-finder.
Embodiment
Below in conjunction with accompanying drawing, technical scheme of the present invention is described in further detail, but protection scope of the present invention is not limited to the following stated.
As shown in Figure 1, a kind of method revising intelligent terminal camera position drift angle, regulates program in drift angle, intelligent terminal built-in camera position, and described camera position drift angle regulates program to carry out the adjustment of camera position drift angle according to following steps:
S1: monitor acceleration transducer;
S2: acceleration transducer obtains the equipment number of degrees;
S3: readjustment process function;
Described readjustment process function is used for the recording unit number of degrees, when the equipment number of degrees and the record number of degrees are inconsistent, record the new number of degrees, and gives next step process.
S4: adjustment regulates the angle of line 2 and datum line 1, until regulate line 2 substantially to overlap with datum line 1;
Described adjustment regulates the step of the angle of line 2 to comprise following sub-step:
S411: the input number of degrees deducting acceleration transducer readjustment with 360, its result is as the output number of degrees;
S412: judge to regulate line 2 whether substantially to overlap with datum line 1, when substantially overlapping, arranges and regulates line 2 for green; When not overlapping, arrange and regulate line 2 for yellow;
S413: input new angle value, the namely above-mentioned output number of degrees to adjustment line 2;
S414: the angle regulating line 2 with the adjustment of new angle value;
The step of the angle of described adjustment datum line 1 comprises following sub-step:
S421: judge whether the input number of degrees that acceleration transducer is adjusted back are 0,90,180,270, one in 360, do not process when not being, when being, input new angle value to datum line 1, i.e. the input number of degrees of acceleration transducer readjustment;
S422: by the angle of new angle value adjustment datum line 1.
Of the present inventionly judge to regulate line 2 with the criterion whether datum line 1 overlaps substantially be: to regulate the angle of line 2 and datum line 1 to be less than 3 degree.
To take completely vertical photo, after smart terminal enters camera applications, phase chance goes out a datum line 1 according to the numerical evaluation that acceleration transducer is reported, on intelligent terminal screen, show datum line 1 and current location simultaneously, namely line 2 is regulated, as shown in Figure 2, state when camera position does not overlap with vertical direction, now, regulate line 2 to be the current observation place of user, and datum line 1 is horizontal line, obviously, in this case the photo taking out is not completely vertical, unsightly, affects artistic expression and photo is viewed and admired;
User according to the datum line 1 that functional terminal screen shows and can regulate line 2, the position of adjustment camera, until datum line 1 overlaps substantially with adjustment line 2, as shown in Figure 3, now datum line 1 overlaps completely with adjustment line 2, user can only see a line, represents that Current camera is in the direction of complete level;
When taking completely vertical photo, adjustment mode is similar with it.
Revise the position of camera when the present invention not only may be used for taking pictures, shooting obtains complete level or vertical photo, and also can be used for the photo that user shoots expection angle, adjustment mode is similar with it.
Claims (2)
1. revise a method for drift angle, intelligent terminal position, regulate program in drift angle, intelligent terminal built-in camera position, it is characterized in that: described camera position drift angle regulates program to carry out the adjustment of camera position drift angle according to following steps:
S1: monitor acceleration transducer;
S2: acceleration transducer obtains the equipment number of degrees;
S3: readjustment process function;
Described readjustment process function is used for the recording unit number of degrees, when the equipment number of degrees and the record number of degrees are inconsistent, record the new number of degrees, and gives next step process;
S4: adjustment regulates the angle of line (2) and datum line (1), until regulate line (2) substantially to overlap with datum line (1);
Described adjustment regulates the step of the angle of line (2) to comprise following sub-step:
S411: the input number of degrees deducting acceleration transducer readjustment with 360, its result is as the output number of degrees;
S412: judge to regulate line (2) whether substantially to overlap with datum line (1), when substantially overlapping, arranges and regulates line (2) for green; When not overlapping, arrange and regulate line (2) for yellow;
S413: input new angle value, the namely above-mentioned output number of degrees to adjustment line (2);
S414: the angle regulating line (2) with the adjustment of new angle value;
The step of the angle of described adjustment datum line (1) comprises following sub-step:
S421: judge whether the input number of degrees that acceleration transducer is adjusted back are 0,90,180,270, one in 360, do not process when not being, when being, input new angle value to datum line (1), i.e. the input number of degrees of acceleration transducer readjustment;
S422: by the angle of new angle value adjustment datum line (1);
User is according to the datum line that intelligent terminal screen shows (1) and regulate line (2), the position of adjustment camera, until datum line (1) overlaps substantially with adjustment line (2).
2. a kind of method revising drift angle, intelligent terminal position according to claim 1, is characterized in that: described adjustment line (2) that judges with the criterion whether datum line (1) overlaps substantially is: regulate line (2) to be less than 3 degree with the angle of datum line (1).
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310096903.XA CN103162666B (en) | 2013-03-25 | 2013-03-25 | Method for correcting position deflection angles of intelligent terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310096903.XA CN103162666B (en) | 2013-03-25 | 2013-03-25 | Method for correcting position deflection angles of intelligent terminal |
Publications (2)
Publication Number | Publication Date |
---|---|
CN103162666A CN103162666A (en) | 2013-06-19 |
CN103162666B true CN103162666B (en) | 2015-07-01 |
Family
ID=48585957
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201310096903.XA Expired - Fee Related CN103162666B (en) | 2013-03-25 | 2013-03-25 | Method for correcting position deflection angles of intelligent terminal |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103162666B (en) |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103561211B (en) * | 2013-10-25 | 2017-07-18 | 广东欧珀移动通信有限公司 | The shooting angle reminding method and system of camera terminal |
CN105208278A (en) * | 2015-09-28 | 2015-12-30 | 广东欧珀移动通信有限公司 | Shooting method and terminal |
CN106027879B (en) * | 2016-04-29 | 2019-04-19 | 努比亚技术有限公司 | A kind of image acquiring method and device and mobile terminal |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101998047A (en) * | 2009-08-25 | 2011-03-30 | 鸿富锦精密工业(深圳)有限公司 | Method and system for regulating horizontal position in camera |
CN102353351A (en) * | 2011-06-28 | 2012-02-15 | 惠州Tcl移动通信有限公司 | Lateral shooting angle detecting method, inclined shooting angle detecting method and mobile phone |
CN102647552A (en) * | 2011-02-22 | 2012-08-22 | 华为终端有限公司 | Image-taking control method and device |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2006113859A (en) * | 2004-10-15 | 2006-04-27 | Nec Corp | Portable information terminal and display control method therefor |
US20120296603A1 (en) * | 2011-05-16 | 2012-11-22 | Qualcomm Incorporated | Sensor orientation measurement with respect to pedestrian motion direction |
-
2013
- 2013-03-25 CN CN201310096903.XA patent/CN103162666B/en not_active Expired - Fee Related
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101998047A (en) * | 2009-08-25 | 2011-03-30 | 鸿富锦精密工业(深圳)有限公司 | Method and system for regulating horizontal position in camera |
CN102647552A (en) * | 2011-02-22 | 2012-08-22 | 华为终端有限公司 | Image-taking control method and device |
CN102353351A (en) * | 2011-06-28 | 2012-02-15 | 惠州Tcl移动通信有限公司 | Lateral shooting angle detecting method, inclined shooting angle detecting method and mobile phone |
Also Published As
Publication number | Publication date |
---|---|
CN103162666A (en) | 2013-06-19 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10469821B2 (en) | Stereo image generating method and electronic apparatus utilizing the method | |
KR102114377B1 (en) | Method for previewing images captured by electronic device and the electronic device therefor | |
WO2020192458A1 (en) | Image processing method and head-mounted display device | |
US10158798B2 (en) | Imaging apparatus and method of controlling the same | |
WO2016000309A1 (en) | Augmented reality method and system based on wearable device | |
CN102801915B (en) | Automatic photo-taking method of handheld device | |
KR20170030789A (en) | Smart device and method for contolling the same | |
US9277201B2 (en) | Image processing device and method, and imaging device | |
US20210136296A1 (en) | Electronic device capable of controlling image display effect, and method for displaying image | |
CN108377398B (en) | Infrared-based AR imaging method and system and electronic equipment | |
CN106101687A (en) | VR image capturing device and VR image capturing apparatus based on mobile terminal thereof | |
CN103206946B (en) | A kind of system revising drift angle, intelligent terminal position | |
US11172139B2 (en) | Auto exposure metering for spherical panoramic content | |
WO2022001806A1 (en) | Image transformation method and apparatus | |
CN103162666B (en) | Method for correcting position deflection angles of intelligent terminal | |
TW202117384A (en) | Method of providing dolly zoom effect and electronic device | |
CN112738420B (en) | Special effect implementation method, device, electronic equipment and storage medium | |
KR20200117695A (en) | Electronic device and method for controlling camera using external electronic device | |
CN106101550A (en) | Electronic equipment and filming control method thereof and system | |
TWI613904B (en) | Stereo image generating method and electronic apparatus utilizing the method | |
US9245364B2 (en) | Portable device and display processing method for adjustment of images | |
CN106210701A (en) | A kind of mobile terminal for shooting VR image and VR image capturing apparatus thereof | |
TWI604413B (en) | Image processing method and image processing device | |
KR20140047620A (en) | Interactive user interface for stereoscopic effect adjustment | |
CN113160031A (en) | Image processing method, image processing device, electronic equipment and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant | ||
C56 | Change in the name or address of the patentee | ||
CP02 | Change in the address of a patent holder |
Address after: Two Lu Tian Hua high tech Zone of Chengdu City, Sichuan province 610041 No. 219 Tianfu Software Park C District 12 building 6 layer Patentee after: Chengdu Xike Technology Co.,Ltd. Address before: The middle Tianfu Avenue in Chengdu city Sichuan province 610041 No. 765 talent Software Park A District No. 1 Building 2 room 214 Patentee before: Chengdu Xike Technology Co.,Ltd. |
|
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20150701 Termination date: 20160325 |
|
CF01 | Termination of patent right due to non-payment of annual fee |