WO2014154006A1 - 一种展现移动终端拍摄的图像的方法及装置 - Google Patents
一种展现移动终端拍摄的图像的方法及装置 Download PDFInfo
- Publication number
- WO2014154006A1 WO2014154006A1 PCT/CN2013/090876 CN2013090876W WO2014154006A1 WO 2014154006 A1 WO2014154006 A1 WO 2014154006A1 CN 2013090876 W CN2013090876 W CN 2013090876W WO 2014154006 A1 WO2014154006 A1 WO 2014154006A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- mobile terminal
- subunit
- attribute information
- plane
- image
- Prior art date
Links
- 238000000034 method Methods 0.000 title claims abstract description 26
- 230000001133 acceleration Effects 0.000 claims description 51
- 230000005484 gravity Effects 0.000 claims description 46
- 238000003860 storage Methods 0.000 claims description 17
- 230000001960 triggered effect Effects 0.000 claims description 3
- 238000009432 framing Methods 0.000 description 8
- 239000000463 material Substances 0.000 description 6
- 238000005516 engineering process Methods 0.000 description 3
- 239000013078 crystal Substances 0.000 description 2
- 238000010586 diagram Methods 0.000 description 2
- 238000009826 distribution Methods 0.000 description 2
- 238000005259 measurement Methods 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 238000012545 processing Methods 0.000 description 2
- 238000013459 approach Methods 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000001419 dependent effect Effects 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 230000010365 information processing Effects 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 238000010295 mobile communication Methods 0.000 description 1
- 230000035945 sensitivity Effects 0.000 description 1
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/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
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N23/00—Cameras or camera modules comprising electronic image sensors; Control thereof
- H04N23/60—Control of cameras or camera modules
- H04N23/63—Control of cameras or camera modules by using electronic viewfinders
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N23/00—Cameras or camera modules comprising electronic image sensors; Control thereof
- H04N23/60—Control of cameras or camera modules
- H04N23/64—Computer-aided capture of images, e.g. transfer from script file into camera, check of taken image quality, advice or proposal for image composition or decision on when to take image
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N23/00—Cameras or camera modules comprising electronic image sensors; Control thereof
- H04N23/60—Control of cameras or camera modules
- H04N23/68—Control of cameras or camera modules for stable pick-up of the scene, e.g. compensating for camera body vibrations
- H04N23/681—Motion detection
- H04N23/6812—Motion detection based on additional sensors, e.g. acceleration sensors
Definitions
- the present invention claims to be submitted to the State Intellectual Property Office of China on March 26, 2013, and the application number is 201310100001.9, and the invention name is "a method and device for displaying images captured by a mobile terminal".
- TECHNICAL FIELD The present application relates to the field of information processing technologies, and in particular, to a method for presenting an image captured by a mobile terminal and a corresponding device thereof.
- the mobile terminal has integrated the camera shooting function, and the user can start the camera application to shoot the image he needs by operating the mobile terminal.
- images taken by a mobile terminal typically have a directional attribute when presented.
- a text-type image taken by a mobile terminal that is, an image formed by photographing a text material
- the camera since the habit of reading text is from top to bottom, from left to right, the camera must be directed to the camera at or after the text material is photographed.
- the application passes the direction parameters so that the camera application stores the image in the correct orientation, or uses the orientation parameter to render correctly when the image is rendered. It can be seen that in order to correctly read or view the image captured by the mobile terminal, it is necessary to obtain the direction information of the subject.
- the prior art acquisition of the subject direction information is achieved by a gravity sensing device built in the mobile terminal.
- Gravity sensing devices usually include “gravity block” and “piezoelectric crystal”.
- the voltage signal can determine the direction in which the mobile terminal is located, and the direction of the mobile terminal is transmitted to the camera application as the direction information of the object, and the camera application can store and display the captured image according to the direction information.
- the gravity sensing device will not be correct when the mobile terminal is in a horizontal state or at an angle within a predetermined range with the horizontal plane.
- the direction of recognition is such that the image captured by the mobile device has no clear directional property, thereby affecting the correct presentation of the image, which is inconvenient for reading or viewing.
- an embodiment of the present application provides an image that is displayed by a mobile terminal.
- the method and its corresponding device to achieve the correct presentation of the image.
- a result of selection of the subject direction attribute information is received, and an image taken by the mobile terminal is presented based on the selected result.
- the determining whether the plane of the plane of the mobile terminal panel deviates from the horizontal plane is within a preset range includes:
- the camera attribute application of the mobile terminal prompts the direction attribute information of the photographic object to include:
- the direction attribute information selection result is a selection result of receiving one of the N directions, and the N is a natural number greater than or equal to 4.
- the N is 4, and the arrows in the N directions are arrows in four directions: east, west, south, and north.
- the displaying the image captured by the mobile terminal according to the selected result comprises:
- the selected result of the direction attribute information corresponding to the image is stored when the image captured by the mobile terminal is stored;
- the embodiment of the present application further provides an apparatus for presenting an image captured by a mobile terminal.
- the device package The judgment unit, the prompting unit, the receiving unit and the presentation unit, wherein:
- the determining unit is configured to determine whether the plane of the plane of the mobile terminal panel deviates from the horizontal plane is within a preset range, and if yes, triggering the prompting unit;
- the prompting unit is configured to prompt the direction attribute information of the shooting object by using a camera application of the mobile terminal;
- the receiving unit is configured to receive a selected result of the photographic object direction attribute information, and the displaying unit is configured to display an image captured by the mobile terminal according to the selected result.
- the determining unit specifically includes an acceleration value acquiring subunit, an acceleration value judging subunit, and a deviation degree determining subunit, wherein:
- the acceleration value acquisition subunit is configured to respectively acquire the gravitational acceleration values in the X-axis and the Y-axis measured by the gravity sensing device, where the plane formed by the X-axis and the Y-axis is a horizontal plane;
- the acceleration value judging subunit is configured to determine whether the gravitational acceleration value in the X axis is smaller than the first preset acceleration threshold, and whether the gravitational acceleration value in the Y axis is smaller than the second preset acceleration threshold, if , triggering the degree of deviation determination subunit;
- the deviation degree determining subunit is configured to determine that a plane of the mobile terminal panel is out of a horizontal plane within a preset range.
- the prompting unit specifically includes an arrow presenting subunit for presenting an arrow of N directions in the corresponding framing frame of the mobile terminal, wherein the angle between the two arrows in the N directions is the same or Not the same preset angle value, the N is a natural number greater than or equal to 4;
- the receiving unit is specifically configured to receive a selected result of one of the N directions.
- the presentation unit specifically includes:
- the first storage subunit is configured to store, when storing an image captured by the mobile terminal, selection of direction attribute information corresponding to the image
- a first reading subunit configured to read an image of the stored mobile terminal and a selected result of the direction attribute information corresponding to the image
- the first presentation subunit configured to perform according to the selection Determining the image captured by the mobile terminal
- the second storage subunit is configured to store an image captured by the mobile terminal according to the selected result of the photographic subject direction attribute information
- the second presentation sub The unit is configured to read and display the image captured by the stored mobile terminal.
- the embodiment of the present application first determines whether the plane of the plane of the mobile terminal deviates from the horizontal plane is within a preset range. If the target attribute information of the object is prompted by the camera application within the preset range, and then according to the user's direction attribute information of the object. The selected result is displayed on the image taken by the mobile terminal.
- the embodiment of the present application divides the image captured by the mobile terminal into two categories: First, when the plane where the mobile terminal is located is far from the horizontal plane, that is, the mobile terminal is vertical or substantially vertical.
- the gravity sensing device can recognize the direction of the object, the image captured by the mobile terminal can be displayed according to the direction; second, when the plane of the mobile terminal deviates from the horizontal plane is small, that is, the mobile terminal is in a horizontal state. Or when the state is close to the horizontal state, the direction of the photographic subject is not recognized by the gravity sensing device, but the selection result of the entrance receiving user's directional attribute information of the photographic subject is provided, and the selection result can be followed when the image captured by the mobile terminal is displayed. Indicate the direction of the presentation. By adopting different presentation manners according to different situations, the captured images of the displayed mobile terminal always meet the needs of reading or viewing, thereby improving convenience.
- FIG. 1 is a flowchart of an embodiment of a method for presenting an image captured by a mobile terminal according to the present application
- FIG. 2 is a view showing a situation in which a subject is in a framing area of a mobile terminal before shooting
- FIG. 3 is a flowchart of still another embodiment of a method for presenting an image captured by a mobile terminal according to the present application
- FIG. 4(a) is one of manners for presenting direction attribute information in a framing area of a mobile terminal
- FIG. 4(b) is
- FIG. 5 is a structural block diagram of an apparatus for presenting an image captured by a mobile terminal according to a second embodiment of the present invention.
- FIG. 1 there is shown a flow of an embodiment (the cornerstone out embodiment) of the method of presenting an image taken by a mobile terminal of the present application.
- This embodiment includes:
- Step S101 determining whether the plane of the plane of the mobile terminal panel is out of the horizontal plane is within a preset range, if yes, executing step S102; if not, executing step S105;
- Mobile terminals are typically in the form of rectangular blocks with panels and side walls. According to the relationship between the plane of the panel and the horizontal plane, in the process of shooting with the mobile terminal, the spatial state of the mobile terminal can be divided into two basic types, namely, a vertical state and a horizontal state: the mobile terminal is in a vertical state, the mobile terminal The angle between the plane of the panel and the horizontal plane is 90. ; When the mobile terminal is in the horizontal state, the angle between the plane of the panel of the mobile terminal and the horizontal plane is 0°.
- there may be a state between the two states that is, between the plane where the mobile terminal panel is located and the horizontal plane. A certain angle.
- the embodiment In order to cover various spatial states of the mobile terminal during shooting, the relationship between the plane of the mobile terminal panel and the horizontal plane is referred to as the degree of deviation.
- the embodiment first determines whether the deviation of the plane of the mobile terminal panel from the horizontal plane is within a preset range, and according to the degree of deviation, different measures are taken to realize the image captured by the mobile terminal, where
- the preset range can be set according to actual conditions, which depends on factors such as the performance of the mobile terminal itself, the accuracy of the direction determining device in the mobile terminal, the sensitivity, and the preferences of the mobile terminal user.
- the panel here may be the upper panel of the mobile terminal, or may be the lower panel.
- the term "panel" is used in this embodiment to determine the degree of deviation of the mobile terminal from the horizontal plane, and is not used to limit the movement.
- the structural shape, material composition, etc. of the terminal is not used to limit the movement.
- Step S102 prompting the direction attribute information of the object by the camera application of the mobile terminal; when determining that the degree of the plane of the mobile terminal panel is out of the horizontal plane is within a preset range, the embodiment provides an entry for receiving the direction attribute of the object.
- the orientation attribute information of the subject is displayed on the screen of the mobile terminal through the camera application.
- the entry of the receive direction attribute can be embodied in a variety of specific forms: for example, writing a program in a camera application to display a dialog box on the screen of the mobile terminal, requesting the user to input the direction attribute of the subject; and, for example, by software
- the volume adjustment button on the side wall of the mobile terminal is set as the trigger control button of the direction attribute, and the direction attribute information of the object is generated by the physical operation of the trigger control button; for example, multiple arrows are directly displayed on the screen.
- the identifier obtains the direction attribute information of the subject by recognizing the trigger condition identified by the arrow.
- the directional attribute of the photographic subject refers to the reading or viewing habit in the image formed by the shooting device after the photographic subject is photographed.
- the direction attribute information of the subject refers to a set of direction information including at least the direction of the subject.
- Figure 2 shows the situation where the subject is in the viewfinder area of the mobile terminal before shooting.
- the reading or viewing habits are in the east direction.
- the east direction is the direction attribute of the text material, but based on the actual application needs, the directions of Zhengdong and Zhengxi can be given as the direction attribute information for the user to confirm.
- Step S103 receiving a selected result of the object direction attribute information
- the direction attribute information of the subject pointed out by the camera application it is necessary to determine a direction for presenting a picture formed after the subject is photographed, when the direction attribute information of the presented subject includes a plurality of direction attributes. Selecting a direction attribute as a result (for a camera application where the mobile terminal or the mobile terminal is located, that is, receiving a selected result of the subject direction attribute information); when the direction attribute information of the presented subject includes a When the direction attribute is selected, the direction attribute is selected to obtain the selected result of the subject direction attribute information.
- Step S104 After the photographing operation is completed, the image captured by the mobile terminal is presented according to the selected result, and the flow is ended; when the photographing of the photographed object is required to be performed after the photographing operation is completed, the selection of the direction attribute determined according to the foregoing steps is performed. The result shows the captured image.
- Step S105 determining a direction attribute of the photographic object by using a gravity sensing device
- the direction attribute of the captured image may still be determined in the original manner.
- a gravity sensing device is used to determine the direction attribute of the subject. Taking a mobile terminal to take a picture of a person in front of the mobile terminal as an example, when the gravity sensing device senses a gravity acceleration value of 9.8 in the vertical direction, the spatial state of the mobile terminal is a vertical state, because it is in the vertical direction. The person is photographed. Therefore, the vertical direction is the direction of the person's "head". This direction is the direction attribute of the subject. The picture displayed in this direction is the direction that is consistent with browsing or viewing habits.
- Step S106 Display an image captured by the mobile terminal according to the direction attribute of the photographic subject determined by the gravity sensing device, and end the flow.
- the plane of the plane of the mobile terminal panel deviates from the horizontal plane is in a preset range.
- the direction attribute information of the object is prompted by the camera application within the preset range, the image captured by the mobile terminal is displayed according to the selection result of the user's direction attribute information of the object.
- the embodiment of the present application divides the manner in which the image captured by the mobile terminal is displayed into two categories: First, when the plane of the mobile terminal panel deviates from the horizontal plane, that is, the mobile terminal is vertical or When it is substantially vertical, since the gravity sensing device can recognize the direction of the object, the image captured by the mobile terminal can be displayed according to the direction; second, when the plane of the mobile terminal deviates from the horizontal plane is small, that is, the mobile terminal When the state is in a horizontal state or a near-horizontal state, the direction of the subject is not recognized by the gravity sensing device, but the result of the selection of the orientation information of the subject by the user is provided, and the image taken by the mobile terminal can be displayed according to the image. Select the direction indicated by the result to show.
- the captured images of the displayed mobile terminal always meet the needs of reading or viewing, thereby improving convenience.
- Step S301 respectively acquiring the acceleration values of the gravity in the X-axis and the ⁇ axial direction measured by the gravity sensing device, wherein the plane formed by the X-axis and the ⁇ -axis is a horizontal plane;
- the preferred embodiment is implemented using a gravity sensing device.
- the measurement of the gravity sensing device is based on a certain coordinate system.
- one direction in the horizontal direction is the X axis
- the direction perpendicular to the X axis in the horizontal plane is the ⁇ axis, which is perpendicular to the plane formed by the X and the ⁇ axis. It is the axis.
- the gravitational acceleration values in the X-axis and ⁇ axial directions are respectively measured by the gravity sensing device.
- Step S302 determining whether the gravity acceleration value in the X-axis is smaller than the first preset acceleration threshold, and whether the gravity acceleration value in the x-axis is smaller than the second preset acceleration threshold, and if yes, determining the plane of the mobile terminal. If the degree of deviation from the horizontal plane is within the preset range, step S303 is performed; if not, it is determined that the plane of the plane of the mobile terminal panel is out of the horizontal plane is not within the preset range, and step S307 is performed.
- the addition in the two directions is compared with the preset acceleration threshold. If the comparison result is less than the preset acceleration threshold, it indicates that the deviation of the plane of the current mobile terminal panel from the horizontal plane is within a preset range, and the current space of the mobile terminal is located. The state will make it impossible to identify the direction attribute of the subject by the gravity sensing device; if one or both of the comparison results are greater than the preset acceleration threshold, it indicates that the plane of the current mobile terminal panel is not deviated from the horizontal plane. Within the preset range, the current spatial state of the mobile terminal does not affect the direction attribute of the photographic subject by the gravity sensing device.
- first and second preset acceleration thresholds as 4.9 [9.8 Math. sin ( Math, ⁇ /6 ) ] as an example, when Math.abs(xAxisValue) ⁇ 4.9 and Math. abs(yAxis Value) ⁇ 4.9 (xAxis Value represents the component of gravity acceleration on the x-axis, yAxisValue represents gravity acceleration
- Step S303 In the framing frame of the photographic subject of the mobile terminal, an arrow of N directions is presented, and the angle between the two arrows in the N directions is the same or different preset angle value, and the N is a natural number greater than or equal to 4;
- an arrow of N directions is presented, and one of the N arrows is presented.
- the angle between the two arrows may be equal (equal distance distribution) or unequal (non-equidistant distribution), usually ⁇ greater than or equal to 4.
- Fig. 4(a) shows that ⁇ is equal to 4
- the direction of the four arrows is the direction information information of the east, west, south, and north directions respectively;
- N Equal to 8 shows N Equal to 8, the direction of the eight arrows in addition to Zhengdong, Zhengxi, Zhengnan, and the northward outward, including the southeast, southwest, northeast, and northwest.
- the more directions the more you can meet the individual needs of the user. For example, some users want to display a certain angle of declination between the picture and the presentation screen. However, the more the direction, the larger the area occupied in the viewfinder area may cause the screen.
- the bloated icon affects normal framing shots.
- a better approach is to combine the needs of these two aspects to determine the number of directions to be prompted.
- the camera application provides a setting entry for the user to set before starting the shooting function, the number is set to 4, and the direction is set to the east, west, south, and fourth positive directions.
- Step S304 Receive a selected result of one of the N directions.
- Step S305 storing an orientation attribute letter corresponding to the image when storing the image captured by the mobile terminal The result of the selection of the interest; the direction attribute selected by the foregoing steps is finally used to display the picture, and a file may be separately created to record the direction attribute information corresponding to the object;
- Step S306 Read the stored image of the mobile terminal and the selection result of the direction attribute information corresponding to the image, and display the image captured by the mobile terminal according to the selection result, and end the flow; after receiving the presentation trigger request, simultaneously The stored image captured by the mobile terminal and the direction attribute corresponding to the image are read out, and then the captured graphic is displayed according to the direction attribute. It is worth emphasizing that: in addition to displaying the image in the manner of the above steps S305, 306, it is actually possible to store the image captured by the mobile terminal directly according to the selected direction attribute, so that when the presentation trigger request is received, Directly read images stored by the direction attribute for presentation. Here, the storage is performed according to the selected direction attribute.
- the setRotation ( ) function can be called by the camera application to rotate the captured image in the selected direction (angle), and then the rotated image is stored.
- the setRotation ( ) function belongs to the android. hardware. Camera. Parameters package, which is used to set the clockwise rotation angle relative to the camera direction, which is the angle relative to the direction of the camera sensor. For example, the rear camera sensor is fixed in any direction.
- Step S307 determining a direction attribute of the photographic object by using a gravity sensing device
- Step S308 Display an image captured by the mobile terminal according to the direction attribute of the photographic subject determined by the gravity sensing device, and end the flow. Whether the degree of the plane is within a preset range, the direction information of the subject is prompted by the camera application of the mobile terminal, and the preferred manner of presenting the image captured by the mobile terminal according to the selected result, and combining these preferred modes into a preferred embodiment, However, this does not mean that these preferred modes cannot exist in an independent form, that is, on the basis of the basic embodiment of the present application, the preferred mode of one step or several steps can be combined with other steps.
- An embodiment. The foregoing describes in detail an embodiment of a method for displaying a self-portrait image of the present application.
- the present application further provides an apparatus embodiment for presenting an image captured by a mobile terminal.
- FIG. 5 there is shown a block diagram of an embodiment of an apparatus for presenting an image captured by a mobile terminal of the present application.
- the device of the embodiment includes: a determining unit 501, a prompting unit 502, a receiving unit 503, and a displaying unit 504, wherein: the determining unit 501 is configured to determine whether the plane of the mobile terminal is out of the horizontal plane is preset Within the range, if yes, the prompting unit is triggered;
- the prompting unit 502 is configured to prompt the direction attribute information of the shooting object by using a camera application of the mobile terminal;
- the receiving unit 503 is configured to receive a selected result of the directional attribute information of the photographic subject
- the presentation unit 504 is configured to display an image captured by the mobile terminal according to the selected result.
- the working process of the embodiment of the device is: first, the determining unit 501 determines whether the degree of the plane of the mobile terminal is out of the horizontal plane is within a preset range. If yes, the prompting unit 502 is triggered, and the prompting unit 502 passes the camera application of the mobile terminal. The direction attribute information of the subject is prompted; after receiving the selection result of the subject direction attribute information, the presentation unit 504 presents the image captured by the mobile terminal according to the selection result.
- the device embodiment first determines whether the plane of the plane of the mobile terminal panel deviates from the horizontal plane is within a preset range, and if within the preset range, prompts the direction attribute information of the object by the camera application, and then according to the user's direction attribute information of the object.
- the selection result shows the image taken by the mobile terminal.
- the device embodiment divides the manner in which the image captured by the mobile terminal is displayed into two categories: First, when the plane of the mobile terminal panel deviates from the horizontal plane, that is, the mobile terminal is in vertical or When the device is substantially vertical, the gravity sensing device can recognize the direction of the object, and can display the image captured by the mobile terminal according to the direction; second, when the plane of the mobile terminal is less than the horizontal plane, that is, the mobile terminal When the state is in a horizontal state or a near-horizontal state, the direction of the subject is not recognized by the gravity sensing device, but the result of the selection of the orientation information of the subject by the user is provided, and the image taken by the mobile terminal can be displayed according to the image. Select the direction indicated by the result to show.
- the captured images of the mobile terminal that are present are always in accordance with the needs of reading or viewing, thereby improving convenience.
- the judging unit in the above apparatus embodiment may have different internal structures according to different judgment manners of the extent to which the plane of the mobile terminal deviates from the horizontal plane.
- the present application preference determining unit 501 may include an acceleration value obtaining subunit 5011, an acceleration value judging subunit 5012, and a deviation degree determining subunit 5013, where:
- the acceleration value acquisition sub-unit 5011 is configured to respectively obtain the gravity acceleration values measured by the gravity sensing device in the X-axis and the Y-axis, wherein the plane formed by the X-axis and the Y-axis is a horizontal plane;
- the acceleration value judging subunit 5012 is configured to determine whether the gravitational acceleration value in the X axis is smaller than the first preset acceleration threshold, and whether the gravitational acceleration value in the Y axis is smaller than the second preset acceleration threshold, and if so, Then triggering the degree of deviation determination subunit;
- the deviation degree determining subunit 5013 is configured to determine that the plane of the mobile terminal is out of the horizontal plane within a preset range.
- the prompting unit 502 of the above device embodiment may have different internal structures based on its different prompting manners.
- the present application prompting unit 502 may include an arrow presenting subunit 5021 for presenting N directions of arrows in the corresponding framing frame of the mobile terminal, and a natural number greater than or equal to 4, as a practical prompting manner, N
- the arrows that can take 4 or 4 directions can be Zhengdong, Zhengxi, Zhengbei, Zhengnan.
- the receiving unit 503 is specifically configured to receive a selection result of one of the N directions.
- a structural component of the presentation unit 504 may include: a first storage subunit 5041, a first read subunit 5042, and a first presentation subunit 5043, where: the first storage subunit 5041 is configured to move in the storage The image captured by the terminal stores the selection result of the direction attribute information corresponding to the image; the first reading subunit 5042 is configured to read the image of the stored mobile terminal and the selection result of the direction attribute information corresponding to the image; A presentation subunit 5043 is configured to display an image captured by the mobile terminal according to the selection result.
- another structural component of the presentation unit 504 may include: a second storage subunit and a second presentation subunit, where: the second storage subunit is configured to perform attribute information according to the pair of shooting directions The result is selected to store an image captured by the mobile terminal; the second presentation subunit is configured to read and display the image captured by the stored mobile terminal.
- the composition modes of the above two display units have their own advantages and disadvantages.
- the first composition mode since the image captured by the mobile terminal during storage can be directly stored without any processing, it is beneficial to save storage time, but in specific display When the captured image and the received direction attribute information corresponding to the image are simultaneously read, the display speed is slowed down; for the second composition mode, since the captured image needs to be properly processed before being stored, The storage time is increased, but the captured image after the processing operation can be directly read for display during the specific presentation.
- the structural composition of the appropriate display unit can be selected according to the difference between the application needs and the points of interest.
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Telephone Function (AREA)
- Studio Devices (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
本申请实施例公开了一种展现移动终端拍摄的图像的方法。该方法包括:判断移动终端面板所在平面偏离水平面的程度是否在预设范围内,如果是,则通过移动终端的相机应用程序提示拍摄对象的方向属性信息;接收对拍摄对象方向属性信息的选定结果,在完成拍摄操作后根据所述选定结果展现移动终端拍摄的图像。本申请还公开了一种展现移动终端拍摄的图像的装置。本申请的实施例可以实现对图像的正确展现。
Description
一种展现移动终端拍摄的图像的方法及装置 本申请要求于 2013 年 3 月 26 日提交中国国家知识产权局、 申请号为 201310100001.9、 发明名称为 "一种展现移动终端拍摄的图像的方法及装置" 的中国专利申请的优先权, 该在先申请的全部内容通过 ^ ]用结合在本申请中。 技术领域 本申请涉及信息处理技术领域,特别涉及一种展现移动终端拍摄的图像的 方法及其对应的装置。
背景技术
随着移动通信技术的发展,移动终端已集成了相机拍摄功能, 用户通过操 作移动终端可以启动相机应用程序拍摄自己需要的图像。 为了便于阅读和查 看, 移动终端拍摄的图像在展现时通常具有方向属性。 比如, 对于利用移动终 端拍摄的文字型图像(即拍摄文本材料形成的图像), 由于阅读文字的习惯是 自上而下、 自左而右, 那么在拍摄文字材料之时或者之后, 必须向相机应用程 序传递方向参数, 以便相机应用程序按照正确的方向存储图像, 或者在展现图 像时利用该方向参数进行正确的展现。 由此可见, 为了正确阅读或查看移动终 端拍摄的图像, 需要获取到拍摄对象的方向信息。
现有技术获取拍摄对象方向信息是通过内置于移动终端中的重力感应装 置实现的。 重力传感装置通常包括 "重力块" 和 "压电晶体", 当移动终端的 方向改变时, "重力块" 作用于 "压电晶体" 的力随之改变, 从而输出不同的 电压信号,依据该电压信号即可判断移动终端所处的方向,移动终端的方向作 为拍摄对象的方向信息传递给相机应用程序,相机应用程序即可根据这个方向 信息存储、 展现拍摄的图像。
然而,限于重力传感装置的依赖重力的工作原理以及生产技术带来的精度 范围, 当移动终端处于水平状态或者与水平面存在某个预设范围内的夹角时, 重力传感装置将无法正确识别方向,使移动设备拍摄的图像没有明确的方向属 性, 从而影响到对图像的正确展现, 给阅读或查看带来不便。
发明内容
为解决上述技术问题,本申请实施例提供了一种展现移动终端拍摄的图像
的方法及其对应的装置, 以实现对图像的正确展现。
本申请实施例提供的展现移动终端拍摄的图像的方法包括:
判断移动终端面板所在平面偏离水平面的程度是否在预设范围内, 如果 是, 则通过移动终端的相机应用程序提示拍摄对象的方向属性信息;
接收对拍摄对象方向属性信息的选定结果,根据所述选定结果展现移动终 端拍摄的图像。
优选地,所述判断移动终端面板所在平面偏离水平面的程度是否在预设范 围内具体包括:
分别获取重力感应装置测得的 X轴、 Y轴向上的重力加速度值, 所述 X 轴、 Y轴组成的平面为水平面;
判断 X轴向上的重力加速度值是否小于第一预设加速度阀值, 且 Y轴向 上的重力加速度值是否小于第二预设加速度阀值,如果是, 则确定移动终端面 板所在平面偏离水平面的程度在预设范围内。
优选地,所述通过移动终端的相机应用程序提示拍摄对象的方向属性信息 具体包括:
在移动终端对拍摄对象的取景框内, 呈现 N个方向的箭头, 所述 N个方 向的箭头两两之间的夹角为相同或不相同的预设角度值,则所述接收对拍摄对 象方向属性信息选定结果为接收所述 N个方向中的一个方向的选择结果, 所 述 N为大于等于 4的自然数。
进一步优选地, 所述 N为 4, 所述 N个方向的箭头分别为正东、 正西、 正南、 正北 4个方向的箭头。
优选地, 所述根据选定结果展现移动终端拍摄的图像包括:
存储移动终端拍摄的图像时存储与该图像对应的方向属性信息的选定结 果;
读取存储的移动终端的图像和与该图像对应的方向属性信息的选定结果, 根据所述选定结果对移动终端拍摄的图像进行展现; 或,
根据所述对拍摄对象方向属性信息的选定结果存储移动终端拍摄的图像; 读取存储的移动终端拍摄的图像并进行展现。
本申请实施例还提供了一种展现移动终端拍摄的图像的装置。 该装置包
括: 判断单元、 提示单元、 接收单元和展现单元, 其中:
所述判断单元,用于判断移动终端面板所在平面偏离水平面的程度是否在 预设范围内, 如果是, 则触发提示单元;
所述提示单元,用于通过移动终端的相机应用程序提示拍摄对象的方向属 性信息;
所述接收单元, 用于接收对拍摄对象方向属性信息的选定结果; 所述展现单元, 用于根据所述选定结果展现移动终端拍摄的图像。
优选地, 所述判断单元具体包括加速度值获取子单元、加速度值判断子单 元和偏离程度确定子单元, 其中:
所述加速度值获取子单元, 用于分别获取重力感应装置测得的 X轴、 Y 轴向上的重力加速度值, 所述 X轴、 Y轴组成的平面为水平面;
所述加速度值判断子单元, 用于判断 X轴向上的重力加速度值是否小于 第一预设加速度阀值, 且 Y轴向上的重力加速度值是否小于第二预设加速度 阀值, 如果是, 则触发偏离程度确定子单元;
所述偏离程度确定子单元,用于确定移动终端面板所在平面偏离水平面的 程度在预设范围内。
优选地, 所述提示单元具体包括箭头呈现子单元, 用于在移动终端对拍摄 对应的取景框内呈现 N个方向的箭头, 所述 N个方向的箭头两两之间的夹角 为相同或不相同的预设角度值,所述 N为大于等于 4的自然数;
所述接收单元具体用于接收所述 N个方向中的一个方向的选定结果。 优选地, 所述展现单元具体包括:
第一存储子单元、 第一读取子单元和第一展现子单元, 其中: 所述第一存 储子单元,用于在存储移动终端拍摄的图像时存储与该图像对应的方向属性信 息的选定结果; 所述第一读取子单元, 用于读取存储的移动终端的图像和与该 图像对应的方向属性信息的选定结果; 所述第一展现子单元, 用于根据所述选 定结果对移动终端拍摄的图像进行展现; 或,
第二存储子单元和第二展现子单元, 其中: 所述第二存储子单元, 用于根 据所述对拍摄对象方向属性信息的选定结果存储移动终端拍摄的图像;所述第 二展现子单元, 用于读取存储的移动终端拍摄的图像并进行展现。
本申请实施例先判断移动终端所在平面偏离水平面的程度是否在预设范 围内, 如果在预设范围内便通过相机应用程序提示拍摄对象的方向属性信息, 然后根据用户对拍摄对象方向属性信息的选定结果对移动终端拍摄的图像进 行展现。 与现有技术相比, 本申请实施例将对移动终端拍摄的图像进行展现划 分为两个类别: 一是移动终端所在平面与水平面偏离程度较大时, 即移动终端 处于竖直或基本竖直时, 由于重力感应装置能够识别拍摄对象的方向,在对移 动终端拍摄的图像进行展现时即可按照该方向进行展现;二是移动终端所在平 面与水平面偏离程度较小时, 即移动终端处于水平状态或接近水平状态时, 不 在通过重力感应装置识别拍摄对象的方向,而是提供入口接收用户对拍摄对象 方向属性信息的选定结果,在对移动终端拍摄的图像进行展现时即可按照这个 选择结果表明的方向进行展现。通过这种依据不同情况采取不同的展现方式使 展现出来的移动终端的拍摄图像始终符合阅读或查看的需要, 从而提高便利 性。
附图说明
实施例或现有技术描述中所需要使用的附图作简单地介绍。 显而易见地, 以下描述中的附图仅仅是本发明的一些实施例, 对于本领域普通技术人 员而言, 还可以根据这些附图所示实施例得到其它的实施例及其附图。
图 1为本申请的展现移动终端拍摄的图像的方法一个实施例的流程图; 图 2为未拍摄前拍摄对象在移动终端取景区内的情形;
图 3为本申请的展现移动终端拍摄的图像的方法再一个实施例的流程图; 图 4 ( a ) 为在移动终端的取景区内呈现方向属性信息的方式之一; 图 4 ( b ) 为在移动终端的取景区内呈现方向属性信息的方式之二; 图 5为本申请的展现移动终端拍摄的图像的装置实施例的结构框图。
具体实施方式 为了使本技术领域的人员更好地理解本申请中的技术方案,下面将结合本 申请实施例中的附图, 对本申请实施例中的技术方案进行清楚、 完整地描述, 显然, 所描述的实施例仅仅是本申请一部分实施例, 而不是全部的实施例。 基 于本申请中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获
得的所有其他实施例, 都应当属于本申请保护的范围。
参见图 1 , 该图示出了本申请的展现移动终端拍摄的图像的方法的一个实 施例 (基石出实施例) 的流程。 该实施例包括:
步骤 S101 : 判断移动终端面板所在平面偏离水平面的程度是否在预设范 围内, 如果是, 执行步骤 S102; 如果否, 则执行步骤 S105;
移动终端通常为矩形块形式, 其具有面板和侧壁。根据面板所在平面与水 平面之间的关系,在利用移动终端进行拍摄过程中,移动终端的空间状态可以 划分两种基本类型, 即竖直状态和水平状态: 移动终端在竖直状态下, 移动终 端的面板所在平面与水平面之间的夹角为 90。 ; 移动终端在水平状态下, 移 动终端的面板所在平面与水平面之间的夹角为 0° 。 除这两种基本的移动终端 空间状态外, 在拍摄过程中, 为适应拍摄或个人喜好的需要, 还可以存在处于 这两种状态之间的状态,即移动终端面板所在平面与水平面之间存在一定的夹 角。 为了涵盖移动终端在拍摄过程中各种空间状态,将这种移动终端面板所在 平面与水平面之间的关系称为偏离程度。在使用移动终端启动拍摄功能后, 本 实施例首先判断移动终端面板所在平面偏离水平面的偏离程度是否在预设范 围, 根据偏离程度不同, 采取不同的措施实现对移动终端拍摄的图像的展现, 这里的预设范围可根据实际情况进行设定, 其取决于移动终端本身的性能、移 动终端内方向判别设备的精度、 灵敏度以及移动终端用户自身的喜好等因素。 需要说明的是: 这里的面板可以是移动终端的上面板, 也可以是下面板, 本实 施例给出 "面板"这一术语旨在确定移动终端相对于水平面的偏离程度, 并不 用于限定移动终端的结构形状、 材质组成等。
步骤 S102: 通过移动终端的相机应用程序提示拍摄对象的方向属性信息; 通过前述步骤确定移动终端面板所在平面偏离水平面的程度在预设范围 内时, 本实施例提供接收拍摄对象方向属性的入口,通过相机应用程序在移动 终端屏幕上显示拍摄对象的方向属性信息。接收方向属性的入口可以通过多种 具体形式体现出来: 比如,在相机应用程序中编写程序使其在移动终端屏幕上 显示对话框, 请求用户输入拍摄对象的方向属性; 还比如, 通过软件方式将移 动终端侧壁上的音量调节按钮设置为方向属性的触发控键,通过对触发控键的 物理操作产生拍摄对象的方向属性信息; 再比如,在屏幕中直接显示多个箭头
标识,通过识别箭头标识的触发情况来获得拍摄对象的方向属性信息。 为便于 理解本实施例的技术方案, 下面对拍摄对象的方向属性的概念作简要解释: 拍 摄对象的方向属性是指在拍摄设备对拍摄对象进行拍摄后形成的图像中符合 阅读或查看习惯的哪个方向,拍摄对象的方向属性信息指至少包含拍摄对象方 向属性在内的方向信息的集合。 以图 2所示文字型材料(拍摄对象)为例, 图 2是未拍摄前拍摄对象在移动终端取景区的情形, 在该文字型材料中符合阅读 或查看习惯的为正东向, "正东向" 即为该文字型材料的方向属性, 但基于实 际应用需要, 可以给出正东、 正西等方向作为方向属性信息供用户选择确认。
步骤 S 103 : 接收对拍摄对象方向属性信息的选定结果;
当通过相机应用程序提示出来的拍摄对象的方向属性信息后,需要确定一 个用于呈现对拍摄对象进行拍摄后形成的图片的方向,当提示出的拍摄对象的 方向属性信息包含多个方向属性时,从中选择一个方向属性作为结果(对于移 动终端或移动终端所在的相机应用程序等而言,即接收对拍摄对象方向属性信 息的选定结果); 当提示出的拍摄对象的方向属性信息包含一个方向属性时, 选定该方向属性即可获得对拍摄对象方向属性信息的选定结果。
步骤 S 104: 在完成拍摄操作后根据所述选定结果展现移动终端拍摄的图 像, 结束流程; 在完成拍摄操作需要展现对拍摄对象的拍摄的图片时, 根据前 述步骤确定的方向属性的选定结果展现拍摄图像。
步骤 S 105: 通过重力感应装置确定拍摄对象的方向属性;
通过 S 101步骤确定移动终端面板所在平面偏离水平面的程度在预设范围 之外时, 可以仍然采用原有的方式确定拍摄图像的方向属性。 比如, 采用重力 感应装置确定拍摄对象的方向属性。 以移动终端对前方的一个人进行拍摄为 例, 当重力感应装置感应到在竖直方向上的重力加速度值为 9.8 , 则说明移动 终端的空间状态为竖直状态, 由于是在竖直方向上拍摄人, 因此, 竖直朝上即 为人的 "人头" 方向, 该方向即为拍摄对象的方向属性, 按照该方向展现拍摄 的图片即为符合浏览或查看习惯的方向。
步骤 S 106: 根据所述重力感应装置确定的拍摄对象的方向属性展现移动 终端拍摄的图像, 结束流程。
本实施例先判断移动终端面板所在平面偏离水平面的程度是否在预设范
围内, 如果在预设范围内便通过相机应用程序提示拍摄对象的方向属性信息, 然后根据用户对拍摄对象方向属性信息的选择结果对移动终端拍摄的图像进 行展现。 与现有技术相比, 本申请实施例将对移动终端拍摄的图像进行展现的 方式划分为两个类别: 一是移动终端面板所在平面与水平面偏离程度较大时, 即移动终端处于竖直或基本竖直时,由于重力感应装置能够识别拍摄对象的方 向,在对移动终端拍摄的图像进行展现时即可按照该方向进行展现; 二是移动 终端所在平面与水平面偏离程度较小时,即移动终端处于水平状态或接近水平 状态时, 不在通过重力感应装置识别拍摄对象的方向, 而是提供入口接收用户 对拍摄对象方向属性信息的选择结果,在对移动终端拍摄的图像进行展现时即 可按照这个选择结果表明的方向进行展现。通过这种依据不同情况采取不同的 展现方式使展现出来的移动终端的拍摄图像始终符合阅读或查看的需要,从而 提高便利性。
尽管上述方法实施例已能解决本申请的技术问题, 实现发明目的,每个步 骤具有多种具体的实现方式。 为了更加明确本申请的技术特征, 下面给出一种 更加优选的实施例。 参见图 3 , 该图示出了该优选实施例的流程。 该优选实施 例包括:
步骤 S301 : 分别获取重力感应装置测得的 X轴、 Υ轴向上的重力加速度 值, 所述 X轴、 Υ轴组成的平面为水平面;
为便于对移动终端面板所在平面与水平面的偏离程度进行衡量,本优选实 施例利用重力感应装置实现。 重力感应装置的测量需基于一定的坐标系, 本优 选实施例以水平方向的一个方向为 X轴, 在水平面上与 X轴垂直的方向为 Υ 轴, 与 X、 Υ轴构成的平面垂直的方向为 Ζ轴。 在这样的坐标系中, 通过重力 感应装置分别测量获得 X轴、 Υ轴向上的重力加速度值。
步骤 S302:判断 X轴向上的重力加速度值是否小于第一预设加速度阀值, 且 Υ轴向上的重力加速度值是否小于第二预设加速度阀值, 如果是, 则确定 移动终端所在平面偏离水平面的程度在预设范围内, 执行步骤 S303; 如果否, 则确定移动终端面板所在平面偏离水平面的程度未在预设范围内, 执行步骤 S307„
通过前述步骤测得 X、 Y轴向上的重力加速度值后, 将这两个方向上的加
速度值与预设的加速度阀值进行比较, 如果比较结果均小于预设加速度阀值, 则表明当前移动终端面板所在平面相对于水平面的偏离程度在预设范围内,移 动终端当前所处的空间状态将使通过重力感应装置无法进行拍摄对象的方向 属性的识别; 如果比较结果有其一或者两个均大于预设加速度阀值, 则表明当 前移动终端面板所在平面相对于水平面的偏离程度未在预设范围内 ,移动终端 当前所处的空间状态不影响通过重力感应装置对拍摄对象的方向属性进行识 别。 比如, 以第一、 第二预设加速度阀值均为 4.9[9.8 Math. sin ( Math, π /6 ) ] 为例, 当 Math.abs(xAxisValue) < 4.9 and Math. abs(yAxis Value) < 4.9 时 ( xAxis Value代表的重力加速度在 x轴上的分量, yAxisValue代表重力加速度
30° 倾角。 在该范围内, 通过重力感应装置将无法确定拍摄对象的方向属性。
步骤 S303: 在移动终端对拍摄对象的取景框内, 呈现 N个方向的箭头, 所述 N个方向的箭头两两之间的夹角为相同或不相同的预设角度值, 所述 N 为大于等于 4的自然数;
当通过前述步骤确定移动终端的空间状态在预设偏离程度范围内时,在移 动终端相机应用程序对拍摄对象的取景框内, 呈现出 N个方向的箭头, 这 N 个箭头中有一个方向是满足用户正常浏览或查看图像要求的,Ν个箭头的方向 两两之间的夹角可以相等(等距离分布)也可以不相等(非等距离分布), 通 常情况下 Ν大于等于 4。 参见图 4, 图 4 ( a )示出了 Ν等于 4, 四个箭头的方 向分别为正东、 正西、 正南、 正北的方向属性信息提示情形; 图 4 ( b ) 示出 了 N等于 8, 八个箭头的方向除正东、正西、正南、正北方向外,还包括东南、 西南、 东北、西北四个反向。通常情况,方向越多越能满足用户的个性化需求, 比如某些用户希望展现出来的图片与展现屏幕存在一定的偏角,但是, 方向越 多在取景区占用的面积越大,可能引起屏幕图标的臃肿,影响正常的取景拍摄。 一种较好的方式是综合这两方面的需求根据具体情况进行决定提示方向的数 量。 比如, 由相机应用程序提供设置入口供用户在启动拍摄功能之前设置, 数 量设置为 4, 方向设置为东西南北四正方向。
步骤 S304: 接收所述 N个方向中的一个方向的选定结果;
步骤 S305: 存储移动终端拍摄的图像时存储与该图像对应的方向属性信
息的选择结果; 通过前述步骤选定的方向属性是最终用于展现图片的, 可以单 独建立一个文件记录与拍摄对象对应的方向属性信息;
步骤 S306: 读取存储的移动终端的图像和与该图像对应的方向属性信息 的选择结果, 根据所述选择结果对移动终端拍摄的图像进行展现, 结束流程; 当接收到展现触发请求后,同时读出存储的移动终端拍摄的图像和该图像 对应的方向属性 ,然后根据该方向属性对拍摄的图形进行展现。值得强调的是: 除按照上述步骤 S305、 306的方式展现图像外, 实际上还可以在存储移动终端 拍摄的图像时直接按照选定的方向属性进行存储,这样在接收到展现触发请求 时, 可以直接读取按照方向属性存储的图像进行展现。这里按照选定的方向属 性进行存储可以通过相机应用程序调用 setRotation ( )函数对拍摄到的图像按 照选定的方向 (角度)进行旋转, 然后将旋转后的图像进行存储。 setRotation ( ) 函数属于 android. hardware. Camera. Parameters包, 用于设置相对于相机方 向的顺时针旋转角度, 此角度是相对相机传感器 (camera sensor)方向的角度。 比如后置相机传感器被固定与任意方向。
步骤 S307: 通过重力感应装置确定拍摄对象的方向属性;
步骤 S308: 根据所述重力感应装置确定的拍摄对象的方向属性展现移动 终端拍摄的图像, 结束流程。 平面的程度是否在预设范围内、通过移动终端的相机应用程序提示拍摄对象的 方向信息以及根据选定结果展现移动终端拍摄的图像的优选方式,且将这些优 选方式组合成一个优选实施例,但是, 这并不表明这些优选的方式不能以独立 的形式存在, 也就是说, 在本申请基本实施例基础上, 可以将对其中的某个步 骤或几个步骤的优选方式与其他步骤组成成一个实施例。 上述内容详细叙述了本申请的自拍图像的展现方法的实施例,相应地, 本 申请还提供了一种展现移动终端拍摄的图像的装置实施例。 参见图 5 , 该图示 出了本申请的展现移动终端拍摄的图像的装置实施例的结构框图。该实施例装 置包括: 判断单元 501、 提示单元 502、 接收单元 503和展现单元 504, 其中: 判断单元 501 , 用于判断移动终端所在平面偏离水平面的程度是否在预设
范围内, 如果是, 则触发提示单元;
提示单元 502, 用于通过移动终端的相机应用程序提示拍摄对象的方向属 性信息;
接收单元 503 , 用于接收对拍摄对象方向属性信息的选定结果;
展现单元 504, 用于根据所述选定结果展现移动终端拍摄的图像。
本装置实施例的工作过程是:先由判断单元 501判断移动终端所在平面偏 离水平面的程度是否在预设范围内, 如果是, 则触发提示单元 502, 由提示单 元 502通过移动终端的相机应用程序提示拍摄对象的方向属性信息;接收单元 503在接收对拍摄对象方向属性信息的选择结果后, 展现单元 504根据所述选 择结果展现移动终端拍摄的图像。
本装置实施例先判断移动终端面板所在平面偏离水平面的程度是否在预 设范围内,如果在预设范围内便通过相机应用程序提示拍摄对象的方向属性信 息,然后根据用户对拍摄对象方向属性信息的选择结果对移动终端拍摄的图像 进行展现。 与现有技术相比, 本装置实施例将对移动终端拍摄的图像进行展现 的方式划分为两个类别: 一是移动终端面板所在平面与水平面偏离程度较大 时, 即移动终端处于竖直或基本竖直时, 由于重力感应装置能够识别拍摄对象 的方向,在对移动终端拍摄的图像进行展现时即可按照该方向进行展现; 二是 移动终端所在平面与水平面偏离程度较小时,即移动终端处于水平状态或接近 水平状态时, 不在通过重力感应装置识别拍摄对象的方向, 而是提供入口接收 用户对拍摄对象方向属性信息的选择结果,在对移动终端拍摄的图像进行展现 时即可按照这个选择结果表明的方向进行展现。通过这种依据不同情况采取不 同的展现方式^^现出来的移动终端的拍摄图像始终符合阅读或查看的需要, 从而提高便利性。
上述装置实施例中的判断单元根据其对移动终端所在平面偏离水平面的 程度的不同判断方式可以具有不同的内部结构。 比如, 本申请优选判断单元 501可以包括加速度值获取子单元 5011、 加速度值判断子单元 5012和偏离程 度确定子单元 5013 , 其中:
加速度值获取子单元 5011 , 用于分别获取重力感应装置测得 X轴、 Y轴 向上的重力加速度值, 所述 X轴、 Y轴组成的平面为水平面;
加速度值判断子单元 5012, 用于判断 X轴向上的重力加速度值是否小于 第一预设加速度阀值, 且 Y轴向上的重力加速度值是否小于第二预设加速度 阀值, 如果是, 则触发偏离程度确定子单元;
偏离程度确定子单元 5013 , 用于确定移动终端所在平面偏离水平面的程 度在预设范围内。
基于同样的道理,上述装置实施例的提示单元 502基于其不同的提示方式 也可以具有不同的内部结构。 比如, 本申请优选提示单元 502可以包括箭头呈 现子单元 5021 ,用于在移动终端对拍摄对应的取景框内呈现 N个方向的箭头 , 大于等于 4的自然数, 作为一种实用的提示方式, N可以取 4, 4个方向的箭 头可以为正东、 正西、 正北、 正南。 这种情况下, 接收单元 503具体用于接收 所述 N个方向中的一个方向的选择结果。
上述装置实施例的展现单元基于不同的展示方式也具有不同内部结构。比 如, 展现单元 504的一种结构组成可以是包括: 第一存储子单元 5041、 第一 读取子单元 5042和第一展现子单元 5043 , 其中: 第一存储子单元 5041 , 用于 在存储移动终端拍摄的图像时存储与该图像对应的方向属性信息的选择结果; 第一读取子单元 5042, 用于读取存储的移动终端的图像和与该图像对应的方 向属性信息的选择结果; 第一展现子单元 5043 , 用于根据所述选择结果对移 动终端拍摄的图像进行展现。还比如,展现单元 504的另一种结构组成可以是 包括: 第二存储子单元和第二展现子单元, 其中: 所述第二存储子单元, 用于 根据所述对拍摄对象方向属性信息的选择结果存储移动终端拍摄的图像;所述 第二展现子单元, 用于读取存储的移动终端拍摄的图像并进行展现。上述两种 展现单元的组成方式各有优缺点,对于第一种组成方式而言, 由于存储时对移 动终端拍摄的图像可以不经过任何处理直接进行存储, 有利于节约存储时间, 但在具体展现时需要同时读取拍摄的图像和接收的与该图像对应的方向属性 信息的选择结果, 从而减緩了展示速度; 对于第二种组成方式, 由于在存储之 前需要对拍摄的图像进行适当处理,增加了存储时间,但在具体展现时可直接 读取经过处理操作后的拍摄图像进行展现。在实际应用过程中, 可根据应用需 要和关注点的差异选择恰当的展示单元的结构组成形式。
需要说明的是: 为了叙述的简便, 本说明书的上述实施例以及实施例的各 种变形方式重点说明的都是与其他实施例或变形方式的不同之处,各个情形之 间相同相似的部分互相参见即可。尤其,对于装置实施例的几个改进方式而言, 由于其基本相似于方法实施例, 所以描述得比较简单,相关之处参见方法实施 例的部分说明即可。以上所描述的装置实施例的各单元可以是或者也可以不是 物理上分开的, 既可以位于一个地方, 或者也可以分布到多个网络环境下。 在 实际应用过程中,可以根据实际的需要选择其中的部分或者全部单元来实现本 实施例方案的目的, 本领域普通技术人员在不付出创造性劳动的情况下, 即可 以理解并实施。
以上所述仅是本申请的具体实施方式,应当指出,对于本技术领域的普通 技术人员来说, 在不脱离本申请原理的前提下, 还可以做出若干改进和润饰, 这些改进和润饰也应视为本申请的保护范围。
Claims
1、 一种展现移动终端拍摄的图像的方法, 其特征在于, 所述方法包括: 判断移动终端面板所在平面偏离水平面的程度是否在预设范围内, 如果 是, 则通过移动终端的相机应用程序提示拍摄对象的方向属性信息;
接收对拍摄对象方向属性信息的选定结果,在完成拍摄操作后根据所述选 定结果展现移动终端拍摄的图像。
2、 根据权利要求 1所述的方法, 其特征在于, 所述判断移动终端面板所 在平面偏离水平面的程度是否在预设范围内具体包括:
分别获取重力感应装置测得的 X轴、 Y轴向上的重力加速度值, 所述 X 轴、 Y轴组成的平面为水平面;
判断 X轴向上的重力加速度值是否小于第一预设加速度阀值, 且 Y轴向 上的重力加速度值是否小于第二预设加速度阀值,如果是, 则确定移动终端面 板所在平面偏离水平面的程度在预设范围内。
3、 根据权利要求 1所述的方法, 其特征在于, 所述通过移动终端的相机 应用程序提示拍摄对象的方向属性信息具体包括:
在移动终端对拍摄对象的取景框内, 呈现 N个方向的箭头, 所述 N个方 向的箭头两两之间的夹角为相同或不相同的预设角度值,则所述接收对拍摄对 象方向属性信息的选定结果为接收所述 N个方向中的一个方向的选择结果, 所述 N为大于等于 4的自然数。
4、 根据权利要求 3所述的方法, 其特征在于, 所述 N为 4, 所述 N个方 向的箭头分别为正东、 正西、 正南、 正北 4个方向的箭头。
5、 根据权利要求 1至 4中任何一项所述的方法, 其特征在于, 所述根据 选定结果展现移动终端拍摄的图像包括:
存储移动终端拍摄的图像时存储与该图像对应的方向属性信息的选定结 果;
读取存储的移动终端的图像和与该图像对应的方向属性信息的选定结果, 根据所述选定结果对移动终端拍摄的图像进行展现; 或,
根据对拍摄对象方向属性信息的选定结果存储移动终端拍摄的图像; 读取存储的移动终端拍摄的图像并进行展现。
6、 一种展现移动终端拍摄的图像的装置, 其特征在于, 该装置包括: 判 断单元、 提示单元、 接收单元和展现单元, 其中:
所述判断单元,用于判断移动终端面板所在平面偏离水平面的程度是否在 预设范围内, 如果是, 则触发提示单元;
所述提示单元,用于通过移动终端的相机应用程序提示拍摄对象的方向属 性信息;
所述接收单元, 用于接收对拍摄对象方向属性信息的选定结果;
所述展现单元, 用于根据所述选定结果展现移动终端拍摄的图像。
7、 根据权利要求 6所述的装置, 其特征在于, 所述判断单元具体包括加 速度值获取子单元、 加速度值判断子单元和偏离程度确定子单元, 其中:
所述加速度值获取子单元, 用于分别获取重力感应装置测得的 X轴、 Y 轴向上的重力加速度值, 所述 X轴、 Y轴组成的平面为水平面;
所述加速度值判断子单元, 用于判断 X轴向上的重力加速度值是否小于 第一预设加速度阀值, 且 Y轴向上的重力加速度值是否小于第二预设加速度 阀值, 如果是, 则触发偏离程度确定子单元;
所述偏离程度确定子单元,用于确定移动终端面板所在平面偏离水平面的 程度在预设范围内。
8、 根据权利要求 6所述的装置, 其特征在于, 所述提示单元具体包括箭 头呈现子单元, 用于在移动终端对拍摄对应的取景框内呈现 N个方向的箭头, 所述 N个方向的箭头两两之间的夹角为相同或不相同的预设角度值, 所述 N 为大于等于 4的自然数;
所述接收单元具体用于接收所述 N个方向中的一个方向的选定结果。
9、 根据权利要求 6至 8中任何一项所述的装置, 其特征在于, 所述展现 单元具体包括:
第一存储子单元、 第一读取子单元和第一展现子单元, 其中: 所述第一存 储子单元,用于在存储移动终端拍摄的图像时存储与该图像对应的方向属性信 息的选定结果; 所述第一读取子单元, 用于读取存储的移动终端的图像和与该 图像对应的方向属性信息的选定结果; 所述第一展现子单元, 用于根据所述选 定结果对移动终端拍摄的图像进行展现; 或,
第二存储子单元和第二展现子单元, 其中: 所述第二存储子单元, 用于根 据所述对拍摄对象方向属性信息的选定结果存储移动终端拍摄的图像;所述第 二展现子单元, 用于读取存储的移动终端拍摄的图像并进行展现。
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310100001.9 | 2013-03-26 | ||
CN201310100001.9A CN103150098B (zh) | 2013-03-26 | 2013-03-26 | 一种展现移动终端拍摄的图像的方法及装置 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2014154006A1 true WO2014154006A1 (zh) | 2014-10-02 |
Family
ID=48548211
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2013/090876 WO2014154006A1 (zh) | 2013-03-26 | 2013-12-30 | 一种展现移动终端拍摄的图像的方法及装置 |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN103150098B (zh) |
WO (1) | WO2014154006A1 (zh) |
Families Citing this family (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103150098B (zh) * | 2013-03-26 | 2016-01-06 | 锤子科技(北京)有限公司 | 一种展现移动终端拍摄的图像的方法及装置 |
CN104104796A (zh) * | 2014-07-17 | 2014-10-15 | 广东欧珀移动通信有限公司 | 移动设备方向的智能提醒方法、装置及移动设备 |
CN104883501B (zh) * | 2015-05-12 | 2018-04-03 | 广东欧珀移动通信有限公司 | 一种俯视视角的拍照方法及装置 |
CN105120174A (zh) * | 2015-09-17 | 2015-12-02 | 魅族科技(中国)有限公司 | 一种图像处理方法以及装置 |
CN106791413B (zh) * | 2016-12-29 | 2021-01-15 | 努比亚技术有限公司 | 一种图像采集装置及方法 |
CN107147775B (zh) * | 2017-03-30 | 2020-03-24 | 联想(北京)有限公司 | 一种信息处理方法及电子设备 |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5661632A (en) * | 1994-01-04 | 1997-08-26 | Dell Usa, L.P. | Hand held computer with dual display screen orientation capability controlled by toggle switches having first and second non-momentary positions |
CN1630304A (zh) * | 2003-11-29 | 2005-06-22 | Lg电子株式会社 | 移动终端的倾斜度显示方法 |
CN101030982A (zh) * | 2007-03-22 | 2007-09-05 | 宇龙计算机通信科技(深圳)有限公司 | 自动调整显示屏内容显示方向的装置及方法 |
CN103150098A (zh) * | 2013-03-26 | 2013-06-12 | 锤子科技(北京)有限公司 | 一种展现移动终端拍摄的图像的方法及装置 |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
GB2378878B (en) * | 2001-06-28 | 2005-10-05 | Ubinetics Ltd | A handheld display device |
KR20080091631A (ko) * | 2007-04-09 | 2008-10-14 | (주)케이티에프테크놀로지스 | 화상 통화를 위한 영상의 기울어짐을 보정하는 방법 및장치 |
-
2013
- 2013-03-26 CN CN201310100001.9A patent/CN103150098B/zh active Active
- 2013-12-30 WO PCT/CN2013/090876 patent/WO2014154006A1/zh active Application Filing
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5661632A (en) * | 1994-01-04 | 1997-08-26 | Dell Usa, L.P. | Hand held computer with dual display screen orientation capability controlled by toggle switches having first and second non-momentary positions |
CN1630304A (zh) * | 2003-11-29 | 2005-06-22 | Lg电子株式会社 | 移动终端的倾斜度显示方法 |
CN101030982A (zh) * | 2007-03-22 | 2007-09-05 | 宇龙计算机通信科技(深圳)有限公司 | 自动调整显示屏内容显示方向的装置及方法 |
CN103150098A (zh) * | 2013-03-26 | 2013-06-12 | 锤子科技(北京)有限公司 | 一种展现移动终端拍摄的图像的方法及装置 |
Also Published As
Publication number | Publication date |
---|---|
CN103150098A (zh) | 2013-06-12 |
CN103150098B (zh) | 2016-01-06 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2014154006A1 (zh) | 一种展现移动终端拍摄的图像的方法及装置 | |
TWI663876B (zh) | 影像處理裝置、影像處理方法及儲存介質與用於影像處理裝置的攝影輔助器材 | |
KR101498442B1 (ko) | 경사 또는 원근 보정을 갖는 이미지 캡처 디바이스 | |
JP5857257B2 (ja) | 表示装置及び表示方向切替方法 | |
CN110650241B (zh) | 移动终端中呈现全景照片的方法和移动终端 | |
JP6236691B1 (ja) | 端末装置、及びプログラム | |
JP6109413B2 (ja) | 画像表示方法、画像表示装置、端末、プログラム及び記録媒体 | |
WO2013017023A1 (zh) | 一种控制终端屏幕的显示状态的方法及装置 | |
WO2013000359A1 (zh) | 偏侧拍摄角度检测方法、倾斜拍摄角度检测方法及手机 | |
US20210084228A1 (en) | Tracking shot method and device, and storage medium | |
WO2019057091A1 (zh) | 游戏客户端的控制方法、装置、存储介质和电子装置 | |
WO2015196917A1 (en) | Photographing control methods, photographing control apparatuses, and photographing devices | |
KR102078198B1 (ko) | 전자 장치 및 전자 장치의 3차원 모델링을 위한 촬영방법 | |
CN111045577A (zh) | 一种横竖屏切换方法、可穿戴设备和具有存储功能的装置 | |
WO2021238564A1 (zh) | 显示设备及其畸变参数确定方法、装置、系统及存储介质 | |
WO2016179883A1 (zh) | 终端屏幕显示画面的旋转方法及装置 | |
WO2021026764A1 (zh) | 拍摄终端控制方法、系统、手持云台及可读存储介质 | |
TW201814514A (zh) | 拍照功能啟用方法和裝置 | |
TWI556156B (zh) | 調整畫面顯示方向的方法及其相關裝置 | |
EP4068749A1 (en) | Electronic terminal, photographing method and device, and storage medium | |
CN104994279A (zh) | 一种基于终端状态启动摄像头广角摄像头的方法及终端 | |
WO2022061539A1 (zh) | 参数自适应方法、手持云台、系统及计算机可读存储介质 | |
JP5748451B2 (ja) | 情報処理装置、撮像装置、これらの制御方法及びプログラム並びに記録媒体 | |
RU2618949C2 (ru) | Способ и аппарат для измерения направления и терминал | |
JP2019168999A (ja) | 撮像装置、撮像方法及びプログラム |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 13880193 Country of ref document: EP Kind code of ref document: A1 |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 13880193 Country of ref document: EP Kind code of ref document: A1 |