WO2019127005A1 - Image processing method and device, and machine readable storage medium - Google Patents

Image processing method and device, and machine readable storage medium Download PDF

Info

Publication number
WO2019127005A1
WO2019127005A1 PCT/CN2017/118592 CN2017118592W WO2019127005A1 WO 2019127005 A1 WO2019127005 A1 WO 2019127005A1 CN 2017118592 W CN2017118592 W CN 2017118592W WO 2019127005 A1 WO2019127005 A1 WO 2019127005A1
Authority
WO
WIPO (PCT)
Prior art keywords
jitter
imaging device
images
image
exposure time
Prior art date
Application number
PCT/CN2017/118592
Other languages
French (fr)
Chinese (zh)
Inventor
孙旭斌
Original Assignee
深圳市大疆创新科技有限公司
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 深圳市大疆创新科技有限公司 filed Critical 深圳市大疆创新科技有限公司
Priority to CN201780020683.9A priority Critical patent/CN109076157B/en
Priority to PCT/CN2017/118592 priority patent/WO2019127005A1/en
Publication of WO2019127005A1 publication Critical patent/WO2019127005A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules
    • H04N23/68Control of cameras or camera modules for stable pick-up of the scene, e.g. compensating for camera body vibrations
    • H04N23/682Vibration or motion blur correction
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/95Computational photography systems, e.g. light-field imaging systems
    • H04N23/951Computational photography systems, e.g. light-field imaging systems by using two or more images to influence resolution, frame rate or aspect ratio

Definitions

  • Embodiments of the present invention relate to image processing techniques, and more particularly to image processing methods, apparatus, and machine readable storage media.
  • An imaging device such as a digital camera, a digital video camera, or the like, often blurs an image that is captured due to jitter when capturing an image.
  • an imaging device to shake, such as a carrier carrying the imaging device (for example, a drone), and the like.
  • the anti-shake method is often used to prevent the imaging device from shaking.
  • hardware anti-shake methods typically require additional hardware, which increases the size, cost, and energy consumption of the imaging device.
  • Embodiments of the present invention disclose an image processing method, apparatus, and machine readable storage medium to generate a clear image that is not affected by jitter by means of multi-frame image fusion.
  • An aspect of an embodiment of the present invention provides an image processing method including: acquiring a jitter parameter; capturing a plurality of images according to the jitter parameter; fusing the plurality of images to generate an output image; the jitter parameter including at least the imaging device Jitter period, jitter speed.
  • An aspect of an embodiment of the present invention provides an imaging apparatus, including: a processor, configured to acquire a jitter parameter, and capture a plurality of images according to the jitter parameter; a memory for storing the plurality of images; And merging the plurality of images to generate an output image; the jitter parameter includes at least a jitter period and a jitter speed of the imaging device.
  • An aspect of an embodiment of the present invention provides a machine readable storage medium having stored thereon a plurality of computer instructions, the computer instructions being executed to perform processing of acquiring a jitter parameter according to the jitter parameter Taking a plurality of images; fusing the plurality of images to generate an output image; the jitter parameters including at least a jitter period and a jitter speed of the imaging device.
  • the imaging device by controlling the imaging device to capture an image under the premise that the shaking speed is substantially zero, and limiting the exposure time of each image captured is smaller than the shaking period, and fusing the plurality of images to generate an output.
  • the image in the end, produces an output image that is sharper, less noisy, and hardly affected by the jitter of the imaging device. This allows the imaging device to capture sharper, less noisy, and less jitter-free even if the imaging device is shaken.
  • the affected image, and the method does not need to prevent the imaging device from shaking by the hardware anti-shake method, and can be realized by software, and can avoid the defects caused by the hardware anti-shake, such as increasing the volume, cost and energy consumption of the imaging device, compared with the hardware anti-shake. Wait.
  • FIG. 1 is a flowchart of an image processing method according to Embodiment 1 of the present invention.
  • FIG. 2 is a schematic diagram of a jitter curve according to an embodiment of the present invention.
  • FIG. 3 is a flowchart of an image processing method according to Embodiment 2 of the present invention.
  • FIG. 5 is a structural diagram of an image forming apparatus according to Embodiment 4 of the present invention.
  • FIG. 6 is a detailed structural diagram of an image forming apparatus according to Embodiment 5 of the present invention.
  • FIG. 7 is a structural diagram of another imaging apparatus according to Embodiment 5 of the present invention.
  • FIG. 8 is a structural diagram of another imaging device according to an embodiment of the present invention.
  • FIG. 9 is a structural diagram of a drone equipped with an image forming apparatus according to an embodiment of the present invention.
  • Embodiment 1 is a diagrammatic representation of Embodiment 1:
  • Embodiments of the present invention provide an image processing method.
  • FIG. 1 is an image processing method according to an embodiment of the present invention.
  • the imaging devices herein include, but are not limited to, digital cameras, digital cameras, and the like.
  • the method in this embodiment may include the following steps:
  • step 101 a jitter parameter is obtained.
  • the jitter of the imaging device can be represented by a jitter curve.
  • Fig. 2 shows a schematic diagram of a jitter curve of an image forming apparatus. Based on the jitter curve shown in FIG. 2, it can be known that the maximum jitter amplitude (ie, the peak, such as point a in FIG. 2) and the minimum jitter amplitude (ie, the valley, such as point b in FIG. 2) of the imaging device at each jitter.
  • the jitter speed is the smallest, and the image captured by the imaging device is almost unaffected by the jitter at the minimum jitter speed, and the image taken at this time is clear.
  • a clear image is captured on the premise that the imaging device is shaken, and the jitter is obtained when the jitter speed of each jitter is minimized, so that the jitter parameter acquired in the step 101 can at least include: the imaging device. Jitter period, jitter speed.
  • the imaging device can capture an image based on the acquired jitter parameters (including at least the jitter period of the imaging device, the jitter speed), as described in step 102 below.
  • Step 102 Capture a plurality of images according to the jitter parameter.
  • the capturing of the plurality of images according to the shaking parameters may include: capturing at least one of the plurality of images when the obtained shaking speed is substantially zero, in the step 102. An image.
  • the above-mentioned jitter speed is substantially zero, which means that the error between the obtained jitter speed and zero is less than the set value, and the set value here can be specifically set according to actual needs.
  • the exposure time also affects the sharpness of the image captured by the imaging device on the premise that the imaging device is shaken.
  • the exposure time is a time for the light to be projected onto the photosensitive surface of the photosensitive material of the image forming apparatus, and the shutter is to be opened.
  • a preferred implementation manner is to set the exposure time of at least one of the plurality of images captured by the imaging device to be smaller than the acquired jitter period. This image is sharper when the exposure time of the image is less than the jitter period and the image is taken at a jitter speed of approximately zero.
  • the following is an example in which the exposure time in each of the captured images is smaller than the obtained jitter period.
  • Step 103 fusing the plurality of images to generate an output image.
  • the step 103 combines the plurality of images by means of multi-frame fusion to finally generate a clearer, less noisy output image.
  • the exposure time of the finally generated output image corresponds to the sum of the exposure times of the plurality of images.
  • the output image generated in step 103 is also equivalent to that the imaging device captures when the jitter speed is substantially zero.
  • FIG. 1 The first embodiment shown in FIG. 1 has been described above.
  • Embodiment 2 is a diagrammatic representation of Embodiment 1:
  • FIG. 3 is a flowchart of an image processing method according to Embodiment 2 of the present invention. As shown in FIG. 3, on the basis of the first embodiment shown in FIG. 1, the method in the second embodiment may include the following steps:
  • step 301 a jitter parameter is obtained.
  • This step 301 is similar to step 101 and will not be described again.
  • Step 302 Capture a plurality of images according to the jitter parameter.
  • This step 302 is similar to step 102 and will not be described again.
  • Step 303 intercepting overlapping portions of the plurality of images to generate the output image.
  • This step 303 is an embodiment specifically implemented in the foregoing step 103.
  • the intercepting the overlapping portion of the multiple images to generate the output image may include: determining the same content from the multiple images, where the same content may be specifically The intersection of the images. Thereafter, the determined content (ie, the intersection portion described above) is intercepted from the plurality of images; the content extracted from the plurality of images is superimposed to generate the output image.
  • the superimposing the content extracted from the plurality of images to generate the output image may be: superimposing the content extracted from the plurality of images in order to generate the output. image.
  • the order here may be a sequence of shooting times of the plurality of images.
  • the superimposing the content extracted from the plurality of images to generate the output image may be: randomly superimposing the content truncated from the plurality of images to generate the output. image.
  • the exposure time of the output image generated in step 303 corresponds to the sum of the exposure times of the plurality of images. It should be noted that, in the embodiment of the present invention, it is further required to further include: receiving a set exposure time. Based on this, in the present invention, after generating the output image, step 303 further includes: comparing the exposure time of the output image with the received set exposure time.
  • the exposure time of the output image is equal to the received set exposure time, that is, the exposure time is set to be the sum of the exposure times of the plurality of images.
  • the exposure time of the output image is less than the set exposure time received.
  • the exposure time of the output image is less than the received set exposure time, it indicates that the output image at this time is relatively dark.
  • the embodiment of the present invention can improve the output image.
  • Sensitivity (ISO) Increasing the ISO of the output image enables the output image to be darkened without being exposed for less than the set exposure time.
  • the ISO of the output image is not blindly increased unconditionally. In one example, how many times the exposure time of the output image is shortened compared to the set exposure time is compared, and the ISO of the output image is correspondingly increased by a factor of two.
  • the number of the plurality of images (denoted as N) is not unlimited.
  • the number N of the plurality of images may be set according to a set exposure time.
  • the predetermined exposure time is generally the sum of the exposure times of the N images when the imaging device does not shake, in an ideal state, and based on this, in the embodiment of the present invention, although the N images are images, the imaging device is photographed at a jitter speed of substantially zero. And the exposure time of each image taken is less than the jitter period, but the sum of the exposure times of the finally taken N images (ie, the exposure time of the output image) is less than or equal to the set exposure time, that is, the output image does not appear.
  • the exposure time is greater than the case of the received exposure time. Therefore, the embodiment of the present invention will not be described in detail.
  • Embodiment 3 is a diagrammatic representation of Embodiment 3
  • the third embodiment of the present invention provides an image processing method.
  • 4 is a flowchart of an image processing method according to Embodiment 3 of the present invention. As shown in FIG. 4, on the basis of the first embodiment shown in FIG. 1 or the second embodiment shown in FIG. 3, the method in the third embodiment may include the following steps:
  • Step 401 the present imaging device is provided with an attitude sensor for sensing the posture of the imaging device.
  • the attitude sensor can be placed on an imaging device that is relatively heavily affected by jitter.
  • the component herein may be a lens of an imaging device or an image sensor of the imaging device.
  • the attitude sensor referred to in the embodiments of the present invention may include at least one of a gyroscope, an accelerometer, or an inertial measurement unit.
  • the attitude sensor is mainly used to sense the posture of the imaging device.
  • the posture herein mainly includes: a jitter parameter of the imaging device, an angle when the imaging device captures an image, such as a pitch angle, a roll angle, And yaw angles, etc.
  • the embodiment of the invention mainly relates to the jitter parameter of the imaging device. For details, see step 402 below.
  • Step 402 Acquire a jitter parameter from an attitude sensor provided in the imaging device.
  • the attitude sensor based on the above description is mainly used to sense the posture of the imaging device, and the posture here mainly includes: a jitter parameter of the imaging device, an angle when the imaging device takes an image, such as a pitch angle, a roll angle, and a yaw angle. Based on this, in this step 402, it is easy to acquire the jitter parameter from the attitude sensor provided in the present imaging apparatus.
  • the angular jitter of the imaging device (characterized by angular velocity) has the greatest influence on the sharpness of the image captured by the imaging device. Therefore, in one embodiment, in this step 402, the attitude sensor provided from the imaging device is provided.
  • the obtaining the jitter parameter may specifically include: acquiring an angular velocity of the imaging device from the posture sensor provided in the imaging device, and calculating the jitter parameter according to the angular velocity.
  • the jitter parameter calculated according to the angular velocity includes at least: a jitter speed and a jitter period of the present imaging device.
  • the angular velocity here is the jitter speed.
  • the acceleration of the imaging device is maximized, and the angular velocity (ie, the jitter velocity) of the imaging device is substantially zero, that is, the jitter speed of the imaging device is calculated according to the angular velocity of the imaging device.
  • the acceleration of the imaging device can be measured by an accelerometer or other component used to measure acceleration.
  • the acceleration of the imaging device is maximum and the angular velocity of the imaging device is close to zero, it means that the amplitude of the jitter of the imaging device is close to a peak or a trough, which is equivalent to 1/4 cycle, and thus, the time from the minimum to the maximum angular velocity 4 times as a jitter period, that is, calculation of the jitter period of the imaging device according to the angular velocity of the imaging device is achieved.
  • the manner of obtaining the jitter parameter in the first embodiment or the second embodiment is implemented through steps 401 to 402.
  • the jitter period of the imaging device is no longer included in the jitter parameter calculated based on the angular velocity.
  • the jitter period can be calculated according to the jitter frequency of the imaging device. For example, if the jitter frequency of the imaging device is 10 times of jitter within 1 minute, the imaging device may have a jitter period of 6 seconds. So far, the method of obtaining the jitter parameter according to the jitter frequency of the imaging device and the obtaining the jitter speed of the imaging device in combination with the steps 401 to 402 can also implement the manner of obtaining the jitter parameter in the first embodiment or the second embodiment.
  • Step 403 taking multiple images according to the jitter parameter.
  • This step 403 is similar to the foregoing step 102, and can be specifically implemented by the foregoing step 303.
  • Step 404 fusing the plurality of images to generate an output image.
  • This step 404 is similar to the above step 103 and will not be described again.
  • Embodiment 4 is a diagrammatic representation of Embodiment 4:
  • FIG. 5 is a structural diagram of an image forming apparatus according to Embodiment 4 of the present invention. This device corresponds to the method flow shown in FIG. As shown in FIG. 5, the apparatus can include a processor 501 and a memory 502.
  • the processor 501 is configured to acquire a jitter parameter, and capture multiple images according to the jitter parameter.
  • the jitter parameter includes at least a jitter period and a jitter speed of the imaging device.
  • the memory 502 is configured to store the plurality of images.
  • the processor 501 is further configured to fuse the plurality of images to generate an output image.
  • the processor 501 is specifically configured to: when the jitter speed is substantially zero, capture at least one image of the plurality of images.
  • At least one of the plurality of images has an exposure time that is less than the jitter period.
  • the processor 501 can also fuse the plurality of images by multi-frame fusion to finally generate a clearer, less noisy output image.
  • the exposure time of the finally generated output image corresponds to the sum of the exposure times of the plurality of images.
  • the output image generated by the processor 501 is also equivalent to that the imaging device shoots when the jitter speed is substantially zero. of.
  • the processor 501 captures an image under the premise that the shaking speed is substantially zero, and limits the exposure time of each of the captured images to be smaller than the shaking period, and fuses the plurality of images to generate an output image. Finally, it is possible to generate an output image that is clearer, less noisy, and hardly affected by the jitter of the imaging device. This enables the imaging device to capture sharper, less noisy, and almost immune to jitter even if the imaging device is shaken.
  • the image, and the method does not need to prevent the imaging device from shaking by the hardware anti-shake method, and can be realized by software. Compared with hardware anti-shake, it can avoid defects caused by hardware anti-shake, such as increasing the size, cost and energy consumption of the imaging device. .
  • the fourth embodiment has been described above.
  • the processor 501 fuses the multiple images to generate an output image, which may be: intercepting overlapping portions of the multiple images to generate the output image. Specifically, the processor 501 determines the same content from the plurality of images, where the same content may specifically be an intersection of the plurality of images. Thereafter, the determined content (ie, the intersection portion described above) is intercepted from the plurality of images; the content extracted from the plurality of images is superimposed to generate the output image.
  • the processor 501 superimposing the content truncated from the plurality of images to generate the output image may be: superimposing the content extracted from the plurality of images in order to generate a The output image is described.
  • the order here may be a sequence of shooting times of the plurality of images.
  • the processor 501 superimposing the content truncated from the plurality of images to generate the output image may be: randomly superimposing the content truncated from the plurality of images to generate a The output image is described.
  • the exposure time of the output image generated by the processor 501 is equivalent to the sum of the exposure times of the plurality of images. It should be noted that, in the embodiment of the present invention, it is further required to further include: receiving a set exposure time. Based on this, in the present invention, after generating the output image, the processor 501 further includes: comparing the exposure time of the output image with the received set exposure time.
  • the exposure time of the output image is equal to the received set exposure time, that is, the exposure time is set to be the sum of the exposure times of the plurality of images.
  • the exposure time of the output image is less than the set exposure time received.
  • the exposure time of the output image is less than the received set exposure time, it indicates that the output image at this time is relatively dark.
  • the embodiment of the present invention can improve the output image.
  • Sensitivity (ISO) Increasing the ISO of the output image enables the output image to be darkened without being exposed for less than the set exposure time.
  • the ISO of the output image is not blindly increased unconditionally. In one example, how many times the exposure time of the output image is shortened compared to the set exposure time is increased, and the ISO of the output image is increased by a factor of two.
  • Embodiment 5 is a diagrammatic representation of Embodiment 5:
  • the imaging device provided in the fifth embodiment further includes: an attitude sensor 503. Specifically, as shown in Figure 6.
  • the attitude sensor 503 can include at least one of a gyroscope, an accelerometer, or an inertial measurement unit.
  • the attitude sensor 503 is mainly used to sense the posture of the imaging device.
  • the posture herein mainly includes: a jitter parameter of the imaging device, and an angle of the imaging device when the image is captured, such as a pitch angle and a roll angle. And yaw angles, etc.
  • the posture of the imaging device perceived based on the attitude sensor 503 described above includes the jitter parameter of the imaging device, and the processor 501 can easily acquire the jitter parameter from the posture sensor 503.
  • the processor 501 acquiring the jitter parameter from the posture sensor 503 may specifically include: The angular velocity of the imaging device is acquired from the attitude sensor 503, and the jitter parameter is calculated based on the angular velocity.
  • the jitter parameter calculated according to the angular velocity includes at least: a jitter speed and a jitter period of the present imaging device. In the embodiment of the present invention, how to calculate the jitter speed and the jitter period according to the angular velocity, as described in the fourth embodiment.
  • the jitter period of the imaging device is no longer included in the jitter parameter calculated based on the angular velocity.
  • the jitter period can be calculated according to the jitter frequency of the imaging device. For example, if the jitter frequency of the imaging device is 10 times of jitter within 1 minute, the imaging device may have a jitter period of 6 seconds.
  • the imaging device further includes: a lens 504 and an image sensor 505, as shown in FIG. 7 .
  • the attitude sensor 503 is disposed on the lens 504, and FIG. 7 is exemplified by the attitude sensor 503 being disposed on the lens 504. In another example, attitude sensor 503 is provided on image sensor 504.
  • FIG. 8 is exemplified by the posture sensor 503 being provided on the image sensor 504.
  • the fifth embodiment has been described above.
  • the image forming apparatus shown in FIGS. 5 to 7 can be mounted on a drone.
  • Fig. 9 shows a drone equipped with an image forming apparatus. As shown in Fig. 9, the drone includes a body 901, a power system 902, and an imaging device (labeled 903) as described above.
  • a power system 902 is mounted to the fuselage for providing flight power.
  • the powertrain 902 includes at least one of the following: a motor 904, a propeller 905, and an electronic governor 906.
  • the drone further includes: a support device 907.
  • the support device 907 may specifically be a pan/tilt head and is equipped with the imaging device 903 as described above.
  • the sixth embodiment provides a machine readable storage medium on which a plurality of computer instructions are stored, and when the computer instructions are executed, the following processing is performed:
  • the jitter parameter includes at least a jitter period and a jitter speed of the imaging device.
  • the computer instructions are executed to process at least one of the plurality of images when the dithering speed is substantially zero.
  • the exposure time of at least one of the plurality of images is less than the jitter period.
  • the computer instructions are executed as follows when executed:
  • An attitude sensor for sensing the attitude of the imaging device is provided from the imaging device to acquire the jitter parameter.
  • the computer instructions are executed as follows when executed:
  • the jitter parameter is calculated based on the angular velocity.
  • the attitude sensor comprises at least one of a gyroscope, an accelerometer, or an inertial measurement unit.
  • the attitude sensor is provided on a lens of the imaging device or on an image sensor of the imaging device.
  • the computer instructions are also processed as follows when executed:
  • the jitter period is calculated according to the jitter frequency of the imaging device.
  • the computer instructions are executed as follows when executed:
  • An overlapping portion of the plurality of images is intercepted to generate the output image.
  • the computer instructions are also processed as follows when executed:
  • the set exposure time is equal to the sum of exposure times of the plurality of images.
  • the machine readable storage medium includes: a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk.
  • ROM read-only memory
  • RAM random access memory
  • magnetic disk or an optical disk.
  • optical disk A variety of media that can store program code.
  • the device embodiment since it basically corresponds to the method embodiment, reference may be made to the partial description of the method embodiment.
  • the device embodiments described above are merely illustrative, wherein the units described as separate components may or may not be physically separate, and the components displayed as units may or may not be physical units, ie may be located A place, or it can be distributed to multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the embodiment. Those of ordinary skill in the art can understand and implement without any creative effort.

Abstract

Provided in embodiments of the present invention are an image processing method and device, and a machine readable storage medium. In an embodiment of the present application, by means of controlling an imaging device to capture images under the premise of the jitter speed being approximately zero, limiting the exposure time of each captured image to be less than the jitter period, and merging the plurality of images so as to generate an output image, finally an output image may be generated that is clearer, has less noise and is nearly unaffected by the jitter of the imaging device. Thus, even though the imaging device jitters, the imaging device may also capture images that are clearer, have less noise and are nearly unaffected by the jitter. Also in the described method, it is not necessary to stop an imaging device from jittering by means of a hardware anti-jitter method, as the effect may be actualized by means of software, which compared to hardware anti-jittering, is capable of preventing defects that are caused by hardware anti-jittering, such as an increase in the volume, costs and energy consumption of the imaging device.

Description

图像处理方法、装置和机器可读存储介质Image processing method, device and machine readable storage medium 技术领域Technical field
本发明实施例涉及图像处理技术,特别涉及图像处理方法、装置和机器可读存储介质。Embodiments of the present invention relate to image processing techniques, and more particularly to image processing methods, apparatus, and machine readable storage media.
背景技术Background technique
成像装置,诸如数码相机,数字摄像机等,在拍摄图像时常会因为发生抖动而导致拍摄的图像模糊。这里,导致成像装置发生抖动的因素有很多,比如搭载成像装置的载体(以无人机为例)发生抖动等。An imaging device, such as a digital camera, a digital video camera, or the like, often blurs an image that is captured due to jitter when capturing an image. Here, there are many factors that cause the imaging device to shake, such as a carrier carrying the imaging device (for example, a drone), and the like.
目前,为保证成像装置拍摄的图像清晰,不受抖动影响,常通过硬件防抖方法来防止成像装置抖动。但是,硬件防抖方法通常需要额外增加硬件,这会增加成像装置的体积、成本及能量消耗。At present, in order to ensure that the image captured by the imaging device is clear and free from jitter, the anti-shake method is often used to prevent the imaging device from shaking. However, hardware anti-shake methods typically require additional hardware, which increases the size, cost, and energy consumption of the imaging device.
发明内容Summary of the invention
本发明实施例公开了图像处理方法、装置和机器可读存储介质,以通过多帧图像融合的方式生成不受抖动影响的清晰图像。Embodiments of the present invention disclose an image processing method, apparatus, and machine readable storage medium to generate a clear image that is not affected by jitter by means of multi-frame image fusion.
本发明实施例的一个方面提供了图像处理方法,包括:获取抖动参数;根据所述抖动参数拍摄多张图像;融合所述多张图像以生成输出图像;所述抖动参数至少包括所述成像装置的抖动周期、抖动速度。An aspect of an embodiment of the present invention provides an image processing method including: acquiring a jitter parameter; capturing a plurality of images according to the jitter parameter; fusing the plurality of images to generate an output image; the jitter parameter including at least the imaging device Jitter period, jitter speed.
本发明实施例的一个方面提供一种成像装置,包括:处理器,用于获取抖动参数,根据所述抖动参数拍摄多张图像;存储器,用于存储所述多张图像;所述处理器还用于融合所述多张图像以生成输出图像;所述抖动参数至少包括所述成像装置的抖动周期、抖动速度。An aspect of an embodiment of the present invention provides an imaging apparatus, including: a processor, configured to acquire a jitter parameter, and capture a plurality of images according to the jitter parameter; a memory for storing the plurality of images; And merging the plurality of images to generate an output image; the jitter parameter includes at least a jitter period and a jitter speed of the imaging device.
本发明实施例的一个方面提供一种机器可读存储介质,所述机器可读存储介质上存储有若干计算机指令,所述计算机指令被执行时进行如下处理:获取抖动参数;根据所述抖动参数拍摄多张图像;融合所述多张图像以生成输出图像;所述抖动参数至少包括所述成像装置的抖动周期、抖动速度。An aspect of an embodiment of the present invention provides a machine readable storage medium having stored thereon a plurality of computer instructions, the computer instructions being executed to perform processing of acquiring a jitter parameter according to the jitter parameter Taking a plurality of images; fusing the plurality of images to generate an output image; the jitter parameters including at least a jitter period and a jitter speed of the imaging device.
综上分析,本发明实施例中,通过控制成像装置在抖动速度大致为零的前提下拍摄图像、且限制拍摄的各张图像的曝光时间小于抖动周期,以及融合所述多张图像以生成输出图像, 最终能够生成一个更清晰、噪声更小、几乎不受成像装置抖动影响的输出图像,这实现了即使成像装置发生抖动,成像装置也可拍摄出更清晰、噪声更小、几乎不受抖动影响的图像,并且,该方法无需通过硬件防抖方法防止成像装置抖动,通过软件即可实现,相比硬件防抖,能够避免硬件防抖引起的缺陷比如增加成像装置的体积、成本及能量消耗等。In summary, in the embodiment of the present invention, by controlling the imaging device to capture an image under the premise that the shaking speed is substantially zero, and limiting the exposure time of each image captured is smaller than the shaking period, and fusing the plurality of images to generate an output. The image, in the end, produces an output image that is sharper, less noisy, and hardly affected by the jitter of the imaging device. This allows the imaging device to capture sharper, less noisy, and less jitter-free even if the imaging device is shaken. The affected image, and the method does not need to prevent the imaging device from shaking by the hardware anti-shake method, and can be realized by software, and can avoid the defects caused by the hardware anti-shake, such as increasing the volume, cost and energy consumption of the imaging device, compared with the hardware anti-shake. Wait.
附图说明DRAWINGS
为了更清楚地说明本发明实施例中的技术方案,下面将对实施例描述中所需要使用的附图作一简单地介绍,显而易见地,下面描述中的附图是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings used in the description of the embodiments will be briefly described below. It is obvious that the drawings in the following description are some embodiments of the present invention. Other drawings may also be obtained from those of ordinary skill in the art in view of the drawings.
图1为本发明实施例一提供的图像处理方法的流程图;1 is a flowchart of an image processing method according to Embodiment 1 of the present invention;
图2为本发明实施例提供的抖动曲线示意图;2 is a schematic diagram of a jitter curve according to an embodiment of the present invention;
图3为本发明实施例二提供的图像处理方法的流程图;3 is a flowchart of an image processing method according to Embodiment 2 of the present invention;
图4为本发明实施例三提供的图像处理方法的流程图;4 is a flowchart of an image processing method according to Embodiment 3 of the present invention;
图5为本发明实施例四提供的成像装置的结构图;FIG. 5 is a structural diagram of an image forming apparatus according to Embodiment 4 of the present invention; FIG.
图6为本发明实施例五提供的成像装置的具体结构图;6 is a detailed structural diagram of an image forming apparatus according to Embodiment 5 of the present invention;
图7为本发明实施例五提供的另一成像装置的结构图;FIG. 7 is a structural diagram of another imaging apparatus according to Embodiment 5 of the present invention; FIG.
图8为本发明实施例提供的另一成像装置的结构图;FIG. 8 is a structural diagram of another imaging device according to an embodiment of the present invention; FIG.
图9为本发明实施例提供的成像装置搭载的无人机的结构图。FIG. 9 is a structural diagram of a drone equipped with an image forming apparatus according to an embodiment of the present invention.
具体实施方式Detailed ways
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚地描述,显The technical solutions in the embodiments of the present invention will be clearly described below in conjunction with the accompanying drawings in the embodiments of the present invention.
然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。However, the described embodiments are only a part of the embodiments of the invention, and not all of the embodiments. All other embodiments obtained by those skilled in the art based on the embodiments of the present invention without creative efforts are within the scope of the present invention.
需要说明的是,当组件被称为“固定于”另一个组件,它可以直接在另一个组件上或者也It should be noted that when a component is called "fixed to" another component, it can be directly on another component or
可以存在居中的组件。当一个组件被认为是“连接”另一个组件,它可以是直接连接到另一个组件或者可能同时存在居中组件。There can be a centered component. When a component is considered to "connect" another component, it can be directly connected to another component or possibly a central component.
除非另有定义,本文所使用的所有的技术和科学术语与属于本发明的技术领域的技术人Unless otherwise defined, all technical and scientific terms used herein and those skilled in the art of the invention
员通常理解的含义相同。本文中在本发明的说明书中所使用的术语只是为了描述具体的实施例的目的,不是旨在于限制本发明。本文所使用的术语“及/或”包括一个或多个相关的所列项目的任意的和所有的组合。Members usually understand the same meaning. The terminology used in the description of the present invention is for the purpose of describing particular embodiments and is not intended to limit the invention. The term "and/or" used herein includes any and all combinations of one or more of the associated listed items.
下面结合附图,对本发明的一些实施方式作详细说明。在不冲突的情况下,下述的实施Some embodiments of the present invention are described in detail below with reference to the accompanying drawings. In the case of no conflict, the following implementation
例及实施例中的特征可以相互组合。The features in the examples and embodiments may be combined with each other.
实施例一:Embodiment 1:
本发明实施例提供了图像处理方法。参见图1,图1为本发明实施例提供的图像处理方法Embodiments of the present invention provide an image processing method. Referring to FIG. 1, FIG. 1 is an image processing method according to an embodiment of the present invention.
的流程图。该流程应用于成像装置。作为一个实施例,这里的成像装置包括但不限于数码相机、数字摄像机等。Flow chart. This process is applied to an imaging device. As an embodiment, the imaging devices herein include, but are not limited to, digital cameras, digital cameras, and the like.
如图1所示,本实施例中的方法可以包括以下步骤:As shown in FIG. 1, the method in this embodiment may include the following steps:
步骤101,获取抖动参数。In step 101, a jitter parameter is obtained.
在应用中,不管是搭载成像装置的载体比如无人机发生抖动导致成像装置抖动,还是其他因素比如操作成像装置的用户的手抖导致成像装置抖动,最终成像装置的抖动都可以用抖动曲线表示。图2示出了成像装置的抖动曲线示意图。基于图2所示的抖动曲线可以知道,成像装置在每一次抖动的最大抖动幅度(即波峰,比如图2中的a点)、最小抖动幅度(即波谷,比如图2中的b点)处抖动速度最小,而在抖动速度最小的前提下,成像装置拍摄的图像几乎不受抖动影响,此时拍摄的图像清晰。基于此,本发明实施例为实现成像装置在发生抖动的前提下拍摄出清晰图像,可在每次抖动的抖动速度最小时拍摄,如此即可得到本步骤101获取的抖动参数至少包括:成像装置的抖动周期、抖动速度。之后,成像装置即可基于获取的抖动参数(至少包括成像装置的抖动周期、抖动速度)拍摄图像,具体见下述步骤102。In the application, whether the carrier carrying the imaging device, such as a drone, causes the imaging device to shake, or other factors such as the shaking of the imaging device by the user operating the imaging device, the jitter of the imaging device can be represented by a jitter curve. . Fig. 2 shows a schematic diagram of a jitter curve of an image forming apparatus. Based on the jitter curve shown in FIG. 2, it can be known that the maximum jitter amplitude (ie, the peak, such as point a in FIG. 2) and the minimum jitter amplitude (ie, the valley, such as point b in FIG. 2) of the imaging device at each jitter. The jitter speed is the smallest, and the image captured by the imaging device is almost unaffected by the jitter at the minimum jitter speed, and the image taken at this time is clear. Based on this, in the embodiment of the present invention, a clear image is captured on the premise that the imaging device is shaken, and the jitter is obtained when the jitter speed of each jitter is minimized, so that the jitter parameter acquired in the step 101 can at least include: the imaging device. Jitter period, jitter speed. Thereafter, the imaging device can capture an image based on the acquired jitter parameters (including at least the jitter period of the imaging device, the jitter speed), as described in step 102 below.
步骤102,根据所述抖动参数拍摄多张图像。Step 102: Capture a plurality of images according to the jitter parameter.
基于上述抖动参数包括抖动速度,则作为一个实施例,本步骤102中,根据所述抖动参数拍摄多张图像具体可包括:在获取的抖动速度大致为零时,拍摄多张图像中的至少一张图像。The capturing of the plurality of images according to the shaking parameters may include: capturing at least one of the plurality of images when the obtained shaking speed is substantially zero, in the step 102. An image.
在一个例子中,上述抖动速度大致为零是指:获取的抖动速度与零之间的误差小于设定值,这里的设定值具体可根据实际需求设置。In an example, the above-mentioned jitter speed is substantially zero, which means that the error between the obtained jitter speed and zero is less than the set value, and the set value here can be specifically set according to actual needs.
在成像装置发生抖动的前提下,曝光时间也会影响成像装置拍摄的图像清晰度。这里,曝光时间是为了将光投射到成像装置感光材料的感光面上,快门所要打开的时间。在成像装置发生抖动的前提下,为实现成像装置拍摄出清晰图像,较佳的一种实现方式是设置成像装置拍摄的上述多张图像中的至少一张图像的曝光时间小于获取的抖动周期。当图像的曝光时间小于抖动周期、且图像是在抖动速度大致为零时拍摄的,则此图像比较清晰。下文以拍摄的各张图像中的曝光时间小于获取的抖动周期为例描述。The exposure time also affects the sharpness of the image captured by the imaging device on the premise that the imaging device is shaken. Here, the exposure time is a time for the light to be projected onto the photosensitive surface of the photosensitive material of the image forming apparatus, and the shutter is to be opened. In order to realize a clear image of the imaging device under the premise that the imaging device is shaken, a preferred implementation manner is to set the exposure time of at least one of the plurality of images captured by the imaging device to be smaller than the acquired jitter period. This image is sharper when the exposure time of the image is less than the jitter period and the image is taken at a jitter speed of approximately zero. The following is an example in which the exposure time in each of the captured images is smaller than the obtained jitter period.
步骤103,融合所述多张图像以生成输出图像。 Step 103, fusing the plurality of images to generate an output image.
如上述步骤102的描述,尽管所述多张图像是成像装置在抖动速度大致为零的前提下拍摄的、且拍摄的各张图像的曝光时间小于抖动周期,比较清晰,噪声比较小,但是,在一个例子中,本步骤103通过多帧融合的方式融合所述多张图像,最终生成一个更清晰、噪声更小的输出图像。这里,最终生成的输出图像的曝光时间相当于所述多张图像的曝光时间之和。另外,基于所述多张图像是成像装置在抖动速度大致为零时拍摄的有关描述,则本发明实施例中,步骤103生成的输出图像也相当于是成像装置在抖动速度大致为零时拍摄的。As described in the above step 102, although the plurality of images are taken by the imaging device on the premise that the shaking speed is substantially zero, and the exposure time of each of the captured images is smaller than the jitter period, the image is relatively clear and the noise is relatively small, however, In one example, the step 103 combines the plurality of images by means of multi-frame fusion to finally generate a clearer, less noisy output image. Here, the exposure time of the finally generated output image corresponds to the sum of the exposure times of the plurality of images. In addition, based on the description that the plurality of images are taken when the imaging device is at a substantially zero jitter speed, in the embodiment of the present invention, the output image generated in step 103 is also equivalent to that the imaging device captures when the jitter speed is substantially zero. .
通过上述步骤101至步骤103可以看出,在本申请中,通过控制成像装置在抖动速度大致为零的前提下拍摄图像、且限制拍摄的各张图像的曝光时间小于抖动周期,以及融合所述多张图像以生成输出图像,最终能够生成一个更清晰、噪声更小、几乎不受成像装置抖动影响的输出图像,这实现了即使成像装置发生抖动,成像装置也可拍摄出更清晰、噪声更小、几乎不受抖动影响的图像,并且,该方法无需通过硬件防抖方法防止成像装置抖动,通过软件即可实现,相比硬件防抖,能够避免硬件防抖引起的缺陷比如增加成像装置的体积、成本及能量消耗等。It can be seen from the above steps 101 to 103 that in the present application, by controlling the imaging device to take an image under the premise that the shaking speed is substantially zero, and limiting the exposure time of each image captured is smaller than the shaking period, and merging the said Multiple images are used to generate an output image, which ultimately produces an output image that is sharper, less noisy, and hardly affected by imaging device shake. This allows the imaging device to capture sharper, more noisy images even if the imaging device is shaken. Small, almost unaffected image, and the method does not need to prevent the imaging device from shaking by the hardware anti-shake method. It can be realized by software. Compared with hardware anti-shake, it can avoid defects caused by hardware anti-shake, such as increasing the imaging device. Volume, cost and energy consumption.
以上对图1所示的实施例一进行了描述。The first embodiment shown in FIG. 1 has been described above.
实施例二:Embodiment 2:
在图1所示实施例一的基础上,本发明实施例二提供另一种图像处理方法。图3为本发明实施例二提供的图像处理方法的流程图。如图3所示,在图1所示实施例一的基础上,本实施例二中的方法,可以包括以下步骤:On the basis of the first embodiment shown in FIG. 1, the second embodiment of the present invention provides another image processing method. FIG. 3 is a flowchart of an image processing method according to Embodiment 2 of the present invention. As shown in FIG. 3, on the basis of the first embodiment shown in FIG. 1, the method in the second embodiment may include the following steps:
步骤301,获取抖动参数。In step 301, a jitter parameter is obtained.
本步骤301类似步骤101,不再赘述。This step 301 is similar to step 101 and will not be described again.
步骤302,根据所述抖动参数拍摄多张图像。Step 302: Capture a plurality of images according to the jitter parameter.
本步骤302类似步骤102,不再赘述。This step 302 is similar to step 102 and will not be described again.
步骤303,截取所述多张图像的重叠部分以生成所述输出图像。 Step 303, intercepting overlapping portions of the plurality of images to generate the output image.
本步骤303为上述步骤103具体实现的一个实施例。This step 303 is an embodiment specifically implemented in the foregoing step 103.
具体地,本步骤303中,截取所述多张图像的重叠部分以生成所述输出图像可包括:从所述多张图像中确定出相同的内容,这里,相同的内容具体可为所述多张图像的交集部分。之后,从所述多张图像中截取该确定出的内容(即上述的交集部分);将从所述多张图像中截取出的内容进行叠加以生成所述输出图像。Specifically, in this step 303, the intercepting the overlapping portion of the multiple images to generate the output image may include: determining the same content from the multiple images, where the same content may be specifically The intersection of the images. Thereafter, the determined content (ie, the intersection portion described above) is intercepted from the plurality of images; the content extracted from the plurality of images is superimposed to generate the output image.
在一个例子中,上述将从所述多张图像中截取出的内容进行叠加以生成所述输出图像可为:按照顺序将从所述多张图像中截取出的内容进行叠加以生成所述输出图像。这里的顺序可为所述多张图像的拍摄时间的先后顺序。In one example, the superimposing the content extracted from the plurality of images to generate the output image may be: superimposing the content extracted from the plurality of images in order to generate the output. image. The order here may be a sequence of shooting times of the plurality of images.
在另一个例子中,上述将从所述多张图像中截取出的内容进行叠加以生成所述输出图像可为:随机将从所述多张图像中截取出的内容进行叠加以生成所述输出图像。In another example, the superimposing the content extracted from the plurality of images to generate the output image may be: randomly superimposing the content truncated from the plurality of images to generate the output. image.
最终,步骤303生成的输出图像的曝光时间相当于所述多张图像的曝光时间之和。需要说明的是,在本发明实施例中,还需要进一步包括:接收设定曝光时间。基于此,本发明中,步骤303在生成输出图像后,还会进一步包括:比较输出图像的曝光时间与接收的设定曝光时间。Finally, the exposure time of the output image generated in step 303 corresponds to the sum of the exposure times of the plurality of images. It should be noted that, in the embodiment of the present invention, it is further required to further include: receiving a set exposure time. Based on this, in the present invention, after generating the output image, step 303 further includes: comparing the exposure time of the output image with the received set exposure time.
在一个例子中,输出图像的曝光时间与接收的设定曝光时间相等,也即,设定曝光时间正好为上述多张图像的曝光时间之和。In one example, the exposure time of the output image is equal to the received set exposure time, that is, the exposure time is set to be the sum of the exposure times of the plurality of images.
在另一个例子中,输出图像的曝光时间小于接收的设定曝光时间。当输出图像的曝光时间小于接收的设定曝光时间时,则说明此时的输出图像比较暗,基于此,作为一个实施例,为提高输出图像的清晰度,本发明实施例可提高输出图像的感光度(ISO)。提高输出图像的ISO能够实现输出图像不因曝光时间小于设定曝光时间而变暗。本发明实施例中,提高输出图像的ISO并非无条件地盲目提高,在一个例子中,会比较输出图像的曝光时间相比设定曝光时间缩短多少倍,则输出图像的ISO就相应提高多少倍。In another example, the exposure time of the output image is less than the set exposure time received. When the exposure time of the output image is less than the received set exposure time, it indicates that the output image at this time is relatively dark. Based on this, as an embodiment, in order to improve the sharpness of the output image, the embodiment of the present invention can improve the output image. Sensitivity (ISO). Increasing the ISO of the output image enables the output image to be darkened without being exposed for less than the set exposure time. In the embodiment of the present invention, the ISO of the output image is not blindly increased unconditionally. In one example, how many times the exposure time of the output image is shortened compared to the set exposure time is compared, and the ISO of the output image is correspondingly increased by a factor of two.
需要说明的是,在本发明实施例中,上述多张图像的数量(记为N)并非无限制,作为一个实施例,上述多张图像的数量N可依据设定曝光时间设置,这里,设定曝光时间一般是理想状态下比如成像装置不发生抖动时N张图像的曝光时间之和,基于此,本发明实施例中,尽管N张图像是成像装置在抖动速度大致为零的前提下拍摄、且拍摄的各张图像的曝光时间小于抖动周期,但最终拍摄出的N张图像的曝光时间之和(即输出图像的曝光时间)小于或 等于设定曝光时间,即,不会出现输出图像的曝光时间大于接收的设定曝光时间的情况,因此,本发明实施例不再详细赘述。It should be noted that, in the embodiment of the present invention, the number of the plurality of images (denoted as N) is not unlimited. As an embodiment, the number N of the plurality of images may be set according to a set exposure time. The predetermined exposure time is generally the sum of the exposure times of the N images when the imaging device does not shake, in an ideal state, and based on this, in the embodiment of the present invention, although the N images are images, the imaging device is photographed at a jitter speed of substantially zero. And the exposure time of each image taken is less than the jitter period, but the sum of the exposure times of the finally taken N images (ie, the exposure time of the output image) is less than or equal to the set exposure time, that is, the output image does not appear. The exposure time is greater than the case of the received exposure time. Therefore, the embodiment of the present invention will not be described in detail.
以上对图3所示的实施例二进行了描述。The second embodiment shown in FIG. 3 has been described above.
实施例三:Embodiment 3:
在图1所示实施例一或图3所示实施例二的基础上,本发明实施例三提供图像处理方法。图4为本发明实施例三提供的图像处理方法的流程图。如图4所示,在图1所示实施例一或图3所示实施例二的基础上,本实施例三中的方法,可以包括以下步骤:On the basis of the first embodiment shown in FIG. 1 or the second embodiment shown in FIG. 3, the third embodiment of the present invention provides an image processing method. 4 is a flowchart of an image processing method according to Embodiment 3 of the present invention. As shown in FIG. 4, on the basis of the first embodiment shown in FIG. 1 or the second embodiment shown in FIG. 3, the method in the third embodiment may include the following steps:
步骤401,在本成像装置设有用于感知所述成像装置姿态的姿态传感器。 Step 401, the present imaging device is provided with an attitude sensor for sensing the posture of the imaging device.
在一个例子中,所述姿态传感器可设在成像装置上受抖动影响比较大的元件上。作为一个实施例,这里的元件可为成像装置的镜头或者所述成像装置的图像传感器。In one example, the attitude sensor can be placed on an imaging device that is relatively heavily affected by jitter. As an embodiment, the component herein may be a lens of an imaging device or an image sensor of the imaging device.
在一个例子中,本发明实施例提及的姿态传感器可包括陀螺仪、加速度计、或惯性测量单元中的至少一个。以下均以姿态传感器为例描述。在本发明实施例中,姿态传感器主要用于感知成像装置的姿态,作为一个实施例,这里的姿态主要包括:成像装置的抖动参数、成像装置拍摄图像时的角度比如俯仰角、横滚角、以及偏航角等。本发明实施例主要涉及成像装置的抖动参数,具体见下述步骤402。In one example, the attitude sensor referred to in the embodiments of the present invention may include at least one of a gyroscope, an accelerometer, or an inertial measurement unit. The following describes the attitude sensor as an example. In the embodiment of the present invention, the attitude sensor is mainly used to sense the posture of the imaging device. As an embodiment, the posture herein mainly includes: a jitter parameter of the imaging device, an angle when the imaging device captures an image, such as a pitch angle, a roll angle, And yaw angles, etc. The embodiment of the invention mainly relates to the jitter parameter of the imaging device. For details, see step 402 below.
步骤402,从本成像装置设有的姿态传感器获取抖动参数。Step 402: Acquire a jitter parameter from an attitude sensor provided in the imaging device.
基于上面描述的姿态传感器主要用于感知成像装置的姿态,这里的姿态主要包括:成像装置的抖动参数、成像装置拍摄图像时的角度比如俯仰角、横滚角、以及偏航角等。基于此,本步骤402中,很容易从本成像装置设有的姿态传感器获取抖动参数。The attitude sensor based on the above description is mainly used to sense the posture of the imaging device, and the posture here mainly includes: a jitter parameter of the imaging device, an angle when the imaging device takes an image, such as a pitch angle, a roll angle, and a yaw angle. Based on this, in this step 402, it is easy to acquire the jitter parameter from the attitude sensor provided in the present imaging apparatus.
在实际应用中,成像装置的角度抖动(通过角速度表征)对成像装置拍摄的图像的清晰度影响最大,因此,在一种实施方式中,本步骤402中,从本成像装置设有的姿态传感器获取抖动参数具体可包括:从本成像装置设有的姿态传感器获取成像装置的角速度,根据所述角速度计算所述抖动参数。In practical applications, the angular jitter of the imaging device (characterized by angular velocity) has the greatest influence on the sharpness of the image captured by the imaging device. Therefore, in one embodiment, in this step 402, the attitude sensor provided from the imaging device is provided. The obtaining the jitter parameter may specifically include: acquiring an angular velocity of the imaging device from the posture sensor provided in the imaging device, and calculating the jitter parameter according to the angular velocity.
在一个例子中,根据所述角速度计算的抖动参数至少包括:本成像装置的抖动速度和抖动周期。在本发明实施例中,这里的角速度为抖动速度。In one example, the jitter parameter calculated according to the angular velocity includes at least: a jitter speed and a jitter period of the present imaging device. In the embodiment of the invention, the angular velocity here is the jitter speed.
其中,当成像装置的抖动幅度接近波峰或波谷时,成像装置的加速度最大,而成像装置的角速度(即抖动速度)大致为零,即实现了根据成像装置的角速度计算成像装置的抖动速度。在一个例子中,成像装置的加速度可通过加速度计或者其他用于测量加速度的元件测量 得到。Wherein, when the amplitude of the jitter of the imaging device is close to a peak or a trough, the acceleration of the imaging device is maximized, and the angular velocity (ie, the jitter velocity) of the imaging device is substantially zero, that is, the jitter speed of the imaging device is calculated according to the angular velocity of the imaging device. In one example, the acceleration of the imaging device can be measured by an accelerometer or other component used to measure acceleration.
还有,当成像装置的加速度最大,成像装置的角速度接近零时,则意味着成像装置的抖动幅度接近波峰或波谷,相当于1/4个周期,如此,将角速度从最小达到最大值的时间的4倍作为一个抖动周期,即实现了根据成像装置的角速度计算成像装置的抖动周期。至此,通过步骤401至步骤402实现了上述实施例一或二中获取抖动参数的方式。Also, when the acceleration of the imaging device is maximum and the angular velocity of the imaging device is close to zero, it means that the amplitude of the jitter of the imaging device is close to a peak or a trough, which is equivalent to 1/4 cycle, and thus, the time from the minimum to the maximum angular velocity 4 times as a jitter period, that is, calculation of the jitter period of the imaging device according to the angular velocity of the imaging device is achieved. So far, the manner of obtaining the jitter parameter in the first embodiment or the second embodiment is implemented through steps 401 to 402.
在另一个例子中,上述根据所述角速度计算的抖动参数中不再包括成像装置的抖动周期。其中,抖动周期可根据成像装置的抖动频率计算。比如成像装置的抖动频率为1分钟内发生了10次抖动,则成像装置的抖动周期可为6秒。至此,根据成像装置的抖动频率计算抖动周期、以及结合步骤401至步骤402获取成像装置的抖动速度,也可实现上述实施例一或二中获取抖动参数的方式。In another example, the jitter period of the imaging device is no longer included in the jitter parameter calculated based on the angular velocity. Wherein, the jitter period can be calculated according to the jitter frequency of the imaging device. For example, if the jitter frequency of the imaging device is 10 times of jitter within 1 minute, the imaging device may have a jitter period of 6 seconds. So far, the method of obtaining the jitter parameter according to the jitter frequency of the imaging device and the obtaining the jitter speed of the imaging device in combination with the steps 401 to 402 can also implement the manner of obtaining the jitter parameter in the first embodiment or the second embodiment.
步骤403,根据所述抖动参数拍摄多张图像。 Step 403, taking multiple images according to the jitter parameter.
本步骤403类似上述步骤102,具体可通过上述步骤303实现。This step 403 is similar to the foregoing step 102, and can be specifically implemented by the foregoing step 303.
步骤404,融合所述多张图像以生成输出图像。 Step 404, fusing the plurality of images to generate an output image.
本步骤404类似上述步骤103,不再赘述。This step 404 is similar to the above step 103 and will not be described again.
以上对图4所示的实施例三进行了描述。The third embodiment shown in FIG. 4 has been described above.
实施例四:Embodiment 4:
本实施例四提供了成像装置的结构图。图5为本发明实施例四提供的成像装置的结构图。该装置对应图1所示的方法流程。如图5所示,该装置可包括:处理器501和存储器502。The fourth embodiment provides a structural view of the image forming apparatus. FIG. 5 is a structural diagram of an image forming apparatus according to Embodiment 4 of the present invention. This device corresponds to the method flow shown in FIG. As shown in FIG. 5, the apparatus can include a processor 501 and a memory 502.
其中,处理器501,用于获取抖动参数,根据所述抖动参数拍摄多张图像;这里,作为一个实施例,所述抖动参数至少包括所述成像装置的抖动周期、抖动速度。存储器502,用于存储所述多张图像。处理器501还用于融合所述多张图像以生成输出图像。The processor 501 is configured to acquire a jitter parameter, and capture multiple images according to the jitter parameter. Here, as an embodiment, the jitter parameter includes at least a jitter period and a jitter speed of the imaging device. The memory 502 is configured to store the plurality of images. The processor 501 is further configured to fuse the plurality of images to generate an output image.
在本发明实施例中,处理器501具体用于:在所述抖动速度大致为零时,拍摄所述多张图像中的至少一张图像。In the embodiment of the present invention, the processor 501 is specifically configured to: when the jitter speed is substantially zero, capture at least one image of the plurality of images.
在一个例子中,所述多张图像中至少一张图像的曝光时间小于所述抖动周期。In one example, at least one of the plurality of images has an exposure time that is less than the jitter period.
在本发明实施例中,尽管所述多张图像是成像装置在抖动速度大致为零的前提下拍摄的、且拍摄的各张图像的曝光时间小于抖动周期,比较清晰,噪声比较小,但是,在一个例子中,处理器501还可通过多帧融合的方式融合所述多张图像,最终生成一个更清晰、噪声更小的输出图像。这里,最终生成的输出图像的曝光时间相当于所述多张图像的曝光时间之和。另 外,基于所述多张图像是成像装置在抖动速度大致为零时拍摄的有关描述,则本发明实施例中,处理器501生成的输出图像也相当于是成像装置在抖动速度大致为零时拍摄的。In the embodiment of the present invention, although the plurality of images are taken by the imaging device on the premise that the shaking speed is substantially zero, and the exposure time of each of the captured images is smaller than the jitter period, the image is relatively clear and the noise is relatively small. In one example, the processor 501 can also fuse the plurality of images by multi-frame fusion to finally generate a clearer, less noisy output image. Here, the exposure time of the finally generated output image corresponds to the sum of the exposure times of the plurality of images. In addition, based on the description that the plurality of images are taken when the imaging device is at a substantially zero jitter speed, in the embodiment of the present invention, the output image generated by the processor 501 is also equivalent to that the imaging device shoots when the jitter speed is substantially zero. of.
可以看出,在本申请中,处理器501通过在抖动速度大致为零的前提下拍摄图像、且限制拍摄的各张图像的曝光时间小于抖动周期,以及融合所述多张图像以生成输出图像,最终能够生成一个更清晰、噪声更小、几乎不受成像装置抖动影响的输出图像,这实现了即使成像装置发生抖动,成像装置也可拍摄出更清晰、噪声更小、几乎不受抖动影响的图像,并且,该方法无需通过硬件防抖方法防止成像装置抖动,通过软件即可实现,相比硬件防抖,能够避免硬件防抖引起的缺陷比如增加成像装置的体积、成本及能量消耗等。It can be seen that, in the present application, the processor 501 captures an image under the premise that the shaking speed is substantially zero, and limits the exposure time of each of the captured images to be smaller than the shaking period, and fuses the plurality of images to generate an output image. Finally, it is possible to generate an output image that is clearer, less noisy, and hardly affected by the jitter of the imaging device. This enables the imaging device to capture sharper, less noisy, and almost immune to jitter even if the imaging device is shaken. The image, and the method does not need to prevent the imaging device from shaking by the hardware anti-shake method, and can be realized by software. Compared with hardware anti-shake, it can avoid defects caused by hardware anti-shake, such as increasing the size, cost and energy consumption of the imaging device. .
以上对实施例四进行了描述。The fourth embodiment has been described above.
在上述实施例四的基础上,对应实施例二,处理器501融合所述多张图像以生成输出图像具体可为:截取所述多张图像的重叠部分以生成所述输出图像。具体地,处理器501从所述多张图像中确定出相同的内容,这里,相同的内容具体可为所述多张图像的交集部分。之后,从所述多张图像中截取该确定出的内容(即上述的交集部分);将从所述多张图像中截取出的内容进行叠加以生成所述输出图像。On the basis of the foregoing embodiment 4, corresponding to the second embodiment, the processor 501 fuses the multiple images to generate an output image, which may be: intercepting overlapping portions of the multiple images to generate the output image. Specifically, the processor 501 determines the same content from the plurality of images, where the same content may specifically be an intersection of the plurality of images. Thereafter, the determined content (ie, the intersection portion described above) is intercepted from the plurality of images; the content extracted from the plurality of images is superimposed to generate the output image.
在一个例子中,处理器501将从所述多张图像中截取出的内容进行叠加以生成所述输出图像可为:按照顺序将从所述多张图像中截取出的内容进行叠加以生成所述输出图像。这里的顺序可为所述多张图像的拍摄时间的先后顺序。In one example, the processor 501 superimposing the content truncated from the plurality of images to generate the output image may be: superimposing the content extracted from the plurality of images in order to generate a The output image is described. The order here may be a sequence of shooting times of the plurality of images.
在另一个例子中,处理器501将从所述多张图像中截取出的内容进行叠加以生成所述输出图像可为:随机将从所述多张图像中截取出的内容进行叠加以生成所述输出图像。In another example, the processor 501 superimposing the content truncated from the plurality of images to generate the output image may be: randomly superimposing the content truncated from the plurality of images to generate a The output image is described.
最终,处理器501生成的输出图像的曝光时间相当于所述多张图像的曝光时间之和。需要说明的是,在本发明实施例中,还需要进一步包括:接收设定曝光时间。基于此,本发明中,处理器501在生成输出图像后,还会进一步包括:比较输出图像的曝光时间与接收的设定曝光时间。Finally, the exposure time of the output image generated by the processor 501 is equivalent to the sum of the exposure times of the plurality of images. It should be noted that, in the embodiment of the present invention, it is further required to further include: receiving a set exposure time. Based on this, in the present invention, after generating the output image, the processor 501 further includes: comparing the exposure time of the output image with the received set exposure time.
在一个例子中,输出图像的曝光时间与接收的设定曝光时间相等,也即,设定曝光时间正好为上述多张图像的曝光时间之和。In one example, the exposure time of the output image is equal to the received set exposure time, that is, the exposure time is set to be the sum of the exposure times of the plurality of images.
在另一个例子中,输出图像的曝光时间小于接收的设定曝光时间。当输出图像的曝光时间小于接收的设定曝光时间时,则说明此时的输出图像比较暗,基于此,作为一个实施例,为提高输出图像的清晰度,本发明实施例可提高输出图像的感光度(ISO)。提高输出图像的ISO能够实现输出图像不因曝光时间小于设定曝光时间而变暗。本发明实施例中,提高输出 图像的ISO并非无条件地盲目提高,在一个例子中,会比较输出图像的曝光时间相比设定曝光时间缩短多少倍,则输出图像的ISO就相应提高多少倍。In another example, the exposure time of the output image is less than the set exposure time received. When the exposure time of the output image is less than the received set exposure time, it indicates that the output image at this time is relatively dark. Based on this, as an embodiment, in order to improve the sharpness of the output image, the embodiment of the present invention can improve the output image. Sensitivity (ISO). Increasing the ISO of the output image enables the output image to be darkened without being exposed for less than the set exposure time. In the embodiment of the present invention, the ISO of the output image is not blindly increased unconditionally. In one example, how many times the exposure time of the output image is shortened compared to the set exposure time is increased, and the ISO of the output image is increased by a factor of two.
需要说明的是,在本发明实施例中,很少会出现输出图像的曝光时间大于接收的设定曝光时间的情况,因此,本发明实施例不再详细赘述。It should be noted that, in the embodiment of the present invention, the case where the exposure time of the output image is less than the received exposure time is less likely to occur, and therefore, the embodiment of the present invention will not be described in detail.
实施例五:Embodiment 5:
在实施例四的基础上,本实施例五提供的成像装置还包括:姿态传感器503。具体如图6所示。On the basis of the fourth embodiment, the imaging device provided in the fifth embodiment further includes: an attitude sensor 503. Specifically, as shown in Figure 6.
在一个例子中,姿态传感器503可包括陀螺仪、加速度计、或惯性测量单元中的至少一个。在本发明实施例中,姿态传感器503主要用于感知成像装置的姿态,作为一个实施例,这里的姿态主要包括:成像装置的抖动参数、成像装置拍摄图像时的角度比如俯仰角、横滚角、以及偏航角等。In one example, the attitude sensor 503 can include at least one of a gyroscope, an accelerometer, or an inertial measurement unit. In the embodiment of the present invention, the attitude sensor 503 is mainly used to sense the posture of the imaging device. As an embodiment, the posture herein mainly includes: a jitter parameter of the imaging device, and an angle of the imaging device when the image is captured, such as a pitch angle and a roll angle. And yaw angles, etc.
基于上面描述的姿态传感器503感知的成像装置的姿态包括:成像装置的抖动参数,则处理器501很容易从姿态传感器503获取抖动参数。The posture of the imaging device perceived based on the attitude sensor 503 described above includes the jitter parameter of the imaging device, and the processor 501 can easily acquire the jitter parameter from the posture sensor 503.
在实际应用中,成像装置的角度抖动(通过角速度表征)对成像装置拍摄的图像的清晰度影响最大,因此,在一种实施方式中,处理器501从姿态传感器503获取抖动参数具体可包括:从姿态传感器503获取成像装置的角速度,根据所述角速度计算所述抖动参数。这里,根据所述角速度计算的抖动参数至少包括:本成像装置的抖动速度和抖动周期。在本发明实施例中,如何根据所述角速度计算抖动速度和抖动周期,具体见实施例四所述。In an actual application, the angle jitter of the imaging device (represented by the angular velocity) has the greatest influence on the sharpness of the image captured by the imaging device. Therefore, in one embodiment, the processor 501 acquiring the jitter parameter from the posture sensor 503 may specifically include: The angular velocity of the imaging device is acquired from the attitude sensor 503, and the jitter parameter is calculated based on the angular velocity. Here, the jitter parameter calculated according to the angular velocity includes at least: a jitter speed and a jitter period of the present imaging device. In the embodiment of the present invention, how to calculate the jitter speed and the jitter period according to the angular velocity, as described in the fourth embodiment.
在另一个例子中,上述根据所述角速度计算的抖动参数中不再包括成像装置的抖动周期。其中,抖动周期可根据成像装置的抖动频率计算。比如成像装置的抖动频率为1分钟内发生了10次抖动,则成像装置的抖动周期可为6秒。In another example, the jitter period of the imaging device is no longer included in the jitter parameter calculated based on the angular velocity. Wherein, the jitter period can be calculated according to the jitter frequency of the imaging device. For example, if the jitter frequency of the imaging device is 10 times of jitter within 1 minute, the imaging device may have a jitter period of 6 seconds.
在上述基础上,本实施例中,成像装置还包括:镜头504、图像传感器505,具体如图7所示。在一个例子中,姿态传感器503设在镜头504上,图7以姿态传感器503设在镜头504为例示出。在另一个例子中,姿态传感器503设在图像传感器504上。图8以姿态传感器503设在图像传感器504上为例示出。On the basis of the above, in the embodiment, the imaging device further includes: a lens 504 and an image sensor 505, as shown in FIG. 7 . In one example, the attitude sensor 503 is disposed on the lens 504, and FIG. 7 is exemplified by the attitude sensor 503 being disposed on the lens 504. In another example, attitude sensor 503 is provided on image sensor 504. FIG. 8 is exemplified by the posture sensor 503 being provided on the image sensor 504.
以上对实施例五进行了描述。The fifth embodiment has been described above.
需要说明的是,本发明实施例中,图5至图7所示的成像装置可搭载在无人机上。图9示出了搭载了成像装置的无人机。如图9所示,无人机包括:机身901、动力系统902、以及 如上描述的成像装置(标记为903)。It should be noted that, in the embodiment of the present invention, the image forming apparatus shown in FIGS. 5 to 7 can be mounted on a drone. Fig. 9 shows a drone equipped with an image forming apparatus. As shown in Fig. 9, the drone includes a body 901, a power system 902, and an imaging device (labeled 903) as described above.
动力系统902安装在所述机身,用于提供飞行动力。动力系统902包括如下至少一种:电机904、螺旋桨905和电子调速器906。A power system 902 is mounted to the fuselage for providing flight power. The powertrain 902 includes at least one of the following: a motor 904, a propeller 905, and an electronic governor 906.
成像装置的具体原理和实现方式均与上述实施例类似,此处不再赘述。The specific principles and implementations of the imaging device are similar to the above embodiments, and are not described herein again.
另外,如图9所示,无人机还包括:支撑设备907。其中,支撑设备907具体可以是云台,搭载了如上所述的成像装置903。In addition, as shown in FIG. 9, the drone further includes: a support device 907. The support device 907 may specifically be a pan/tilt head and is equipped with the imaging device 903 as described above.
实施例六:Example 6:
本实施例六提供了一种机器可读存储介质,所述机器可读存储介质上存储有若干计算机指令,所述计算机指令被执行时进行如下处理:The sixth embodiment provides a machine readable storage medium on which a plurality of computer instructions are stored, and when the computer instructions are executed, the following processing is performed:
获取抖动参数;Obtain jitter parameters;
根据所述抖动参数拍摄多张图像;Taking a plurality of images according to the jitter parameter;
融合所述多张图像以生成输出图像;Combining the plurality of images to generate an output image;
所述抖动参数至少包括所述成像装置的抖动周期、抖动速度。The jitter parameter includes at least a jitter period and a jitter speed of the imaging device.
在一个实施例中,所述计算机指令被执行时进行如下处理:在所述抖动速度大致为零时,拍摄所述多张图像中的至少一张图像。In one embodiment, the computer instructions are executed to process at least one of the plurality of images when the dithering speed is substantially zero.
在一个实施例中,所述多张图像中至少一张图像的曝光时间小于所述抖动周期。In one embodiment, the exposure time of at least one of the plurality of images is less than the jitter period.
在一个实施例中,所述计算机指令被执行时进行如下处理:In one embodiment, the computer instructions are executed as follows when executed:
从所述成像装置设有用于感知所述成像装置姿态的姿态传感器获取所述抖动参数。An attitude sensor for sensing the attitude of the imaging device is provided from the imaging device to acquire the jitter parameter.
在一个实施例中,所述计算机指令被执行时进行如下处理:In one embodiment, the computer instructions are executed as follows when executed:
从所述姿态传感器获取所述成像装置的角速度;Obtaining an angular velocity of the imaging device from the attitude sensor;
根据所述角速度计算所述抖动参数。The jitter parameter is calculated based on the angular velocity.
在一个实施例中,所述姿态传感器包括陀螺仪、加速度计、或惯性测量单元中的至少一个。In one embodiment, the attitude sensor comprises at least one of a gyroscope, an accelerometer, or an inertial measurement unit.
在一个实施例中,所述姿态传感器设在所述成像装置的镜头上或者设在所述成像装置的图像传感器上。In one embodiment, the attitude sensor is provided on a lens of the imaging device or on an image sensor of the imaging device.
在一个实施例中,所述计算机指令被执行时还进行如下处理:In one embodiment, the computer instructions are also processed as follows when executed:
根据所述成像装置的抖动频率计算所述抖动周期。The jitter period is calculated according to the jitter frequency of the imaging device.
在一个实施例中,所述计算机指令被执行时进行如下处理:In one embodiment, the computer instructions are executed as follows when executed:
截取所述多张图像的重叠部分以生成所述输出图像。An overlapping portion of the plurality of images is intercepted to generate the output image.
在一个实施例中,所述计算机指令被执行时还进行如下处理:In one embodiment, the computer instructions are also processed as follows when executed:
接收设定曝光时间;Receiving the set exposure time;
所述设定曝光时间等于所述多张图像的曝光时间之和。The set exposure time is equal to the sum of exposure times of the plurality of images.
在本发明实施例中,上述机器可读存储介质包括:U盘、移动硬盘、只读存储器(Read-Only Memory,ROM)、随机存取存储器(Random Access Memory,RAM)、磁碟或者光盘等各种可以存储程序代码的介质。In the embodiment of the present invention, the machine readable storage medium includes: a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk. A variety of media that can store program code.
以上对实施例六进行了描述。The sixth embodiment has been described above.
对于装置实施例而言,由于其基本对应于方法实施例,所以相关之处参见方法实施例的部分说明即可。以上所描述的装置实施例仅仅是示意性的,其中所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部模块来实现本实施例方案的目的。本领域普通技术人员在不付出创造性劳动的情况下,即可以理解并实施。For the device embodiment, since it basically corresponds to the method embodiment, reference may be made to the partial description of the method embodiment. The device embodiments described above are merely illustrative, wherein the units described as separate components may or may not be physically separate, and the components displayed as units may or may not be physical units, ie may be located A place, or it can be distributed to multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the embodiment. Those of ordinary skill in the art can understand and implement without any creative effort.
需要说明的是,在本文中,诸如第一和第二等之类的关系术语仅仅用来将一个实体或者操作与另一个实体或操作区分开来,而不一定要求或者暗示这些实体或操作之间存在任何这种实际的关系或者顺序。术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者设备不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者设备所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括所述要素的过程、方法、物品或者设备中还存在另外的相同要素。It should be noted that, in this context, relational terms such as first and second are used merely to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply such entities or operations. There is any such actual relationship or order between them. The terms "including", "comprising" or "comprising" or "comprising" are intended to include a non-exclusive inclusion, such that a process, method, article, or device that comprises a plurality of elements includes not only those elements but also other items not specifically listed Elements, or elements that are inherent to such a process, method, item, or device. An element that is defined by the phrase "comprising a ..." does not exclude the presence of additional equivalent elements in the process, method, item, or device that comprises the element.
以上对本发明实施例所提供的方法和装置进行了详细介绍,本文中应用了具体个例对本发明的原理及实施方式进行了阐述,以上实施例的说明只是用于帮助理解本发明的方法及其核心思想;同时,对于本领域的一般技术人员,依据本发明的思想,在具体实施方式及应用范围上均会有改变之处,综上所述,本说明书内容不应理解为对本发明的限制。The method and apparatus provided by the embodiments of the present invention are described in detail above. The principles and implementations of the present invention are described in the specific examples. The description of the above embodiments is only used to help understand the method of the present invention and At the same time, there will be changes in the specific embodiments and the scope of application according to the idea of the present invention, and the contents of the present specification should not be construed as limiting the present invention. .

Claims (30)

  1. 一种图像处理方法,应用于成像装置,其特征在于,所述方法包括:An image processing method is applied to an imaging device, wherein the method comprises:
    获取抖动参数;Obtain jitter parameters;
    根据所述抖动参数拍摄多张图像;Taking a plurality of images according to the jitter parameter;
    融合所述多张图像以生成输出图像;Combining the plurality of images to generate an output image;
    所述抖动参数至少包括所述成像装置的抖动周期、抖动速度。The jitter parameter includes at least a jitter period and a jitter speed of the imaging device.
  2. 根据权利要求1所述的方法,其特征在于,所述根据所述抖动参数拍摄多张图像包括:The method according to claim 1, wherein the capturing a plurality of images according to the jitter parameter comprises:
    在所述抖动速度大致为零时,拍摄所述多张图像中的至少一张图像。At least one of the plurality of images is captured when the jitter speed is substantially zero.
  3. 根据权利要求1所述的方法,其特征在于,所述多张图像中至少一张图像的曝光时间小于所述抖动周期。The method of claim 1 wherein the exposure time of at least one of the plurality of images is less than the jitter period.
  4. 根据权利要求1所述的方法,其特征在于,所述成像装置设有用于感知所述成像装置姿态的姿态传感器;The method according to claim 1, wherein said imaging device is provided with an attitude sensor for sensing a posture of said imaging device;
    所述获取抖动参数包括:The acquiring jitter parameters includes:
    从所述姿态传感器获取所述抖动参数。The jitter parameter is obtained from the attitude sensor.
  5. 根据权利要求4所述的方法,其特征在于,所述从所述姿态传感器获取所述抖动参数包括:The method according to claim 4, wherein the obtaining the jitter parameter from the attitude sensor comprises:
    从所述姿态传感器获取所述成像装置的角速度;Obtaining an angular velocity of the imaging device from the attitude sensor;
    根据所述角速度计算所述抖动参数。The jitter parameter is calculated based on the angular velocity.
  6. 根据权利要求4所述的方法,其特征在于,所述姿态传感器包括陀螺仪、加速度计、或惯性测量单元中的至少一个。The method of claim 4 wherein the attitude sensor comprises at least one of a gyroscope, an accelerometer, or an inertial measurement unit.
  7. 根据权利要求4所述的方法,其特征在于,所述姿态传感器设在所述成像装置的镜头上或者设在所述成像装置的图像传感器上。The method according to claim 4, wherein the attitude sensor is provided on a lens of the imaging device or on an image sensor of the imaging device.
  8. 根据权利要求1所述的方法,其特征在于,所述方法还包括:The method of claim 1 further comprising:
    根据所述成像装置的抖动频率计算所述抖动周期。The jitter period is calculated according to the jitter frequency of the imaging device.
  9. 根据权利要求1所述的方法,其特征在于,所述融合所述多张图像以生成输出图像包括:The method of claim 1 wherein said fusing said plurality of images to generate an output image comprises:
    截取所述多张图像的重叠部分以生成所述输出图像。An overlapping portion of the plurality of images is intercepted to generate the output image.
  10. 根据权利要求1所述的方法,其特征在于,所述方法还包括:The method of claim 1 further comprising:
    接收设定曝光时间;Receiving the set exposure time;
    所述设定曝光时间等于所述多张图像的曝光时间之和。The set exposure time is equal to the sum of exposure times of the plurality of images.
  11. 一种成像装置,其特征在于,所述成像装置包括:An imaging device, characterized in that the imaging device comprises:
    处理器,用于获取抖动参数,根据所述抖动参数拍摄多张图像;a processor, configured to acquire a jitter parameter, and take multiple images according to the jitter parameter;
    存储器,用于存储所述多张图像;a memory for storing the plurality of images;
    所述处理器还用于融合所述多张图像以生成输出图像;The processor is further configured to fuse the plurality of images to generate an output image;
    所述抖动参数至少包括所述成像装置的抖动周期、抖动速度。The jitter parameter includes at least a jitter period and a jitter speed of the imaging device.
  12. 根据权利要求11所述的成像装置,其特征在于,所述处理器具体用于在所述抖动速度大致为零时,拍摄所述多张图像中的至少一张图像。The imaging apparatus according to claim 11, wherein the processor is specifically configured to capture at least one of the plurality of images when the shaking speed is substantially zero.
  13. 根据权利要求11所述的成像装置,其特征在于,所述多张图像中至少一张图像的曝光时间小于所述抖动周期。The image forming apparatus according to claim 11, wherein an exposure time of at least one of the plurality of images is smaller than the jitter period.
  14. 根据权利要求11所述的成像装置,其特征在于,所述成像装置还包括:The image forming apparatus according to claim 11, wherein the image forming apparatus further comprises:
    姿态传感器,用于感知所述成像装置的姿态;An attitude sensor for sensing a posture of the imaging device;
    所述处理器具体用于:The processor is specifically configured to:
    从所述姿态传感器获取所述抖动参数。The jitter parameter is obtained from the attitude sensor.
  15. 根据权利要求14所述的成像装置,其特征在于,所述处理器具体用于:The image forming apparatus according to claim 14, wherein the processor is specifically configured to:
    从所述姿态传感器获取所述成像装置的角速度;Obtaining an angular velocity of the imaging device from the attitude sensor;
    根据所述角速度计算所述抖动参数。The jitter parameter is calculated based on the angular velocity.
  16. 根据权利要求14所述的成像装置,其特征在于,所述姿态传感器包括陀螺仪、加速度计、或惯性测量单元中的至少一个。The imaging apparatus according to claim 14, wherein the attitude sensor comprises at least one of a gyroscope, an accelerometer, or an inertial measurement unit.
  17. 根据权利要求14所述的成像装置,其特征在于,所述成像装置还包括:镜头、图像传感器;The imaging device according to claim 14, wherein the imaging device further comprises: a lens, an image sensor;
    所述姿态传感器设在所述镜头上或者所述图像传感器上。The attitude sensor is disposed on the lens or on the image sensor.
  18. 根据权利要求11所述的成像装置,其特征在于,所述处理器还用于根据所述成像装置的抖动频率计算所述抖动周期。The imaging apparatus according to claim 11, wherein said processor is further configured to calculate said jitter period based on a jitter frequency of said imaging device.
  19. 根据权利要求11所述的成像装置,其特征在于,所述处理器具体用于:The image forming apparatus according to claim 11, wherein the processor is specifically configured to:
    截取所述多张图像的重叠部分以生成所述输出图像。An overlapping portion of the plurality of images is intercepted to generate the output image.
  20. 根据权利要求11所述的成像装置,其特征在于,所述存储器还用于存储接收的设定曝光时间;The image forming apparatus according to claim 11, wherein said memory is further configured to store the received set exposure time;
    所述设定曝光时间等于所述多张图像的曝光时间之和。The set exposure time is equal to the sum of exposure times of the plurality of images.
  21. 一种机器可读存储介质,其特征在于,所述机器可读存储介质上存储有若干计算机指令,所述计算机指令被执行时进行如下处理:A machine readable storage medium, wherein the machine readable storage medium stores a plurality of computer instructions that, when executed, perform the following processing:
    获取抖动参数;Obtain jitter parameters;
    根据所述抖动参数拍摄多张图像;Taking a plurality of images according to the jitter parameter;
    融合所述多张图像以生成输出图像;Combining the plurality of images to generate an output image;
    所述抖动参数至少包括所述成像装置的抖动周期、抖动速度。The jitter parameter includes at least a jitter period and a jitter speed of the imaging device.
  22. 根据权利要求21所述的机器可读存储介质,其特征在于,所述计算机指令被执行时进行如下处理:在所述抖动速度大致为零时,拍摄所述多张图像中的至少一张图像。A machine-readable storage medium according to claim 21, wherein said computer instructions are executed to: process at least one of said plurality of images when said shaking speed is substantially zero .
  23. 根据权利要求21所述的机器可读存储介质,其特征在于,所述多张图像中至少一张图像的曝光时间小于所述抖动周期。The machine readable storage medium of claim 21, wherein an exposure time of at least one of the plurality of images is less than the jitter period.
  24. 根据权利要求21所述的机器可读存储介质,其特征在于,所述计算机指令被执行时进行如下处理:A machine readable storage medium according to claim 21, wherein said computer instructions are executed as follows:
    从所述成像装置设有用于感知所述成像装置姿态的姿态传感器获取所述抖动参数。An attitude sensor for sensing the attitude of the imaging device is provided from the imaging device to acquire the jitter parameter.
  25. 根据权利要求24所述的机器可读存储介质,其特征在于,所述计算机指令被执行时进行如下处理:A machine-readable storage medium according to claim 24, wherein said computer instructions are executed as follows:
    从所述姿态传感器获取所述成像装置的角速度;Obtaining an angular velocity of the imaging device from the attitude sensor;
    根据所述角速度计算所述抖动参数。The jitter parameter is calculated based on the angular velocity.
  26. 根据权利要求24所述的机器可读存储介质,其特征在于,所述姿态传感器包括陀螺仪、加速度计、或惯性测量单元中的至少一个。The machine readable storage medium of claim 24, wherein the attitude sensor comprises at least one of a gyroscope, an accelerometer, or an inertial measurement unit.
  27. 根据权利要求24所述的机器可读存储介质,其特征在于,所述姿态传感器设在所述成像装置的镜头上或者设在所述成像装置的图像传感器上。A machine-readable storage medium according to claim 24, wherein the attitude sensor is provided on a lens of the imaging device or on an image sensor of the imaging device.
  28. 根据权利要求21所述的机器可读存储介质,其特征在于,所述计算机指令被执行时还进行如下处理:A machine-readable storage medium according to claim 21, wherein said computer instructions are further processed as follows when executed:
    根据所述成像装置的抖动频率计算所述抖动周期。The jitter period is calculated according to the jitter frequency of the imaging device.
  29. 根据权利要求21所述的机器可读存储介质,其特征在于,所述计算机指令被执行时进行如下处理:A machine readable storage medium according to claim 21, wherein said computer instructions are executed as follows:
    截取所述多张图像的重叠部分以生成所述输出图像。An overlapping portion of the plurality of images is intercepted to generate the output image.
  30. 根据权利要求21所述的机器可读存储介质,其特征在于,所述计算机指令被执行时还进行如下处理:A machine-readable storage medium according to claim 21, wherein said computer instructions are further processed as follows when executed:
    接收设定曝光时间;Receiving the set exposure time;
    所述设定曝光时间等于所述多张图像的曝光时间之和。The set exposure time is equal to the sum of exposure times of the plurality of images.
PCT/CN2017/118592 2017-12-26 2017-12-26 Image processing method and device, and machine readable storage medium WO2019127005A1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201780020683.9A CN109076157B (en) 2017-12-26 2017-12-26 Image processing method, apparatus and machine-readable storage medium
PCT/CN2017/118592 WO2019127005A1 (en) 2017-12-26 2017-12-26 Image processing method and device, and machine readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2017/118592 WO2019127005A1 (en) 2017-12-26 2017-12-26 Image processing method and device, and machine readable storage medium

Publications (1)

Publication Number Publication Date
WO2019127005A1 true WO2019127005A1 (en) 2019-07-04

Family

ID=64812368

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/118592 WO2019127005A1 (en) 2017-12-26 2017-12-26 Image processing method and device, and machine readable storage medium

Country Status (2)

Country Link
CN (1) CN109076157B (en)
WO (1) WO2019127005A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116447920A (en) * 2023-04-04 2023-07-18 汉王科技股份有限公司 Toy gun and control method thereof

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070212045A1 (en) * 2006-03-10 2007-09-13 Masafumi Yamasaki Electronic blur correction device and electronic blur correction method
CN101572777A (en) * 2008-05-02 2009-11-04 奥林巴斯映像株式会社 Filming device and filming method
CN102082864A (en) * 2010-11-22 2011-06-01 徐灏 Camare360 mobile phone photographic platform and instant processing method
CN103841336A (en) * 2014-03-28 2014-06-04 深圳市大疆创新科技有限公司 Imaging equipment and shutter control method thereof
CN105872309A (en) * 2015-12-31 2016-08-17 乐视移动智能信息技术(北京)有限公司 Method and device for video image processing used for eliminating image dithering and mobile terminal

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4419675B2 (en) * 2004-05-14 2010-02-24 ソニー株式会社 Solid-state imaging device and driving method of solid-state imaging device
CN101489035A (en) * 2008-01-16 2009-07-22 三洋电机株式会社 Image shooting apparatus and blur correction method
JP2017046301A (en) * 2015-08-28 2017-03-02 オリンパス株式会社 Imaging apparatus

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070212045A1 (en) * 2006-03-10 2007-09-13 Masafumi Yamasaki Electronic blur correction device and electronic blur correction method
CN101572777A (en) * 2008-05-02 2009-11-04 奥林巴斯映像株式会社 Filming device and filming method
CN102082864A (en) * 2010-11-22 2011-06-01 徐灏 Camare360 mobile phone photographic platform and instant processing method
CN103841336A (en) * 2014-03-28 2014-06-04 深圳市大疆创新科技有限公司 Imaging equipment and shutter control method thereof
CN105872309A (en) * 2015-12-31 2016-08-17 乐视移动智能信息技术(北京)有限公司 Method and device for video image processing used for eliminating image dithering and mobile terminal

Also Published As

Publication number Publication date
CN109076157A (en) 2018-12-21
CN109076157B (en) 2021-05-11

Similar Documents

Publication Publication Date Title
US11678053B2 (en) Systems and methods for stabilizing videos
JP5296307B2 (en) System and method for improving autofocus in a digital imaging system
JP6128389B2 (en) Imaging device
JP6098874B2 (en) Imaging apparatus and image processing apparatus
US9756244B2 (en) Panoramic-imaging digital camera, and panoramic imaging system
US20110109755A1 (en) Hardware assisted image deblurring
CN101374198A (en) Camera device and automatic frontal method for image thereof
JP2013214947A (en) Image capturing apparatus, image capturing system, image processing method, information processing apparatus, and program
CN103518160A (en) Image capturing apparatus with management and correction of inclinations
CN107615744B (en) Image shooting parameter determining method and camera device
TW201431370A (en) System and method for adjusting image capturing device
WO2017173933A1 (en) Object image display method, device, and system
WO2017038680A1 (en) System, method and program for generating three-dimensional image data of a target object
WO2019119410A1 (en) Panorama photographing method, photographing device, and machine readable storage medium
JP2014068336A (en) Imaging apparatus and image processing device
JP7031280B2 (en) Image processing equipment, image processing systems and programs
JP7024817B2 (en) Image pickup device, image pickup system, image processing method, information processing device, and program
CN109729245A (en) Photographic device, support device and its control method
WO2019127005A1 (en) Image processing method and device, and machine readable storage medium
JP4641177B2 (en) Camera and its still image generation method
JP2017225039A (en) Imaging apparatus and image processing method
WO2022147703A1 (en) Focus following method and apparatus, and photographic device and computer-readable storage medium
JP7025042B2 (en) Spherical image generation method, spherical image generation and display method, spherical image generation system program, and spherical image generation and display system program
US9270884B2 (en) Imaging apparatus and detecting apparatus
JP2005352239A (en) Personal digital assistant equipment with camera

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 17935914

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 17935914

Country of ref document: EP

Kind code of ref document: A1