CN107395961A - The restored method and device of a kind of view data - Google Patents
The restored method and device of a kind of view data Download PDFInfo
- Publication number
- CN107395961A CN107395961A CN201710551742.7A CN201710551742A CN107395961A CN 107395961 A CN107395961 A CN 107395961A CN 201710551742 A CN201710551742 A CN 201710551742A CN 107395961 A CN107395961 A CN 107395961A
- Authority
- CN
- China
- Prior art keywords
- view data
- mobile terminal
- image data
- shake track
- track
- 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/68—Control of cameras or camera modules for stable pick-up of the scene, e.g. compensating for camera body vibrations
- H04N23/681—Motion detection
- H04N23/6812—Motion detection based on additional sensors, e.g. acceleration sensors
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N23/00—Cameras or camera modules comprising electronic image sensors; Control thereof
- H04N23/60—Control of cameras or camera modules
- H04N23/68—Control of cameras or camera modules for stable pick-up of the scene, e.g. compensating for camera body vibrations
- H04N23/682—Vibration or motion blur correction
Abstract
The embodiments of the invention provide a kind of restored method of view data and device, and using in the terminal, the mobile terminal has gyroscope, and methods described includes:Gather the first view data and call the gyroscope measurement angular speed;Shake track of the mobile terminal when gathering the first view data is determined using the angular speed;Deblurring processing is carried out to described first image data according to the shake track, obtains the second view data.The gyroscope that mobile terminal routinely configures is multiplexed during the first view data is restored, without additionally configuring special hardware, cost is low, measures shake track of the mobile terminal when gathering the first view data by gyroscope, avoids estimating shake using complicated algorithm, greatly reduce the complexity of restoration disposal, so as to improve the speed of restoration disposal, moreover, shake track is real track, it is higher compared to the accuracy estimated, so as to improve the effect of recovery.
Description
Technical field
The present invention relates to the technical field of communication, restored method and a kind of picture number more particularly to a kind of view data
According to restoring means.
Background technology
With the development of science and technology, the mobile terminal such as mobile phone, tablet personal computer, in the work of people, study, daily exchange
Etc. the utilization rate also more and more higher of each side.
Camera (Camera) is commonly configured with mobile terminal, possess take pictures, camera function, due to camera device
Small, photosensitive area is also small, and during taking pictures, the hand of user may be shaken, and causes the view data of collection to obscure, especially exists
In the half-light environment such as night, due to the deficiency of light, the time for exposure of camera can increase, and the fine jitter of hand is likely to result in
The view data of collection is smudgy.
In order to obtain clearly view data, generally use the following two kinds mode eliminates the influence of shake at present:
1st, optical anti-vibration
In the manner, camera sets independent sensor, and for detecting the shake of mobile terminal, adjustment mirror light is carried out
Compensation, so as to offset the influence that shake is brought.
2nd, electronic flutter-proof
In the manner, fuzzy view data is restored by algorithm.
Because optical anti-vibration needs to customize special hardware, cost is high, more from the situation of electronic flutter-proof.
But this mode needs to estimate shake by the knowledge of priori, for example, it is assumed that fuzzy view data obeys pool
Loose (Poission) distribution, is estimated using maximum likelihood method, is a kind of iterative algorithm based on Bayesian analysis, algorithm is multiple
Miscellaneous, processing speed is slower, moreover, the accuracy estimated is relatively low, causes the effect of recovery poor.
The content of the invention
In view of the above problems, it is above-mentioned slower to fuzzy view data restoration disposal speed in order to solve, the effect of recovery
The problem of poor, the embodiment of the present invention propose a kind of restored method of view data and a kind of recovery dress of corresponding view data
Put.
According to one aspect of the present invention, there is provided a kind of restored method of view data, using in the terminal, institute
Stating mobile terminal has gyroscope, and methods described includes:
Gather the first view data and call the gyroscope measurement angular speed;
Shake track of the mobile terminal when gathering the first view data is determined using the angular speed;
Deblurring processing is carried out to described first image data according to the shake track, obtains the second view data.
Alternatively, it is described that shake rail of the mobile terminal when gathering the first view data is determined using the angular speed
The step of mark, includes:
The angular speed is integrated, obtains attitude angle;
Based on the attitude angle in described first image data location ambiguity position;
The ambiguous location is formed into shake track of the mobile terminal when gathering described first image data.
Alternatively, the attitude angle includes the angle of pitch and yaw angle, described to be based on the attitude angle in described first image
Include in data the step of location ambiguity position:
Focal length during inquiry collection described first image data;
By the tangent value of the angle of pitch and the tangent value of yaw angle composition attitude angle matrix;
By the focal length and the attitude angle matrix multiple, the ambiguous location in described first image data is obtained.
Alternatively, it is described that the ambiguous location is formed into mobile terminal the trembling when gathering described first image data
The step of dynamic rail mark, includes:
Time for exposure during inquiry collection described first image data;
Ambiguous location of the combination within the time for exposure, the mobile terminal is obtained in collection described first image number
According to when shake track.
Alternatively, it is described that deblurring processing is carried out to described first image data according to the shake track, obtain second
The step of view data, includes:
The shake track is arranged to fuzzy core;
Described first image data are deconvoluted based on the fuzzy core and remove noise, obtain the second picture number
According to.
Alternatively, the described the step of shake track is arranged into fuzzy core, includes:
Interpolation processing is carried out to the shake track;
Shake track after interpolation processing is arranged to fuzzy core.
According to another aspect of the present invention, there is provided a kind of restoring means of view data, using in the terminal, institute
Stating mobile terminal has gyroscope, and described device includes:
Image capture module, for gathering the first view data and calling the gyroscope measurement angular speed;
Track determining module is shaken, for determining that the mobile terminal is gathering the first view data using the angular speed
When shake track;
Image deblurring module, for carrying out deblurring processing to described first image data according to the shake track,
Obtain the second view data.
Alternatively, the shake track determining module includes:
Angular speed integrates submodule, for being integrated to the angular speed, obtains attitude angle;
Ambiguous location position submodule, for based on the attitude angle in described first image data location ambiguity position
Put;
Track composition submodule is shaken, first figure is being gathered for the ambiguous location to be formed into the mobile terminal
Shake track during as data.
Alternatively, the attitude angle includes the angle of pitch and yaw angle, and the ambiguous location positioning submodule includes:
Burnt query unit, for inquiring about focal length when gathering described first image data;
Attitude angle matrix component units, for the tangent value of the angle of pitch and the tangent value of the yaw angle to be formed into appearance
State angular moment battle array;
Ambiguous location obtaining unit, for obtaining the focal length and the attitude angle matrix multiple in first figure
As the ambiguous location in data.
Alternatively, the shake track composition submodule includes:
Time for exposure query unit, for inquiring about time for exposure when gathering described first image data;
Ambiguous location assembled unit, for combining the ambiguous location within the time for exposure, obtain described mobile whole
Hold the shake track when gathering described first image data.
Alternatively, described image deblurring module includes:
Fuzzy core sets submodule, for the shake track to be arranged into fuzzy core;
Deconvolute submodule, is made an uproar for described first image data to be deconvoluted and removed based on the fuzzy core
Sound, obtain the second view data.
Alternatively, the fuzzy core sets submodule to include:
Track interpolating unit, for carrying out interpolation processing to the shake track;
Interpolation setting unit, for the shake track after interpolation processing to be arranged into fuzzy core.
The embodiment of the present invention includes advantages below:
The embodiment of the present invention calls gyroscope measurement angular speed, using angular speed while the first view data is gathered
Shake track of the mobile terminal when gathering the first view data is determined, the first fuzzy view data is entered according to shake track
The processing of row deblurring, obtains clearly the second view data, and it is normal that mobile terminal is multiplexed during the first view data is restored
The gyroscope of configuration is advised, without additionally configuring special hardware, cost is low, and mobile terminal is measured in collection first by gyroscope
Shake track during view data, avoid estimating shake using complicated algorithm, greatly reduce the complexity of restoration disposal, from
And the speed of restoration disposal is improved, moreover, shake track is real track, it is higher compared to the accuracy estimated, so as to carry
The high effect restored.
Brief description of the drawings
Fig. 1 is a kind of step flow chart of the restored method of view data of one embodiment of the invention;
Fig. 2 is the step flow chart of the restored method of another view data of one embodiment of the invention;
Fig. 3 is a kind of schematic diagram of the motion blur model of view data of one embodiment of the invention;
Fig. 4 is a kind of schematic diagram of the change for view data Fuzzy Influence of attitude angle of one embodiment of the invention;
Fig. 5 is a kind of schematic diagram of shake track of one embodiment of the invention;
Fig. 6 is a kind of structured flowchart of the restoring means of view data of one embodiment of the invention.
Embodiment
In order to facilitate the understanding of the purposes, features and advantages of the present invention, it is below in conjunction with the accompanying drawings and specific real
Applying mode, the present invention is further detailed explanation.
Reference picture 1, a kind of step flow chart of the restored method of view data of one embodiment of the invention is shown, had
Body may include steps of:
Step 101, gather the first view data and call the gyroscope measurement angular speed.
Step 102, shake track of the mobile terminal when gathering the first view data is determined using the angular speed.
Step 103, deblurring processing is carried out to described first image data according to the shake track, obtains the second image
Data.
In the specific implementation, the embodiment of the present invention can be applied in the terminal, for example, mobile phone, tablet personal computer, can wear
Wear equipment (such as VR (Virtual Reality, virtual reality) glasses, the VR helmets, intelligent watch) etc., the embodiment of the present invention pair
This is not any limitation as.
In the terminal, there is the part such as camera and gyroscope.
The operating system of mobile terminal includes Android (Android), IOS, Windows Phone, Windows etc., can
To support the operation of a variety of applications, for example, map application, game application etc..
Wherein, camera is a kind of collecting device of view data, can be used for taking pictures and shoots, and can be preposition
(i.e. installed in the front of mobile terminal) or rearmounted (i.e. installed in the back side of mobile terminal), the embodiment of the present invention
This is not also any limitation as.
Camera can typically include camera lens (Lens), pedestal (Holder), infrared filter (IR), image sensing processing
The parts such as device (Sensor), circuit board.
Gyroscope can measure angular speed, have high dynamic characteristic, and it is an indirect measurement device, and measurement is angle
Derivative, i.e. angular speed can obtain angle by angular speed to time integral.
These applications can be by calling gyroscope to carry out related business operation, for example, map application can call top
Spiral shell instrument is navigated, and game application can call gyroscope to carry out AR (Augmented Reality, augmented reality) three-dimensional and build
Mould etc..
In embodiments of the present invention, if receiving the enabled instruction of camera, camera can be called to gather the first figure
As data, at the same time (especially in exposure), gyroscope measurement angular speed is called.
Wherein, the enabled instruction of camera refers to the instruction for starting camera, user can by clicking on camera applications, or
Person, press the enabled instruction that the modes such as the physical button specified trigger camera.
It should be noted that gyroscope be not be arranged on camera in sensor, but in mobile terminal one it is general
Sensor, each application can call, to carry out related business operation.
For example, map application can call gyroscope to be navigated, game application can call gyroscope to carry out AR
The three-dimensional modeling of (Augmented Reality, augmented reality), etc..
In embodiments of the present invention, the angular speed measured by gyroscope, it may be determined that mobile terminal is gathering the first figure
During as data, relative to the relative position of some original point, and then form it and shake track, and the track of shake, by this
Deblurring processing can be carried out to the first fuzzy view data by shaking track, obtain clearly the second view data.
The embodiment of the present invention calls gyroscope measurement angular speed, using angular speed while the first view data is gathered
Shake track of the mobile terminal when gathering the first view data is determined, the first fuzzy view data is entered according to shake track
The processing of row deblurring, obtains clearly the second view data, and it is normal that mobile terminal is multiplexed during the first view data is restored
The gyroscope of configuration is advised, without additionally configuring special hardware, cost is low, and mobile terminal is measured in collection first by gyroscope
Shake track during view data, avoid estimating shake using complicated algorithm, greatly reduce the complexity of restoration disposal, from
And the speed of restoration disposal is improved, moreover, shake track is real track, it is higher compared to the accuracy estimated, so as to carry
The high effect restored.
Reference picture 2, the step flow chart of the restored method of another view data of one embodiment of the invention is shown,
Using in the terminal, mobile terminal has gyroscope, and this method specifically may include steps of:
Step 201, gather the first view data and call the gyroscope measurement angular speed.
In embodiments of the present invention, the motion blur model according to view data, fuzzy view data can be regarded as
The synthesis that convolution algorithm adds noise is clearly done between view data and fuzzy core:
Wherein, B represents fuzzy view data, and L represents clearly view data, and K represents fuzzy core, and N represents noise,
Represent convolution algorithm symbol.
For fuzzy view data, B and N are known, and L and K are unknown, can be to fuzzy in order to obtain L
Core K is estimated.
Due to the shake of mobile terminal, same object is caused to appear on the diverse location of the first view data, so as to lead
The fuzzy of view data is caused.
As shown in figure 3, exist a bit (X, Y, Z) in object space (object space) 301, it is mobile whole due to shake
The camera at end is moved on a series of position k (k=1, k=2 ..., k=K, K are positive integer), a series of corresponding to this
Position k (k=1, k=2 ..., k=K), the point (X, Y, Z) on object space 301 is in imaging plane (image plane) 302
Upper generation volume of data point ((x1, y1), (x2, y2) ..., (xK, yK)), form shake track (motion trajectory)
303。
Therefore, fuzzy core is related to the shake of user's hand-held mobile terminal, also referred to as point diffusion track.
In embodiments of the present invention, can be by calling the gyroscope built in mobile terminal to catch the shake of mobile terminal.
Step 202, the angular speed is integrated, obtains attitude angle.
In the specific implementation, the angular speed w of gyroscope output, angular velocity integrated, and can obtain mobile terminal
Attitude angle θ.
Furthermore, the angular speed w of gyroscope output includes the angular speed w in x-axis directionx, angular speed w in y-axisy、z
Angular speed w on axlez。
To the angular speed w in x-axis directionxIntegrated, then can obtain the pitching angle theta that mobile terminal surrounds x-axis rotationx, i.e.,
θx=∫ wxdt。
To the angular speed w in y-axis directionyIntegrated, then can obtain the yaw angle θ that mobile terminal surrounds y-axis rotationy, i.e.,
θy=∫ wydt。
To the angular speed w in z-axis directionzIntegrated, then can obtain the roll angle θ that mobile terminal surrounds z-axis rotationz, i.e.,
θz=∫ wzdt。
Step 203, based on the attitude angle in described first image data location ambiguity position.
(especially exposed in the specific implementation, can be monitored when mobile terminal is gathering the first view data by gyroscope
Light time) motion change, so as to measure the change of the attitude angle of mobile terminal, the change of these attitude angles can correspond to first
Positional information in view data, as ambiguous location.
Furthermore, being multiplied for focal length and the tangent value of attitude angle when gathering the first view data, then can obtain
Ambiguous location in first view data:
pr=ditan(θ)
Wherein, prFor ambiguous location, diTo gather focal length during the first view data, θ is attitude angle.
In one embodiment of the invention, step 203 can include following sub-step:
Sub-step S11, inquiry gather focal length during the first view data.
Sub-step S12, the tangent value of the angle of pitch and the tangent value of the yaw angle are formed into attitude angle matrix.
Sub-step S13, by the focal length and the attitude angle matrix multiple, obtain the mould in described first image data
Paste position.
In actual applications, attitude angle includes pitching angle thetax, yaw angle θyWith roll angle θz, as shown in figure 4, around z-axis
Roll angle θzSensor devices with camera be in the same plane, therefore, roll angle θzChange can't be to the first picture number
According to it is fuzzy cause large effect, however, yaw angle θyWith roll angle θzChange then can be to the fuzzy production of the first view data
Raw large effect.
Therefore, in embodiments of the present invention, with pitching angle thetaxWith yaw angle θyThe fuzzy position being positioned in the first view data
Put, ignore roll angle θz, to reduce operand, processing speed is improved, meanwhile, ensure the accurate rate restored.
Wherein, prFor ambiguous location,For in the ambiguous location in x-axis direction,For in the ambiguous location in y-axis direction, di
To gather focal length during the first view data, θxFor the angle of pitch, θyFor yaw angle.
Step 204, the ambiguous location is formed into shake of the mobile terminal when gathering described first image data
Track.
In the specific implementation, as shown in figure 5, ambiguous location is the location of pixels (pixel in the first view data
Position), by location of pixels composition together, then can as mobile terminal trembling when gathering described first image data
Dynamic rail mark.
In one embodiment of the invention, step 204 can include following sub-step:
Sub-step S21, inquiry gather time for exposure during described first image data.
Sub-step S22, ambiguous location of the combination within the time for exposure, obtains the mobile terminal described in collection
Shake track during the first view data.
In embodiments of the present invention, by the ambiguous location p in time for exposure τrCombine, then can obtain gathering
During view data, the caused shake track due to the shake of mobile terminal:
Wherein,To shake track, prFor ambiguous location.
Step 205, the shake track is arranged to fuzzy core.
In the specific implementation, if the ambiguous location in shake track is more intensive, the shake track can directly be set
For fuzzy core.
If the ambiguous location shaken in track is more sparse, interpolation processing can be carried out to shake track, at interpolation
Shake track after reason is arranged to fuzzy core.
Step 206, described first image data are deconvoluted based on the fuzzy core and removes noise, obtain second
View data.
If having obtained fuzzy core, fuzzy core can be used to calculate clearly the second view data.
Furthermore, the motion blur model according to view data, the first fuzzy view data is gone with fuzzy core
Convolution simultaneously removes noise, then can obtain clearly the second view data.
It should be noted that in some cases, noise can be ignored, you can so that noise is considered as into sky.
In an example of the embodiment of the present invention, Wiener filtering can be used, based on fuzzy core to described first image
Data are deconvoluted and remove noise:
Wherein, F (L) is the discrete Fourier transform of the second view data, and F (K) is the discrete Fourier transform of fuzzy core,
F (B) is the discrete Fourier transform of the first view data, and Φ is signal to noise ratio.
Certainly, the method (i.e. Wiener filtering) of above-mentioned deblurring is intended only as example, can when implementing the embodiment of the present invention
To set the method for other deblurrings according to actual conditions, for example, Lucy-Richardson (LR), etc., the embodiment of the present invention
This is not any limitation as.In addition, in addition to the method for above-mentioned deblurring, those skilled in the art can also adopt according to being actually needed
With the method for other deblurrings, the embodiment of the present invention is not also any limitation as to this.
It should be noted that for embodiment of the method, in order to be briefly described, therefore it is all expressed as to a series of action group
Close, but those skilled in the art should know, the embodiment of the present invention is not limited by described sequence of movement, because according to
According to the embodiment of the present invention, some steps can use other orders or carry out simultaneously.Secondly, those skilled in the art also should
Know, embodiment described in this description belongs to preferred embodiment, and the involved action not necessarily present invention is implemented
Necessary to example.
Reference picture 6, a kind of structured flowchart of the restoring means of view data of one embodiment of the invention is shown, applied
In the terminal, the mobile terminal has gyroscope, and described device can specifically include following module:
Image capture module 601, for gathering the first view data and calling the gyroscope measurement angular speed;
Track determining module 602 is shaken, for determining that the mobile terminal is gathering the first image using the angular speed
Shake track during data;
Image deblurring module 603, for being carried out according to the shake track to described first image data at deblurring
Reason, obtain the second view data.
In one embodiment of the invention, the shake track determining module 602 includes:
Angular speed integrates submodule, for being integrated to the angular speed, obtains attitude angle;
Ambiguous location position submodule, for based on the attitude angle in described first image data location ambiguity position
Put;
Track composition submodule is shaken, first figure is being gathered for the ambiguous location to be formed into the mobile terminal
Shake track during as data.
In one embodiment of the invention, the attitude angle includes the angle of pitch and yaw angle, the ambiguous location positioning
Submodule includes:
Burnt query unit, for inquiring about focal length when gathering described first image data;
Attitude angle matrix component units, for the tangent value of the angle of pitch and the tangent value of the yaw angle to be formed into appearance
State angular moment battle array;
Ambiguous location obtaining unit, for obtaining the focal length and the attitude angle matrix multiple in first figure
As the ambiguous location in data.
In one embodiment of the invention, the shake track composition submodule includes:
Time for exposure query unit, for inquiring about time for exposure when gathering described first image data;
Ambiguous location assembled unit, for combining the ambiguous location within the time for exposure, obtain described mobile whole
Hold the shake track when gathering described first image data.
In one embodiment of the invention, described image deblurring module 603 includes:
Fuzzy core sets submodule, for the shake track to be arranged into fuzzy core;
Deconvolute submodule, is made an uproar for described first image data to be deconvoluted and removed based on the fuzzy core
Sound, obtain the second view data.
In one embodiment of the invention, the fuzzy core sets submodule to include:
Track interpolating unit, for carrying out interpolation processing to the shake track;
Interpolation setting unit, for the shake track after interpolation processing to be arranged into fuzzy core.
For device embodiment, because it is substantially similar to embodiment of the method, so description is fairly simple, it is related
Part illustrates referring to the part of embodiment of the method.
The embodiment of the present invention calls gyroscope measurement angular speed, using angular speed while the first view data is gathered
Shake track of the mobile terminal when gathering the first view data is determined, the first fuzzy view data is entered according to shake track
The processing of row deblurring, obtains clearly the second view data, and it is normal that mobile terminal is multiplexed during the first view data is restored
The gyroscope of configuration is advised, without additionally configuring special hardware, cost is low, and mobile terminal is measured in collection first by gyroscope
Shake track during view data, avoid estimating shake using complicated algorithm, greatly reduce the complexity of restoration disposal, from
And the speed of restoration disposal is improved, moreover, shake track is real track, it is higher compared to the accuracy estimated, so as to carry
The high effect restored.
Each embodiment in this specification is described by the way of progressive, what each embodiment stressed be with
The difference of other embodiment, between each embodiment identical similar part mutually referring to.
It should be understood by those skilled in the art that, the embodiment of the embodiment of the present invention can be provided as method, apparatus or calculate
Machine program product.Therefore, the embodiment of the present invention can use complete hardware embodiment, complete software embodiment or combine software and
The form of the embodiment of hardware aspect.Moreover, the embodiment of the present invention can use one or more wherein include computer can
With in the computer-usable storage medium (including but is not limited to magnetic disk storage, CD-ROM, optical memory etc.) of program code
The form of the computer program product of implementation.
The embodiment of the present invention is with reference to method according to embodiments of the present invention, terminal device (system) and computer program
The flow chart and/or block diagram of product describes.It should be understood that can be by computer program instructions implementation process figure and/or block diagram
In each flow and/or square frame and the flow in flow chart and/or block diagram and/or the combination of square frame.These can be provided
Computer program instructions are set to all-purpose computer, special-purpose computer, Embedded Processor or other programmable data processing terminals
Standby processor is to produce a machine so that is held by the processor of computer or other programmable data processing terminal equipments
Capable instruction is produced for realizing in one flow of flow chart or multiple flows and/or one square frame of block diagram or multiple square frames
The device for the function of specifying.
These computer program instructions, which may be alternatively stored in, can guide computer or other programmable data processing terminal equipments
In the computer-readable memory to work in a specific way so that the instruction being stored in the computer-readable memory produces bag
The manufacture of command device is included, the command device is realized in one flow of flow chart or multiple flows and/or one side of block diagram
The function of being specified in frame or multiple square frames.
These computer program instructions can be also loaded into computer or other programmable data processing terminal equipments so that
Series of operation steps is performed on computer or other programmable terminal equipments to produce computer implemented processing, so that
The instruction performed on computer or other programmable terminal equipments is provided for realizing in one flow of flow chart or multiple flows
And/or specified in one square frame of block diagram or multiple square frames function the step of.
Although having been described for the preferred embodiment of the embodiment of the present invention, those skilled in the art once know base
This creative concept, then other change and modification can be made to these embodiments.So appended claims are intended to be construed to
Including preferred embodiment and fall into having altered and changing for range of embodiment of the invention.
Finally, it is to be noted that, herein, such as first and second or the like relational terms be used merely to by
One entity or operation make a distinction with another entity or operation, and not necessarily require or imply these entities or operation
Between any this actual relation or order be present.Moreover, term " comprising ", "comprising" or its any other variant meaning
Covering including for nonexcludability, so that process, method, article or terminal device including a series of elements are not only wrapped
Those key elements, but also the other element including being not expressly set out are included, or is also included for this process, method, article
Or the key element that terminal device is intrinsic.In the absence of more restrictions, wanted by what sentence "including a ..." limited
Element, it is not excluded that other identical element in the process including the key element, method, article or terminal device also be present.
Restored method to a kind of view data provided by the present invention and a kind of restoring means of view data above, enter
Go and be discussed in detail, specific case used herein is set forth to the principle and embodiment of the present invention, and the above is implemented
The explanation of example is only intended to help the method and its core concept for understanding the present invention;Meanwhile for the general technology people of this area
Member, according to the thought of the present invention, there will be changes in specific embodiments and applications, in summary, this explanation
Book content should not be construed as limiting the invention.
Claims (10)
1. a kind of restored method of view data, it is characterised in that in the terminal, the mobile terminal has gyro for application
Instrument, methods described include:
Gather the first view data and call the gyroscope measurement angular speed;
Shake track of the mobile terminal when gathering the first view data is determined using the angular speed;
Deblurring processing is carried out to described first image data according to the shake track, obtains the second view data.
2. according to the method for claim 1, it is characterised in that described to determine that the mobile terminal exists using the angular speed
The step of shake track when gathering the first view data, includes:
The angular speed is integrated, obtains attitude angle;
Based on the attitude angle in described first image data location ambiguity position;
The ambiguous location is formed into shake track of the mobile terminal when gathering described first image data.
3. according to the method for claim 2, it is characterised in that the attitude angle includes the angle of pitch and yaw angle, the base
Include in the step of attitude angle location ambiguity position in described first image data:
Focal length during inquiry collection described first image data;
By the tangent value of the angle of pitch and the tangent value of yaw angle composition attitude angle matrix;
By the focal length and the attitude angle matrix multiple, the ambiguous location in described first image data is obtained.
4. according to the method for claim 2, it is characterised in that described that the ambiguous location composition mobile terminal exists
Gather described first image data when shake track the step of include:
Time for exposure during inquiry collection described first image data;
Ambiguous location of the combination within the time for exposure, obtains the mobile terminal when gathering described first image data
Shake track.
5. according to the method described in claim 1 or 2 or 3 or 4, it is characterised in that it is described according to it is described shake track to described
First view data carry out deblurring processing, obtain the second view data the step of include:
The shake track is arranged to fuzzy core;
Described first image data are deconvoluted based on the fuzzy core and remove noise, obtain the second view data.
6. according to the method for claim 5, it is characterised in that the described the step of shake track is arranged to fuzzy core
Including:
Interpolation processing is carried out to the shake track;
Shake track after interpolation processing is arranged to fuzzy core.
7. a kind of restoring means of view data, it is characterised in that in the terminal, the mobile terminal has gyro for application
Instrument, described device include:
Image capture module, for gathering the first view data and calling the gyroscope measurement angular speed;
Track determining module is shaken, for determining the mobile terminal when gathering the first view data using the angular speed
Shake track;
Image deblurring module, for carrying out deblurring processing to described first image data according to the shake track, obtain
Second view data.
8. device according to claim 7, it is characterised in that the shake track determining module includes:
Angular speed integrates submodule, for being integrated to the angular speed, obtains attitude angle;
Ambiguous location position submodule, for based on the attitude angle in described first image data location ambiguity position;
Track composition submodule is shaken, for the ambiguous location to be formed into the mobile terminal in collection described first image number
According to when shake track.
9. device according to claim 8, it is characterised in that the attitude angle includes the angle of pitch and yaw angle, the mould
Positioning submodule in paste position includes:
Burnt query unit, for inquiring about focal length when gathering described first image data;
Attitude angle matrix component units, for the tangent value of the angle of pitch and the tangent value of the yaw angle to be formed into attitude angle
Matrix;
Ambiguous location obtaining unit, for obtaining the focal length and the attitude angle matrix multiple in described first image number
Ambiguous location in.
10. device according to claim 8, it is characterised in that the shake track composition submodule includes:
Time for exposure query unit, for inquiring about time for exposure when gathering described first image data;
Ambiguous location assembled unit, for combining the ambiguous location within the time for exposure, obtain the mobile terminal and exist
Gather shake track during described first image data.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710551742.7A CN107395961A (en) | 2017-07-07 | 2017-07-07 | The restored method and device of a kind of view data |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710551742.7A CN107395961A (en) | 2017-07-07 | 2017-07-07 | The restored method and device of a kind of view data |
Publications (1)
Publication Number | Publication Date |
---|---|
CN107395961A true CN107395961A (en) | 2017-11-24 |
Family
ID=60333764
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710551742.7A Pending CN107395961A (en) | 2017-07-07 | 2017-07-07 | The restored method and device of a kind of view data |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107395961A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108322642A (en) * | 2018-01-09 | 2018-07-24 | 青岛海信移动通信技术股份有限公司 | A kind for the treatment of method and apparatus of image data |
CN110290323A (en) * | 2019-06-28 | 2019-09-27 | Oppo广东移动通信有限公司 | Image processing method, device, electronic equipment and computer readable storage medium |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1783939A (en) * | 2004-10-29 | 2006-06-07 | 三洋电机株式会社 | Ringing reduction apparatus and computer-readable recording medium having ringing reduction program recorded therein |
CN101175147A (en) * | 2006-11-01 | 2008-05-07 | 精工爱普生株式会社 | Estimating a point spread function of a blurred digital image using gyro data |
CN102907083A (en) * | 2010-05-21 | 2013-01-30 | 松下电器产业株式会社 | Image capturing apparatus, image processing apparatus, image processing method, and image processing program |
CN103440624A (en) * | 2013-08-07 | 2013-12-11 | 华中科技大学 | Image deblurring method and device based on motion detection |
CN105069753A (en) * | 2015-07-30 | 2015-11-18 | 华中科技大学 | Mobile-terminal-oriented method for restoring blurred image caused by jitter |
-
2017
- 2017-07-07 CN CN201710551742.7A patent/CN107395961A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1783939A (en) * | 2004-10-29 | 2006-06-07 | 三洋电机株式会社 | Ringing reduction apparatus and computer-readable recording medium having ringing reduction program recorded therein |
CN101175147A (en) * | 2006-11-01 | 2008-05-07 | 精工爱普生株式会社 | Estimating a point spread function of a blurred digital image using gyro data |
CN102907083A (en) * | 2010-05-21 | 2013-01-30 | 松下电器产业株式会社 | Image capturing apparatus, image processing apparatus, image processing method, and image processing program |
CN103440624A (en) * | 2013-08-07 | 2013-12-11 | 华中科技大学 | Image deblurring method and device based on motion detection |
CN105069753A (en) * | 2015-07-30 | 2015-11-18 | 华中科技大学 | Mobile-terminal-oriented method for restoring blurred image caused by jitter |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108322642A (en) * | 2018-01-09 | 2018-07-24 | 青岛海信移动通信技术股份有限公司 | A kind for the treatment of method and apparatus of image data |
CN110290323A (en) * | 2019-06-28 | 2019-09-27 | Oppo广东移动通信有限公司 | Image processing method, device, electronic equipment and computer readable storage medium |
CN110290323B (en) * | 2019-06-28 | 2021-09-07 | Oppo广东移动通信有限公司 | Image processing method, image processing device, electronic equipment and computer readable storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11164282B2 (en) | Virtual lens simulation for video and photo cropping | |
CN109064397B (en) | Image stitching method and system based on camera earphone | |
JP5871862B2 (en) | Image blur based on 3D depth information | |
CN105635588B (en) | A kind of digital image stabilization method and device | |
CN106296598B (en) | 3 d pose processing method, system and camera terminal | |
CN109410130A (en) | Image processing method and image processing apparatus | |
CN107223330A (en) | A kind of depth information acquisition method, device and image capture device | |
CN107409206A (en) | Real time calibration for polyphaser wireless device | |
JP2017505004A (en) | Image generation method and dual lens apparatus | |
CN109309796A (en) | The method for obtaining the electronic device of image using multiple cameras and handling image with it | |
WO2022022141A1 (en) | Image display method and apparatus, and computer device and storage medium | |
CN113875220B (en) | Shooting anti-shake method, shooting anti-shake device, terminal and storage medium | |
US11042984B2 (en) | Systems and methods for providing image depth information | |
CN106210547A (en) | A kind of method of pan-shot, Apparatus and system | |
CN108876725A (en) | A kind of virtual image distortion correction method and system | |
JP6645245B2 (en) | Spherical shooting system | |
KR20210028218A (en) | Image processing methods and devices, electronic devices and storage media | |
CN105376484A (en) | Image processing method and terminal | |
CN107809590A (en) | A kind of photographic method and device | |
CN109922267A (en) | Image stabilization processing method, computer installation and computer readable storage medium based on gyro data | |
CN106357966A (en) | Panoramic image photographing device and panoramic image acquiring method | |
WO2017173933A1 (en) | Object image display method, device, and system | |
CN106648098A (en) | User-defined scene AR projection method and system | |
CN108958483A (en) | Rigid body localization method, device, terminal device and storage medium based on interaction pen | |
TW202029728A (en) | Electronic device and image stabilizing method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20171124 |
|
RJ01 | Rejection of invention patent application after publication |