CN107229404A - A kind of method and system for changing picture display size based on gravity sensor - Google Patents
A kind of method and system for changing picture display size based on gravity sensor Download PDFInfo
- Publication number
- CN107229404A CN107229404A CN201710492114.6A CN201710492114A CN107229404A CN 107229404 A CN107229404 A CN 107229404A CN 201710492114 A CN201710492114 A CN 201710492114A CN 107229404 A CN107229404 A CN 107229404A
- Authority
- CN
- China
- Prior art keywords
- screen
- picture
- gravity
- gravity sensor
- acceleration
- 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
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0484—Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
- G06F3/04845—Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range for image manipulation, e.g. dragging, rotation, expansion or change of colour
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0487—Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F2203/00—Indexing scheme relating to G06F3/00 - G06F3/048
- G06F2203/048—Indexing scheme relating to G06F3/048
- G06F2203/04806—Zoom, i.e. interaction techniques or interactors for controlling the zooming operation
Landscapes
- Engineering & Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Controls And Circuits For Display Device (AREA)
- Image Processing (AREA)
- User Interface Of Digital Computer (AREA)
- Position Input By Displaying (AREA)
Abstract
The present invention provides a kind of method for changing picture display size based on gravity sensor, comprises the following steps:(1) open photograph album and enter browsing pictures pattern;(2) under browsing pictures pattern, registration monitor monitors screen state, and record finger clicks on the time of screen, if finger clicks on screen and exceedes the predetermined time, is determined as long click screen;(3) gravity sensor is registered, the acceleration of gravity in normal to screen direction is monitored;(4) change with the inclined degree of mobile phone, the acceleration of gravity of normal to screen changes, when changing value is more than the change in size for then causing picture in predetermined scope;(5) when finger is lifted from screen, cancel and monitor gravity sensing, the moment picture decontroled in finger also stops change, and keeps current size.A kind of system for being changed picture display size based on gravity sensor is also provided.One hand completes the region of scaling designated pictures, and easy to operate, playability is high, Consumer's Experience is good.
Description
Technical field
It is particularly a kind of to be based on gravity sensor the present invention relates to the image processing techniques of intelligent terminal and mobile device
Change the method and system of picture display size.
Background technology
Smart mobile phone is from producing to till now, and amusement function is increasingly enriched, playability more and more higher, such as watches electricity
Shadow, checks picture etc., it is one of indispensable function that photograph album, which is browsed,.When photograph album is browsed generally by external device, work(
Energy button or right button menu complete the scaling of picture, it usually needs both hands zoom picture, so must bimanualness
It can achieve the goal, be brought some inconvenience to user, and the degree of scaling also can not be controlled accurately.Current many intelligent terminals
There is gravity sensor in equipment, it is possible to use gravity sensor detects the change of three dimensions, computational intelligence terminal device is worked as
Preceding gravity direction, so that picture is that transverse screen show or portrait layout is shown when controlling the photograph album to browse, it is that can control display side
To, but there is no this law control to display size, and the region that this technology is specified using gravity sensing on zoom picture, make
The purpose of zoom picture can be just reached with one-handed performance, operates and more facilitates, more there is playability.
The content of the invention
It is an object of the invention to provide a kind of method for changing picture display size based on gravity sensor, including:(1)
Open photograph album and enter browsing pictures pattern;(2) under browsing pictures pattern, registration monitor monitors screen state, records finger
The time of screen is clicked on, if finger clicks on screen and exceedes the predetermined time, is determined as long click screen;(3) gravity is registered
Inductor, monitors the acceleration of gravity in normal to screen direction;(4) change with the inclined degree of mobile phone, normal to screen
Acceleration of gravity changes, when changing value is more than the change in size for then causing picture in predetermined scope;(5) when finger is from screen
When lifting, cancel and monitor gravity sensing, the moment picture decontroled in finger also stops change, and keeps current size.
It is preferred that, step (1) the browsing pictures pattern has picture rotation pattern and picture zoom mode.
It is preferred that, the predetermined time of the step (2) is 2-5s.
It is preferred that, the step (3) also includes selecting effective screen coordinate face, then the tilting action of any mobile terminal exists
Effective action is projected as on effective coordinate surface, invalid action is projected as on other perspective planes.
It is preferred that, the step (4) enlarged drawing when the acceleration of gravity in the normal to screen direction of monitoring becomes big
Piece, acceleration becomes hour diminution picture.
The purpose of the present invention also by it is a kind of based on gravity sensor change picture display size system realize, including:
Starting module:Open photograph album and enter browsing pictures pattern;Judge module:Under browsing pictures pattern, registration monitor monitors screen
Tentiform state, record finger clicks on the time of screen, if finger clicks on screen and exceedes the predetermined time, is determined as long click screen
Curtain;Gravity sensor module:Gravity sensor is registered, the acceleration of gravity in normal to screen direction is monitored;Size adjustment module:
Change with the inclined degree of mobile phone, the acceleration of gravity of normal to screen changes, when changing value exceedes in predetermined scope then
Cause the change in size of picture;Size keeps module:When finger is lifted from screen, cancel and monitor gravity sensing, in finger
The moment picture of relieving also stops change, and keeps current size.
It is preferred that, browsing pictures pattern has picture rotation pattern and picture zoom mode in the starting module.
It is preferred that, the predetermined time of the judge module is 2-5s.
It is preferred that, the gravity sensor module also includes chosen module, for selecting effective screen coordinate face, then any
The tilting action of mobile terminal is projected as effective action on effective coordinate surface, and being projected as on other perspective planes is invalid
Action.
It is preferred that, the acceleration of gravity during size adjustment module work when the normal to screen direction monitored becomes
Amplification picture when big, acceleration becomes hour diminution picture.
Using this method and system, in browsing pictures, press...with one's finger a certain piece of region on picture, tilts and changes hand
The acceleration of gravity of the vertical screen of machine, judges the size of acceleration, the zoom picture when acceleration is more than a boundary
The region of upper finger pressing, one hand completes the region in zoom designated pictures, and more convenient operation, playability are higher, user
Experience.
According to the accompanying drawings to the detailed description of the specific embodiment of the invention, those skilled in the art will be brighter
Above-mentioned and other purposes, the advantages and features of the present invention.
Brief description of the drawings
Some specific embodiments of the present invention are described in detail by way of example, and not by way of limitation with reference to the accompanying drawings hereinafter.
Identical reference denotes same or similar part or part in accompanying drawing.It should be appreciated by those skilled in the art that these
What accompanying drawing was not necessarily drawn to scale.The target and feature of the present invention is considered to will be apparent from below in conjunction with the description of accompanying drawing,
In accompanying drawing:
Fig. 1 is to be shown according to a kind of method flow for changing picture display size based on gravity sensor of the embodiment of the present invention
It is intended to;
Fig. 2 is a kind of system architecture frame for changing picture display size based on gravity sensor according to the embodiment of the present invention
Figure.
Embodiment
Referring to accompanying drawing 1, a kind of method for changing picture display size based on gravity sensor, including:(1) photograph album is opened to enter
Enter browsing pictures pattern, browsing pictures pattern has picture rotation pattern and picture zoom mode, it is main here to be contracted using size
Mode playback;(2) under browsing pictures pattern, registration monitor monitors screen state, and record finger clicks on the time of screen, if
Finger clicks on screen and exceedes predetermined time 3s, then is determined as long click screen;(3) register gravity sensor, monitor perpendicular to
The acceleration of gravity of screen orientation, selectes effective screen coordinate face here, then the tilting action of mobile terminal is in effective seat
Effective action is projected as on mark face, invalid action is projected as on other perspective planes;(4) become with the inclined degree of mobile phone
Change, the acceleration of gravity of normal to screen changes, when changing value is more than the change in size for then causing picture in predetermined scope, tool
For body when monitoring the normal to screen direction acceleration of gravity become it is big when amplification picture, acceleration become hour reduce figure
Piece;(5) when finger is lifted from screen, cancel and monitor gravity sensing, the moment picture decontroled in finger also stops change, and
Keep current size.
Referring to accompanying drawing 2, a kind of system for changing picture display size based on gravity sensor, including:Starting module
(101):Opening photograph album, which enters browsing pictures pattern in browsing pictures pattern, the starting module (101), has picture rotation mould
Formula and picture zoom mode, it is main here to use picture zoom mode;Judge module (102):Under browsing pictures pattern, registration
Monitor monitors screen state, and record finger clicks on the time of screen, if finger clicks on screen more than predetermined time 3s,
Then it is determined as long click screen;Gravity sensor module (103):Gravity sensor is registered, the weight in normal to screen direction is monitored
Power acceleration, the gravity sensor module (103) has chosen module, for selecting effective screen coordinate face, then mobile whole
The tilting action at end is projected as effective action on effective coordinate surface, and invalid action is projected as on other perspective planes;
Size adjustment module (104):Change with the inclined degree of mobile phone, the acceleration of gravity of normal to screen changes, and works as changing value
More than the change in size for then causing picture in predetermined scope, specifically when monitoring the normal to screen direction gravity
Amplification picture when acceleration becomes big, acceleration becomes hour diminution picture;Size keeps module (105):When finger is lifted from screen
When rising, cancel and monitor gravity sensing, the moment picture decontroled in finger also stops change, and keeps current size.
Using this method and system, in browsing pictures, press...with one's finger a certain piece of region on picture, tilts and changes hand
The acceleration of gravity of the vertical screen of machine, judges the size of acceleration, the zoom picture when acceleration is more than a boundary
The region of upper finger pressing, one hand completes the region in zoom designated pictures, and more convenient operation, playability are higher, user
Experience.
Although the present invention is described by reference to specific illustrative embodiment, will not be by these embodiments
Restriction and only limited by accessory claim.It should be understood by those skilled in the art that can be without departing from the present invention's
Embodiments of the invention can be modified and be changed in the case of protection domain and spirit.
Claims (10)
1. a kind of method for changing picture display size based on gravity sensor, it is characterised in that comprise the following steps:
(1) open photograph album and enter browsing pictures pattern;
(2) under browsing pictures pattern, registration monitor monitors screen state, and record finger clicks on the time of screen, if hand
Indication hits screen more than the predetermined time, then is determined as long click screen;
(3) gravity sensor is registered, the acceleration of gravity in normal to screen direction is monitored;
(4) change with the inclined degree of mobile phone, the acceleration of gravity of normal to screen changes, when changing value exceedes predetermined model
Then cause the change in size of picture in enclosing;
(5) when finger is lifted from screen, cancel and monitor gravity sensing, the moment picture decontroled in finger also stops change,
And keep current size.
2. a kind of method for changing picture display size based on gravity sensor according to claim 1, it is characterised in that:
Step (1) the browsing pictures pattern has picture rotation pattern and picture zoom mode.
3. a kind of method for changing picture display size based on gravity sensor according to claim 1, it is characterised in that:
The predetermined time of the step (2) is 2-5s.
4. a kind of method for changing picture display size based on gravity sensor according to claim 1, it is characterised in that:
The step (3) also includes selecting effective screen coordinate face, then the tilting action of any mobile terminal is in effective coordinate surface
On be projected as effective action, be projected as invalid action on other perspective planes.
5. a kind of method for changing picture display size based on gravity sensor according to claim 1, it is characterised in that:
The step (4) amplification picture when the acceleration of gravity in the normal to screen direction of monitoring becomes big, acceleration becomes hour
Reduce picture.
6. a kind of system for changing picture display size based on gravity sensor, it is characterised in that including:
Starting module (101):Open photograph album and enter browsing pictures pattern;
Judge module (102):Under browsing pictures pattern, registration monitor monitors screen state, and record finger clicks on screen
Time, if finger clicks on screen and exceedes the predetermined time, it is determined as long click screen;
Gravity sensor module (103):Gravity sensor is registered, the acceleration of gravity in normal to screen direction is monitored;
Size adjustment module (104):Change with the inclined degree of mobile phone, the acceleration of gravity of normal to screen changes, and works as change
Change value exceedes the change in size for then causing picture in predetermined scope;
Size keeps module (105):When finger is lifted from screen, cancel and monitor gravity sensing, the moment decontroled in finger
Picture also stops change, and keeps current size.
7. a kind of system for changing picture display size based on gravity sensor according to claim 6, it is characterised in that:
Browsing pictures pattern has picture rotation pattern and picture zoom mode in the starting module (101).
8. a kind of system for changing picture display size based on gravity sensor according to claim 6, it is characterised in that:
The predetermined time of the judge module (102) is 2-5s.
9. a kind of system for changing picture display size based on gravity sensor according to claim 6, it is characterised in that:
The gravity sensor module (103) also includes chosen module, for selecting effective screen coordinate face, then any mobile terminal
Tilting action is projected as effective action on effective coordinate surface, and invalid action is projected as on other perspective planes.
10. a kind of system for being changed picture display size based on gravity sensor according to claim 6, its feature is existed
In:Put during size adjustment module (104) work when the acceleration of gravity in the normal to screen direction of monitoring becomes big
Big picture, acceleration becomes hour diminution picture.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710492114.6A CN107229404A (en) | 2017-06-26 | 2017-06-26 | A kind of method and system for changing picture display size based on gravity sensor |
PCT/CN2017/090681 WO2019000290A1 (en) | 2017-06-26 | 2017-06-29 | Image display resizing method and system using gravity sensor |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710492114.6A CN107229404A (en) | 2017-06-26 | 2017-06-26 | A kind of method and system for changing picture display size based on gravity sensor |
Publications (1)
Publication Number | Publication Date |
---|---|
CN107229404A true CN107229404A (en) | 2017-10-03 |
Family
ID=59936461
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710492114.6A Pending CN107229404A (en) | 2017-06-26 | 2017-06-26 | A kind of method and system for changing picture display size based on gravity sensor |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN107229404A (en) |
WO (1) | WO2019000290A1 (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110300254A (en) * | 2018-03-23 | 2019-10-01 | 卡西欧计算机株式会社 | Photographic device, image capture method and recording medium |
CN111371949A (en) * | 2020-02-28 | 2020-07-03 | Oppo广东移动通信有限公司 | Application program switching method and device, storage medium and touch terminal |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101382853A (en) * | 2007-09-07 | 2009-03-11 | 鸿富锦精密工业(深圳)有限公司 | Touch screen apparatus and image display method thereof |
CN101853121A (en) * | 2010-03-02 | 2010-10-06 | 深圳市同洲电子股份有限公司 | Picture browsing method and device based on gravity sensor |
US20120218307A1 (en) * | 2011-02-25 | 2012-08-30 | Asustek Computer Inc. | Electronic device with touch control screen and display control method thereof |
CN104281393A (en) * | 2013-07-03 | 2015-01-14 | 深圳市艾酷通信软件有限公司 | Method for controlling whole touch screen through small embedded screen so as to achieve one-hand operation |
CN104765549A (en) * | 2015-03-27 | 2015-07-08 | 广东欧珀移动通信有限公司 | Method and device for scaling mobile terminal display interface |
CN105468258A (en) * | 2015-12-23 | 2016-04-06 | 珠海格力电器股份有限公司 | Switching method, device and terminal of screen interfaces |
CN105718232A (en) * | 2016-01-20 | 2016-06-29 | 昆山龙腾光电有限公司 | Display method and display device of arbitrary angle plane rotation |
-
2017
- 2017-06-26 CN CN201710492114.6A patent/CN107229404A/en active Pending
- 2017-06-29 WO PCT/CN2017/090681 patent/WO2019000290A1/en active Application Filing
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101382853A (en) * | 2007-09-07 | 2009-03-11 | 鸿富锦精密工业(深圳)有限公司 | Touch screen apparatus and image display method thereof |
CN101853121A (en) * | 2010-03-02 | 2010-10-06 | 深圳市同洲电子股份有限公司 | Picture browsing method and device based on gravity sensor |
US20120218307A1 (en) * | 2011-02-25 | 2012-08-30 | Asustek Computer Inc. | Electronic device with touch control screen and display control method thereof |
CN104281393A (en) * | 2013-07-03 | 2015-01-14 | 深圳市艾酷通信软件有限公司 | Method for controlling whole touch screen through small embedded screen so as to achieve one-hand operation |
CN104765549A (en) * | 2015-03-27 | 2015-07-08 | 广东欧珀移动通信有限公司 | Method and device for scaling mobile terminal display interface |
CN105468258A (en) * | 2015-12-23 | 2016-04-06 | 珠海格力电器股份有限公司 | Switching method, device and terminal of screen interfaces |
CN105718232A (en) * | 2016-01-20 | 2016-06-29 | 昆山龙腾光电有限公司 | Display method and display device of arbitrary angle plane rotation |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110300254A (en) * | 2018-03-23 | 2019-10-01 | 卡西欧计算机株式会社 | Photographic device, image capture method and recording medium |
CN111371949A (en) * | 2020-02-28 | 2020-07-03 | Oppo广东移动通信有限公司 | Application program switching method and device, storage medium and touch terminal |
Also Published As
Publication number | Publication date |
---|---|
WO2019000290A1 (en) | 2019-01-03 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2019174628A1 (en) | Photographing method and mobile terminal | |
CN103488403B (en) | interface layout switching method, device and mobile terminal | |
CN110087001B (en) | Shooting processing method and device and mobile terminal | |
CN108668083A (en) | A kind of photographic method and terminal | |
CN108810256B (en) | Control method and device | |
CN108184070A (en) | A kind of image pickup method and terminal | |
JP5925656B2 (en) | Image display control device, image display device, program, and image display method | |
CN109040351B (en) | Camera control method and device, mobile terminal and storage medium | |
CN109656461B (en) | Screen capturing method and terminal | |
CN109788268A (en) | Terminal and its white balance correction control method and computer readable storage medium | |
CN101382853A (en) | Touch screen apparatus and image display method thereof | |
WO2021115171A1 (en) | Wearable device and control method | |
KR102661343B1 (en) | Image cropping method and electronic devices | |
CN104333633B (en) | Support the mobile terminal and its back control method of back manipulation | |
CN108563383A (en) | A kind of image viewing method and mobile terminal | |
CN108008859A (en) | A kind of screen control method and mobile terminal | |
CN108182031A (en) | A kind of photographic method, terminal and computer readable storage medium | |
CN107037974A (en) | A kind of display control method of terminal device, device and terminal device | |
CN107229404A (en) | A kind of method and system for changing picture display size based on gravity sensor | |
CN108196757A (en) | The setting method and mobile terminal of a kind of icon | |
CN108540729A (en) | Image processing method and mobile terminal | |
CN109756621A (en) | A kind of two-dimensional code display method and terminal device | |
CN109842723A (en) | Terminal and its screen brightness control method and computer readable storage medium | |
CN109413333A (en) | A kind of display control method and terminal | |
US20170293396A1 (en) | Information processing apparatus |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20171003 |
|
WD01 | Invention patent application deemed withdrawn after publication |