CN103379258B - Utilize method and the image acquiring device thereof of rotation process auxiliary video compress - Google Patents

Utilize method and the image acquiring device thereof of rotation process auxiliary video compress Download PDF

Info

Publication number
CN103379258B
CN103379258B CN201210118876.7A CN201210118876A CN103379258B CN 103379258 B CN103379258 B CN 103379258B CN 201210118876 A CN201210118876 A CN 201210118876A CN 103379258 B CN103379258 B CN 103379258B
Authority
CN
China
Prior art keywords
reference picture
rotation
current
angle information
image acquiring
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.)
Active
Application number
CN201210118876.7A
Other languages
Chinese (zh)
Other versions
CN103379258A (en
Inventor
黄士嘉
陈柏豪
郭斯彦
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Acer Inc
Original Assignee
Acer Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Acer Inc filed Critical Acer Inc
Priority to CN201210118876.7A priority Critical patent/CN103379258B/en
Publication of CN103379258A publication Critical patent/CN103379258A/en
Application granted granted Critical
Publication of CN103379258B publication Critical patent/CN103379258B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Compression Or Coding Systems Of Tv Signals (AREA)

Abstract

The present invention provides a kind of method utilizing rotation process auxiliary video compress and image acquiring device thereof.The method includes the rotation process detecting image acquiring device, and calculates the anglec of rotation that this rotation process is formed.Utilize this anglec of rotation to rotate image acquiring device thus shoot a current picture.Moreover, it is judged that whether reference picture inventory stored by image acquiring device exists the reference picture with rotation angle information.If not, vector in rotary moving is calculated according to this anglec of rotation, and to distinguish current picture be multiple current blocks, it is utilized respectively this vector in rotary moving first reference picture search in reference picture inventory coupling block corresponding to current block for each current block, and compresses the picture data of current picture according to this.

Description

Utilize method and the image acquiring device thereof of rotation process auxiliary video compress
Technical field
The invention relates to a kind of video-frequency compression method and image acquiring device, and in particular to a kind of method utilizing rotation process auxiliary video compress and image acquiring device thereof.
Background technology
It is indebted to the lifting of network transmission technology and multimedia technology, the propagation of information has been transformed into word and a large amount of pictures by pure words and has deposited, further develop into the multimedia video information combining image with sound, prosperity plus social network sites (socialnetwork) in recent years, many people all can be by various multimedia video files passe to social network sites, in order to carry out sharing or discussing with friend.
But, for the data volume transmitted needed for various multimedia video files, the data volume of video image is the biggest, and the increase along with various camera resolution, the data volume of its acquired video pictures is substantially improved especially, if uncompressed processes, it will cause the biggest congested and time delay on network, so be used mostly the technology of data compression when storing or transmit multimedia video file.
Change between compression and each the picture of above-mentioned video pictures has absolute relation, general amount of movement estimation (motionestimation) is crucial technology, block coupling is then the most frequently used algorithm realizing amount of movement estimation, and squeezed data according to this.It is said that in general, amount of movement estimation often need to spend sizable calculating resource and time, and the content of video pictures often can affect the accuracy of estimation.For example, if the scene of video pictures changes or the shooting angle of camera or camera site change, it will cause the violent variation between each video pictures so that the usefulness of amount of movement estimation greatly declines.
Summary of the invention
In view of this, the present invention provides a kind of method utilizing rotation process auxiliary video compress and image acquiring device thereof, the picture captured by image acquiring device can be controlled according to the rotation process correspondence of user, and utilize this rotation process to promote efficiency and the accuracy of amount of movement estimation.
The present invention provides a kind of method utilizing rotation process auxiliary video compress, it is adaptable to image acquiring device, the method comprises the following steps.First, the rotation process that detection image acquiring device is received, and calculate the anglec of rotation that this rotation process is formed.Then, utilize this anglec of rotation to rotate image acquiring device thus shoot a current picture (currentframe), and this anglec of rotation is saved as current angle information.Moreover, it is judged that whether reference picture inventory (referenceframelist) stored by image acquiring device exists the reference picture with rotation angle information.If not, vector in rotary moving is calculated for function with this anglec of rotation, and to distinguish current picture be multiple current blocks, it is utilized respectively this vector in rotary moving first reference picture search in reference picture inventory coupling block (MatchingBlock corresponding to each current block for each current block, MB), and according to this compress the picture data of each current block and corresponding coupling block.
In one embodiment of this invention, the above-mentioned method utilizing rotation process auxiliary video compress also includes updating reference picture inventory.Wherein, current picture is saved as the second reference picture in reference picture inventory, and current angle information is stored in the rotation angle information that the second reference picture is corresponding.
In one embodiment of this invention, judge that the storage area of reference picture inventory is the fullest if above-mentioned, then the rotation angle information of self-reference picture inventory is found threeth reference picture most like with current angle information.And delete the 3rd reference picture and the rotation angle information having thereof, and current picture and current angle information are stored in reference picture inventory.
In one embodiment of this invention, judge reference picture inventory also exists the reference picture with rotation angle information if above-mentioned, the most also comprise the following steps.Finding the 4th reference picture in self-reference picture inventory, the rotation angle information that wherein the 4th reference picture has is less than a preset value with the differential seat angle of current angle information.Then, distinguishing the 4th reference picture is multiple reference block.And calculate the difference summation of each current block and the brightness value of the multiple pixels in corresponding reference block respectively, and compare with a threshold value respectively.Wherein, if the difference summation having N number of current block is not more than threshold value, then perform mobile estimating (motionestimation) with the relative position of current block for starting point, thus search for the coupling block corresponding to each current block at the 4th reference picture, and compress current block and the corresponding picture data mating block according to this, wherein N is the positive integer more than 1.
In one embodiment of this invention, above-mentioned also include updating this reference picture inventory after performing the step of mobile estimating.Wherein, if the rotation angle information that the 4th reference picture has is same as current angle information, then deletes the 4th reference picture and the rotation angle information having thereof, and current picture and current angle information are stored in reference picture inventory.
In one embodiment of this invention, the rotation process that above-mentioned detection image acquiring device is received, and the step calculating the anglec of rotation that this rotation process is formed includes detecting the touching rotation process that the touch screen on image acquiring device is received, and calculate the anglec of rotation that this touching rotation process is formed.
In one embodiment of this invention, the rotation process that above-mentioned detection image acquiring device is received, and the step calculating the anglec of rotation that this rotation process is formed includes that the three-dimensional rotation received by displacement detection module detection image acquiring device is operated, thus calculate this three-dimensional rotation and operate the anglec of rotation formed.
The present invention provides again a kind of image acquiring device, and it includes camera lens module, detection module, memory element and control unit.Wherein, detection module is in order to detect rotation process.Memory element is in order to store reference picture inventory.Control unit is coupled to camera lens module, detection module and memory element.Control unit, in order to calculate the anglec of rotation that rotation process is formed, utilizes this anglec of rotation control camera lens module to carry out rotating thus shoots a current picture, and this anglec of rotation is saved as current angle information.Wherein, control unit judge whether to also exist in the reference picture inventory stored by memory element a reference picture with rotation angle information.If it is not, then calculate a vector in rotary moving with this anglec of rotation for function.Furthermore, distinguishing current picture is multiple current blocks, utilize this vector in rotary moving to search for the coupling block corresponding to each current block in the first reference picture of reference picture inventory for each current block, and compress the picture data of current block and corresponding coupling block according to this.
In one embodiment of this invention, above-mentioned image acquiring device also includes the amount of movement estimation unit being coupled to control unit.If finding the 4th reference picture in control unit self-reference picture inventory, the rotation angle information that wherein the 4th reference picture has is less than a preset value with the differential seat angle of current angle information, then distinguishing the 4th reference picture is multiple reference block.And calculate the difference summation of each current block and the brightness value of the multiple pixels in corresponding reference block respectively, and compare with a threshold value respectively.Wherein, if the difference summation having N number of current block is not more than threshold value, then amount of movement estimation unit performs mobile estimating with the relative position of current block for starting point, and provides the coupling block corresponding to each current block performing mobile estimating gained to control unit.Compressed the picture data of current block and corresponding coupling block according to this by control unit, wherein N is the positive integer more than 1.
In one embodiment of this invention, above-mentioned image acquiring device also includes the touch screen coupling detection module.The touching rotation process that detection module detection touch screen is received, and this touching rotation process is supplied to control unit, calculate the anglec of rotation that this touching rotation process is formed according to this.
In one embodiment of this invention, above-mentioned image acquiring device also includes the displacement detection module coupling control unit.The three-dimensional rotation operation that displacement detection module detection image acquiring device is received, thus provide control unit to calculate this three-dimensional rotation and operate the anglec of rotation formed.
In sum, the method of rotation process provided by the present invention auxiliary video compress and image acquiring device thereof, can control, according to the rotation process correspondence of user, the picture that the camera lens of image acquiring device to be obtained, user is not required to directly move image acquiring device.Additionally, utilize above-mentioned rotation process can calculate vector in rotary moving further thus accelerate to mate the search of block, accordingly, efficiency and the accuracy of amount of movement estimation, and auxiliary compression video pictures according to this can be promoted.
For the features described above of the present invention and advantage can be become apparent, special embodiment below, and coordinate accompanying drawing to be described in detail below.
Accompanying drawing explanation
Fig. 1 is the block chart according to the image acquiring device depicted in one embodiment of the invention;
Fig. 2 is according to a kind of method flow diagram utilizing rotation process auxiliary video compress depicted in one embodiment of the invention;
Fig. 3 A is according to a kind of schematic diagram carrying out on the touchscreen touching rotation process depicted in one embodiment of the invention;
Fig. 3 B is the schematic diagram carrying out touching rotation process according to the another kind depicted in one embodiment of the invention on the touchscreen;
Fig. 4 is according to a kind of schematic diagram utilizing the anglec of rotation to control current picture captured after image acquiring device rotates depicted in one embodiment of the invention;
Fig. 5 is the block chart according to the image acquiring device depicted in another embodiment of the present invention;
Fig. 6 is according to a kind of method flow diagram utilizing rotation process auxiliary video compress depicted in another embodiment of the present invention;
Fig. 7 is the schematic diagram according to a kind of reference picture inventory depicted in another embodiment of the present invention.
Description of reference numerals:
100,500: image acquiring device;
110: camera lens module;
120: detection module;
130: memory element;
140: control unit;
142: amount of movement estimation unit;
150: touch screen;
560: displacement detection module;
700: reference picture inventory;
A, B, A ', B ', C, D, D ': touch points;
CB: block at present;
W: horizontal width;
L: vertical length;
D1~d3: the direction of arrow;
F1: previous picture;
F2: picture at present;
MV1, MV2: motion-vector;
Ref1~refn: reference picture;
Tri1~tri4: triangular form region;
θ, θ 1~θ k, α: anglec of rotation;
S210~S240: each step of a kind of method utilizing rotation process auxiliary video compress;
S610~S670: another kind utilizes each step of the method for rotation process auxiliary video compress.
Detailed description of the invention
Fig. 1 is the block chart according to the image acquiring device depicted in one embodiment of the invention.The image acquiring device of the present embodiment e.g. digital camera, monitoring camera, roll film camera or other may be used to video recording image acquiring device, be not limited to above-mentioned.Refer to Fig. 1, image acquiring device 100 includes camera lens module 110, detection module 120, memory element 130 and control unit 140, additionally, image acquiring device 100 may also include touch screen 150.Its function is described below:
Camera lens module 110 e.g. comprises optics tight shot or Zoom optic lens, and charge coupled cell (ChargeCoupledDevice, or complementary metal oxide semiconductor (ComplementaryMetal-OxideSemiconductor CCD), CMOS) module of the photo-sensitive cell such as element, the camera lens module 110 that the present embodiment is used can controlled unit 140 signal control and carry out the spin of different angles change, can be used to shoot the video pictures of different angles.
Detection module 120 is in order to detect user produced triggering signal when carrying out trigger action.So-called trigger action includes following several different embodiment: in the present embodiment, image acquiring device 100 includes the touch screen 150 being coupled to detection module 120, and therefore detection module 120 may be used to detect the touching rotation process that user is carried out on touch screen 150;If image acquiring device 100 includes speech identifying function, then user may utilize voice and carries out trigger action, and detection module 120 then may be used to detect voice content.Therefore, detection module 120 is designed by the function that collocation image acquiring device 100 is had, and is not limited to above-mentioned.
Fixed or the packaged type random access memory (RandomAccessMemory of memory element 130 e.g. arbitrarily pattern, RAM), flash memory (Flashmemory), hard disk etc., and may be used to store reference picture inventory and video pictures.
Control unit 140 is coupled to each module of image acquiring device 100, its e.g. CPU (CentralProcessingUnit, CPU), microprocessor (Microprocessor), digital signal processor (DigitalSignalProcessor, DSP), Programmable Logic Controller, special IC (ApplicationSpecificIntegratedCircuits, ASIC) or other similar devices, its all working that may be used to calculate, manage and control image acquiring device 100.
Touch screen 150 is e.g. by liquid crystal display (LiquidCrystalDisplay, or light emitting diode (Light-EmittingDiode LCD), LED) display such as display, and the contact panel such as resistance-type or condenser type combines, it can provide display and touching operating function simultaneously.
Fig. 2 is according to a kind of method flow diagram utilizing rotation process auxiliary video compress depicted in one embodiment of the invention.The method of the present embodiment is applicable to the image acquiring device 100 of Fig. 1, the most i.e. each component in collocation image acquiring device 100 illustrates the detailed step of the present embodiment auxiliary video-frequency compression method:
Referring to Fig. 1 and Fig. 2, as shown in step S210, detection module 120 detects the rotation process that image acquiring device 100 is received, and is supplied to control unit 140 and calculates the anglec of rotation that this rotation process is formed.In the present embodiment, image acquiring device 100 has a touch screen 150, and therefore, detection module 120 is to detect the touching rotation process that touch screen 150 is received.E.g. utilized hands produced touching rotation process on touch screen 150 by a user.
In more detail, Fig. 3 A is according to a kind of schematic diagram carrying out on the touchscreen touching rotation process depicted in one embodiment of the invention.Refer to Fig. 3 A, assume that user is to use double fingering row touching rotation process simultaneously, first the i.e. double finger of user is respectively placed in touch points A on touch screen 150 and touch points B, and slides into touch points A respectively in accordance with direction of arrow d1 and d2 towing ' and touch points B ' just double fingers are left touch screen 150 afterwards.Detection module 120 is such as by touch points A, B, A ', the position of B ' be supplied to control unit 140;Or detection module 120 directly provides the line between control unit 140 touch points A, B and touch points A ', link information between B ', in order to allow control unit 140 calculate anglec of rotation θ.
Fig. 3 B is the schematic diagram carrying out touching rotation process according to the another kind depicted in one embodiment of the invention on the touchscreen.Refer to Fig. 3 B, assume that user is to use double fingering row touching rotation process simultaneously, first the i.e. double finger of user is respectively placed in touch points C on touch screen 150 and touch points D, and refer to that towing slides into touch points D according to direction of arrow d3 by wherein one ' (another refers to be fixed on touch points C simultaneously), the most double fingers are left touch screen 150.Detection module 120 is such as by touch points C, D, D ' position be supplied to control unit 140;Or detection module 120 directly provides about the line between touch points C, D and the link information between touch points C, D ' to control unit 140, in order to allow control unit 140 calculate anglec of rotation α.
Therefore, the present invention be not limiting as touch rotation process form, every touching drag operation that may be used to produce an anglec of rotation, all can be as the alternate embodiment of the present invention.Next, as described in step S220, the camera lens module 110 that control unit 140 utilizes the above-mentioned anglec of rotation to control image acquiring device 100 rotates, thus shoots a current picture (currentframe), and this anglec of rotation is saved as current angle information.In detail, Fig. 4 is according to a kind of schematic diagram utilizing the anglec of rotation to control current picture captured after image acquiring device rotates depicted in one embodiment of the invention.Refer to Fig. 4, the image that camera lens module 110 is clapped before rotation is previous picture f1, it is assumed that the present embodiment receives the touching rotation process such as Fig. 3 A, and therefore camera lens module 110 shooting after rotating according to anglec of rotation θ obtains a current picture f2.And anglec of rotation θ i.e. saves as current angle information.
In step S230, control unit 140 judges whether reference picture inventory (referenceframelist) stored in the memory element 130 of image acquiring device 100 exists the reference picture with rotation angle information.Wherein, reference picture inventory is in the video pictures obtained captured by previous different time points for image acquiring device 100, generally speaking, reference picture inventory can be dynamically to update, that is constantly obtain new video pictures over time when image acquiring device 100, and multiple reference pictures stored in reference picture inventory also can update in time.Furthermore, reference picture inventory such as can store 16 reference pictures simultaneously or store 32 reference pictures simultaneously, can be set according to practical situation by user.
If the reference picture stored by reference picture inventory does not have rotation angle information, then subsequent steps S240, vector in rotary moving is calculated for function with this anglec of rotation, and to distinguish current picture be multiple current blocks, it is utilized respectively this vector in rotary moving first reference picture search in reference picture inventory coupling block (MatchingBlock corresponding to each current block for each current block, MB), and according to this compress the picture data of each current block and corresponding coupling block.
Specifically, the absolute position assuming the at present block CB place of in Fig. 4 is (Xpos, Ypos), and assume that in current block CB previously picture f1, the known motion-vector of correspondence position is MV1 and its coordinate is (x, y), the present invention not searches for coupling block using the known motion-vector MV1 before rotation as reference value, but calculate new vector M V2 in rotary moving and its coordinate for (x ', y ') with above-mentioned anglec of rotation θ for function, above-mentioned Xpos, Ypos, x, y, x ', y ' is all integer, and its conversion formula is as follows:
x ′ y ′ = cos θ - sin θ sin θ cos θ x y - - - ( 1 )
After trying to achieve vector M V2 in rotary moving, just can distinguish current picture is multiple current blocks, it is utilized respectively vector M V2 in rotary moving first reference picture (the previous picture f1 as shown in Figure 4) search in the reference picture inventory coupling block corresponding to each current block for each current block, and compresses the picture data of each current block and corresponding coupling block according to this.Due to the present invention in view of postrotational video pictures for the impact of motion-vector, the speed of search Matching band block algorithm can be substantially improved hence with vector M V2 in rotary moving.
But should be noted that, delta-shaped region tri1~tri4 as shown in Figure 4 is due to video pictures accessed after rotating, and said method cannot be used to utilize in vector M V2 in rotary moving previously picture f1 find coupling block.Therefore, in order to avoid delta-shaped region tri1~tri4 that cannot accurately estimate, can limit the scope of vector M V2 in rotary moving via following equation, its formula is as follows:
X "=Clip (Xpos+x ', 0, W)
Y " and=Clip (Ypos+y ', 0, L) (2)
Wherein, W is the horizontal width of previous picture f1, L is the vertical length of previous picture f1, coordinate (x "; y ") it is the vector in rotary moving after restriction scope, function Clip is to allow coordinate (x ", y ") meet 0≤condition of (x "=Xpos+x ')≤W and 0≤(y "=Ypos+y ')≤L.
In addition to the scope of above-mentioned restriction vector in rotary moving, the present invention also provide for another kind of solution for the motion-vector estimation of delta-shaped region tri1~tri4, and the most i.e. with another embodiment, the present invention will be described.
Fig. 5 is the block chart according to the image acquiring device depicted in another embodiment of the present invention.In the present embodiment, image acquiring device 500, in addition to including camera lens module 110, detection module 120, memory element 130, control unit 140 and touch screen 150, also includes amount of movement estimation unit 142 and displacement detection module 560.Wherein, displacement detection module 560 is coupled to control unit 140, its e.g. acceleration transducer (G-sensor), inclination sensor (tiltsensor) or gyro sensor (Gyrosensor).
Fig. 6 is according to a kind of method flow diagram utilizing rotation process auxiliary video compress depicted in another embodiment of the present invention.The function mode of image acquiring device 500 will be described with Fig. 6 below.Referring to Fig. 5 and Fig. 6.
First, the detection rotation process that received of image acquiring device 500, and be supplied to control unit 140 and calculate the anglec of rotation (step S610) that this rotation process is formed.It should be noted that, assume that touch screen 150 in the present embodiment is touch screen that is turning or that rotate, then displacement detection module 560 may be used to detect the tilt variation of touch screen 150, various speed or acceleration information etc., therefore the present embodiment is in addition to being received a touching drag operation by touch screen 150 thus calculated the anglec of rotation of a plane, and the information provided also by displacement detection module 560 is to calculate a three-dimensional rotation angle of touch screen 150.
Then, the camera lens module 110 that control unit 140 utilizes the above-mentioned anglec of rotation to control image acquiring device 100 rotates, thus shoots a current picture, and this anglec of rotation saves as current angle information (step S620).Wherein, camera lens module 110 can carry out two-dimentional spin or three-dimensional rotation by corresponding touch screen 150.
Afterwards, whether reference picture inventory (referenceframelist) stored during control unit 140 judges the memory element 130 of image acquiring device 100 exists the reference picture (step S630) with rotation angle information.If it is not, then subsequent steps S640.Above-mentioned steps S610~S640 are same or like with step S210 of previous embodiment~S240, therefore its detailed content does not repeats them here.
Unlike previous embodiment, if the reference picture inventory of the present embodiment is implicitly present in the reference picture with rotation angle information, self-reference picture inventory then finds a reference picture, and the differential seat angle of the rotation angle information that has of this reference picture and current angle information is less than a preset value (step S650).
Specifically, Fig. 7 is the schematic diagram according to a kind of reference picture inventory depicted in another embodiment of the present invention.Refer to Fig. 7, reference picture inventory 700 has n and opens reference picture, and n is a positive integer.Wherein, reference picture ref1 is set as previous picture (previousframe), i.e. classifies according to the acquisition time, and previous picture is the reference picture obtaining time point closest to current picture.In other words, often one new current picture of shooting, previous picture will constantly do and update.Additionally, reference picture ref2 then has a rotation angle information (that is, anglec of rotation θ 1), which represent reference picture ref2 is the captured video pictures obtained after camera lens module 110 is according to the rotation of anglec of rotation θ 1;Reference picture ref3 also has a rotation angle information (that is, anglec of rotation θ 2), and which represent reference picture ref3 is the captured video pictures obtained after camera lens module 110 is according to the rotation of anglec of rotation θ 2;The rest may be inferred for remaining.
The method finding reference picture according to the example above explanation step S650.Assume that the anglec of rotation shown by current angle information is 30 degree, in the present embodiment, if default settings is 5 degree, then represent that must find rotation angle information from reference picture inventory 700 shows the reference picture between 25 degree to 35 degree, if there are multiple reference pictures all to meet above-mentioned condition simultaneously, then choose most like with a current angle information reference picture (that is, the 4th reference picture), such as, may select the anglec of rotation and be similarly the reference picture of 30 degree.Wherein, preset value can be set according to practical situation by those skilled in the art.
Next, in step S660, just the 4th reference picture is divided into multiple reference block.And calculate the difference summation of each current block and the brightness value of the multiple pixels in corresponding reference block respectively, and compare with a threshold value respectively.In one embodiment, assume that most reference block is all not more than threshold value with the difference summation of current block, then amount of movement estimating module 142 is utilized to perform mobile estimating (motionestimation) with the relative position of current block for starting point, thus in reference picture, search for the coupling block corresponding to each current block, and compress the picture data of current block and corresponding coupling block according to this.
But, should be noted that, if assuming, the reference block having more than some (such as: half) the difference summation with current block is all more than threshold value, although then representing that reference picture and current picture are by the video pictures captured by the identical anglec of rotation, but scene being shot may have occurred and that change (scenechange), difference sum variation just can be caused violent, therefore the estimating and measuring method using the vector in rotary moving described in previous embodiment will be changed.Accordingly, the present invention is not required to know scene content being shot in advance, and the method for the present embodiment can be used to judge.
Finally, after performing the step of mobile estimating, it is necessary to update reference picture inventory (step S670).If subsequent steps S640, owing to the reference picture inventory of step S640 wouldn't exist any reference picture with rotation angle information, therefore update method only needs current picture is stored in reference picture ref1 (i.e., previous picture) and current picture is separately stored in reference picture ref2~refn one of them, record simultaneously correspondence current angle information.If the storage area of reference picture ref2~refn is the fullest, then the rotation angle information of self-reference picture inventory is found threeth reference picture most like with current angle information, the most i.e. finds the reference picture that anglec of rotation difference is minimum.Delete the 3rd reference picture and the rotation angle information having thereof, and current picture and current angle information are stored in reference picture inventory.
On the other hand, if subsequent steps S660, then represent in reference picture inventory and there is the reference picture with rotation angle information, the most in one embodiment, if the rotation angle information that the 4th reference picture in reference picture inventory has is same as current angle information, the most directly delete the 4th reference picture and the rotation angle information having thereof, and current picture and current angle information are stored in reference picture inventory.In another embodiment, if storage area is the fullest, then delete the reference picture used in step S660, and correspondence is stored in current picture and current angle information.Current picture and current angle information are then directly stored in storable position in reference picture inventory by remaining situation.
In sum, the present invention can be according to user by controlling the camera lens of image acquiring device to the rotation process correspondence of touch screen, therefore user is not required to directly move image acquiring device, simplifies the degree of difficulty of operation for being applied to large-scale not easily shifted video recording equipment.The search of existing coupling block does not consider the shooting angle of camera lens between video pictures, therefore needs to spend more calculating resource and time for mobile estimation.But, the present invention utilizes above-mentioned rotation process can calculate vector in rotary moving further and uses the search accelerating coupling block, therefore can promote efficiency and the accuracy of amount of movement estimation.Finally, rotation angle information corresponding for reference picture is recorded in reference picture inventory simultaneously, also improves the accuracy of amount of movement estimation and may be used to auxiliary compression video pictures.
Last it is noted that various embodiments above is only in order to illustrate technical scheme, it is not intended to limit;Although the present invention being described in detail with reference to foregoing embodiments, it will be understood by those within the art that: the technical scheme described in foregoing embodiments still can be modified by it, or the most some or all of technical characteristic is carried out equivalent;And these amendments or replacement, do not make the essence of appropriate technical solution depart from the scope of various embodiments of the present invention technical scheme.

Claims (14)

1. the method utilizing rotation process auxiliary video compress, it is characterised in that being applicable to an image acquiring device, the method comprises the following steps:
Detect the rotation process that this image acquiring device is received, and calculate the anglec of rotation that this rotation process is formed;
Utilize this anglec of rotation to rotate a camera lens module of this image acquiring device to shoot a current picture, and this anglec of rotation is saved as a current angle information;
Judge whether the reference picture inventory stored by this image acquiring device exists a reference picture with a rotation angle information;And
If not, a vector in rotary moving is calculated for function with this anglec of rotation, and to distinguish this current picture be multiple current blocks, utilize the one first reference picture search in this reference picture inventory of this vector in rotary moving to mate block corresponding to the one of respectively this current block for respectively this current block, and compress the picture data of this current block and this corresponding coupling block according to this.
The method utilizing rotation process auxiliary video compress the most according to claim 1, also includes:
Update this reference picture inventory, wherein:
This current picture is saved as one second reference picture in this reference picture inventory, and this current angle information is stored in this rotation angle information that this second reference picture is corresponding.
The method utilizing rotation process auxiliary video compress the most according to claim 2, wherein:
If judging, the storage area of this reference picture inventory is the fullest, finds one threeth reference picture most like with this current angle information in this rotation angle information of this reference picture inventory;And
Delete the 3rd reference picture and this rotation angle information having thereof, and this current picture and this current angle information are stored in this reference picture inventory.
The method utilizing rotation process auxiliary video compress the most according to claim 1, if wherein judging to there is this reference picture with this rotation angle information in this reference picture inventory, also includes:
Finding one the 4th reference picture in this reference picture inventory, this rotation angle information that wherein the 4th reference picture has is less than a preset value with the differential seat angle of this current angle information;
Distinguishing the 4th reference picture is multiple reference block;
Calculate a difference summation of respectively this current block and the brightness value of the multiple pixels in this corresponding reference block respectively, and compare with a threshold value respectively;And
If this difference summation having N number of current block is not more than this threshold value, a mobile estimating is performed for starting point with the relative position of this current block, thus search for this coupling block corresponding to respectively this current block at the 4th reference picture, and compress the picture data of this current block and this corresponding coupling block according to this, wherein N is the positive integer more than 1.
The method utilizing rotation process auxiliary video compress the most according to claim 4, wherein also includes after performing this mobile estimating:
Update this reference picture inventory, wherein:
If this rotation angle information that the 4th reference picture has is same as this current angle information, directly deletes the 4th reference picture and this rotation angle information having thereof, and this current picture and this current angle information are stored in this reference picture inventory.
The method utilizing rotation process auxiliary video compress the most according to claim 1, wherein detects this rotation process that this image acquiring device is received, and the step calculating this anglec of rotation that this rotation process is formed includes:
Detect the touching rotation process that the touch screen on this image acquiring device is received, and calculate this anglec of rotation that this touching rotation process is formed.
The method utilizing rotation process auxiliary video compress the most according to claim 1, wherein detects this rotation process that this image acquiring device is received, and the step calculating this anglec of rotation that this rotation process is formed includes:
Detect, by a displacement detection module, the three-dimensional rotation operation that this image acquiring device is received, thus calculate this three-dimensional rotation and operate this anglec of rotation formed.
8. an image acquiring device, it is characterised in that including:
One camera lens module;
One detection module, detects a rotation process;
One memory element, stores a reference picture inventory;And
One control unit, couple this camera lens module, this detection module and this memory element, calculate the anglec of rotation that this rotation process is formed, utilize this anglec of rotation to control this camera lens module and carry out rotating thus shoot a current picture, and this anglec of rotation is saved as a current angle information, wherein:
This control unit judges whether there is a reference picture with a rotation angle information in this reference picture inventory stored by this memory element, if not, a vector in rotary moving is calculated for function with this anglec of rotation, and to distinguish this current picture be multiple current blocks, utilize this vector in rotary moving to search for the coupling block corresponding to respectively this current block in one first reference picture of this reference picture inventory for respectively this current block, and compress the picture data of this current block and this corresponding coupling block according to this.
Image acquiring device the most according to claim 8, wherein:
This control unit updates this reference picture inventory stored by this memory element, this current picture is stored in this memory element using as one second reference picture in this reference picture inventory, and this current angle information is stored in this rotation angle information that this second reference picture is corresponding.
Image acquiring device the most according to claim 9, wherein:
If this control unit judges in this memory element the fullest in order to store the storage area of this reference picture inventory, this control unit finds one threeth reference picture most like with this current angle information in this rotation angle information of this reference picture inventory, delete the 3rd reference picture and this rotation angle information that the 3rd reference picture has, and this current picture and this current angle information are stored in this reference picture inventory.
11. image acquiring devices according to claim 8, wherein this control unit includes:
One amount of movement estimation unit, if this control unit finds one the 4th reference picture in this reference picture inventory, this rotation angle information that wherein the 4th reference picture has is less than a preset value with the differential seat angle of this current angle information, distinguishing the 4th reference picture is multiple reference block, calculate a difference summation of respectively this current block and the brightness value of the multiple pixels in this corresponding reference block respectively, and compare with a threshold value respectively
Wherein, if this difference summation having N number of current block is not more than this threshold value, this amount of movement estimation unit performs a mobile estimating with the relative position of this current block for starting point, and provide this coupling block corresponding to respectively this current block performing this mobile estimating gained to this control unit, and the picture data of this current block and this corresponding coupling block is compressed according to this by this control unit, wherein N is the positive integer more than 1.
12. image acquiring devices according to claim 11, wherein:
This control unit updates this reference picture inventory stored by this memory element, if this rotation angle information that the 4th reference picture stored by this memory element has is same as this current angle information, this control unit directly deletes the 4th reference picture and this rotation angle information having thereof, and this current picture and this current angle information is stored in this reference picture inventory.
13. image acquiring devices according to claim 8, also include:
One touch screen, couples this detection module, and this detection module detects the touching rotation process that this touch screen is received, and this touching rotation process is supplied to this control unit, calculates this anglec of rotation that this touching rotation process is formed according to this.
14. image acquiring devices according to claim 8, also include:
One displacement detection module, couples this control unit, detects the three-dimensional rotation operation that this image acquiring device is received, thus provides this control unit to calculate this three-dimensional rotation and operate this anglec of rotation formed.
CN201210118876.7A 2012-04-20 2012-04-20 Utilize method and the image acquiring device thereof of rotation process auxiliary video compress Active CN103379258B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210118876.7A CN103379258B (en) 2012-04-20 2012-04-20 Utilize method and the image acquiring device thereof of rotation process auxiliary video compress

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210118876.7A CN103379258B (en) 2012-04-20 2012-04-20 Utilize method and the image acquiring device thereof of rotation process auxiliary video compress

Publications (2)

Publication Number Publication Date
CN103379258A CN103379258A (en) 2013-10-30
CN103379258B true CN103379258B (en) 2016-08-03

Family

ID=49463783

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210118876.7A Active CN103379258B (en) 2012-04-20 2012-04-20 Utilize method and the image acquiring device thereof of rotation process auxiliary video compress

Country Status (1)

Country Link
CN (1) CN103379258B (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1906948A (en) * 2004-03-15 2007-01-31 三星电子株式会社 Image coding apparatus and method for predicting motion using rotation matching
CN101727452A (en) * 2008-10-22 2010-06-09 富士通株式会社 Image processing method and device
WO2011150109A1 (en) * 2010-05-26 2011-12-01 Qualcomm Incorporated Camera parameter- assisted video frame rate up conversion

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008217526A (en) * 2007-03-06 2008-09-18 Canon Inc Image processor, image processing program, and image processing method

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1906948A (en) * 2004-03-15 2007-01-31 三星电子株式会社 Image coding apparatus and method for predicting motion using rotation matching
CN101727452A (en) * 2008-10-22 2010-06-09 富士通株式会社 Image processing method and device
WO2011150109A1 (en) * 2010-05-26 2011-12-01 Qualcomm Incorporated Camera parameter- assisted video frame rate up conversion

Also Published As

Publication number Publication date
CN103379258A (en) 2013-10-30

Similar Documents

Publication Publication Date Title
TWI511547B (en) Method for assisting in video compression using rotation operation and image capturing device thereof
TWI769635B (en) Network training pedestrian re-identification method and storage medium
CN108596976B (en) Method, device and equipment for relocating camera attitude tracking process and storage medium
CN108648235B (en) Repositioning method and device for camera attitude tracking process and storage medium
US9852511B2 (en) Systems and methods for tracking and detecting a target object
EP2991339B1 (en) Photographing method and electronic device
CN109981965B (en) Focusing method and electronic equipment
CN103763483A (en) Method and device for shaking resistance in photo taking process of mobile terminal and mobile terminal
CN109829933B (en) Image target tracking method and device
US7477400B2 (en) Range and speed finder
US10798345B2 (en) Imaging device, control method of imaging device, and storage medium
US10742868B2 (en) Imaging device and focusing control method
JP6115630B2 (en) Processing device, data processing method of processing device, and program
CN111601032A (en) Shooting method and device and electronic equipment
CN113438409B (en) Delay calibration method, delay calibration device, computer equipment and storage medium
WO2022016909A1 (en) Method and apparatus for acquiring spatial distribution of wi-fi fingerprints, and electronic device
CN108230372B (en) Image processing method, terminal and computer readable storage medium
CN103379258B (en) Utilize method and the image acquiring device thereof of rotation process auxiliary video compress
CN116017158B (en) Optical anti-shake calibration method and device
US20170328976A1 (en) Operation device, tracking system, operation method, and program
WO2023124177A1 (en) Method for determining included angle of folding screen and related device thereof
CN112383677B (en) Video processing method and device
EP3627817B1 (en) Image processing method and terminal
JP6236580B2 (en) Focus control device, focus control method, focus control program, lens device, imaging device
CN112861565A (en) Method and device for determining track similarity, computer equipment and storage medium

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant