CN106371730A - Mobile terminal and image rotation method - Google Patents

Mobile terminal and image rotation method Download PDF

Info

Publication number
CN106371730A
CN106371730A CN201610811299.8A CN201610811299A CN106371730A CN 106371730 A CN106371730 A CN 106371730A CN 201610811299 A CN201610811299 A CN 201610811299A CN 106371730 A CN106371730 A CN 106371730A
Authority
CN
China
Prior art keywords
target image
mobile terminal
image
described target
content
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.)
Withdrawn
Application number
CN201610811299.8A
Other languages
Chinese (zh)
Inventor
杨辉
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Meizu Technology Co Ltd
Original Assignee
Meizu Technology Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Meizu Technology Co Ltd filed Critical Meizu Technology Co Ltd
Priority to CN201610811299.8A priority Critical patent/CN106371730A/en
Publication of CN106371730A publication Critical patent/CN106371730A/en
Withdrawn legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input 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/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction 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/04845Interaction 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • H04M1/7243User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality with interactive means for internal management of messages
    • H04M1/72439User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality with interactive means for internal management of messages for image or video messaging
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • H04M1/72454User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to context-related or environment-related conditions

Abstract

The invention discloses an image rotation method, which is applied to a mobile terminal. The image rotation method comprises the following steps: acquiring an image display instruction; displaying a target image; acquiring a difference-free image rotation instruction specific to the target image; rotating the target image according to a content direction recognition result of the target image, so that a content display direction of the target image is consistent with a spatial arrangement direction of the mobile terminal. By adopting the image rotation method, the operation complexity degree of a user can be lowered. The invention further discloses a mobile terminal.

Description

A kind of mobile terminal and image rotating method
Technical field
The present invention relates to image technique field, more particularly, to a kind of image rotating method and mobile terminal.
Background technology
In prior art, when user opens photograph album and clicks on photo and check, if being transverse screen when this photo shoots originally Shoot, but active user but checks under portrait layout state.At this moment it is necessary to the manual rotation photo of user could be under portrait layout Check.And in currently existing scheme, typically it is provided with the rotary knob of two photos, one is clockwise, and one is counterclockwise;This When it is necessary to user artificial first have one thinking process, go judgement to turn clockwise or rotate counterclockwise.This is obvious Increased the burden of user.
Content of the invention
The technical problem to be solved is to provide a kind of image rotating method, to reduce the burden of user.
In order to solve above-mentioned technical problem, the present invention proposes a kind of image rotating method, is applied to mobile terminal, comprising:
Obtain image idsplay order;
Target image;
Obtain the indifference image rotation instruction for described target image;
According to the content direction discernment result of described target image, rotate described target image and make described target image Content displaying direction is consistent with the space ornaments direction of described mobile terminal.
Wherein, described indifference image rotation instructs as not differentiating between along image rotation instruction counterclockwise.
Wherein, the method also includes:
Identify the face in described target image, determine the content side of described target image according to the direction of described face To;Or,
Identify the scenery in described target image, determine the content side of described target image according to the direction of described scenery To;Or, identify the word in described target image, determine the content side of described target image according to the direction of described word To.
Wherein, the described target image of described rotation makes the content displaying direction of described target image and described mobile terminal Space ornaments direction unanimously include:
Rotate described target image and make the upper end in content direction of described target image and the space of described mobile terminal The upper end in ornaments direction is consistent.
Wherein, the upper end in the space ornaments direction of described mobile terminal is the upper of the display screen of presently described mobile terminal End.
Accordingly, the present invention also proposes a kind of mobile terminal, comprising:
First acquisition unit, for obtaining image idsplay order;
Display unit, for target image;
Second acquisition unit, for obtaining the indifference image rotation instruction for described target image;
Image rotation unit, for the content direction discernment result according to described target image, rotates described target image Make the content displaying direction of described target image consistent with the space ornaments direction of described mobile terminal.
Wherein, described indifference image rotation instructs as not differentiating between along image rotation instruction counterclockwise.
Wherein, described mobile terminal also includes:
Image identification unit, for identifying the face in described target image, and determines institute according to the direction of described face State the content direction of target image;Or, for identifying the scenery in described target image, the direction according to described scenery determines The content direction of described target image;Or, identify the word in described target image, institute determined according to the direction of described word State the content direction of target image.
Wherein, the described target image of described rotation makes the content displaying direction of described target image and described mobile terminal Space ornaments direction unanimously include:
Rotate described target image and make the upper end in content direction of described target image and the space of described mobile terminal The upper end in ornaments direction is consistent.
Wherein, the upper end in the space ornaments direction of described mobile terminal is the upper of the display screen of presently described mobile terminal End.
In the present invention, due to being provided with the instruction of indifference image rotation, thus user is not required to think deeply in advance along counterclockwise Problem.And, after receiving the instruction of indifference image rotation, terminal can automatically carry out the calculating of direction of rotation, and The angle that image rotation is checked to suitable user at last.Therefore, reduce the burden of user, improve picture checks efficiency.
Brief description
Fig. 1 is an embodiment of picture to be shown;
Fig. 2 is the schematic diagram that mobile terminal initially shows picture shown in Fig. 1;
Fig. 3 is by showing that mobile terminal shows by the postrotational picture of an embodiment of image rotating method of the present invention It is intended to;
Fig. 4 is to be shown by mobile terminal by the postrotational picture of another embodiment of image rotating method of the present invention Schematic diagram;
Another embodiment of the picture of Fig. 5;
Fig. 6 is the schematic diagram that mobile terminal initially shows picture shown in Fig. 5;
Fig. 7 is by showing that mobile terminal shows by the postrotational picture of an embodiment of image rotating method of the present invention It is intended to;
Fig. 8 is to be shown by mobile terminal by the postrotational picture of another embodiment of image rotating method of the present invention Schematic diagram;
Fig. 9 is the further embodiment of picture to be shown;
Figure 10 is the schematic diagram that mobile terminal initially shows picture shown in Fig. 9;
Figure 11 is to be shown by mobile terminal by the postrotational picture of an embodiment of image rotating method of the present invention Schematic diagram;
Figure 12 is to be shown by mobile terminal by the postrotational picture of another embodiment of image rotating method of the present invention Schematic diagram.
Specific embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete Site preparation description is it is clear that described embodiment is only a part of embodiment of the present invention, rather than whole embodiments.It is based on Embodiment in the present invention, the every other enforcement that those skilled in the art are obtained under the premise of not making creative work Example, broadly falls into the scope of protection of the invention.
Referring to figs. 1 to Fig. 4, move eventually during it illustrates an embodiment applying image rotating method of the present invention The display change at end.Change to illustrate image rotating method of the present invention with reference to the display of this mobile terminal.
Picture in Fig. 1 is the photographs of a personage, and mobile terminal is transverse screen mode when shooting this picture, also It is to say that user is horizontal Fig. 1 holding mobile terminal shooting.Therefore, when user's slip photograph album is shown to the photo shown in Fig. 1, first Dispaly state be as shown in Figure 2.
Now, user is vertical hand-held mobile terminal, during personage in the photo therefore in checking Fig. 2, needs to turn round Dynamic neck, very uncomfortable.Meanwhile, when photo is shown in fig. 2, the indifference rotation that also has simultaneously showing is pressed Button, as shown in the reference numeral 20.
So-called indifference rotary knob 20, its meaning is user not need concern that this time rotation should be still inverse clockwise Hour hands rotate 90 ° or 180 ° it is not required that being concerned about, and only needs to click on.For clockwise or inverse Hour hands, and rotate 90 ° or 180 °, then transfer to the image rotating method of the present invention to realize.Specifically may be referred to hereafter Description.
After user clicks on indifference rotary knob 20, mobile terminal is analyzed to the photo of display in Fig. 2, analyzes it In content direction.In the present embodiment, due in figure content be personage, thus can by the technology of recognition of face Lai after Remove the face of in figure, thus determine content direction according to face.For personage, content direction i.e. personage stand When, the direction of head and foot.After analyzing content direction, also to continue to analyze content displaying direction, that is, analyze Its upper end (the namely head place direction of human body) is set for left and right directions with lower end (the namely foot place direction of human body) Put, that is, on the right side, lower end is on a left side for upper end.
Meanwhile, mobile terminal also will judge the current space ornaments direction that it is held by a user, that is, judges where hold Upwards, which is held downwards, can judge mobile terminal by gyroscope or acceleration transducer in an embodiment of the invention Which end is up or down.Wherein, because display screen occupies most of area of mobile terminal and position is relatively fixed, thus move The upper end of dynamic terminal equally can also correspond to the upper end of display screen, and the lower end of mobile terminal equally can also correspond to display screen Lower end.
For the present embodiment, mobile terminal judges that its current space ornaments direction is under portrait layout state and former The upper end (can be understood as normally vertically gripping upper end during mobile terminal) begun is current upper end, and therefore it may determine that The view direction of user.
Then, the upper end in content displaying direction is adjusted to and mobile terminal current upper end by mobile terminal by rotation Identical, that is, the upper end in content displaying direction is adjusted to upper.This can pass through, 90 ° of rotate counterclockwise picture, or suitable 270 ° of hour hands rotating image is realizing.
For postrotational picture presentation, picture both can be amplified (to come with respect to full screen display by as shown in fig. 3 Say) certain proportion is so that personage in picture is more clear it is also possible to be contracted to picture as shown in fig. 4 can be complete Portion shows.
With reference to Fig. 5 to Fig. 8, move during it illustrates another embodiment applying image rotating method of the present invention The display change of terminal.In the present embodiment, the difference with figure 1 above to embodiment illustrated in fig. 4 is, the content of display in picture For word.Thus, in the present embodiment, by being identified to word in picture, thus obtaining content direction, and then obtain interior Hold and show direction, other something in common may be referred to described above.
With reference to Fig. 9 to Figure 12, move during it illustrates the further embodiment applying image rotating method of the present invention The display change of dynamic terminal.In the present embodiment, the difference with figure 1 above to embodiment illustrated in fig. 4 is, in picture, display is interior Hold for scenery.Thus, in the present embodiment, by being identified to the scenery in picture, thus obtaining content direction, and then obtain Obtain content displaying direction, other something in common may be referred to described above.
It is further to note that in the present embodiment, from fig. 10 it can be seen that user is currently transverse screen grips mobile terminal State.Therefore, at this moment the upper end of mobile terminal is original right-hand member and (can be understood as normally in the state of vertical handheld mobile phone Right-hand member), by rotation make scenery upper end consistent with the upper end of mobile terminal.
It is appreciated that in another embodiment, the state of the current gripping mobile terminal of user can also be Vertical inversion state, in this case, original lower end is the upper end of current mobile terminal, thus to rotate figure accordingly Piece.
It should be noted that described image in the present invention contain static state picture and dynamic video that is to say, that When user's viewing video, automatic rotating video equally can also be realized in this way.Because process is similar to, here Explanation is not repeated.
Below an embodiment of mobile terminal of the present invention is illustrated, to described above in related partly can phase Mutually reference:
In an a kind of embodiment of mobile terminal of the present invention, comprising:
First acquisition unit, for obtaining image idsplay order;
Display unit, for target image;
Second acquisition unit, for obtaining the indifference image rotation instruction for described target image;
Image rotation unit, for the content direction discernment result according to described target image, rotates described target image Make the content displaying direction of described target image consistent with the space ornaments direction of described mobile terminal.
Wherein, first acquisition unit and second acquisition unit can be input equipment, such as touch screen;And image rotation list First then can be in processor execution one section or some sections of program codes.For display unit, it can be display screen.
It should be noted that described indifference image rotation instructs as not differentiating between along image rotation instruction counterclockwise.
Wherein, the mobile terminal of the present embodiment also includes:
Image identification unit, for identifying the face in described target image, and determines institute according to the direction of described face State the content direction of target image;Or, for identifying the scenery in described target image, the direction according to described scenery determines The content direction of described target image;Or, identify the word in described target image, institute determined according to the direction of described word State the content direction of target image.
For image identification unit, it can be a section or some sections of program codes of execution in processor.And it is right For the identification of recognition of face, Text region and scenery, due to being prior art, Gu Buzai is described further, the present invention Only it is the use of these technology.
Wherein, the described target image of described rotation makes the content displaying direction of described target image and described mobile terminal Space ornaments direction unanimously include:
Rotate described target image and make the upper end in content direction of described target image and the space of described mobile terminal The upper end in ornaments direction is consistent.
And the upper end in the space ornaments direction of described mobile terminal is the upper end of the display screen of presently described mobile terminal.
For mobile terminal, it can be that mobile phone and panel computer etc. or intelligent watch etc. are wearable sets Standby.
The above, above example only in order to technical scheme to be described, is not intended to limit;Although with reference to front State embodiment the present invention has been described in detail, it will be understood by those within the art that: it still can be to front State the technical scheme described in each embodiment to modify, or equivalent is carried out to wherein some technical characteristics;And these Modification or replacement, do not make the essence of appropriate technical solution depart from the spirit and scope of various embodiments of the present invention technical scheme.

Claims (10)

1. a kind of image rotating method, is applied to mobile terminal it is characterised in that including:
Obtain image idsplay order;
Target image;
Obtain the indifference image rotation instruction for described target image;
According to the content direction discernment result of described target image, rotate the content that described target image makes described target image Show that direction is consistent with the space ornaments direction of described mobile terminal.
2. method according to claim 1 is it is characterised in that described indifference image rotation instructs as not differentiating between along the inverse time The image rotation instruction of pin.
3. method according to claim 1 and 2 is it is characterised in that also include:
Identify the face in described target image, determine the content direction of described target image according to the direction of described face;Or Person,
Identify the scenery in described target image, determine the content direction of described target image according to the direction of described scenery;Or Person,
Identify the word in described target image, determine the content direction of described target image according to the direction of described word.
4. method according to claim 3 is it is characterised in that the described target image of described rotation makes described target image Content displaying direction consistent with the space ornaments direction of described mobile terminal include:
Rotate described target image and make the upper end in content direction of described target image and the space ornaments of described mobile terminal The upper end in direction is consistent.
5. method according to claim 4 is it is characterised in that the upper end in the space ornaments direction of described mobile terminal is to work as The upper end of the display screen of front described mobile terminal.
6. a kind of mobile terminal, comprising:
First acquisition unit, for obtaining image idsplay order;
Display unit, for target image;
Second acquisition unit, for obtaining the indifference image rotation instruction for described target image;
Image rotation unit, for the content direction discernment result according to described target image, rotates described target image and makes The content displaying direction of described target image is consistent with the space ornaments direction of described mobile terminal.
7. mobile terminal according to claim 6 it is characterised in that described indifference image rotation instruct suitable for not differentiating between Image rotation instruction counterclockwise.
8. the mobile terminal according to claim 6 or 7 is it is characterised in that also include:
Image identification unit, for identifying the face in described target image, and determines described mesh according to the direction of described face The content direction of logo image;Or, for identifying the scenery in described target image, according to the direction determination of described scenery The content direction of target image;Or, identify the word in described target image, described mesh determined according to the direction of described word The content direction of logo image.
9. mobile terminal according to claim 8 is it is characterised in that the described target image of described rotation makes described target The content displaying direction of image is consistent with the space ornaments direction of described mobile terminal to be included:
Rotate described target image and make the upper end in content direction of described target image and the space ornaments of described mobile terminal The upper end in direction is consistent.
10. mobile terminal according to claim 9 it is characterised in that the space ornaments direction of described mobile terminal upper Hold the upper end of the display screen for presently described mobile terminal.
CN201610811299.8A 2016-09-08 2016-09-08 Mobile terminal and image rotation method Withdrawn CN106371730A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610811299.8A CN106371730A (en) 2016-09-08 2016-09-08 Mobile terminal and image rotation method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610811299.8A CN106371730A (en) 2016-09-08 2016-09-08 Mobile terminal and image rotation method

Publications (1)

Publication Number Publication Date
CN106371730A true CN106371730A (en) 2017-02-01

Family

ID=57899380

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610811299.8A Withdrawn CN106371730A (en) 2016-09-08 2016-09-08 Mobile terminal and image rotation method

Country Status (1)

Country Link
CN (1) CN106371730A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107592454A (en) * 2017-09-08 2018-01-16 维沃移动通信有限公司 A kind of image processing method and mobile terminal
CN107943443A (en) * 2017-12-13 2018-04-20 广东欧珀移动通信有限公司 Display control method, device, storage medium and the electronic equipment of photo
CN109547678A (en) * 2018-12-11 2019-03-29 联想(北京)有限公司 A kind of processing method, device, equipment and readable storage medium storing program for executing
CN110858874A (en) * 2018-08-24 2020-03-03 青岛海信移动通信技术股份有限公司 Method and system for adding watermark to picture and photographing device

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101639933A (en) * 2009-07-16 2010-02-03 上海合合信息科技发展有限公司 Image rotation correction method and system and electronic device
CN101923844A (en) * 2009-06-16 2010-12-22 廖礼士 Method and system for correcting image presenting direction
CN102395011A (en) * 2011-10-14 2012-03-28 深圳创维-Rgb电子有限公司 Method of picture autorotation and television
CN104838420A (en) * 2012-11-16 2015-08-12 谷歌公司 Rotation of image based on image content to correct image orientation
CN105607835A (en) * 2015-12-21 2016-05-25 惠州Tcl移动通信有限公司 Mobile terminal with automatic picture direction adjusting function and display method thereof

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101923844A (en) * 2009-06-16 2010-12-22 廖礼士 Method and system for correcting image presenting direction
CN101639933A (en) * 2009-07-16 2010-02-03 上海合合信息科技发展有限公司 Image rotation correction method and system and electronic device
CN102395011A (en) * 2011-10-14 2012-03-28 深圳创维-Rgb电子有限公司 Method of picture autorotation and television
CN104838420A (en) * 2012-11-16 2015-08-12 谷歌公司 Rotation of image based on image content to correct image orientation
CN105607835A (en) * 2015-12-21 2016-05-25 惠州Tcl移动通信有限公司 Mobile terminal with automatic picture direction adjusting function and display method thereof

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107592454A (en) * 2017-09-08 2018-01-16 维沃移动通信有限公司 A kind of image processing method and mobile terminal
CN107943443A (en) * 2017-12-13 2018-04-20 广东欧珀移动通信有限公司 Display control method, device, storage medium and the electronic equipment of photo
CN110858874A (en) * 2018-08-24 2020-03-03 青岛海信移动通信技术股份有限公司 Method and system for adding watermark to picture and photographing device
CN110858874B (en) * 2018-08-24 2021-07-06 青岛海信移动通信技术股份有限公司 Method and system for adding watermark to picture and photographing device
CN109547678A (en) * 2018-12-11 2019-03-29 联想(北京)有限公司 A kind of processing method, device, equipment and readable storage medium storing program for executing
CN109547678B (en) * 2018-12-11 2021-09-14 联想(北京)有限公司 Processing method, device, equipment and readable storage medium

Similar Documents

Publication Publication Date Title
US10802578B2 (en) Method for displaying image, storage medium, and electronic device
US10019849B2 (en) Personal electronic device with a display system
US10019831B2 (en) Integrating real world conditions into virtual imagery
CN107357540B (en) Display direction adjusting method and mobile terminal
US9857589B2 (en) Gesture registration device, gesture registration program, and gesture registration method
EP2770724B1 (en) Apparatus and method for positioning image area using image sensor location
EP3166079A1 (en) Augmented reality method and system based on wearable device
US9413967B2 (en) Apparatus and method for photographing an image using photographing guide
CN107111863B (en) Apparatus and method for corneal imaging
CN106371730A (en) Mobile terminal and image rotation method
CN107770312A (en) Method for information display, device and terminal
EP2770723A2 (en) Apparatus and method for photographing image
CN103391395B (en) Image display device, image display program and image display method
CN104471519B (en) Method and device for presenting panoramic photo in mobile terminal and mobile terminal
US10304352B2 (en) Electronic device and method for sharing image
US20190244369A1 (en) Display device and method for image processing
CN108762501B (en) AR display method, intelligent terminal, AR device and AR system
EP3276942B1 (en) Electronic device and method for controlling the same
CN109002248B (en) VR scene screenshot method, equipment and storage medium
EP2755164A2 (en) Display apparatus and control method for adjusting the eyes of a photographed user
US9628706B2 (en) Method for capturing and displaying preview image and electronic device thereof
CN108174082B (en) Image shooting method and mobile terminal
WO2016054945A1 (en) Display method and apparatus for terminal display interface
JP2017227466A (en) Measurement support device, and measurement support method
CN208013970U (en) A kind of living creature characteristic recognition system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
WW01 Invention patent application withdrawn after publication
WW01 Invention patent application withdrawn after publication

Application publication date: 20170201