CN103152522A - Method and terminal for adjusting shooting position - Google Patents

Method and terminal for adjusting shooting position Download PDF

Info

Publication number
CN103152522A
CN103152522A CN2013100589064A CN201310058906A CN103152522A CN 103152522 A CN103152522 A CN 103152522A CN 2013100589064 A CN2013100589064 A CN 2013100589064A CN 201310058906 A CN201310058906 A CN 201310058906A CN 103152522 A CN103152522 A CN 103152522A
Authority
CN
China
Prior art keywords
image
terminal
camera site
dimensional coordinate
normal place
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
CN2013100589064A
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.)
Yulong Computer Telecommunication Scientific Shenzhen Co Ltd
Dongguan Yulong Telecommunication Technology Co Ltd
Original Assignee
Yulong Computer Telecommunication Scientific Shenzhen Co Ltd
Dongguan Yulong Telecommunication 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 Yulong Computer Telecommunication Scientific Shenzhen Co Ltd, Dongguan Yulong Telecommunication Technology Co Ltd filed Critical Yulong Computer Telecommunication Scientific Shenzhen Co Ltd
Priority to CN2013100589064A priority Critical patent/CN103152522A/en
Publication of CN103152522A publication Critical patent/CN103152522A/en
Pending legal-status Critical Current

Links

Images

Abstract

The invention is suitable for the technical field of communication and provides a method and terminal for adjusting a shooting position. The method comprises the following steps: detecting the change in a present position of the terminal; adjusting the shooting position of the terminal to a standard position according to a preset standard position and the change in the present position of the terminal; and adapting and adjusting a first image displayed in the shooting position before adjusting as a second image, and displaying the second image in the shooting position after adjusting. Thus, according to the method provided by the invention, when the terminal is in any position, the shooting position of the terminal is adjusted to the preset standard position, so that the user experience is promoted.

Description

Adjust method and the terminal thereof of camera site
Technical field
The present invention relates to communication technical field, relate in particular to a kind of method and terminal thereof of adjusting the camera site.
Background technology
All integrated camera with shoot function in existing smart mobile phone, people can stay the figure of oneself anywhere or anytime by camera function.But present taking pictures all is based on the mobile phone camera site and state is taken, when the mobile phone cam state position is not good, the effect of taking is not fully up to expectations, especially the user under vibrating state, such as under the various labile states such as drift, speedboat, roller-coaster, people are difficult to take photo or the shooting with horizontal level or normal place, and the user experiences bad.
In summary, existing terminal taking technology obviously exists inconvenience and defective, in actual use so be necessary to be improved.
Summary of the invention
For above-mentioned defective, the object of the present invention is to provide a kind of method and terminal thereof of adjusting the camera site, so that terminal all can be adjusted into the camera site of terminal default normal place when being in any position, promoted user's experience.
To achieve these goals, the invention provides a kind of method of adjusting the camera site, comprise the steps:
The variation of sense terminals current location;
According to default normal place and the variation of described terminal current location, the camera site of described terminal is adjusted into described normal place;
The first image adaptation that described camera site before adjusting is shown is adjusted into the second image, and the described camera site after adjustment shows with described the second image.
According to described method, comprise after the described step that described camera site after adjustment shows with described the second image:
Described camera site pictures taken or video after adjustment, described picture or video with adjust after the second image of showing of described camera site consistent.
According to described method, comprised before the conversion step of described sense terminals current location:
The first three-dimensional coordinate data of default described normal place;
The step of the variation of described sense terminals current location comprises:
Obtain the location status data of terminal current location;
Described location status data are generated the second three-dimensional coordinate data;
Described the second three-dimensional coordinate data and described the first three-dimensional coordinate data when more inconsistent, are being judged that described terminal current location changes.
According to described method, the normal place that described basis is default and the variation of described terminal current location, the step that the camera site of described terminal is adjusted into described normal place comprises:
The 3rd three-dimensional coordinate data of described terminal taking position is adjusted into the first three-dimensional coordinate data of described normal place;
The first image adaptation that described camera site before described will the adjustment shows is adjusted into the second image, and the step that the described camera site after adjustment shows with described the second image comprises:
After the first image of adjusting front described camera site demonstration is carried out the image pixel size adjustment, generate described the second image;
Described the second image is shown in the circumference of a maximum of presetting on described normal place according to described screen size.
According to described method, described normal place is the horizontal level in three-dimensional coordinate.
In order to realize another goal of the invention of the present invention, the present invention also provides a kind of terminal, comprising:
Detection module is for detection of the variation of described terminal current location;
Adjusting module is used for according to default normal place and the variation of described terminal current location, and the camera site of described terminal is adjusted into described normal place;
The first image adaptation that display module, the described camera site before being used for adjusting show is adjusted into the second image, and the described camera site after adjustment shows with described the second image.
According to described terminal, described terminal also comprises:
Taking module is used for described camera site pictures taken or video after adjustment, described picture or video with adjust after the second image of described camera site demonstration consistent.
According to described terminal, described terminal also comprises:
Presetting module is for the first three-dimensional coordinate data of default described normal place;
Described detection module comprises:
Obtain submodule, be used for obtaining the location status data of terminal current location;
Generate submodule, be used for described location status data are generated the second three-dimensional coordinate data;
The judgement submodule is used for described the second three-dimensional coordinate data and described the first three-dimensional coordinate data when more inconsistent, are being judged that described terminal current location changes.
According to described terminal, described adjusting module comprises:
First adjusts submodule, is used for the 3rd three-dimensional coordinate data of described terminal taking position is adjusted into the first three-dimensional coordinate data of described normal place;
Described display module comprises:
Second adjusts submodule, after carrying out the image pixel size adjustment for the first image that will adjust front described camera site demonstration, generates described the second image;
Display sub-module is used for described the second image is shown in the circumference of a maximum of presetting on described normal place according to described screen size.
According to described terminal, described normal place is the horizontal level in three-dimensional coordinate.
The present invention is by the variation of sense terminals camera site; And according to the variation of default normal place and described terminal taking position, the camera site of adjusting described terminal is described normal place, the first image adaptation that described camera site before adjusting is shown is adjusted into the second image, and the described camera site after adjustment shows with described the second image, all can make the camera site remain in default normal place when making terminal be in any position, satisfy the user to the special demands of the camera site that keeps presetting.Preferably, by using the data perception ability of gyro sensor, terminal can easily be obtained the location status data of current terminal, by effectively three-dimensional coordinate data and camera function being combined, terminal is taken pictures is rocking, is realizing steady shot under unsettled condition, generate relative level or vertical standard photographs, avoided conventional terminal when rocking state, the generation of the situation of photo is admired in the more difficult shooting of user; Make the terminal vivid and interesting that also becomes of taking pictures, improved user experience.
Description of drawings
Fig. 1 is the terminal structure schematic diagram that first embodiment of the invention provides;
Fig. 2 is the terminal structure schematic diagram that second and third embodiment of the present invention provides;
Fig. 3 is the method flow diagram of the adjustment camera site that provides of fifth embodiment of the invention;
Fig. 4 A is that the normal place that one embodiment of the invention provides is the schematic diagram of horizontal level;
Fig. 4 B is the schematic diagram based on the pixel Algorithms of Selecting of circumference that one embodiment of the invention provides;
Fig. 4 C is the schematic diagram based on the pixel Algorithms of Selecting of circumference that one embodiment of the invention provides;
Fig. 4 D is the image schematic diagram that terminal location that one embodiment of the invention provides shows when the camera site is not adjusted when changing;
Fig. 4 E is the image schematic diagram that shows behind the camera site in adjustment Fig. 4 D of providing of one embodiment of the invention;
Fig. 5 is that the gyro sensor that provides of one embodiment of the invention is with the method flow diagram of data upload camera application program;
Fig. 6 is the method flow diagram of the camera application programmed level position correction that provides of one embodiment of the invention;
Fig. 7 is the terminal taking performance data process flow schematic diagram that one embodiment of the invention provides.
Embodiment
In order to make purpose of the present invention, technical scheme and advantage clearer, below in conjunction with drawings and Examples, the present invention is further elaborated.Should be appreciated that specific embodiment described herein only in order to explain the present invention, is not intended to limit the present invention.
Referring to Fig. 1, a kind of terminal 100 is provided in the first embodiment of the present invention, comprising:
Detection module 10 is for detection of the variation of described terminal 100 current locations;
Adjusting module 20 is used for according to default normal place and the variation of described terminal 100 current locations, and the camera site of adjusting described terminal 100 is described normal place;
The first image adaptation that display module 30, the described camera site before being used for adjusting show is adjusted into the second image, and the described camera site after adjustment shows with described the second image.
In this embodiment, user's handheld terminal 100 rocks because the people knows from experience to produce in as walking or riding process, thereby the position of terminal 100 can change in real time, causes thus terminal 100 camera sites to change.Variation by detection module 10 sense terminals 100 current locations, then adjust the camera site of terminal 100 according to the variation of default normal place and described terminal current location by adjusting module 20, allow the camera site of this terminal 100 be consistent with the normal place of presetting, the user can be taken on its camera site that needs constantly.The first image adaptation that described camera site before 30 of display modules will be adjusted shows is adjusted into the second image, and the described camera site after adjustment shows with described the second image.For example, when described normal place is horizontal level in three-dimensional coordinate or upright position, be that this camera site is set is level or vertical to the user, so no matter how the position of terminal 100 changes in the process that terminal 100 moves, but terminal 100 final camera site all will be adjusted into level or vertical.And the variation that the first image that shows before terminal 100 camera site adjustment will adapt to the camera site is adjusted into the second image, makes the demonstration maintenance level of the second image or vertical, has promoted thus user's experience.Certainly, can other positions default according to user's needs be also normal place, for example, in three-dimensional system of coordinate, take the XY plane as benchmark, the positions that are the plane of 45 degree or 60 degree angles with the XY plane are normal place.
Referring to Fig. 2, in the second embodiment of the present invention, terminal 100 also comprises:
Taking module 40 is used for described camera site pictures taken or video after adjustment, described picture or video with adjust after the image of described camera site demonstration consistent.
In this embodiment, this terminal has also comprised taking module 40, and the image taking that camera site after this taking module 40 will be adjusted shows is picture or video, and the second image that shows behind the described camera site after described picture or video and adjustment is consistent; Be that the picture that photographs of user or image are all picture or images that the camera site after adjust is seen.Thus, user's handheld terminal 100 is taken in as the way of riding, going by ship, and experiences obtaining good shooting.
Referring to Fig. 2, in the third embodiment of the present invention, terminal 100 also comprises:
Presetting module 50 is for the first three-dimensional coordinate data of default described normal place;
Described detection module 10 comprises:
Obtain submodule 11, be used for obtaining the location status data of terminal 100 current locations;
Generate submodule 12, be used for described location status data are generated the second three-dimensional coordinate data;
Judgement submodule 13 is used for described the second three-dimensional coordinate data and described the first three-dimensional coordinate data when more inconsistent, are being judged that described terminal 100 current locations change.
In this embodiment, the user can preset by presetting module 50 coordinate data of normal place, in this embodiment, be set to ZY plane in the three-dimensional system of coordinate as horizontal plane as normal place, be horizontal level along the position on all planes of X-direction parallel.Certainly the setting of horizontal level also has other mode.The position that can be all planes vertical with the ZY plane in three-dimensional system of coordinate for the upright position is the upright position.Obtain the location status data of submodule 11 Real-time Obtaining terminal 100 current locations.This obtains submodule 11 and comprises sensing system, and this sensing system mainly comprises gravity sensor, acceleration transducer and gyro sensor.Wherein gyro sensor can effectively obtain the location status data of current terminal 100, with the positional information generating three-dimensional coordinate data that perceives, and provides current terminal 100 effective state position information to upper layer application.When terminal 100 is in when rocking swinging condition, gyro sensor perceives the variation of terminal 100 states immediately, and this variation is transformed into data message offers and generate submodule 12, this generates submodule 12 and is used for described location status data are generated the second three-dimensional coordinate data.Namely with normal place in same coordinate, described location status data are generated the second three-dimensional coordinate data; Judgement submodule 13 with the same coordinate of normal place in carry out the contrast of coordinate data, when both data are inconsistent, judge that described terminal 100 current locations change.
Referring to Fig. 2, in the fourth embodiment of the present invention, described adjusting module 20 comprises:
First adjusts submodule 21, is used for the 3rd three-dimensional coordinate data of the camera site of described terminal 100 is adjusted into the first three-dimensional coordinate data of described normal place;
Described display module comprises:
Second adjusts submodule 31, after carrying out the image pixel size adjustment for the first image that will adjust front described camera site demonstration, generates described the second image;
Display sub-module 32 is used for described the second image is shown in the circumference of a maximum of presetting on described normal place according to described screen size.
In this embodiment, at first first adjusts submodule 21 is adjusted into the camera site of terminal 100 unanimously with normal place, and its adjustment by three-dimensional coordinate data is carried out.Certainly if in two-dimensional coordinate system, will be to adjust by two-dimensional coordinate data.The 3rd three-dimensional coordinate data of described camera site can equate with the second three-dimensional coordinate data of the current location of described terminal 100, and namely the current location of terminal 100 and described camera site are consistent.Certainly, can have the situation that above-mentioned both data do not wait to exist, namely the current location of terminal 100 and described camera site are not consistent yet, as the taking lens of some camera terminals be can be on the position of current shooting terminal at an angle rotation.First adjust submodule 21 and carry out the adjustment of camera site after, second adjusts the first image that submodule 31 shows before with the adjustment of described camera site carries out the image pixel size adjustment, is the second image with the first Image Adjusting.Preferably, second adjusts submodule 31 adopts the processes pixel algorithm that obtains square photo based on circumference, can preset the circumference of the maximum that can show in the normal place of this screen based on the display screen size of terminal 100, can be the inscribed circle of square screen; Or the circumference take the width of rectangle screen as diameter.In the process of the adjustment of camera site, during the image that display sub-module 32 shows in described camera site will be shown in this circumference all the time just, other image sections that surpass described circumference fell cropped.Although may cause the loss of pixel aspect shooting, this algorithm can reduce the data processing time of CPU, can obtain square photo simultaneously, reduces pixel and runs off.
In above-mentioned a plurality of embodiment, a plurality of modules of terminal 100 can be the software units that is built in terminal 100, hardware cell or software and hardware combining unit.Terminal 100 can be mobile phone, PDA (Personal Digital Assistant, personal digital assistant), panel computer etc.
Referring to Fig. 3, in the fifth embodiment of the present invention, provide a kind of method of adjusting the camera site, comprise the steps:
In step S301, the variation of detection module 10 sense terminals 100 current locations;
In step S302, adjusting module 20 is according to default normal place and the variation of described terminal 100 current locations, and the camera site of adjusting described terminal 100 is described normal place;
In step S303, the first image adaptation that the described camera site before display module 30 will be adjusted shows is adjusted into the second image, and the described camera site after adjustment shows with described the second image.
In this embodiment, detection module 10 variation of sense terminals 100 current locations in real time; When the position that terminal 100 detected changes, adjusting module 20 will be adjusted the normal place of camera site for presetting of described terminal 100.The user is taken pictures or the camera site of video meets the shooting visual angle of customer requirements, satisfied user's shooting demand.
In the sixth embodiment of the present invention, comprise after described step S302:
Described camera site pictures taken or the video of taking module 40 after adjustment, described picture or video with adjust after the second image of showing of described camera site consistent.
In this embodiment, terminal 100 has takes pictures and/or camera function, taking module 40 by having this function is after the shooting instruction that receives the user, can realize stating the image that the camera site of terminal 100 shows takes, promoted the experience that the user takes pictures and makes a video recording, allowed the user can shoot the picture of the grace that meets its requirement.
In the seventh embodiment of the present invention, comprised before described step S301:
The first three-dimensional coordinate data of presetting module 50 default described normal places;
Described step S301 comprises:
Obtain the location status data that submodule 11 obtains terminal 100 current locations;
Generate submodule 12 described location status data are generated the second three-dimensional coordinate data;
Judgement submodule 13 when more inconsistent, is judging that described terminal 100 current locations change with described the second three-dimensional coordinate data and described the first three-dimensional coordinate data.
In this embodiment, arranging of normal place need to be preset by presetting module 50.For example, the user wishes that its all photos of next taking all are horizontal display position, and normal place is set to horizontal level.As shown in Fig. 4 A, described horizontal level is the placement location of the terminal 100 shown in Fig. 4 A, is horizontal level in this photographs position, position, and horizontal level is the normal place of default shooting, and the image that the camera site shows is as shown in square frame in figure 1.Certainly except horizontal level is set to normal place, can also other be at any angle that specific position is set to normal place.Three-dimensional coordinate comprised three-dimensional cartesian coordinate, circular cylindrical coordinate and, spherical coordinate, the requirement that arranges according to different coordinates, can the be correlated with setting of coordinate data of user is with the three-dimensional coordinate data of the position that settles the standard, to represent normal place according to this three-dimensional coordinate data.Use in the process of terminal 100 the user, terminal 100 is the movement of meeting occurrence positions inevitably, certainly also comprises the change of movement velocity, and the variation of the location status of these terminals 100 can be obtained relevant data by obtaining submodule 11.For example, gyro sensor can obtain the location status data of the terminal 100 in motion.Then, by generating submodule 12 with the three-dimensional coordinate data in these data transaction one-tenth and the same three-dimensional coordinate of normal place, 13 of submodules of judgement compare the first above-mentioned three-dimensional coordinate data and the second three-dimensional coordinate data, at both simultaneously, the position of judgement terminal 100 does not change.
In the eighth embodiment of the present invention, described step S302 comprises:
First adjusts submodule 21 is adjusted into the 3rd three-dimensional coordinate data of the camera site of described terminal 100 the first three-dimensional coordinate data of described normal place;
Described step S303 comprises:
Second adjusts submodule 31 will adjust the first image of front described camera site demonstration and carry out the image pixel size adjustment after, generate described the second image;
Display sub-module 32 is shown in described the second image in the circumference of a maximum of presetting according to described screen size on described normal place.
In this embodiment, the first adjustment submodule 21 is adjusted into the 3rd three-dimensional coordinate data of the camera site of terminal 100 the first three-dimensional coordinate data of described normal place; Keep terminal 100 camera sites to the normal place that is presented at of image.Second adjusts 31 images that the camera site of terminal 100 is shown of submodule carries out the adjustment of image pixel size.Concrete, the first image that described camera site before adjusting is shown carries out the image pixel size adjustment, makes it adapt to the variation of camera site, is adjusted into the second image.By display sub-module 32, described the second image is shown in the circumference of a maximum of presetting on described normal place according to described screen size at last.
Referring to Fig. 4 B and Fig. 4 C, second adjust submodule 31 and display sub-module 32 and adopt the image that the processes pixel algorithm that obtains square photo based on circumference shows before to the camera site adjustment to adjust in this embodiment.Concrete, picture material as shown in Fig. 4 A is letter " ABCDE ", after shown in Fig. 4 B and Fig. 4 C, the camera site also changes, adjustment through the camera site, the image that Fig. 4 B and Fig. 4 C show is square, and this camera site will show the image of taking take the maximum inscribed circle 2 of 100 screens of terminal on normal place as the boundary.The picture material that is Fig. 4 B camera site demonstration is " BCD "; The picture material that Fig. 4 C camera site shows is also " BCD ".This compares with the image that shows of Fig. 4 A before the adjustment of camera site, although cause image pixel to run off, this will keep picture position that terminal 100 shows in normal place, reduce the data processing time of CPU, simultaneously can obtain square photo, reduce pixel and run off, promote the user and experience.In addition, the processes pixel algorithm that obtains square photo based on circumference provided by the invention just might cause image pixel to run off, be not all can cause the loss of image pixel after all camera site adjustment, concrete need to determine according to the situation of camera site adjustment and the image of shooting.
Therefore, based on above-mentioned algorithm, the tentative standard position is the horizontal level in three-dimensional coordinate, and the images that show before terminal 100 camera sites are adjusted are as shown in square frame 3 in Fig. 4 D, and this image is shown as letter " ABCDE ".After carrying out the camera site adjustment, the image that the camera site of terminal 100 shows is as shown in the square frame 3 in Fig. 4 E, after the image of taking is carried out the adjustment of image pixel, will keep level, and the size that image shows is just in the circumference 2 of terminal screen maximum; Namely in the circumference according to the display screen size dimension of a described terminal default maximum on described horizontal level.But may be cut out having parts of images, obtain at last the picture material that the camera site after the adjustment as shown in Fig. 4 E shows and be letter " BC ".
In one embodiment of the invention, terminal 100 is mobile phone, and this mobile phone includes sensor-based system and camera system; Sensing system mainly comprises gravity sensor, acceleration transducer and gyro sensor.Camera system comprises takes camera, camera application program, atlas and video player etc.; And other modules of mobile phone are as demonstration, touch-screen, button, communication module, power module etc.Referring to Fig. 5, gyro data perception and flow chart of data processing are described below:
In step S501, gyro sensor induction mobile phone location state changes;
In step S502, gyro sensor uploads to CPU with the signal that the mobile phone location state of sensing changes;
In step S503, CPU is sent to the camera application program with this signal data;
In step S504, utilize the adjustment of gyro sensor data to take display position, according to level or vertically show image.
In this embodiment, gyro sensor can effectively obtain the state position data of current phone, with the positional information generating three-dimensional coordinate data that perceives, and provides current phone state position information effectively to the camera application program.When mobile phone is in when rocking swinging condition, gyro sensor perceives the variation of mobile phone state immediately, and this variation is transformed into data message offers the camera application program and use.When taking pictures, the camera application program is obtained the three-dimensional coordinate data that the bottom gyroscope perceives, and compare according to three-dimensional coordinate position and normal place data, adjust in real time the display frame of taking pictures on LCD, can remain default normal place, as horizontal level, after the user takes pictures, can guarantee that the photo that photographed is in normal place, improve user experience.
Referring to Fig. 6, in one embodiment of the invention, the camera application program point is adjusted flow process and is described below:
In step S601, open the camera application program and receive the data that the bottom gyro sensor is uploaded;
In step S602, the camera application program is carried out horizontal level and is proofreaied and correct;
In step S603, the picture after the interface of making a video recording shows calibration in real time;
In step S604, complete shooting.
In this embodiment, consider based on mobile phone position information, therefore need to add in the camera application program judgement and the processing of opponent seat in the plane configuration state.At first the camera application program obtains the three-dimensional coordinate data that the bottom gyroscope reports, and the standard coordinate of these data and horizontal positioned position is compared, carry out the adjustment of shooting picture by the camera site adjustment algorithm, the demonstration of terminal 100 is remained on default normal place, thereby reached when mobile phone rocks state, carried out the effect of accessible shooting.
Referring to Fig. 7, in one embodiment of the invention, consider existing state of development of taking anti-shake technology, sensor technology, the shooting technology of intelligent mobile terminal is combined with sensor technology, propose a kind ofly can automatically adjust the method for the position of taking pictures according to the mobile phone current state, make the photo effect of taking to reach user's requirement, realize the function of " clapping arbitrarily ", improve user experience.Concrete, reporting by gyrostatic data, the camera application program is carried out the adjustment of display position, has realized the function of " arbitrarily clapping ", finally shows result as shown in Fig. 4 B or Fig. 4 C, and this workflow is described below:
In step S701, enter cell phone system;
In step S702, open shoot function;
In step S703, judge whether to open random bat; Execution in step S704, otherwise execution in step S707;
In step S704, open gyro sensor;
In step S705, show flexibly according to mobile phone state the display interface of taking pictures;
In step S706, generate photo or the video of vertical or level;
In step S707, carry out common shooting;
In step S708, tradition shows the display interface of taking pictures, and can't realize level or vertical the demonstration;
In step S709, show photo or video according to content that actual camera is taken the photograph;
In step S710, realize once photo taking or shooting.
Although in existing scheme extensively joins mobile terminal with camera, do not consider the camera present position of concrete applicable cases, especially mobile phone when mobile phone is taken.At strenuous exercise or mobile phone state when unstable, as sit yacht as the user, the photo that the user wants to photograph under normal place is just more difficult, and the photo that existing mobile terminal is shot is difficult to satisfy customer requirements, and user experience reduces.Therefore, will comprise that in the present invention gyroscope, camera and camera application program combine, realize photographic images position automatic calibration function, reach " the arbitrarily clapping " effect under the state of rocking, improve user experience.And " arbitrarily clapping " function in this embodiment is based on gyrostatic sensing data, calibration and adjustment shooting preview picture, but take sacrifice shooting pixel as cost, in order to keep to greatest extent valid pixel, the above-mentioned processes pixel algorithm that obtains square photo based on circumference will be adopted.It is pointed out that selectively opening and closing of user " arbitrarily clap " function, as switch key is set on mobile phone, and volume is adjusted the function keys such as press key lamp.When normal condition or special the taking pictures of user's needs, can close " arbitrarily clapping " function, reach the user and complete the demand of different photos according to different scenes, improve user experience.Therefore, by the intercepting of the pixel shown in Fig. 4 B and Fig. 4 C algorithm, under the prerequisite that does not improve the terminal hardware configuration, realize the valid pixel intercepting, and can realize preview and the shooting of square photo, guaranteed the realizability of " arbitrarily clapping " function.
In sum, the present invention is by the variation of sense terminals camera site; And according to the variation of default normal place and described terminal taking position, the camera site of adjusting described terminal is described normal place, the first image adaptation that described camera site before adjusting is shown is adjusted into the second image, and the described camera site after adjustment shows with described the second image, all can make the camera site remain in default normal place when making terminal be in any position, satisfy the user to the special demands of the camera site that keeps presetting.Preferably, by using the data perception ability of gyro sensor, terminal can easily be obtained the location status data of current terminal, by effectively three-dimensional coordinate data and camera function being combined, terminal is taken pictures is rocking, is realizing steady shot under unsettled condition, generate relative level or vertical standard photographs, avoided conventional terminal when rocking state, the generation of the situation of photo is admired in the more difficult shooting of user; Make the terminal vivid and interesting that also becomes of taking pictures, improved user experience.
Certainly; the present invention also can have other various embodiments; in the situation that do not deviate from spirit of the present invention and essence thereof; those of ordinary skill in the art work as can make according to the present invention various corresponding changes and distortion, but these corresponding changes and distortion all should belong to the protection range of the appended claim of the present invention.

Claims (10)

1. a method of adjusting the camera site, is characterized in that, comprises the steps:
The variation of sense terminals current location;
According to default normal place and the variation of described terminal current location, the camera site of described terminal is adjusted into described normal place;
The first image adaptation that described camera site before adjusting is shown is adjusted into the second image, and the described camera site after adjustment shows with described the second image.
2. method according to claim 1, is characterized in that, comprises after the described step that described camera site after adjustment shows with described the second image:
Described camera site pictures taken or video after adjustment, described picture or video with adjust after the second image of showing of described camera site consistent.
3. method according to claim 1, is characterized in that, comprised before the conversion step of described sense terminals current location:
The first three-dimensional coordinate data of default described normal place;
The step of the variation of described sense terminals current location comprises:
Obtain the location status data of terminal current location;
Described location status data are generated the second three-dimensional coordinate data;
Described the second three-dimensional coordinate data and described the first three-dimensional coordinate data when more inconsistent, are being judged that described terminal current location changes.
4. method according to claim 3, is characterized in that, the normal place that described basis is default and the variation of described terminal current location, and the step that the camera site of described terminal is adjusted into described normal place comprises:
The 3rd three-dimensional coordinate data of described terminal taking position is adjusted into the first three-dimensional coordinate data of described normal place;
The first image adaptation that described camera site before described will the adjustment shows is adjusted into the second image, and the step that the described camera site after adjustment shows with described the second image comprises:
After the first image of adjusting front described camera site demonstration is carried out the image pixel size adjustment, generate described the second image;
Described the second image is shown in the circumference of a maximum of presetting on described normal place according to described screen size.
5. according to claim 1~4 described methods of any one, is characterized in that, described normal place is the horizontal level in three-dimensional coordinate.
6. a terminal, is characterized in that, comprising:
Detection module is for detection of the variation of described terminal current location;
Adjusting module is used for according to default normal place and the variation of described terminal current location, and the camera site of described terminal is adjusted into described normal place;
The first image adaptation that display module, the described camera site before being used for adjusting show is adjusted into the second image, and the described camera site after adjustment shows with described the second image.
7. terminal according to claim 6, is characterized in that, described terminal also comprises:
Taking module is used for described camera site pictures taken or video after adjustment, described picture or video with adjust after the second image of described camera site demonstration consistent.
8. terminal according to claim 6, is characterized in that, described terminal also comprises:
Presetting module is for the first three-dimensional coordinate data of default described normal place;
Described detection module comprises:
Obtain submodule, be used for obtaining the location status data of terminal current location;
Generate submodule, be used for described location status data are generated the second three-dimensional coordinate data;
The judgement submodule is used for described the second three-dimensional coordinate data and described the first three-dimensional coordinate data when more inconsistent, are being judged that described terminal current location changes.
9. terminal according to claim 8, is characterized in that, described adjusting module comprises:
First adjusts submodule, is used for the 3rd three-dimensional coordinate data of described terminal taking position is adjusted into the first three-dimensional coordinate data of described normal place;
Described display module comprises:
Second adjusts submodule, after carrying out the image pixel size adjustment for the first image that will adjust front described camera site demonstration, generates described the second image;
Display sub-module is used for described the second image is shown in the circumference of a maximum of presetting on described normal place according to described screen size.
10. according to claim 6~9 described terminals of any one, is characterized in that, described normal place is the horizontal level in three-dimensional coordinate.
CN2013100589064A 2013-02-25 2013-02-25 Method and terminal for adjusting shooting position Pending CN103152522A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2013100589064A CN103152522A (en) 2013-02-25 2013-02-25 Method and terminal for adjusting shooting position

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2013100589064A CN103152522A (en) 2013-02-25 2013-02-25 Method and terminal for adjusting shooting position

Publications (1)

Publication Number Publication Date
CN103152522A true CN103152522A (en) 2013-06-12

Family

ID=48550371

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2013100589064A Pending CN103152522A (en) 2013-02-25 2013-02-25 Method and terminal for adjusting shooting position

Country Status (1)

Country Link
CN (1) CN103152522A (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103561211A (en) * 2013-10-25 2014-02-05 广东欧珀移动通信有限公司 Shooting angle reminding method and system for shooting terminal
CN103986872A (en) * 2014-05-28 2014-08-13 宇龙计算机通信科技(深圳)有限公司 Terminal and terminal shooting method
CN104394317A (en) * 2014-11-20 2015-03-04 段然 Method for processing recorded images of head-wearing recording equipment
CN104869317A (en) * 2015-06-02 2015-08-26 广东欧珀移动通信有限公司 Intelligent device shooting method and device
CN105430284A (en) * 2015-12-30 2016-03-23 魅族科技(中国)有限公司 Control method of photographing view-finding frame and terminal
CN105744160A (en) * 2016-02-15 2016-07-06 广东小天才科技有限公司 Photographing method and device
CN106303206A (en) * 2015-06-12 2017-01-04 西安蒜泥电子科技有限责任公司 The camera system localization method of a kind of body-scanner and device
CN107440236A (en) * 2016-05-30 2017-12-08 深圳觅悦文化科技有限公司 A kind of measuring method that foot type data are obtained by mobile phone photograph

Citations (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050093993A1 (en) * 2003-11-05 2005-05-05 Fuji Photo Film Co., Ltd. Signal processing device, image pickup device and signal processing method
CN1630331A (en) * 2003-12-15 2005-06-22 联想(北京)有限公司 A method for automatically correcting digital photo display
CN1647110A (en) * 2002-04-16 2005-07-27 皇家飞利浦电子股份有限公司 Image rotation correction for video or photographic equipment
CN1744673A (en) * 2005-10-09 2006-03-08 北京中星微电子有限公司 Video electronic flutter-proof device
CN2777880Y (en) * 2004-01-15 2006-05-03 英保达股份有限公司 Automatic regulating system for image angle
CN101373254A (en) * 2007-08-22 2009-02-25 奥林巴斯映像株式会社 Imaging device, and control method for imaging device
CN101390383A (en) * 2006-02-23 2009-03-18 松下电器产业株式会社 Image correction device, method, program, integrated circuit, and system
CN101641950A (en) * 2007-03-28 2010-02-03 索尼爱立信移动通讯股份有限公司 Device and method for adjusting orientation of a data representation displayed on a display
CN101686327A (en) * 2008-09-27 2010-03-31 佛山市顺德区汉达精密电子科技有限公司 Adjusting system of image presenting angle of camera shooting system
CN101686331A (en) * 2008-09-24 2010-03-31 佳能株式会社 Imaging apparatus and method for controlling the same
CN101933040A (en) * 2007-06-06 2010-12-29 索尼株式会社 Image processing device, image processing method, and image processing program
CN102209189A (en) * 2010-03-30 2011-10-05 佳能株式会社 Image pickup apparatus and method of controlling the same
JP2011234272A (en) * 2010-04-30 2011-11-17 Nec Corp Portable terminal device, server device and image correction method
CN102647552A (en) * 2011-02-22 2012-08-22 华为终端有限公司 Image-taking control method and device
CN102724402A (en) * 2012-06-08 2012-10-10 中兴通讯股份有限公司 Shooting device as well as processing method and processing device of shooting image
KR20120134963A (en) * 2011-06-04 2012-12-12 제노젠(주) Digitizer having camera and method for recognizing coordinate

Patent Citations (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1647110A (en) * 2002-04-16 2005-07-27 皇家飞利浦电子股份有限公司 Image rotation correction for video or photographic equipment
US20050093993A1 (en) * 2003-11-05 2005-05-05 Fuji Photo Film Co., Ltd. Signal processing device, image pickup device and signal processing method
CN1630331A (en) * 2003-12-15 2005-06-22 联想(北京)有限公司 A method for automatically correcting digital photo display
CN2777880Y (en) * 2004-01-15 2006-05-03 英保达股份有限公司 Automatic regulating system for image angle
CN1744673A (en) * 2005-10-09 2006-03-08 北京中星微电子有限公司 Video electronic flutter-proof device
CN101390383A (en) * 2006-02-23 2009-03-18 松下电器产业株式会社 Image correction device, method, program, integrated circuit, and system
CN101641950A (en) * 2007-03-28 2010-02-03 索尼爱立信移动通讯股份有限公司 Device and method for adjusting orientation of a data representation displayed on a display
CN101933040A (en) * 2007-06-06 2010-12-29 索尼株式会社 Image processing device, image processing method, and image processing program
CN101373254A (en) * 2007-08-22 2009-02-25 奥林巴斯映像株式会社 Imaging device, and control method for imaging device
CN101686331A (en) * 2008-09-24 2010-03-31 佳能株式会社 Imaging apparatus and method for controlling the same
CN101686327A (en) * 2008-09-27 2010-03-31 佛山市顺德区汉达精密电子科技有限公司 Adjusting system of image presenting angle of camera shooting system
CN102209189A (en) * 2010-03-30 2011-10-05 佳能株式会社 Image pickup apparatus and method of controlling the same
JP2011234272A (en) * 2010-04-30 2011-11-17 Nec Corp Portable terminal device, server device and image correction method
CN102647552A (en) * 2011-02-22 2012-08-22 华为终端有限公司 Image-taking control method and device
KR20120134963A (en) * 2011-06-04 2012-12-12 제노젠(주) Digitizer having camera and method for recognizing coordinate
CN102724402A (en) * 2012-06-08 2012-10-10 中兴通讯股份有限公司 Shooting device as well as processing method and processing device of shooting image

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103561211A (en) * 2013-10-25 2014-02-05 广东欧珀移动通信有限公司 Shooting angle reminding method and system for shooting terminal
CN103561211B (en) * 2013-10-25 2017-07-18 广东欧珀移动通信有限公司 The shooting angle reminding method and system of camera terminal
CN103986872A (en) * 2014-05-28 2014-08-13 宇龙计算机通信科技(深圳)有限公司 Terminal and terminal shooting method
CN104394317A (en) * 2014-11-20 2015-03-04 段然 Method for processing recorded images of head-wearing recording equipment
CN104869317A (en) * 2015-06-02 2015-08-26 广东欧珀移动通信有限公司 Intelligent device shooting method and device
CN106303206A (en) * 2015-06-12 2017-01-04 西安蒜泥电子科技有限责任公司 The camera system localization method of a kind of body-scanner and device
CN105430284A (en) * 2015-12-30 2016-03-23 魅族科技(中国)有限公司 Control method of photographing view-finding frame and terminal
CN105744160A (en) * 2016-02-15 2016-07-06 广东小天才科技有限公司 Photographing method and device
CN107440236A (en) * 2016-05-30 2017-12-08 深圳觅悦文化科技有限公司 A kind of measuring method that foot type data are obtained by mobile phone photograph

Similar Documents

Publication Publication Date Title
CN103152522A (en) Method and terminal for adjusting shooting position
CN111083380B (en) Video processing method, electronic equipment and storage medium
KR101977638B1 (en) Method for correcting user’s gaze direction in image, machine-readable storage medium and communication terminal
US9723203B1 (en) Method, system, and computer program product for providing a target user interface for capturing panoramic images
JP6357589B2 (en) Image display method, apparatus, program, and recording medium
US8120641B2 (en) Panoramic photography method and apparatus
CN106973228B (en) Shooting method and electronic equipment
CN102207674A (en) Panorama image shooting apparatus and method
JP7371264B2 (en) Image processing method, electronic equipment and computer readable storage medium
US20160231809A1 (en) Information processing device, information processing method, and program
KR20150060885A (en) Photographing method, device and terminal
TW201801516A (en) Image capturing apparatus and photo composition method thereof
CN106534619A (en) Method and apparatus for adjusting focusing area, and terminal
KR20130122411A (en) Image capturing device and operating method of image capturing device
WO2021077650A1 (en) Photographing method and device, and computer-readable storage medium
US10582125B1 (en) Panoramic image generation from video
KR20130081439A (en) Apparatus and method for displaying camera view area in a portable terminal
WO2021136035A1 (en) Photographing method and apparatus, storage medium, and electronic device
WO2020133409A1 (en) Photography method and photographic terminal
CN104735353A (en) Method and device for taking panoramic photo
US20100134597A1 (en) Electronic apparatus with photographing function and 3D image forming method
CN109981973B (en) Method, device and storage medium for preventing dangerous self-shooting
KR20200041133A (en) Program for guiding composition of picture
CN111277752B (en) Prompting method and device, storage medium and electronic equipment
CN111277751B (en) Photographing method and device, storage medium and electronic equipment

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20130612