CN104917964A - Shooting realization method and apparatus of smart mobile device - Google Patents

Shooting realization method and apparatus of smart mobile device Download PDF

Info

Publication number
CN104917964A
CN104917964A CN201510274923.0A CN201510274923A CN104917964A CN 104917964 A CN104917964 A CN 104917964A CN 201510274923 A CN201510274923 A CN 201510274923A CN 104917964 A CN104917964 A CN 104917964A
Authority
CN
China
Prior art keywords
intelligent mobile
mobile equipment
image
cutting
boost line
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
Application number
CN201510274923.0A
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.)
Baidu Online Network Technology Beijing Co Ltd
Beijing Baidu Netcom Science and Technology Co Ltd
Original Assignee
Beijing Baidu Netcom Science and 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 Beijing Baidu Netcom Science and Technology Co Ltd filed Critical Beijing Baidu Netcom Science and Technology Co Ltd
Priority to CN201510274923.0A priority Critical patent/CN104917964A/en
Publication of CN104917964A publication Critical patent/CN104917964A/en
Pending legal-status Critical Current

Links

Abstract

The invention provides a shooting realization method and apparatus of a smart mobile device. The method comprises: obtaining location information of a gravity direction in a three-dimensional coordinate system of a smart mobile device; according to the location information, determining deviation information of an image obtained currently by the smart mobile device at the gravity direction based on the location information; and according to the deviation information, carrying out image processing. According to the scheme, the shooting realization ways are enriched and an image with a good shooting effect can be shot by the smart mobile device.

Description

The shooting implementation method of Intelligent mobile equipment and device
Technical field
The present invention relates to technique for taking field, particularly relate to a kind of shooting implementation method and device of Intelligent mobile equipment.
Background technology
The Intelligent mobile equipment such as intelligent mobile phone and panel computer is day by day popularized.These Intelligent mobile equipments possess usually takes pictures and camera function.
Usually can be carried with by user because Intelligent mobile equipment has the several functions such as communication and amusement simultaneously, therefore, in a lot of occasion, user can use its Intelligent mobile equipment carried with to carry out taking pictures or making a video recording usually.
Inventor is realizing finding in process of the present invention, Intelligent mobile equipment is utilized to carry out taking pictures or in shooting process user, when without any auxiliary equipment (as tripod etc.), the reason level with both hands such as not held due to Intelligent mobile equipment and cause the photo taken or video recording not to measure up, namely photo or video recording do not keep vertical state owing to there occurs.
Summary of the invention
The object of this invention is to provide a kind of shooting implementation method and device of Intelligent mobile equipment.
According to an aspect of the present invention, provide a kind of shooting implementation method of Intelligent mobile equipment, wherein the method comprises the following steps: obtain the positional information of gravity direction in the three-dimensional system of coordinate of Intelligent mobile equipment; According to the runout information of image on gravity direction of the current acquisition of described positional information determination Intelligent mobile equipment; Image procossing is carried out according to described runout information.
According to another aspect of the present invention, additionally provide a kind of shooting implement device of Intelligent mobile equipment, wherein this device comprises: position information acquisition module, is suitable for obtaining the positional information of gravity direction in the three-dimensional system of coordinate of Intelligent mobile equipment; Determine to depart from module, be suitable for the runout information of image on gravity direction according to the current acquisition of described positional information determination Intelligent mobile equipment; Image processing module, is suitable for carrying out image procossing according to described runout information.
Compared with prior art, the present invention has the following advantages: the present invention is by determining the runout information of image on gravity direction of the current acquisition of Intelligent mobile equipment, and utilize this runout information to carry out image procossing, boost line is increased as in the image that shows at the display screen of Intelligent mobile equipment, for another example cutting process is carried out to the current photo obtained of taking pictures of Intelligent mobile equipment, for another example cutting process etc. is carried out to each two field picture that the current shooting of Intelligent mobile equipment obtains, make Intelligent mobile equipment can obtain the image with better vertical state; When Intelligent mobile equipment self is configured with gravity sensing device, the present invention can make the image of acquisition have good vertical state on the basis not needing additional configuration hardware; Thus the present invention is while having enriched the shooting implementation of Intelligent mobile equipment, Intelligent mobile equipment is shot have the image of better shooting effect.
Accompanying drawing explanation
By reading the detailed description done non-limiting example done with reference to the following drawings, other features, objects and advantages of the present invention will become more obvious:
Fig. 1 is the shooting implementation method schematic flow sheet of the Intelligent mobile equipment of one embodiment of the invention;
Fig. 2 is the display screen display frame schematic diagram of the Intelligent mobile equipment of one embodiment of the invention;
Fig. 3 A is that existing Intelligent mobile equipment is taken pictures and obtained the schematic diagram of photo;
Fig. 3 B is that the Intelligent mobile equipment of one embodiment of the invention is taken pictures and obtained the schematic diagram of photo;
Fig. 4 is the shooting implement device structural representation of the Intelligent mobile equipment of one embodiment of the invention.
In accompanying drawing, same or analogous Reference numeral represents same or analogous parts.
Embodiment
Before in further detail exemplary embodiment being discussed, it should be mentioned that some exemplary embodiments are described as the process or method described as flow chart.Although operations is described as the process of order by flow chart, many operations wherein can be implemented concurrently, concomitantly or simultaneously.In addition, the order of operations can be rearranged.When its operations are completed, described process can be terminated, but, the additional step do not comprised in the accompanying drawings can also be had.Described process can correspond to method, function, code, subroutine, subprogram etc.
Within a context alleged " computer equipment ", also referred to as " computer ", refer to the intelligent electronic device that can be performed the predetermined process such as numerical computations and/or logical calculated process by operation preset program or instruction, it can comprise processor and memory, the survival instruction that prestores in memory is performed to perform predetermined process process by processor, or perform predetermined process process by the hardware such as ASIC, FPGA and DSP, or combined by said two devices and realize.Computer equipment includes but not limited to server, PC, notebook computer, panel computer, smart mobile phone etc.
Described computer equipment comprises subscriber equipment and the network equipment.Wherein, described subscriber equipment includes but not limited to computer, smart mobile phone, PDA etc.; The described network equipment includes but not limited to the server group that single network server, multiple webserver form or the cloud be made up of a large amount of computer or the webserver based on cloud computing (Cloud Computing), wherein, cloud computing is the one of Distributed Calculation, the super virtual machine be made up of a group loosely-coupled computer collection.Wherein, described computer equipment isolated operation can realize the present invention, also accessible network by realizing the present invention with the interactive operation of other computer equipments in network.Wherein, the network residing for described computer equipment includes but not limited to the Internet, wide area network, metropolitan area network, local area network (LAN), VPN etc.
It should be noted that; described subscriber equipment, the network equipment and network etc. are only citing; other computer equipments that are existing or that may occur from now on or network, as being applicable to the present invention, within also should being included in scope, and are contained in this with way of reference.
The method (some of them are illustrated by flow chart) discussed below can be implemented by hardware, software, firmware, middleware, microcode, hardware description language or its combination in any.When implementing by software, firmware, middleware or microcode, program code or code segment in order to implement necessary task can be stored in machine or computer-readable medium (such as storage medium).(one or more) processor can implement necessary task.
Concrete structure disclosed herein and function detail are only representational, and are the objects for describing exemplary embodiment of the present invention.But the present invention can carry out specific implementation by many replacement forms, and should not be construed as only being limited to the embodiments set forth herein.
Should be understood that, although may have been used term " first ", " second " etc. here to describe unit, these unit should not limit by these terms.These terms are used to be only used to a unit and another unit to distinguish.For example, when not deviating from the scope of exemplary embodiment, first module can be called as second unit, and second unit can be called as first module similarly.Here used term "and/or" comprise one of them or more any and all combinations of listed associated item.
Should be understood that, when a unit is called as " connection " or " coupling " to another unit, it can directly connect or be coupled to another unit described, or can there is temporary location.On the other hand, " when being directly connected " or " directly coupled " to another unit, then there is not temporary location when a unit is called as.Should explain in a comparable manner the relation be used between description unit other words (such as " and be in ... between " compared to " and be directly in ... between ", " with ... contiguous " compared to " and with ... be directly close to " etc.).
Here used term is only used to describe specific embodiment and be not intended to limit exemplary embodiment.Unless context refers else clearly, otherwise singulative used here " ", " one " are also intended to comprise plural number.It is to be further understood that, the existence of the feature that term used here " comprises " and/or " comprising " specifies to state, integer, step, operation, unit and/or assembly, and do not get rid of and there is or add other features one or more, integer, step, operation, unit, assembly and/or its combination.
Also it should be mentioned that and to replace in implementation at some, the function/action mentioned can according to being different from occurring in sequence of indicating in accompanying drawing.For example, depend on involved function/action, in fact the two width figure in succession illustrated can perform simultaneously or sometimes can perform according to contrary order substantially.
The shooting implementation method of embodiment one, Intelligent mobile equipment.
Intelligent mobile equipment in the present embodiment has shoot function.Here shoot function can be camera function, also can be recording function.Intelligent mobile equipment in the present embodiment can be intelligent mobile phone or the hand-held intelligent such as panel computer or palmtop PC mobile device.The present embodiment does not limit the concrete manifestation form of Intelligent mobile equipment.
It should be noted that, the method for the present embodiment can not be enforced usually, normally just can be performed when user allows.
Be described in detail below in conjunction with the implementation procedure of accompanying drawing to the method for the present embodiment.Fig. 1 is the shooting implementation method schematic flow sheet of the Intelligent mobile equipment of one embodiment of the invention.
In FIG, S100, acquisition gravity direction (also can the be called vertical) positional information in the three-dimensional system of coordinate of Intelligent mobile equipment.
Concrete, when Intelligent mobile equipment self is configured with gravity sensing device, the present embodiment can utilize gravity sensing device to obtain the positional information of gravity direction in the three-dimensional system of coordinate of Intelligent mobile equipment, as received the image data that gravity sensing device transmission comes, this image data is the positional information of gravity direction in the three-dimensional system of coordinate of Intelligent mobile equipment that gravity sensing device produces.Gravity sensing device in the present embodiment is as gravity sensor and three-axis gyroscope etc.
The three-dimensional system of coordinate of the Intelligent mobile equipment in the present embodiment refers to the three-dimensional system of coordinate of Intelligent mobile equipment inner setting, if namely with Intelligent mobile equipment be object of reference, the three-dimensional system of coordinate of Intelligent mobile equipment is fixing not to change; If with non intelligent mobile device (as gravity direction) for object of reference, the three-dimensional system of coordinate of Intelligent mobile equipment is that corresponding change occurs along with the change of the placement form of Intelligent mobile equipment thereupon; Therefore, the three-dimensional system of coordinate of Intelligent mobile equipment also can be called local three-dimensional coordinate system.
When with the display screen of Intelligent mobile equipment for benchmark, for two limits adjacent on display screen, be the positive direction of the x-axis of this three-dimensional system of coordinate along wherein direction to the right, a limit, direction is left the negative direction of the x-axis of this three-dimensional system of coordinate; Edge wherein direction upwards, another limit is the positive direction of the y-axis of this three-dimensional system of coordinate, and downward direction is the negative direction of the y-axis of this three-dimensional system of coordinate; And the outside direction of vertical screen is the positive direction of z-axis, the inside direction of vertical screen is the negative direction of z-axis.
The positional information of gravity direction in the present embodiment in the three-dimensional system of coordinate of Intelligent mobile equipment can be the three-dimensional coordinate of two points respectively in the three-dimensional system of coordinate of Intelligent mobile equipment on gravity direction.
S110, the runout information of image on gravity direction according to the current acquisition of positional information determination Intelligent mobile equipment.
Concrete, the runout information in the present embodiment can be the angle of y-axis in the three-dimensional system of coordinate of Intelligent mobile equipment and gravity direction, the x-axis in the three-dimensional system of coordinate of namely Intelligent mobile equipment and the angle between horizontal plane.The image of the current acquisition of Intelligent mobile equipment is reference coordinate with local three-dimensional coordinate.The present embodiment can go out the deviation angle of image on gravity direction of the current acquisition of Intelligent mobile equipment according to the positional information calculation of above-mentioned acquisition; A concrete example, connect two points on gravity direction, thus form a plumb line, can calculate the angle of the y-axis in the three-dimensional system of coordinate of this plumb line and Intelligent mobile equipment according to the coordinate of two points of this on gravity direction in three-dimensional system of coordinate, this angle is the deviation angle of image on gravity direction of the current acquisition of Intelligent mobile equipment.
The image of the current acquisition of the Intelligent mobile equipment in the present embodiment can be the image of the current display of display screen of Intelligent mobile equipment, also can for the current photos of taking pictures of Intelligent mobile equipment, can also be the current picked-up of Intelligent mobile equipment to video recording in a two field picture.That is, the method for the present embodiment can be applied to the current of Intelligent mobile equipment and find a view in process, also can be applied in current photograph storing process, can also be applied in current shooting storing process.
S120, carry out image procossing according to the above-mentioned runout information determined.
Concrete, the image procossing of the present embodiment can refer to and carry out image procossing to the Intelligent mobile equipment image of display screen display in process of finding a view, and also can refer to and carry out image procossing to the image in Intelligent mobile equipment memory image (photo obtained based on taking pictures as stored or store the multiple image obtained based on video recording) process.In more detail, to take pictures photo process for Intelligent mobile equipment, image procossing in the present embodiment can be carry out the process of increase boost line to the image of the current display of the display screen of Intelligent mobile equipment, also can be that cutting process is carried out to the current photo obtained of taking pictures of Intelligent mobile equipment, can also be that the process of increase boost line is carried out to the image of the current display of the display screen of Intelligent mobile equipment, and cutting process is carried out to the current photo obtained of taking pictures of Intelligent mobile equipment.For Intelligent mobile equipment video process, image procossing in the present embodiment can be carry out the process of increase boost line to the image of the current display of the display screen of Intelligent mobile equipment, also can be to the current picked-up of Intelligent mobile equipment to video recording in each two field picture carry out cutting process respectively, can also be that the process of increase boost line is carried out to the image of the current display of the display screen of Intelligent mobile equipment, and to the current picked-up of Intelligent mobile equipment to video recording in each two field picture carry out cutting process respectively.
Illustrate to be no matter find a view in process or in Intelligent mobile equipment video process at Intelligent mobile equipment photo of taking pictures, the specific implementation increasing boost line process is carried out to the image of the current display of the display screen of Intelligent mobile equipment with several concrete example below.
First concrete example: increase by two boost lines in the image of the current display of the display screen of Intelligent mobile equipment, article one, boost line is local vertically boost line (i.e. line segment in the y-axis of the three-dimensional system of coordinate of Intelligent mobile equipment), and another boost line is gravity boost line; Local vertically boost line and gravity boost line are line segment (as having the line segment of equal length) usually, and the line segment center of local vertically boost line and gravity boost line coincides with a bit usually, now, the angle between the vertical boost line of gravity boost line and this locality is the above-mentioned deviation angle calculated; Two boost lines of user in the image observing current display on display screen do not overlap completely, in the image of current display on display screen two boost lines can be coincided by the position adjusting Intelligent mobile equipment.When two boost lines coincide, on display screen, the image of current display is level substantially, and the image namely showing screen display maintains vertical state.In this example embodiment, the intersection point (the line segment center superposition point of boost line as vertical in this locality and gravity boost line) of local vertically boost line and gravity boost line can be the central point (crosspoint as display screen diagonal) of the current display image of display screen of Intelligent mobile equipment, and namely local vertically boost line and gravity boost line are positioned at the center of the current display image of display screen.Certainly, local vertically boost line and gravity boost line also can be positioned at the non-central locations such as the lower left corner of the current display image of display screen or the lower right corner.
Second concrete example: increase the angle number of degrees between two boost lines and two boost lines in the image of the current display of the display screen of Intelligent mobile equipment, wherein boost line is local horizontal auxiliary line (i.e. line segment in the x-axis of the three-dimensional system of coordinate of Intelligent mobile equipment), and another boost line is gravity boost line; Local horizontal auxiliary line and gravity boost line are line segment (if two boost lines are the line segment with equal length) usually, and the line segment center of local horizontal auxiliary line and gravity boost line coincides with a bit usually, now, the absolute value of the angle number of degrees between the vertical boost line of gravity boost line and this locality and the difference of 90 degree is the above-mentioned deviation angle calculated; The angle number of degrees between two boost lines of user in the image observing current display on display screen are not 90 degree, the angle number of degrees between two boost lines in the image of current display on display screen can be made to be 90 degree by the position adjusting Intelligent mobile equipment.When the angle number of degrees between two boost lines are 90 degree, on display screen, the image of current display is level substantially, and the image namely showing screen display maintains vertical state.In this example embodiment, the intersection point of local horizontal auxiliary line and gravity boost line (the line segment center superposition point as local horizontal auxiliary line and gravity boost line) can be the central point (crosspoint as display screen diagonal) of the current display image of display screen of Intelligent mobile equipment, and namely local horizontal auxiliary line and gravity boost line are positioned at the center of the current display image of display screen.Certainly, local horizontal auxiliary line and gravity boost line also can be positioned at the non-central location such as the lower left corner or the lower right corner of the current display image of display screen.
3rd concrete example: increase the above-mentioned deviation angle calculated in the image of the current display of the display screen of Intelligent mobile equipment, with the deviation angle of the local vertical direction and gravity direction of pointing out the image of the current display of the display screen of user's Intelligent mobile equipment; The deviation angle of user in the image observing current display on display screen is not 0 degree, the deviation angle in the image of current display on display screen can be made to be 0 degree by the position adjusting Intelligent mobile equipment.When deviation angle in the image of current display on the display screen of Intelligent mobile equipment is 0 degree, on display screen, the image of current display is level substantially, and the image namely showing screen display maintains vertical state.In this example embodiment, the display position of deviation angle can be the center of the current display image of display screen of Intelligent mobile equipment.Certainly, the display position of deviation angle also can be the non-central location such as the lower left corner or the lower right corner of the current display image of display screen.
4th concrete example: increase by three articles of boost lines in the image of the current display of the display screen of Intelligent mobile equipment, Article 1, boost line is local vertically boost line (i.e. line segment in the y-axis of the three-dimensional system of coordinate of Intelligent mobile equipment or be parallel to the line segment of y-axis), Article 2 boost line is local horizontal auxiliary line (i.e. line segment in the x-axis of the three-dimensional system of coordinate of Intelligent mobile equipment or be parallel to the line segment of x-axis), and Article 3 boost line is gravity boost line; It is local that vertically boost line, local horizontal auxiliary line and gravity boost line are line segment (as having the line segment of equal length) usually, and the line segment center of local vertically boost line, local horizontal auxiliary line and gravity boost line coincides with a bit usually, now, the angle between the vertical boost line of gravity boost line and this locality is the above-mentioned deviation angle calculated; The vertical boost line in user this locality in the image observing current display on display screen does not overlap completely with gravity boost line, the vertical boost line in this locality in the image of current display on display screen and gravity boost line can be coincided by the position adjusting Intelligent mobile equipment.When in this locality, vertical boost line and gravity boost line coincide, on display screen, the image of current display is level substantially, and the image namely showing screen display maintains vertical state.In this example embodiment, the intersection point (the line segment center superposition point of boost line as vertical in this locality, local horizontal auxiliary line and gravity boost line) of local vertically boost line, local horizontal auxiliary line and gravity boost line can be the central point (crosspoint as display screen diagonal) of the current display image of display screen of Intelligent mobile equipment, and namely local vertically boost line, local horizontal auxiliary line and gravity boost line are positioned at the center of the current display image of display screen.Certainly, local vertically boost line, local horizontal auxiliary line and gravity boost line also can be positioned at the non-central locations such as the lower left corner of the current display image of display screen or the lower right corner.
Illustrate that storing it at Intelligent mobile equipment takes pictures in the photo process of acquisition, carries out the specific implementation of cutting process to the current photo of taking pictures acquisition of Intelligent mobile equipment with several concrete example below.
First concrete example: user press fast behind the door, according to current deviation angle of taking pictures the photo obtained, Intelligent mobile equipment judges that the photo of current acquisition of taking pictures is the need of cutting, namely judge that whether any limit of the image of current acquisition is parallel with gravity direction or vertical with gravity direction, if judged result is needs cutting, then Intelligent mobile equipment performs trimming operation to the image of current acquisition, substantially be level to make the image after cutting, namely the image after cutting maintains vertical state, also any limit being the image after cutting is parallel with gravity direction or vertical with gravity direction, and the image after Intelligent mobile equipment storage cutting, thus user's impact that comparison film shooting effect produces due to reasons such as hand shaking when tripping can be avoided.Image after cutting can be less than the image before cutting usually.In addition, Intelligent mobile equipment can carry out cutting according to the length-width ratio of the image before cutting to image centered by the central point (cornerwise intersection point of photo) of photo before cutting, is consistent with the center of the image before making the center of the image after cutting and length-width ratio and cutting and length-width ratio.
Second concrete example: user press fast behind the door, Intelligent mobile equipment obtains image and keeps vertical configuration information, when image keeps vertical configuration information presentation video maintenance vertical state, according to current deviation angle of taking pictures the photo obtained, Intelligent mobile equipment judges that the photo of current acquisition of taking pictures is the need of cutting, namely judge that whether any limit of the image of current acquisition is parallel with gravity direction or vertical with gravity direction, if judged result is image need cutting, then Intelligent mobile equipment performs trimming operation to the image of current acquisition, substantially be level to make the image after cutting, namely the image after cutting maintains vertical state, also any limit being the image after cutting is parallel with gravity direction or vertical with gravity direction, and the image after Intelligent mobile equipment storage cutting, thus user's impact that comparison film shooting effect produces due to reasons such as hand shaking when tripping can be avoided.Image after cutting can be less than the image before cutting usually.In addition, Intelligent mobile equipment can carry out cutting according to the length-width ratio of the image before cutting to image centered by the central point (cornerwise intersection point of photo) of photo before cutting, is consistent with the center of the image before making the center of the image after cutting and length-width ratio and cutting and length-width ratio.When image keeps vertical configuration information to represent allowing image not keep vertical state, Intelligent mobile equipment directly preserves the image of current acquisition.
3rd concrete example: press soon behind the door user, according to current deviation angle of taking pictures the photo obtained, Intelligent mobile equipment judges that the photo of current acquisition of taking pictures is the need of cutting, namely judge that whether any limit of the image of current acquisition is parallel with gravity direction or vertical with gravity direction, if judged result is image need cutting, then Intelligent mobile equipment shows to user the dialog box whether cutting photo keeps vertical to make photo, when receiving the indication information allowing cutting, Intelligent mobile equipment performs trimming operation to the image of current acquisition, substantially be level to make the image after cutting, namely the image after cutting maintains vertical state, also any limit being the image after cutting is parallel with gravity direction or vertical with gravity direction, and the image after Intelligent mobile equipment storage cutting, thus user's impact that comparison film shooting effect produces due to reasons such as hand shaking when tripping can be avoided.Image after cutting can be less than the image before cutting usually.Intelligent mobile equipment can carry out cutting according to the length-width ratio of the image before cutting to image centered by the central point (cornerwise intersection point of photo) of photo before cutting, is consistent with the center of the image before making the center of the image after cutting and length-width ratio and cutting and length-width ratio.When receiving the indication information not allowing cutting, Intelligent mobile equipment directly preserves the image of current acquisition.
4th concrete example: press soon behind the door user, Intelligent mobile equipment obtains image and keeps vertical configuration information, when image keeps vertical configuration information presentation video maintenance vertical state, according to current deviation angle of taking pictures the photo obtained, Intelligent mobile equipment judges that the photo of current acquisition of taking pictures is the need of cutting, namely judge that whether any limit of the image of current acquisition is parallel with gravity direction or vertical with gravity direction, if judged result is image need cutting, then Intelligent mobile equipment shows to user the dialog box whether cutting photo keeps vertical to make photo, when receiving the indication information allowing cutting, Intelligent mobile equipment performs trimming operation to the image of current acquisition, substantially be level to make the image after cutting, namely the image after cutting maintains vertical state, also any limit being the image after cutting is parallel with gravity direction or vertical with gravity direction, and the image after Intelligent mobile equipment storage cutting, thus user's impact that comparison film shooting effect produces due to reasons such as hand shaking when tripping can be avoided.Image after cutting can be less than the image before cutting usually.In addition, Intelligent mobile equipment can carry out cutting according to the length-width ratio of the image before cutting to image centered by the central point (cornerwise intersection point of photo) of photo before cutting, is consistent with the center of the image before making the center of the image after cutting and length-width ratio and cutting and length-width ratio.When image keeps vertical configuration information to represent allowing image not keep vertical state, Intelligent mobile equipment directly preserves the image of current acquisition.
Illustrating with several concrete example below stores in the video process of its shooting acquisition at Intelligent mobile equipment, each two field picture of the current video recording acquisition of Intelligent mobile equipment is carried out to the specific implementation of cutting process.
First concrete example: after user presses record key, Intelligent mobile equipment judges according to the deviation angle of each two field picture of current video recording acquisition the image needing cutting respectively, namely judge that whether any limit of each two field picture of current acquisition is parallel with gravity direction or vertical with gravity direction respectively, if judged result is needs cutting, then Intelligent mobile equipment performs trimming operation to this two field picture, substantially be level to make this two field picture after cutting, namely this two field picture after cutting maintains vertical state, also any limit being this two field picture after cutting is parallel with gravity direction or vertical with gravity direction, and Intelligent mobile equipment stores this two field picture after cutting according to frame sequential.Image after cutting can be less than the image before cutting usually.In addition, Intelligent mobile equipment can carry out cutting according to the length-width ratio of the image before cutting to each two field picture centered by the central point (cornerwise intersection point of image) of image before cutting, is consistent with the center of each two field picture before making the center of each two field picture after cutting and length-width ratio and cutting and length-width ratio.
Second concrete example: after user presses record key, the image that Intelligent mobile equipment obtains video recording keeps vertical configuration information, when the image of recording a video keeps vertical configuration information to represent the image maintenance vertical state of video recording, Intelligent mobile equipment judges according to the deviation angle of each two field picture of current video recording acquisition the image needing cutting respectively, namely judge that whether any limit of each two field picture of current acquisition is parallel with gravity direction or vertical with gravity direction respectively, if judged result needs cutting for certain two field picture, then Intelligent mobile equipment performs trimming operation to this two field picture, substantially be level to make this two field picture after cutting, namely this two field picture after cutting maintains vertical state, also any limit being this two field picture after cutting is parallel with gravity direction or vertical with gravity direction, and Intelligent mobile equipment stores this two field picture after cutting according to frame sequential.Image after cutting can be less than the image before cutting usually.In addition, Intelligent mobile equipment can carry out cutting according to the length-width ratio of the image before cutting to each two field picture centered by the central point (cornerwise intersection point of image) of image before cutting, is consistent with the center of each two field picture before making the center of each two field picture after cutting and length-width ratio and cutting and length-width ratio.When the image that the image of recording a video keeps vertical configuration information to represent that permission is recorded a video does not keep vertical state, Intelligent mobile equipment directly preserves each two field picture that current video recording obtains.
Use can be combined with the specific implementation of carrying out cutting process to the current photo that obtains of taking pictures of Intelligent mobile equipment to the specific implementation that the image of the current display of the display screen of Intelligent mobile equipment carries out increasing boost line process in the present embodiment, and combine use to the specific implementation that the image of the current display of the display screen of Intelligent mobile equipment carries out increasing boost line process can carry out cutting process specific implementation with each two field picture obtained the current video recording of Intelligent mobile equipment, no longer the implementation procedure be combined is described in detail at this.
The shooting implementation method of embodiment two, Intelligent mobile equipment.
As shown in Figure 2, when utilizing Intelligent mobile equipment 1 to take pictures, the display screen of Intelligent mobile equipment 1 is view-finder 2, the center position of the image of the current display of view-finder 2 shows boost line 3 and boost line 4, boost line 3 is wherein that boost line 4 is wherein gravity boost line in the cross-shaped vertical boost line in this locality (y-axis) and local horizontal auxiliary line (x-axis).
Left and right two parts of comparison diagram 2 can clearly be known, Intelligent mobile equipment 1 put form change time, for view-finder 2, boost line 3 does not change thereupon, but the x-axis in boost line 3 and the corner dimension between horizontal plane there occurs change; And Intelligent mobile equipment 1 put form change time, boost line 4 there occurs change for view-finder 2 thereupon, but boost line 4 does not change with the corner dimension between horizontal plane (still keeping vertical).
In the left-half of Fig. 2, the local horizontal auxiliary line in boost line 3 and the angle theta 1 between horizontal plane are exactly the angle (deviation angle namely in above-described embodiment one) between the vertical boost line of boost line 4 and this locality; Same, at the right half part of Fig. 2, the local horizontal auxiliary line in boost line 3 and the angle theta 2 between horizontal plane are the angle (deviation angle namely in above-described embodiment one) between the vertical boost line of boost line 4 and this locality; And angle theta 1 is greater than angle theta 2.
The vertical boost line in user this locality in the image observing current display on display screen does not overlap completely with gravity boost line (the local horizontal auxiliary line namely in boost line 3 and the angle theta 1 between horizontal plane non-vanishing), the vertical boost line in this locality in the image of current display on display screen and gravity boost line can be coincided by the form of putting adjusting Intelligent mobile equipment.When in this locality, vertical boost line and gravity boost line coincide, on display screen, the image of current display is level substantially, and the image namely showing screen display maintains vertical state.In this example embodiment, the central point (crosspoint as display screen diagonal) of the current display image of display screen that the intersection point (the line segment center superposition point of boost line as vertical in this locality, local horizontal auxiliary line and gravity boost line) of local vertically boost line, local horizontal auxiliary line and gravity boost line is Intelligent mobile equipment, namely local vertically boost line, local horizontal auxiliary line and gravity boost line are positioned at the center of the current display image of display screen.
The shooting implementation method of embodiment three, Intelligent mobile equipment.
In figure 3 a, because the putting position of Intelligent mobile equipment is for being inclined relative to horizontal placement (as shown in the left side of Fig. 3 A), therefore, the x-axis in the three-dimensional system of coordinate of Intelligent mobile equipment and the angle between horizontal plane non-vanishing, and there is larger angle of inclination.Intelligent mobile equipment under the state of this putting position, user press fast behind the door, the take pictures photo of acquisition of institute does not significantly keep vertical state (as shown in the right side in Fig. 3 A).
In figure 3b, because the putting position of Intelligent mobile equipment is for being inclined relative to horizontal placement (as shown in the left side of Fig. 3 B), therefore, the x-axis in the three-dimensional system of coordinate of Intelligent mobile equipment and the angle between horizontal plane non-vanishing, and there is larger angle of inclination.Intelligent mobile equipment is under the state of this putting position, user presses soon behind the door, according to current deviation angle of taking pictures the photo obtained, Intelligent mobile equipment judges that the photo of current acquisition of taking pictures is the need of cutting, namely judge that whether any limit of the photo of current acquisition is parallel with gravity direction or vertical with gravity direction, if judged result is the photo of current acquisition need cutting, then Intelligent mobile equipment carries out cutting according to the length-width ratio of the photo of current acquisition to the photo of current acquisition, substantially be level to make the photo after cutting, namely the photo after cutting maintains vertical state, also any limit being the photo after cutting is parallel with gravity direction or vertical with gravity direction, and the photo after Intelligent mobile equipment storage cutting.If user does not wish comparison film cutting, then user can keep vertical configuration information by image or the mode such as the dialog box being provided no cutting by Intelligent mobile equipment avoids Intelligent mobile equipment comparison film to carry out cutting process.
In figure 3b, photo after cutting is much smaller than the photo before cutting, and in actual applications, in most of the cases, user takes pictures when holding Intelligent mobile equipment level with both hands, the content of now Intelligent mobile equipment comparison film cutting can seldom, and the size of the photo after cutting differs very little with the size of the photo before cutting.
The shooting implement device of embodiment four, Intelligent mobile equipment, the structure of this device as shown in Figure 4.
The shooting implement device of the Intelligent mobile equipment in Fig. 4 mainly comprises: position information acquisition module 400, determine to depart from module 410 and image processing module 420.
Position information acquisition module 400 is mainly suitable for obtaining the positional information of gravity direction in the three-dimensional system of coordinate of Intelligent mobile equipment.
Concrete, when Intelligent mobile equipment self is configured with gravity sensing device, position information acquisition module 400 can utilize gravity sensing device to obtain the positional information of gravity direction in the three-dimensional system of coordinate of Intelligent mobile equipment, as position information acquisition module 400 receives the next image data of gravity sensing device transmission, this image data is the positional information of gravity direction in the three-dimensional system of coordinate of Intelligent mobile equipment that gravity sensing device produces.Gravity sensing device in the present embodiment is as gravity sensor and three-axis gyroscope etc.
The three-dimensional system of coordinate of the Intelligent mobile equipment in the present embodiment refers to the three-dimensional system of coordinate of Intelligent mobile equipment inner setting, if namely with Intelligent mobile equipment be object of reference, the three-dimensional system of coordinate of Intelligent mobile equipment is fixing not to change; If with non intelligent mobile device (as gravity direction) for object of reference, the three-dimensional system of coordinate of Intelligent mobile equipment is that corresponding change occurs along with the change of the placement form of Intelligent mobile equipment thereupon; Therefore, the three-dimensional system of coordinate of Intelligent mobile equipment also can be called local three-dimensional coordinate system.
When with the display screen of Intelligent mobile equipment for benchmark, for two limits adjacent on display screen, be the positive direction of the x-axis of this three-dimensional system of coordinate along wherein direction to the right, a limit, direction is left the negative direction of the x-axis of this three-dimensional system of coordinate; Edge wherein direction upwards, another limit is the positive direction of the y-axis of this three-dimensional system of coordinate, and downward direction is the negative direction of the y-axis of this three-dimensional system of coordinate; And the outside direction of vertical screen is the positive direction of z-axis, the inside direction of vertical screen is the negative direction of z-axis.
The positional information of gravity direction in the three-dimensional system of coordinate of Intelligent mobile equipment that position information acquisition module 400 obtains can be the three-dimensional coordinate of two points respectively in the three-dimensional system of coordinate of Intelligent mobile equipment on gravity direction.
Determine to depart from the runout information of image on gravity direction that module 410 is mainly suitable for according to the current acquisition of above-mentioned positional information determination Intelligent mobile equipment.
Concrete, determining to depart from runout information that module 410 determines can be the angle of the y-axis in the three-dimensional system of coordinate of Intelligent mobile equipment and gravity direction, the x-axis in the three-dimensional system of coordinate of namely Intelligent mobile equipment and the angle between horizontal plane.The image of the current acquisition of Intelligent mobile equipment is reference coordinate with local three-dimensional coordinate.Determine to depart from module 410 can go out the current acquisition of the Intelligent mobile equipment deviation angle of image on gravity direction according to the positional information calculation of above-mentioned position information acquisition module 400 acquisition; A concrete example, determine to depart from module 410 and connect two points on gravity direction, thus form a plumb line, determine to depart from module 410 can calculate the y-axis in the three-dimensional system of coordinate of this plumb line and Intelligent mobile equipment angle according to the coordinate of two points of this on gravity direction in three-dimensional system of coordinate, this angle is the deviation angle of image on gravity direction of the current acquisition of Intelligent mobile equipment.
The image of the current acquisition of the Intelligent mobile equipment in the present embodiment can be the image of the current display of display screen of Intelligent mobile equipment, also can for the current photos of taking pictures of Intelligent mobile equipment, can also be the current picked-up of Intelligent mobile equipment to video recording in a two field picture.That is, the device of the present embodiment can be applied to the current of Intelligent mobile equipment and find a view in process, also can be applied in current photograph storing process, can also be applied in current shooting storing process.
Image processing module 420 is mainly suitable for carrying out image procossing according to above-mentioned runout information.
Concrete, image procossing performed by image processing module 420 can be that the find a view image of display screen display in process of image processing module 420 pairs of Intelligent mobile equipments carries out image procossing, also can be that the image in image processing module 420 pairs of Intelligent mobile equipment memory images (photo obtained based on taking pictures as stored or store the multiple image obtained based on video recording) process carries out image procossing.In more detail, to take pictures photo process for Intelligent mobile equipment, image processing module 420 can carry out the process of increase boost line to the image of the current display of the display screen of Intelligent mobile equipment, also cutting process can be carried out to the current photo obtained of taking pictures of Intelligent mobile equipment, the process of increase boost line can also be carried out to the image of the current display of the display screen of Intelligent mobile equipment, afterwards cutting process be carried out to the current photo obtained of taking pictures of Intelligent mobile equipment.For Intelligent mobile equipment video process, image procossing performed by image processing module 420 can carry out the process of increase boost line to the image of the current display of the display screen of Intelligent mobile equipment, also can be to the current picked-up of Intelligent mobile equipment to video recording in each two field picture carry out cutting process respectively, can also be that the process of increase boost line is carried out to the image of the current display of the display screen of Intelligent mobile equipment, afterwards to the current picked-up of Intelligent mobile equipment to video recording in each two field picture carry out cutting process respectively.
Illustrate it is no matter find a view in process or in Intelligent mobile equipment video process at Intelligent mobile equipment photo of taking pictures with a typical object lesson below, the image of the current display of display screen of image processing module 420 pairs of Intelligent mobile equipments carries out the specific implementation increasing boost line process, the specific implementation of other example, as the description in above-mentioned embodiment of the method, no longer describes in detail at this.
Image processing module 420 increases by three boost lines in the image of the current display of the display screen of Intelligent mobile equipment, Article 1, boost line is local vertically boost line (i.e. line segment in the y-axis of the three-dimensional system of coordinate of Intelligent mobile equipment or be parallel to the line segment of y-axis), Article 2 boost line is local horizontal auxiliary line (i.e. line segment in the x-axis of the three-dimensional system of coordinate of Intelligent mobile equipment or be parallel to the line segment of x-axis), and Article 3 boost line is gravity boost line; It is local that vertically boost line, local horizontal auxiliary line and gravity boost line are line segment (as having the line segment of equal length) usually, and the line segment center of local vertically boost line, local horizontal auxiliary line and gravity boost line coincides with a bit (central spot as display screen) usually, the angle between the vertical boost line of gravity boost line and this locality is the above-mentioned deviation angle determined to depart from module 410 and calculate; The vertical boost line in user this locality in the image observing current display on display screen does not overlap completely with gravity boost line, the vertical boost line in this locality in the image of current display on display screen and gravity boost line can be coincided by the position adjusting Intelligent mobile equipment.When in this locality, vertical boost line and gravity boost line coincide, on display screen, the image of current display is level substantially, and the image namely showing screen display maintains vertical state.In the present example, the intersection point of vertical for this locality boost line, local horizontal auxiliary line and gravity boost line (the line segment center superposition point of boost line as vertical in this locality, local horizontal auxiliary line and gravity boost line) can be arranged at central point (crosspoint as the display screen diagonal) place of the current display image of display screen of Intelligent mobile equipment by image processing module 420, and namely local vertically boost line, local horizontal auxiliary line and gravity boost line are positioned at the center of the current display image of display screen.Certainly, vertical for this locality boost line, local horizontal auxiliary line and gravity boost line also can be positioned at the non-central location place such as the lower left corner or the lower right corner of the current display image of display screen by image processing module 420.
Illustrate that storing it at Intelligent mobile equipment takes pictures in the photo process of acquisition with a typical object lesson below, the current photo of taking pictures acquisition of image processing module 420 pairs of Intelligent mobile equipments carries out the specific implementation of cutting process, the specific implementation of other example, as the description in above-mentioned embodiment of the method, no longer describes in detail at this.
Press soon behind the door user, according to current deviation angle of taking pictures the photo obtained, image processing module 420 judges that the photo of current acquisition of taking pictures is the need of cutting, namely image processing module 420 judges that whether any limit of the image of current acquisition is parallel with gravity direction or vertical with gravity direction, if judged result is image need cutting, then image processing module 420 shows to user the dialog box whether cutting photo keeps vertical to make photo, when receiving the indication information allowing cutting, image processing module 420 performs trimming operation to the image of current acquisition, substantially be level to make the image after cutting, namely the image after cutting maintains vertical state, also any limit being the image after cutting is parallel with gravity direction or vertical with gravity direction, and the image after its cutting is stored in Intelligent mobile equipment by image processing module 420, thus user's impact that comparison film shooting effect produces due to reasons such as hand shaking when tripping can be avoided.Image after cutting can be less than the image before cutting usually.Image processing module 420 can carry out cutting according to the length-width ratio of the image before cutting to image centered by the central point (cornerwise intersection point of photo) of photo before cutting, is consistent with the center of the image before making the center of the image after cutting and length-width ratio and cutting and length-width ratio.When receiving the indication information not allowing cutting, the image of current acquisition is directly stored in Intelligent mobile equipment by image processing module 420.
Illustrating with a typical object lesson below stores in the video process of its shooting acquisition at Intelligent mobile equipment, each two field picture of the current video recording acquisition of Intelligent mobile equipment is carried out to the specific implementation of cutting process, the specific implementation of other example, as the description in above-mentioned embodiment of the method, no longer describes in detail at this.
After user presses record key, the image that image processing module 420 obtains video recording keeps vertical configuration information, when the image of recording a video keeps vertical configuration information to represent the image maintenance vertical state of video recording, image processing module 420 judges according to the deviation angle of each two field picture of current video recording acquisition the image needing cutting respectively, namely image processing module 420 judges that whether any limit of each two field picture of current acquisition is parallel with gravity direction or vertical with gravity direction respectively, if judged result needs cutting for certain two field picture, then image processing module 420 performs trimming operation to this two field picture, substantially be level to make this two field picture after cutting, namely this two field picture after cutting maintains vertical state, also any limit being this two field picture after cutting is parallel with gravity direction or vertical with gravity direction, and this two field picture after cutting is stored in Intelligent mobile equipment according to frame sequential by image processing module 420.Image after cutting can be less than the image before cutting usually.In addition, image processing module 420 can carry out cutting according to the length-width ratio of the image before cutting to each two field picture centered by the central point (cornerwise intersection point of image) of image before cutting, is consistent with the center of each two field picture before making the center of each two field picture after cutting and length-width ratio and cutting and length-width ratio.When the image that the image of recording a video keeps vertical configuration information to represent that permission is recorded a video does not keep vertical state, image processing module 420 directly preserves each two field picture that current video recording obtains.
Image processing module 420 can will carry out the specific implementation of increase boost line process and combine the specific implementation that the current photo of taking pictures acquisition of Intelligent mobile equipment carries out cutting process to the image of the current display of the display screen of Intelligent mobile equipment, and, image processing module 420 can will carry out the specific implementation of increase boost line process and combine the specific implementation that the current each two field picture of recording a video acquisition of Intelligent mobile equipment carries out cutting process to the image of the current display of the display screen of Intelligent mobile equipment, no longer the implementation procedure that both combine is described in detail at this.
It should be noted that the present invention can be implemented in the assembly of software and/or software restraint, such as, each device of the present invention can adopt application-specific integrated circuit (ASIC) (ASIC) or any other similar hardware device to realize.In one embodiment, software program of the present invention can perform to realize step mentioned above or function by processor.Similarly, software program of the present invention (comprising relevant data structure) can be stored in computer readable recording medium storing program for performing, such as, and RAM memory, magnetic or CD-ROM driver or floppy disc and similar devices.In addition, steps more of the present invention or function can adopt hardware to realize, such as, as coordinating with processor thus performing the circuit of each step or function.
To those skilled in the art, obvious the present invention is not limited to the details of above-mentioned one exemplary embodiment, and when not deviating from spirit of the present invention or essential characteristic, can realize the present invention in other specific forms.Therefore, no matter from which point, all should regard above-described embodiment as exemplary, and be nonrestrictive, scope of the present invention is defined by the following claims, instead of limited by above-mentioned explanation, all changes be therefore intended in the implication of the equivalency by dropping on claim and scope are included in the present invention.Any Reference numeral in claim should be considered as the claim involved by limiting.In addition, obviously " comprising " one word do not get rid of other unit or step, odd number does not get rid of plural number.Multiple unit of stating in system claims or device also can be realized by software or hardware by a unit or device.First, second word such as grade is used for representing title, and does not represent any specific order.
Although show and describe exemplary embodiment especially above, it will be appreciated by those skilled in the art that when not deviating from the spirit and scope of claims, can change to some extent in its form and details.Here sought protection is set forth in the dependent claims.Define in following numbering clause each embodiment these and other in:
1, a shooting implementation method for Intelligent mobile equipment, wherein, the method comprises the following steps:
Obtain the positional information of gravity direction in the three-dimensional system of coordinate of Intelligent mobile equipment;
According to the runout information of image on gravity direction of the current acquisition of described positional information determination Intelligent mobile equipment;
Image procossing is carried out according to described runout information.
2, the method for clause 1, wherein, the positional information of described acquisition gravity direction in the three-dimensional system of coordinate of Intelligent mobile equipment comprises:
Obtain the positional information of gravity direction in the three-dimensional system of coordinate of Intelligent mobile equipment that the gravity sensing device in Intelligent mobile equipment produces.
3, the method for clause 1, wherein, the described runout information of image on gravity direction according to the current acquisition of described positional information determination Intelligent mobile equipment comprises: according to the deviation angle of image on gravity direction of the current acquisition of described positional information calculation Intelligent mobile equipment.
4, the method for clause 3, wherein, describedly carry out image procossing according to described runout information and comprise:
In the current display image of Intelligent mobile equipment, local vertically boost line and gravity boost line is marked according to described deviation angle; Or
In Intelligent mobile equipment current display image, local horizontal auxiliary line, local vertically boost line and gravity boost line is marked according to described deviation angle;
Wherein, the vertical boost line in described this locality is the line segment in the y-axis of the three-dimensional system of coordinate being parallel to Intelligent mobile equipment, and described local horizontal auxiliary line is the line segment in the x-axis of the three-dimensional system of coordinate being parallel to Intelligent mobile equipment.
5, the method for clause 4, wherein, the intersection point of the vertical boost line of described gravity boost line and this locality is positioned at the central spot of the current display image of Intelligent mobile equipment; Or
The intersection point of described gravity boost line, local vertically boost line and local horizontal auxiliary line is positioned at the central spot of the current display image of Intelligent mobile equipment.
6, the method for arbitrary clause in clause 1 to 5, wherein, describedly carry out image procossing according to described runout information and comprise:
Carry out cutting according to the image of described runout information to the current acquisition of Intelligent mobile equipment, make the adjacent both sides of described image be parallel to gravity direction respectively and perpendicular to gravity direction.
7, the method for clause 6, wherein, describedly carry out cutting according to the image of described runout information to the current acquisition of Intelligent mobile equipment and comprise:
Centered by the central point of the image of the current acquisition of Intelligent mobile equipment, carry out cutting according to described runout information with the image of the length-width ratio of the image of the current acquisition of Intelligent mobile equipment to the current acquisition of Intelligent mobile equipment, the central point of the image of the central point of the image after cutting and length-width ratio and the current acquisition of described Intelligent mobile equipment and length-width ratio are consistent.
8, the method for clause 6, wherein, is describedly carried out image procossing according to described runout information and comprises: exported the information characterized the need of cutting by Intelligent mobile equipment; When receiving sign and needing the response message of cutting, perform the operation of described cutting, otherwise, do not perform the operation of described cutting.
9, the method for clause 6, wherein, describedly carry out image procossing according to described runout information and comprise:
Obtain image cropping configuration information; When described image cropping configuration information be characterize need the configuration information of cutting, perform the operation of described cutting, otherwise, do not perform the operation of described cutting.
10, a shooting implement device for Intelligent mobile equipment, wherein, this device comprises:
Position information acquisition module, is suitable for obtaining the positional information of gravity direction in the three-dimensional system of coordinate of Intelligent mobile equipment;
Determine to depart from module, be suitable for the runout information of image on gravity direction according to the current acquisition of described positional information determination Intelligent mobile equipment;
Image processing module, is suitable for carrying out image procossing according to described runout information.
11, the device of clause 10, wherein, described position information acquisition module is specifically suitable for: obtain the positional information of gravity direction in the three-dimensional system of coordinate of Intelligent mobile equipment that the gravity sensing device in Intelligent mobile equipment produces.
12, the device of clause 10, wherein, describedly determines that departing from module is specifically suitable for: according to the deviation angle of image on gravity direction of the current acquisition of described positional information calculation Intelligent mobile equipment.
13, the device of clause 12, wherein, described image processing module is specifically suitable for:
In the current display image of Intelligent mobile equipment, local vertically boost line and gravity boost line is marked according to described deviation angle; Or
In Intelligent mobile equipment current display image, local horizontal auxiliary line, local vertically boost line and gravity boost line is marked according to described deviation angle;
Wherein, the vertical boost line in described this locality is the line segment in the y-axis of the three-dimensional system of coordinate being parallel to Intelligent mobile equipment, and described local horizontal auxiliary line is the line segment in the x-axis of the three-dimensional system of coordinate being parallel to Intelligent mobile equipment.
14, the device of clause 13, wherein, the intersection point of the vertical boost line of described gravity boost line and this locality is positioned at the central spot of the current display image of Intelligent mobile equipment; Or
The intersection point of described gravity boost line, local vertically boost line and local horizontal auxiliary line is positioned at the central spot of the current display image of Intelligent mobile equipment.
15, the device of arbitrary clause in clause 10 to 14, wherein, described image processing module is specifically suitable for: carry out cutting according to the image of described runout information to the current acquisition of Intelligent mobile equipment, makes the adjacent both sides of described image be parallel to gravity direction respectively and perpendicular to gravity direction.
16, the device of clause 15, wherein, describedly carry out cutting according to the image of described runout information to the current acquisition of Intelligent mobile equipment and comprise: centered by the central point of the image of the current acquisition of Intelligent mobile equipment, carry out cutting according to described runout information with the image of the length-width ratio of the image of the current acquisition of Intelligent mobile equipment to the current acquisition of Intelligent mobile equipment, the central point of the image of the central point of the image after cutting and length-width ratio and the current acquisition of described Intelligent mobile equipment and length-width ratio are consistent.
17, the device of clause 15, wherein, described image processing module is specifically suitable for: exported the information characterized the need of cutting by Intelligent mobile equipment; When receiving sign and needing the response message of cutting, perform the operation of described cutting, otherwise, do not perform the operation of described cutting.
18, the device of clause 15, wherein, described image processing module is specifically suitable for: obtain image cropping configuration information; When described image cropping configuration information be characterize need the configuration information of cutting, perform the operation of described cutting, otherwise, do not perform the operation of described cutting.

Claims (18)

1. a shooting implementation method for Intelligent mobile equipment, wherein, the method comprises the following steps:
Obtain the positional information of gravity direction in the three-dimensional system of coordinate of Intelligent mobile equipment;
According to the runout information of image on gravity direction of the current acquisition of described positional information determination Intelligent mobile equipment;
Image procossing is carried out according to described runout information.
2. method according to claim 1, wherein, the positional information of described acquisition gravity direction in the three-dimensional system of coordinate of Intelligent mobile equipment comprises:
Obtain the positional information of gravity direction in the three-dimensional system of coordinate of Intelligent mobile equipment that the gravity sensing device in Intelligent mobile equipment produces.
3. method according to claim 1, wherein, the described runout information of image on gravity direction according to the current acquisition of described positional information determination Intelligent mobile equipment comprises:
According to the deviation angle of image on gravity direction of the current acquisition of described positional information calculation Intelligent mobile equipment.
4. method according to claim 3, wherein, describedly carry out image procossing according to described runout information and comprise:
In the current display image of Intelligent mobile equipment, local vertically boost line and gravity boost line is marked according to described deviation angle; Or
In Intelligent mobile equipment current display image, local horizontal auxiliary line, local vertically boost line and gravity boost line is marked according to described deviation angle;
Wherein, the vertical boost line in described this locality is the line segment in the y-axis of the three-dimensional system of coordinate being parallel to Intelligent mobile equipment, and described local horizontal auxiliary line is the line segment in the x-axis of the three-dimensional system of coordinate being parallel to Intelligent mobile equipment.
5. method according to claim 4, wherein, the intersection point of the vertical boost line of described gravity boost line and this locality is positioned at the central spot of the current display image of Intelligent mobile equipment; Or
The intersection point of described gravity boost line, local vertically boost line and local horizontal auxiliary line is positioned at the central spot of the current display image of Intelligent mobile equipment.
6. the method according to claim arbitrary in claim 1 to 5, wherein, describedly carry out image procossing according to described runout information and comprise:
Carry out cutting according to the image of described runout information to the current acquisition of Intelligent mobile equipment, make the adjacent both sides of described image be parallel to gravity direction respectively and perpendicular to gravity direction.
7. method according to claim 6, wherein, describedly carry out cutting according to the image of described runout information to the current acquisition of Intelligent mobile equipment and comprise:
Centered by the central point of the image of the current acquisition of Intelligent mobile equipment, carry out cutting according to described runout information with the image of the length-width ratio of the image of the current acquisition of Intelligent mobile equipment to the current acquisition of Intelligent mobile equipment, the central point of the image of the central point of the image after cutting and length-width ratio and the current acquisition of described Intelligent mobile equipment and length-width ratio are consistent.
8. method according to claim 6, wherein, describedly carry out image procossing according to described runout information and comprise:
The information characterized the need of cutting is exported by Intelligent mobile equipment;
When receiving sign and needing the response message of cutting, perform the operation of described cutting, otherwise, do not perform the operation of described cutting.
9. method according to claim 6, wherein, describedly carry out image procossing according to described runout information and comprise:
Obtain image cropping configuration information;
When described image cropping configuration information be characterize need the configuration information of cutting, perform the operation of described cutting, otherwise, do not perform the operation of described cutting.
10. a shooting implement device for Intelligent mobile equipment, wherein, this device comprises:
Position information acquisition module, is suitable for obtaining the positional information of gravity direction in the three-dimensional system of coordinate of Intelligent mobile equipment;
Determine to depart from module, be suitable for the runout information of image on gravity direction according to the current acquisition of described positional information determination Intelligent mobile equipment;
Image processing module, is suitable for carrying out image procossing according to described runout information.
11. devices according to claim 10, wherein, described position information acquisition module is specifically suitable for: obtain the positional information of gravity direction in the three-dimensional system of coordinate of Intelligent mobile equipment that the gravity sensing device in Intelligent mobile equipment produces.
12. devices according to claim 10, wherein, describedly determine that departing from module is specifically suitable for:
According to the deviation angle of image on gravity direction of the current acquisition of described positional information calculation Intelligent mobile equipment.
13. devices according to claim 12, wherein, described image processing module is specifically suitable for:
In the current display image of Intelligent mobile equipment, local vertically boost line and gravity boost line is marked according to described deviation angle; Or
In Intelligent mobile equipment current display image, local horizontal auxiliary line, local vertically boost line and gravity boost line is marked according to described deviation angle;
Wherein, the vertical boost line in described this locality is the line segment in the y-axis of the three-dimensional system of coordinate being parallel to Intelligent mobile equipment, and described local horizontal auxiliary line is the line segment in the x-axis of the three-dimensional system of coordinate being parallel to Intelligent mobile equipment.
14. devices according to claim 13, wherein, the intersection point of the vertical boost line of described gravity boost line and this locality is positioned at the central spot of the current display image of Intelligent mobile equipment; Or
The intersection point of described gravity boost line, local vertically boost line and local horizontal auxiliary line is positioned at the central spot of the current display image of Intelligent mobile equipment.
15. according to claim 10 to the device described in arbitrary claim in 14, and wherein, described image processing module is specifically suitable for:
Carry out cutting according to the image of described runout information to the current acquisition of Intelligent mobile equipment, make the adjacent both sides of described image be parallel to gravity direction respectively and perpendicular to gravity direction.
16. devices according to claim 15, wherein, describedly carry out cutting according to the image of described runout information to the current acquisition of Intelligent mobile equipment and comprise:
Centered by the central point of the image of the current acquisition of Intelligent mobile equipment, carry out cutting according to described runout information with the image of the length-width ratio of the image of the current acquisition of Intelligent mobile equipment to the current acquisition of Intelligent mobile equipment, the central point of the image of the central point of the image after cutting and length-width ratio and the current acquisition of described Intelligent mobile equipment and length-width ratio are consistent.
17. devices according to claim 15, wherein, described image processing module is specifically suitable for:
The information characterized the need of cutting is exported by Intelligent mobile equipment;
When receiving sign and needing the response message of cutting, perform the operation of described cutting, otherwise, do not perform the operation of described cutting.
18. devices according to claim 15, wherein, described image processing module is specifically suitable for:
Obtain image cropping configuration information;
When described image cropping configuration information be characterize need the configuration information of cutting, perform the operation of described cutting, otherwise, do not perform the operation of described cutting.
CN201510274923.0A 2015-05-25 2015-05-25 Shooting realization method and apparatus of smart mobile device Pending CN104917964A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510274923.0A CN104917964A (en) 2015-05-25 2015-05-25 Shooting realization method and apparatus of smart mobile device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510274923.0A CN104917964A (en) 2015-05-25 2015-05-25 Shooting realization method and apparatus of smart mobile device

Publications (1)

Publication Number Publication Date
CN104917964A true CN104917964A (en) 2015-09-16

Family

ID=54086627

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510274923.0A Pending CN104917964A (en) 2015-05-25 2015-05-25 Shooting realization method and apparatus of smart mobile device

Country Status (1)

Country Link
CN (1) CN104917964A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105208278A (en) * 2015-09-28 2015-12-30 广东欧珀移动通信有限公司 Shooting method and terminal
CN105933606A (en) * 2016-05-24 2016-09-07 青岛海信移动通信技术股份有限公司 Photographing method, device and mobile terminal
CN107395962A (en) * 2017-07-07 2017-11-24 北京小米移动软件有限公司 Image capturing method and device
CN110650284A (en) * 2018-06-26 2020-01-03 百度在线网络技术(北京)有限公司 Image shooting control method, device, equipment and storage medium
CN111464744A (en) * 2020-04-10 2020-07-28 国网浙江杭州市富阳区供电有限公司 Electric meter image auxiliary acquisition method based on gyroscope sensor
CN112802110A (en) * 2021-02-09 2021-05-14 联想(北京)有限公司 Method and device for determining display offset information and electronic equipment

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002271654A (en) * 2001-03-12 2002-09-20 Fuji Photo Film Co Ltd Electronic camera
CN1753461A (en) * 2004-09-21 2006-03-29 乐金电子(中国)研究开发中心有限公司 Apparatus for repairing imaging horizontal angle with built-in pick-up head mobile terminal and method thereof
US20110242394A1 (en) * 2010-03-30 2011-10-06 Canon Kabushiki Kaisha Image pickup apparatus that facilitates checking of tilt thereof, method of controlling the same, and storage medium
CN103795892A (en) * 2012-11-01 2014-05-14 华为终端有限公司 Method and apparatus for processing collected image data
CN104092938A (en) * 2014-06-26 2014-10-08 刘永健 Gravity-sensing photographing method and system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002271654A (en) * 2001-03-12 2002-09-20 Fuji Photo Film Co Ltd Electronic camera
CN1753461A (en) * 2004-09-21 2006-03-29 乐金电子(中国)研究开发中心有限公司 Apparatus for repairing imaging horizontal angle with built-in pick-up head mobile terminal and method thereof
US20110242394A1 (en) * 2010-03-30 2011-10-06 Canon Kabushiki Kaisha Image pickup apparatus that facilitates checking of tilt thereof, method of controlling the same, and storage medium
CN103795892A (en) * 2012-11-01 2014-05-14 华为终端有限公司 Method and apparatus for processing collected image data
CN104092938A (en) * 2014-06-26 2014-10-08 刘永健 Gravity-sensing photographing method and system

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105208278A (en) * 2015-09-28 2015-12-30 广东欧珀移动通信有限公司 Shooting method and terminal
CN105933606A (en) * 2016-05-24 2016-09-07 青岛海信移动通信技术股份有限公司 Photographing method, device and mobile terminal
CN105933606B (en) * 2016-05-24 2019-09-20 青岛海信移动通信技术股份有限公司 The method, device and mobile terminal taken pictures
CN107395962A (en) * 2017-07-07 2017-11-24 北京小米移动软件有限公司 Image capturing method and device
CN110650284A (en) * 2018-06-26 2020-01-03 百度在线网络技术(北京)有限公司 Image shooting control method, device, equipment and storage medium
CN110650284B (en) * 2018-06-26 2022-01-04 百度在线网络技术(北京)有限公司 Image shooting control method, device, equipment and storage medium
CN111464744A (en) * 2020-04-10 2020-07-28 国网浙江杭州市富阳区供电有限公司 Electric meter image auxiliary acquisition method based on gyroscope sensor
CN111464744B (en) * 2020-04-10 2021-11-30 国网浙江杭州市富阳区供电有限公司 Electric meter image auxiliary acquisition method based on gyroscope sensor
CN112802110A (en) * 2021-02-09 2021-05-14 联想(北京)有限公司 Method and device for determining display offset information and electronic equipment

Similar Documents

Publication Publication Date Title
CN104917964A (en) Shooting realization method and apparatus of smart mobile device
TWI782332B (en) An augmented reality data presentation method, device and storage medium
CN102668541B (en) Image capture device having tilt or perspective correction
CN104866080B (en) Screen content display method and system
CN103384865B (en) Mobile platform and the method and system by mobile platform offer display information
JP5847924B2 (en) 2D image capture for augmented reality representation
US20160358042A1 (en) Electronic Travel Album Generating Method and Computing Device
KR20190127838A (en) Method, apparatus and device, and storage medium for determining camera pose information
US20150248198A1 (en) Zooming user interface frames embedded image frame sequence
US20160063671A1 (en) A method and apparatus for updating a field of view in a user interface
US9525821B2 (en) Video stabilization
WO2006040775A3 (en) Computational solution of and building of three dimensional virtual models from aerial photographs
JP6711137B2 (en) Display control program, display control method, and display control device
CN109314748A (en) Electronic image stabilization frequency estimator
GB2525232A (en) A device orientation correction method for panorama images
CN108702445A (en) A kind of method for displaying image and electronic equipment
US20160050349A1 (en) Panoramic video
US9529803B2 (en) Image modification
US9836826B1 (en) System and method for providing live imagery associated with map locations
CN103985103A (en) Method and device for generating panoramic picture
CN107391060A (en) Method for displaying image, device, system and equipment, computer-readable recording medium
CN105447865B (en) A kind of method and apparatus for assessing panoramic mosaic algorithm static state joining quality
US20210118236A1 (en) Method and apparatus for presenting augmented reality data, device and storage medium
CN103037077A (en) Mobile terminal and image display method thereof
CN111986250A (en) Object volume measuring method, device, measuring equipment and storage medium

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20150916

RJ01 Rejection of invention patent application after publication