CN106131421A - The method of adjustment of a kind of video image and electronic equipment - Google Patents
The method of adjustment of a kind of video image and electronic equipment Download PDFInfo
- Publication number
- CN106131421A CN106131421A CN201610592099.8A CN201610592099A CN106131421A CN 106131421 A CN106131421 A CN 106131421A CN 201610592099 A CN201610592099 A CN 201610592099A CN 106131421 A CN106131421 A CN 106131421A
- Authority
- CN
- China
- Prior art keywords
- parameter
- electronic equipment
- video image
- current device
- device parameter
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N23/00—Cameras or camera modules comprising electronic image sensors; Control thereof
- H04N23/60—Control of cameras or camera modules
- H04N23/62—Control of parameters via user interfaces
Landscapes
- Engineering & Computer Science (AREA)
- Human Computer Interaction (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Studio Devices (AREA)
Abstract
The embodiment of the present invention provides method of adjustment and the electronic equipment of a kind of video image, relates to electronic technology field.The method includes: obtain the electronic equipment the first video image in recording process, and the current device parameter of described electronic equipment;Wherein, described current device parameter at least includes directioin parameter and the angle parameter that can characterize the current device state of described electronic equipment;Determine that described current device parameter is inconsistent with default device parameter, based on described current device parameter, described first video image is adjusted;Wherein, it is the state being in positive direction that described default device parameter can characterize the equipment state of described electronic equipment, described positive direction be described electronic equipment upright time direction;Obtain second video image corresponding with described first video image;Wherein, the second video image is in described positive direction, to realize improving the display effect of recorded video, strengthens Consumer's Experience.
Description
Technical field
The present embodiments relate to video technique field, the method for adjustment and the electronics that particularly relate to a kind of video image set
Standby.
Background technology
Along with developing rapidly of electronic technology, kind and the quantity of China's electronic product are various, and people have enjoyed science and technology and sent out
The facility that exhibition brings, the most also the human oriented design to electronic product is had higher requirement.
At present, being both provided with image acquisition units in most electronic equipment, people pass through image acquisition units
Carry out image acquisition, such as, can use the electronic equipment recorded video such as the mobile phone with photographic head or camera.Apply in reality
In, may be due to situations such as place restrictions, user may need when recorded video to be inverted mobile phone, owing to electronics sets
Standby middle sensor is fixed-direction, therefore when electronic equipment is inverted and is recorded, its sensor is also in inversion state, therefore,
The video image recorded by mobile phone is the most also inverted.Such as, check that recording is maybe regarded by recorded video by mobile phone
Taking place frequently when delivering to show on miscellaneous equipment, the video image that user watches is exactly inverted, causes the aobvious of recorded video
Show that effect is poor.
In summary, in prior art, the display effect of the video that electronic equipment employing upside down is recorded is poor.
Summary of the invention
The embodiment of the present invention provides method of adjustment and the electronic equipment of a kind of video image, in order to solve electricity in prior art
Subset uses the poor technical problem of video display effect that upside down is recorded, to improve the display effect of recorded video,
Strengthen Consumer's Experience.
The embodiment of the present invention provides the method for adjustment of a kind of video image, including:
Obtain the electronic equipment the first video image in recording process, and the current device parameter of described electronic equipment;
Wherein, described current device parameter at least includes directioin parameter and the angle that can characterize the current device state of described electronic equipment
Degree parameter;
Determine that described current device parameter is inconsistent with default device parameter, based on described current device parameter to described
One video image is adjusted;Wherein, described default device parameter can characterize the equipment state of described electronic equipment for being in
The state of positive direction, described positive direction be described electronic equipment upright time direction;
Obtain second video image corresponding with described first video image;Wherein, the second video image be in described just
On direction.
The embodiment of the present invention provides a kind of electronic equipment, including:
First acquisition module, for obtaining the electronic equipment the first video image in recording process, and described electronics sets
Standby current device parameter;Wherein, described current device parameter at least includes the current device that can characterize described electronic equipment
The directioin parameter of state and angle parameter;
Adjusting module, is used for determining that described current device parameter is inconsistent with default device parameter, currently sets based on described
Described first video image is adjusted by standby parameter;Wherein, described default device parameter can characterize described electronic equipment
Equipment state is the state being in positive direction, described positive direction be described electronic equipment upright time direction;
Second acquisition module, for obtaining second video image corresponding with described first video image;Wherein, second regard
Frequently image is in described positive direction.
The method of adjustment of the video image that the embodiment of the present invention provides and electronic equipment, in electronic equipment video record process
In, electronic equipment can obtain the first video image and current device parameter thereof, and wherein, current device parameter at least includes can
Characterize directioin parameter and the angle parameter of the current device state of this electronic equipment, and then, however, it is determined that current device parameter is with pre-
If device parameter is inconsistent, the first video image will be adjusted by electronic equipment based on current device parameter, owing to setting
The equipment state that standby parameter can characterize this electronic equipment is the state being in positive direction, and it is upright that this positive direction is electronic equipment
Time direction, therefore obtain second video image corresponding with the first video image be the image being in positive direction.Therefore,
In actual applications, electronic equipment is inverted when carrying out video record, utilizes the said method video to being inverted electronic equipment shooting
Image is adjusted, it is possible to the direction of correction video image such that it is able to ensure that video image can show according to positive direction,
Improve the display effect of recorded video, enhance Consumer's Experience.
Accompanying drawing explanation
In order to be illustrated more clearly that the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing
In having technology to describe, the required accompanying drawing used is briefly described, it should be apparent that, the accompanying drawing in describing below is this
Some bright embodiments, for those of ordinary skill in the art, on the premise of not paying creative work, it is also possible to root
Other accompanying drawing is obtained according to these accompanying drawings.
Fig. 1 is the flow chart of the method for adjustment of video image in the embodiment of the present invention;
Fig. 2 A is the schematic diagram of the first video image gathered in the embodiment of the present invention;
Fig. 2 B is the schematic diagram of the second video image adjusting acquisition in the embodiment of the present invention;
Fig. 3 is the structural representation of electronic equipment in the embodiment of the present invention.
Detailed description of the invention
For making the purpose of the embodiment of the present invention, technical scheme and advantage clearer, below in conjunction with the embodiment of the present invention
In accompanying drawing, the technical scheme in the embodiment of the present invention is clearly and completely described, it is clear that described embodiment is
The a part of embodiment of the present invention rather than whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art
The every other embodiment obtained under not making creative work premise, broadly falls into the scope of protection of the invention.
In the embodiment of the present invention, electronic equipment can be the equipment with image collecting function, such as mobile phone, camera, shooting
Machine and panel computer etc., can be provided with corresponding image acquisition units in these electronic equipments, such as photographic head, camera lens etc.,
Then can carry out corresponding image acquisition and video record etc. by image acquisition units.
Optionally, being also provided with memory element in electronic equipment, such as local disk etc., then electronic equipment can will pass through
The data of image acquisition units collection are stored in this memory element.Certainly, in actual applications, electronic equipment can also will be adopted
The data of collection store high in the clouds, and those skilled in the art can be configured according to the actual requirements, and the embodiment of the present invention is to this not
Make concrete restriction.
Optionally, electronic equipment is also provided with sensing unit, such as gyro sensor, gravity sensor etc., then
Electronic equipment can gather the equipment state of current electronic device by sensing unit, and is stored it by memory element,
Wherein, the equipment state of electronic equipment may refer to the form of electronic equipment, as relative to the Y-axis in rectangular coordinate system in inclining
Tiltedly, the upright or state such as laterally.
It addition, the terms "and/or", a kind of incidence relation describing affiliated partner, expression can exist
Three kinds of relations, such as, A and/or B, can represent: individualism A, there is A and B, individualism B these three situation simultaneously.Separately
Outward, character "/" herein, in the case of not illustrating, typically represent the forward-backward correlation relation to liking a kind of "or".
In order to be better understood from technique scheme, below in conjunction with Figure of description and specific embodiment to upper
State technical scheme to be described in detail.
Embodiment one
Referring to Fig. 1, the embodiment of the present invention provides the method for adjustment of a kind of video image, and the method can apply to electronics
Equipment, its flow process can be described as follows.
S11: obtain the electronic equipment the first video image in recording process, and the current device parameter of electronic equipment;
Wherein, current device parameter at least includes directioin parameter and the angle parameter that can characterize the current device state of electronic equipment.
In the embodiment of the present invention, the first video image can be an electronic equipment two field picture during video record.
In actual applications, the video that electronic equipment was recorded within a period of time can be made up of a series of still image frames, the most
The corresponding acquisition order of individual picture frame (the time order and function order as recorded) gets final product synthetic video, thus can present Dynamic Announce effect
Really.In recorded video, any one width still image is the least unit " frame " of video, i.e. it is believed that the first video image just
It it is any one two field picture in the video recorded.
Optionally, before S11, can first determine the object needing shooting, the image then starting electronic equipment is adopted
Collection unit, as started the photographic head of mobile phone by " camera quick key " or " video software ", and then can be by the figure of electronic equipment
As the object of collecting unit alignment shooting shoots.
In actual applications, the object of shooting can be portrait, animal, natural views etc..As a rule, when recording,
User can also select corresponding recording mode to record, and such as time-lapse photography, slow motion etc., shoots under different recording modes
Video can have different viewing effects.And when starting recording, user can be corresponding by clicking in electronic equipment
Shooting push button (such as virtual push button or entity button) starts recording, or, user can also use remote mode (such as wireless communication
Number) controlling electronic equipment video record, this is not particularly limited by the embodiment of the present invention.
During video record, electronic equipment by image acquisition units can real-time recording shooting object, simultaneously
Can by the video real-time storage of shooting in the memory unit.Recording after a period of time, electronic equipment user determines and has shot
Finish, i.e. click on " record screen terminates shortcut ", the recording to current shooting object can be terminated, thus obtain corresponding video.
In the embodiment of the present invention, the process of S11 can be the first moment in recording process, by the figure of electronic equipment
As collecting unit obtains the first video image, and obtained the current device parameter of described electronic equipment by sensing unit.
I.e. during electronic equipment video record, electronic equipment is gathering the same of video image by image acquisition units
Time, sensing unit also can gather the current device state of electronic equipment automatically, and acquisition can characterize electronic equipment current device
The current device parameter of state, therefore it is the most corresponding with current device parameter to obtain the first video image in the first moment, the most permissible
Think record video in each video image be respectively provided with corresponding device parameter so that the related data of the video image of acquisition
Accuracy higher, be favorably improved the accuracy to Computer Vision.
Optionally, current device state representation current electronic device location state in rectangular coordinate system, with work as
Front equipment state corresponding current device parameter at least may be configured to characterize the direction of electronic equipment current device state
Parameter and angle parameter.
In actual applications, after the current device state of electronic equipment is detected by sensing unit, i.e. can determine that phase
The directioin parameter answered.Wherein, directioin parameter could be for characterizing whether electronic equipment is in the parameter in positive direction, and direction is joined
Number can be that electronic equipment dispatches from the factory and sets at once.
Such as, directioin parameter can include " 0 " and " 1 ", and wherein, " 0 " represents that electronic equipment is in positive direction, and " 1 " represents
Electronic equipment is in non-positive direction.
Certainly, in actual applications, directioin parameter represents when electronic equipment is in non-positive direction, it is also possible to include for having
Body surface shows the direction parameter of deviation positive direction, and such as "+1 " and "-1 ", wherein "+1 " represents deviation positive direction, "-1 " clockwise
Represent counterclockwise deviation positive direction, etc., those skilled in the art can detect according to actual demand, and the present invention is real
Execute example this is not specifically limited.
In the embodiment of the present invention, positive direction refers to that electronic equipment stands upright in rectangular coordinate system, and its bottom is positioned at coordinate axes
Initial point, when centrage (or side) overlaps with coordinate axes Y-axis, equipment top towards direction (i.e. the forward of Y-axis).
Optionally, angle parameter may be used for characterizing electronic equipment upright time with the angle of Y-axis positive direction.Such as, this electricity
When subset is mobile phone, mobile phone is vertically placed, and shoots with horizontal plane, then in the current device state of mobile phone, and direction
Parameter is 1, and its angle parameter is 0 °.The most such as, mobile phone is placed after vertical direction rotates 180 °, and top is with coordinate axes X-axis just
Direction overlaps, and shoots with horizontal plane, then in the current device parameter of detection mobile phone, directioin parameter is 0, its angle
Parameter is 180 °.
Certainly, in actual applications, current device parameter can also include trajectory parameters, acceleration parameter etc., ability
Field technique personnel can obtain according to the actual requirements, and this is not specifically limited by the embodiment of the present invention.
S12: determine that current device parameter is inconsistent with default device parameter, based on current device parameter to the first video figure
As being adjusted;Wherein, it is the state being in positive direction that default device parameter can characterize the equipment state of electronic equipment, square
To for electronic equipment direction time upright.
In the embodiment of the present invention, default device parameter can be to set at once before electronic equipment dispatches from the factory, and it can be used
Equipment state in sign electronic equipment is the state being in positive direction, and this positive direction can be according to sensing unit in electronic equipment
Character set by, or may also be what user was arranged voluntarily, such as can by time upright for electronic equipment, equipment top institute towards
Direction as positive direction.
Optionally, default device parameter at least can include preset direction parameter and predetermined angle parameter.This presets anti-
All can characterize electronic equipment to parameter and predetermined angle parameter to be in positive direction.
Such as, presetting directioin parameter in device parameter and may be configured as 0, angle parameter may be configured as 0 °, i.e. positive direction is
The direction of Y-axis forward in rectangular coordinate system, now electronic equipment can be in erectility, and present position, bottom can be with
The position of zero is corresponding.
It should be noted that in actual recording process, user is probably electronic equipment machine by perpendicular screen, transverse screen or inversion
Shoot, be accustomed to according to the viewing of user, can be using perpendicular for equipment screen as positive direction, then when transverse screen is recorded in device parameter
Angle parameter is probably 90 °, and the angle parameter that during inversion, electronic equipment is corresponding is probably 180 °.
In embodiments of the present invention, corresponding when recording the first video image by obtaining electronic equipment current device ginseng
Number, and by the parameter comprised in current device parameter is compared, really with corresponding parameter preset in default device parameter
Both fixed the most unanimously, and when determining inconsistent, the first video image is adjusted.
Optionally, the process of S12 may is that based on the deviation between current device parameter and default device parameter, determines
The adjustment parameter corresponding with the first video image, and then, according to adjusting parameter adjustment the first video image.
Wherein, deviation refers to that current device parameter and default device parameter make the difference that computing is obtained, and this difference is used
The numerical value of device parameter is preset in sign current device parameter drift-out.In actual applications, computing can be logic plus-minus or
Numerical value plus-minuss etc., those skilled in the art can be configured according to the actual requirements, and this is the most specifically limited by the embodiment of the present invention
System.
And when determining adjustment parameter, can be based in directioin parameter in current device parameter and default device parameter
Deviation between preset direction parameter, determines that the direction adjusted in parameter adjusts parameter, and based on the angle in current device parameter
Degree parameter and the deviation of the predetermined angle parameter in default device parameter, determine the angle adjustment parameter adjusted in parameter.
Wherein, direction adjusts parameter and could be for first video image corresponding to electronic equipment current device state
The parameter that direction is adjusted, angle adjustment parameter could be for first video corresponding to electronic equipment current device state
The parameter that the angle of image is adjusted, i.e. adjusts parameter based on direction and angle adjustment parameter i.e. can regard gather first
Frequently the display direction of image is adjusted.
In actual applications, the direction determined adjusts parameter can be to there being corresponding adjustment direction, and adjustment direction is permissible
It it is clockwise or counterclockwise.Such as, when needs adjust the first video image along clockwise direction, corresponding direction
Adjust parameter can be band predetermined symbol (as "+") parameter, such as "+1 " or other parameter etc. of carrying predetermined symbol, and when needing
When adjusting the first video image in the counterclockwise direction, corresponding direction adjusts the parameter that parameter can be tape label "-", as "-
1 " or carry other parameter etc. of predetermined symbol.
Such as, electronic equipment is inverted and carries out video capture, corresponding current of the first video image that electronic equipment gathers
Directioin parameter in device parameter is 1 (the most non-positive direction), and angle parameter is 180 °, and presets the directioin parameter in device parameter
Being 0, angle parameter is 0 °, then by contrast, it may be determined that the directioin parameter of current device parameter is preset with default device parameter
Directioin parameter is inconsistent, and the angle parameter of current device parameter is the most inconsistent with the predetermined angle parameter of default device parameter,
Therefore adjustment parameter corresponding to the first video image of determining can include direction adjust parameter (such as-1, the most in the counterclockwise direction) and
Angle adjustment parameter (such as 180 °).
Certainly, adjust parameter and can also comprise other adjustment parameters, as inclination control parameter, upset control parameter etc., this
Skilled person can be configured according to the actual requirements, and this is not specifically limited by the embodiment of the present invention.
S13: obtain second video image corresponding with the first video image;Wherein, the second video image is in positive direction
On.
In the embodiment of the present invention, after determining adjustment parameter, based on adjusting parameter, the first video image can be adjusted
Whole, it is thus achieved that second video image corresponding with the first video image after adjustment.This process may is that and adjusts parameter based on direction
With angle adjustment parameter, the first video image is carried out rotation processing, corresponding with the first video image be in pros to obtain
To the second video image.
Optionally, when the first video image is processed, parameter and angle adjustment parameter can be adjusted based on direction
First video image carries out rotation processing, and concrete direction of rotation can be to rotate clockwise, it is also possible to is to rotate counterclockwise,
Those skilled in the art can determine according to practical situation, and this is not specifically limited by the embodiment of the present invention.
Such as, with the direction corresponding time upright of mobile phone forward as positive direction, then mobile phone is inverted carry out video record time,
Its first video image generated by camera collection in the first moment as shown in Figure 2 A, wherein, the reference object in image
(i.e. trees and personage) is in inversion state, with coordinate system Y-axis forward as positive direction.Meanwhile, determined by gyro sensor
The directioin parameter that includes of the current device parameter of mobile phone be 1, angle direction parameter is 180 °, i.e. mobile phone is in inverted setting
Standby state.
If presetting preset direction parameter in device parameter is 0, predetermined angle parameter is 0 °, it is determined that adjustment direction in side
Can be+1 to adjusting parameter, angle adjustment parameter can be 180 °, now, when the first video image is processed, and can be by
First video image, according to turn clockwise 180 ° (such as can carry out twice rotation, the most all half-twist), refers to Fig. 2 A
Direction shown in middle curved arrow rotates, it is thus achieved that postrotational second video image, then the second video image is and is in positive direction
On image, as shown in Figure 2 B.
It should be noted that image is being carried out in spinning process, owing to image itself only possesses the integral multiple of 90 °
Rotating, but concrete how many angles start to calculate laterally, how many angles start to calculate is inverted, and can determine according to Product Definition.Example
As, however, it is determined that angle adjustment parameter is in angular range [45 °, 135 °], then can be by the first video image half-twist.
In recorded video image process, by using sensing unit to obtain the device parameter of electronic equipment, so that
Each video image has corresponding device parameter, thus can realize the adjustment to video image based on device parameter so that
The second video image after adjustment is in positive direction, thus improves recorded video later stage display effect when playing.
Optionally, obtaining after the second video image, the second video image will be encoded by electronic equipment, generate and the
The two corresponding video files of video image, and then this video file can be shown.As shown at local terminal, and/or, will
Video file transmission (as by wire transmission mode or wireless transmission method) gives the second electronic equipment, and is set by the second electronics
Standby display video file, wherein, is showing the second video in this video file by electronic equipment and/or the second electronic equipment
During image, the second video image is in positive direction.
Optionally, video image is carried out coding can be as what adjustment process was carried out.Such as, electronic equipment is permissible
In real time to needing the video image adjusted to carry out rotation processing in recording process, and the video image after rotation processing is entered
Row coding.Or, it is also possible to it is the tune of the video image gathered when completing and all of electronic equipment being in non-positive direction
After whole, more unified entrance coding stage, it is thus achieved that corresponding video file, then the video image included in this video file is corresponding
The device parameter that is in positive direction of device parameter.
Second electronic equipment can be the equipment with display device, such as terminal presentation facility etc..Electronic equipment can lead to
Cross wire/wireless mode to be connected with the second electronic equipment foundation such that it is able to the video literary composition through positive direction correction that will record
Part is sent in the second electronic equipment show, so that user obtains preferable viewing effect.
In the embodiment of the present invention, by during recorded video, electronics can be obtained by gyro sensor and set
The directioin parameter of standby current device parameter, i.e. electronic equipment and angle parameter etc., thus based on current device parameter to accordingly
Video image be adjusted so that the video image after Tiao Zhenging rotates in positive direction, it is ensured that the normal play of recorded video,
From regardless of whether which kind of angle electronic equipment direction recording process is, may ensure that the video recorded out is forward, make
The display effect obtaining electronic equipment is preferable, and user's viewing effect is preferable.
Embodiment two
Referring to Fig. 3, provide a kind of electronic equipment in the embodiment of the present invention, this electronic equipment includes the first acquisition module
301, adjusting module 302 and the second acquisition module 303.
First acquisition module 301 is for obtaining the electronic equipment the first video image in recording process, and described electronics
The current device parameter of equipment;Wherein, described current device parameter at least includes characterizing currently setting of described electronic equipment
The directioin parameter of standby state and angle parameter.
Wherein, the first video image can be the electronic equipment any one two field picture during video record.
In actual application, during user uses electronic equipment to carry out video record, the first acquisition module 301 is that is controlled
Imaged collecting unit and sensing unit carry out data acquisition.I.e. the first moment in recording process, set by described electronics
Standby image acquisition units obtains described first video image, and is obtained the current device of described electronic equipment by sensing unit
Parameter.
Adjusting module 302 is used for determining that described current device parameter is inconsistent with default device parameter, based on described currently
Described first video image is adjusted by device parameter;Wherein, described default device parameter can characterize described electronic equipment
Equipment state be the state being in positive direction, described positive direction be described electronic equipment upright time direction.
Optionally, adjusting module 302 may be used for based between described current device parameter and described default device parameter
Deviation, determine the adjustment parameter corresponding with described first video image, based on described adjustment parameter, adjust described first video
Image.
In actual applications, adjusting module 302, when determining adjustment parameter, may is that based on described current device parameter
The deviation between preset direction parameter in middle directioin parameter and described default device parameter, determines the side in described adjustment parameter
To adjusting parameter;And, based on the angle parameter in described current device parameter and the predetermined angle in described default device parameter
The deviation of parameter, determines the angle adjustment parameter in described adjustment parameter.
Additionally, adjusting module 302 can be also used for adjusting parameter and angle adjustment parameter based on described direction, to described the
One video image carries out rotation processing, to obtain second video that be in described positive direction corresponding with described first video image
Image.
Second acquisition module 303 is for obtaining second video image corresponding with described first video image;Wherein, second
Video image is in described positive direction.
Optionally, electronic equipment can also include coding module and sending module;
Wherein, coding module, for described second video image is encoded, generate and described second video image phase
The video file answered;
Operation module, for showing described video file by described electronic equipment, and/or, described video file is sent out
Give the second electronic equipment, and show described video file by described second electronic equipment, wherein, show described video literary composition
During described second video image in part, described second video image is in the positive direction of described second electronic equipment.
Optionally, electronic equipment can also include display module and communication module, and this display module is displayed for
Two video images, communication module may be used for realizing electronic equipment and the connection of the second electronic equipment, as by wire transmission side
Formula (such as optical fiber etc.) or wireless transmission method (such as bluetooth, WLAN etc.), this is not specifically limited by the embodiment of the present invention.
In sum, in the embodiment of the present invention, during electronic equipment recorded video, it is possible to obtain corresponding first and regard
Frequently the current device parameter of image and electronic equipment, and determining that current device parameter is inconsistent with default device parameter, electronics
First video image will be adjusted by equipment based on current device parameter, set owing to default device parameter can characterize this electronics
Standby equipment state is the state being in positive direction, this positive direction be electronic equipment upright time direction, therefore obtain with the
The second video image that one video image is corresponding is the image being in positive direction.Therefore, in actual applications, electronic equipment
When inversion carries out video record, utilize said method that the video image being inverted electronic equipment shooting is adjusted, it is possible to correction
The direction of video image such that it is able to ensure that video image can show according to positive direction, improve the display of recorded video
Effect, enhances Consumer's Experience.
Device embodiment described above is only schematically, and the wherein said unit illustrated as separating component can
To be or to may not be physically separate, the parts shown as unit can be or may not be physics list
Unit, i.e. may be located at a place, or can also be distributed on multiple NE.Can be selected it according to the actual needs
In some or all of module realize the purpose of the present embodiment scheme.Those of ordinary skill in the art are not paying creativeness
Work in the case of, be i.e. appreciated that and implement.
Through the above description of the embodiments, those skilled in the art it can be understood that to each embodiment can
The mode adding required general hardware platform by software realizes, naturally it is also possible to pass through hardware.Based on such understanding, on
State the part that prior art contributes by technical scheme the most in other words to embody with the form of software product, should
Computer software product can store in a computer-readable storage medium, such as ROM/RAM, magnetic disc, CD etc., including some fingers
Make with so that a computer equipment (can be personal computer, server, or the network equipment etc.) performs each and implements
The method described in some part of example or embodiment.
Last it is noted that above example is only in order to illustrate technical scheme, it is not intended to limit;Although
With reference to previous embodiment, the present invention is described in detail, it will be understood by those within the art that: it still may be used
So that the technical scheme described in foregoing embodiments to be modified, or wherein portion of techniques feature is carried out equivalent;
And these amendment or replace, do not make appropriate technical solution essence depart from various embodiments of the present invention technical scheme spirit and
Scope.
Claims (12)
1. the method for adjustment of a video image, it is characterised in that including:
Obtain the electronic equipment the first video image in recording process, and the current device parameter of described electronic equipment;Wherein,
Described current device parameter at least includes directioin parameter and the angle ginseng that can characterize the current device state of described electronic equipment
Number;
Determine that described current device parameter is inconsistent with default device parameter, regard described first based on described current device parameter
Frequently image is adjusted;Wherein, described default device parameter can characterize the equipment state of described electronic equipment for being in pros
To state, described positive direction be described electronic equipment upright time direction;
Obtain second video image corresponding with described first video image;Wherein, the second video image is in described positive direction
On.
Method the most according to claim 1, it is characterised in that described acquisition electronic equipment first regarding in recording process
Frequently image, and the current device parameter of described electronic equipment, including:
In the first moment in recording process, obtain described first video figure by the image acquisition units of described electronic equipment
Picture, and the current device parameter of described electronic equipment is obtained by sensing unit.
Method the most according to claim 2, it is characterised in that described determine that described current device parameter and default equipment are joined
Number is inconsistent, is adjusted described first video image based on described device parameter, including:
Based on the deviation between described current device parameter and described default device parameter, determine and described first video image pair
The adjustment parameter answered;
Based on described adjustment parameter, adjust described first video image.
Method the most according to claim 3, it is characterised in that described set with described based on described current device parameter
Deviation between standby parameter, determines the adjustment parameter corresponding with described first video image, including:
Based on directioin parameter in described current device parameter and inclined between the preset direction parameter in described default device parameter
Difference, determines that the direction in described adjustment parameter adjusts parameter;And
Deviation based on the angle parameter in described current device parameter with the predetermined angle parameter in described default device parameter,
Determine the angle adjustment parameter in described adjustment parameter.
Method the most according to claim 4, it is characterised in that described based on described adjustment parameter, adjusts the first video figure
Picture, including:
Adjust parameter and angle adjustment parameter based on described direction, described first video image is carried out rotation processing, to obtain
Second video image that be in described positive direction corresponding with described first video image.
6. according to the arbitrary described method of claim 1-5, it is characterised in that described method also includes:
Described second video image is encoded, generates and the described second corresponding video file of video image;
Described video file is shown by described electronic equipment, and/or, described video file is sent to the second electronic equipment,
And show described video file by described second electronic equipment;Wherein, described second in showing described video file regards
Frequently, during image, described second video image is in the positive direction of described second electronic equipment.
7. an electronic equipment, it is characterised in that including:
First acquisition module, for obtaining the electronic equipment the first video image in recording process, and described electronic equipment
Current device parameter;Wherein, described current device parameter at least includes the current device state that can characterize described electronic equipment
Directioin parameter and angle parameter;
Adjusting module, is used for determining that described current device parameter is inconsistent with default device parameter, joins based on described current device
Several described first video image is adjusted;Wherein, described default device parameter can characterize the equipment of described electronic equipment
State is the state being in positive direction, described positive direction be described electronic equipment upright time direction;
Second acquisition module, for obtaining second video image corresponding with described first video image;Wherein, the second video figure
As being in described positive direction.
Electronic equipment the most according to claim 7, it is characterised in that described first acquisition module is in recording process
The first moment, obtain described first video image by the image acquisition units of described electronic equipment, and pass through sensing unit
Obtain the current device parameter of described electronic equipment.
Electronic equipment the most according to claim 8, it is characterised in that described adjusting module is used for:
Based on the deviation between described current device parameter and described default device parameter, determine and described first video image pair
The adjustment parameter answered;
Based on described adjustment parameter, adjust described first video image.
Electronic equipment the most according to claim 9, it is characterised in that described adjusting module is used for:
Based on directioin parameter in described current device parameter and inclined between the preset direction parameter in described default device parameter
Difference, determines that the direction in described adjustment parameter adjusts parameter;And
Deviation based on the angle parameter in described current device parameter with the predetermined angle parameter in described default device parameter,
Determine the angle adjustment parameter in described adjustment parameter.
11. electronic equipments according to claim 10, it is characterised in that described adjusting module is used for:
Adjust parameter and angle adjustment parameter based on described direction, described first video image is carried out rotation processing, to obtain
Second video image that be in described positive direction corresponding with described first video image.
12. according to the arbitrary described electronic equipment of claim 7-11, it is characterised in that described electronic equipment also includes:
Coding module, for encoding described second video image, generates and the described second corresponding video of video image
File;
Operation module, for showing described video file by described electronic equipment, and/or, described video file is sent to
Second electronic equipment, and show described video file by described second electronic equipment, wherein, in showing described video file
Described second video image time, described second video image is in the positive direction of described second electronic equipment.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610592099.8A CN106131421A (en) | 2016-07-25 | 2016-07-25 | The method of adjustment of a kind of video image and electronic equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610592099.8A CN106131421A (en) | 2016-07-25 | 2016-07-25 | The method of adjustment of a kind of video image and electronic equipment |
Publications (1)
Publication Number | Publication Date |
---|---|
CN106131421A true CN106131421A (en) | 2016-11-16 |
Family
ID=57289693
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610592099.8A Pending CN106131421A (en) | 2016-07-25 | 2016-07-25 | The method of adjustment of a kind of video image and electronic equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106131421A (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106534211A (en) * | 2016-12-29 | 2017-03-22 | 四川九洲电器集团有限责任公司 | Data transmission method and electronic equipment |
CN106791360A (en) * | 2016-11-22 | 2017-05-31 | 北京疯景科技有限公司 | Generate the method and device of panoramic video |
CN110166768A (en) * | 2019-06-27 | 2019-08-23 | 上海创功通讯技术有限公司 | A kind of image pickup method and device |
CN114267220A (en) * | 2021-12-27 | 2022-04-01 | 林华 | Surgical operation teaching simulation method and system |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101917548A (en) * | 2010-08-11 | 2010-12-15 | 无锡中星微电子有限公司 | Image pickup device and method for adaptively adjusting picture |
CN103873693A (en) * | 2014-03-24 | 2014-06-18 | 惠州Tcl移动通信有限公司 | Method and mobile terminal for automatically correcting photo shooting angle according to gravitational acceleration |
CN104244045A (en) * | 2014-09-28 | 2014-12-24 | 小米科技有限责任公司 | Method and device for controlling displaying of video pictures |
US20150002698A1 (en) * | 2013-06-26 | 2015-01-01 | Fu Tai Hua Industry (Shenzhen) Co., Ltd. | Inclination angle compensation system and method for picture |
CN105744160A (en) * | 2016-02-15 | 2016-07-06 | 广东小天才科技有限公司 | Photographing method and device |
-
2016
- 2016-07-25 CN CN201610592099.8A patent/CN106131421A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101917548A (en) * | 2010-08-11 | 2010-12-15 | 无锡中星微电子有限公司 | Image pickup device and method for adaptively adjusting picture |
US20150002698A1 (en) * | 2013-06-26 | 2015-01-01 | Fu Tai Hua Industry (Shenzhen) Co., Ltd. | Inclination angle compensation system and method for picture |
CN103873693A (en) * | 2014-03-24 | 2014-06-18 | 惠州Tcl移动通信有限公司 | Method and mobile terminal for automatically correcting photo shooting angle according to gravitational acceleration |
CN104244045A (en) * | 2014-09-28 | 2014-12-24 | 小米科技有限责任公司 | Method and device for controlling displaying of video pictures |
CN105744160A (en) * | 2016-02-15 | 2016-07-06 | 广东小天才科技有限公司 | Photographing method and device |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106791360A (en) * | 2016-11-22 | 2017-05-31 | 北京疯景科技有限公司 | Generate the method and device of panoramic video |
CN106534211A (en) * | 2016-12-29 | 2017-03-22 | 四川九洲电器集团有限责任公司 | Data transmission method and electronic equipment |
CN110166768A (en) * | 2019-06-27 | 2019-08-23 | 上海创功通讯技术有限公司 | A kind of image pickup method and device |
CN114267220A (en) * | 2021-12-27 | 2022-04-01 | 林华 | Surgical operation teaching simulation method and system |
CN114267220B (en) * | 2021-12-27 | 2024-01-26 | 林华 | Surgical operation teaching simulation method and system |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10802578B2 (en) | Method for displaying image, storage medium, and electronic device | |
CN107079141B (en) | Image mosaic for 3 D video | |
CN106973228B (en) | Shooting method and electronic equipment | |
CN106162203B (en) | Panoramic video playback method, player and wear-type virtual reality device | |
US20180332222A1 (en) | Method and apparatus for obtaining binocular panoramic image, and storage medium | |
CN108292489A (en) | Information processing unit and image generating method | |
CN111935393A (en) | Shooting method, shooting device, electronic equipment and storage medium | |
US10404915B1 (en) | Method and system for panoramic video image stabilization | |
CN105721703B (en) | A method of panorama positioning and direction are carried out using cell phone apparatus sensor | |
CN105988578A (en) | Interactive video display method, device and system | |
US10977852B2 (en) | VR playing method, VR playing device, and VR playing system | |
CN103795892A (en) | Method and apparatus for processing collected image data | |
CN106131421A (en) | The method of adjustment of a kind of video image and electronic equipment | |
CN107065409A (en) | Trend projection arrangement and its method of work | |
CN206650797U (en) | A kind of Panoramic Warping system | |
CN106791360A (en) | Generate the method and device of panoramic video | |
CN106911889A (en) | Image blur collection and slant correction equipment and its control method | |
CN102572492B (en) | Image processing device and method | |
CN105763829A (en) | Image processing method and electronic device | |
CN106357966A (en) | Panoramic image photographing device and panoramic image acquiring method | |
CN109660723A (en) | A kind of panorama shooting method and device | |
CN107368192A (en) | The outdoor scene observation procedure and VR glasses of VR glasses | |
CN104881526A (en) | Article wearing method and glasses try wearing method based on 3D (three dimensional) technology | |
CN104202531A (en) | Method for aerial shooting and photographing of mobile phone | |
CN105718232A (en) | Display method and display device of arbitrary angle plane rotation |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20161116 |
|
WD01 | Invention patent application deemed withdrawn after publication |