[go: up one dir, main page]

CN102572250A - Electronic device, image shooting device and method thereof - Google Patents

Electronic device, image shooting device and method thereof Download PDF

Info

Publication number
CN102572250A
CN102572250A CN2010105463374A CN201010546337A CN102572250A CN 102572250 A CN102572250 A CN 102572250A CN 2010105463374 A CN2010105463374 A CN 2010105463374A CN 201010546337 A CN201010546337 A CN 201010546337A CN 102572250 A CN102572250 A CN 102572250A
Authority
CN
China
Prior art keywords
image
temporary
processing module
images
basic
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN2010105463374A
Other languages
Chinese (zh)
Inventor
李运锦
郑幼民
杨庆隆
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Altek Corp
Original Assignee
Altek Corp
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 Altek Corp filed Critical Altek Corp
Priority to CN2010105463374A priority Critical patent/CN102572250A/en
Publication of CN102572250A publication Critical patent/CN102572250A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Studio Devices (AREA)
  • Image Processing (AREA)

Abstract

The invention discloses an electronic device, an image shooting device and a method thereof, wherein the image shooting method comprises the steps of shooting temporary images by an image shooting module, setting one of the temporary images as a basic image by a processing module, judging whether the difference between the temporary image and the basic image is greater than a threshold value or not, deleting the temporary image by the processing module when the difference between one of the temporary images and the basic image is greater than the threshold value, and finally carrying out image superposition on the rest temporary images and the basic image by the processing module to correspondingly generate an output image. The invention improves the definition of the output image generated after the image superposition.

Description

电子装置、影像拍摄装置及其方法Electronic device, image capturing device and method thereof

技术领域 technical field

本发明是有关于一种电子装置、影像拍摄装置及其方法,特别是有关于一种具筛选叠合影像机制以进行影像叠合来降低杂讯且输出清晰影像的电子装置、影像拍摄装置及其方法。The present invention relates to an electronic device, an image capturing device and a method thereof, in particular to an electronic device, an image capturing device and an electronic device with a mechanism for screening and superimposing images for image superposition to reduce noise and output clear images. its method.

背景技术 Background technique

目前,数字相机于操作时,在拍照时因手部振动而致使影像模糊的问题始终困扰着摄像者:一般已用的数字相机在操作时,使用者在拍摄照片前,往往会因一时的不慎或手持数字相机的姿势不正确,而造成的镜头振动或晃动。另外,随着数字相机体积设计越来越轻巧,轻巧型相机按下快门同时发生手振而拍出晃动照片的比例也会相对提高。因此,手振动的大小程度都会影响到拍摄影像的品质:小则所拍摄出来的影像会角度稍微有偏差、不正的结果;大则造成所拍摄出来的影像模糊不清的结果。防手振相机即是为了克服前述问题而问世。At present, when digital cameras are in operation, the problem of blurred images due to hand vibrations when taking pictures has always plagued photographers: when operating digital cameras that have generally been used, before taking photos, users often The lens vibrates or shakes due to caution or incorrect posture of holding the digital camera. In addition, as the volume design of digital cameras becomes more and more compact, the proportion of shaking photos taken by compact cameras due to hand vibration when the shutter is pressed will increase relatively. Therefore, the degree of hand vibration will affect the quality of the captured image: if it is small, the angle of the captured image will be slightly deviated and the result will not be correct; if it is large, the captured image will be blurred. Anti-shake camera comes out in order to overcome the foregoing problems.

已知的防手振机制有多种实施手段,其中包括有利用镜头机构的相对移动来补偿相机的振动、利用控制光圈值与快门开启时间来抑制手振现象,以及利用软体对拍摄到的影像进行信号处理,以期回复影像的清晰度。前述的光学防手振机制乃是利用移动镜片或影像感测元件进行水平或垂直移动,来修正手振所引起的歪斜,其所产生的逆向修正可使相机不因晃动而产生模糊影像;而数字防手振机制乃通过演算法及影像处理的方式,修正因晃动而产生的模糊影像。The known anti-shake mechanism has multiple implementation methods, including using the relative movement of the lens mechanism to compensate for the vibration of the camera, controlling the aperture value and shutter opening time to suppress the hand-shake phenomenon, and using software to control the captured image. Signal processing is performed in order to restore the clarity of the image. The aforementioned optical anti-shake mechanism is to use the moving lens or the image sensing element to move horizontally or vertically to correct the skew caused by the hand shake, and the reverse correction produced by it can prevent the camera from producing blurred images due to shaking; and The digital anti-shake mechanism uses algorithms and image processing methods to correct blurred images caused by shaking.

就数字防手振机制而言,一般是利用多重拍摄的方式来降低杂讯,才能在低照度的环境或手振严重的情况下,能够拍摄清楚而不模糊且低杂讯的影像。但要拍出高品质的输出影像,得先对各影像做几何校正,如此各影像才能正确地点对点叠合,然后再利用影像处理技巧针对几何校正后的影像做去杂讯的处理,如此方能产生低杂讯且清晰的影像。然而,目前在相机上广泛采用的多重影像拍摄的技巧,大都是针对所拍摄的所有影像一并处理,其中并无任何筛选机制来剔除不合用的影像,因此造成所拍得的影像品质参差不齐,因此好的影像与坏的影像,都会被拿去做去杂讯的动作,因此可能把错误的影像当成好的影像拿去处理,进而造成输出影像的品质低劣,反而比采单张影像拍摄的影像还差。As far as the digital anti-shake mechanism is concerned, multiple shooting methods are generally used to reduce noise, so as to be able to capture clear, non-fuzzy, and low-noise images in low-light environments or when the hand shake is severe. However, in order to produce high-quality output images, it is necessary to perform geometric correction on each image, so that the images can be correctly superimposed point-to-point, and then use image processing techniques to perform noise removal processing on the geometrically corrected images. Can produce low noise and clear images. However, most of the multi-image shooting techniques widely used in cameras currently process all the captured images together without any filtering mechanism to eliminate unsuitable images, resulting in uneven quality of the captured images. Therefore, both good and bad images will be used for denoising. Therefore, the wrong image may be treated as a good image, resulting in poor quality of the output image, which is better than a single image. The imagery is still poor.

发明内容 Contents of the invention

因为上述已知技术的问题,本发明的目的就是在提供一种电子装置、影像拍摄装置及其方法,以解决已知的技术将品质参差不齐一并进行叠合所造成输出影像品质低劣的问题。Due to the problems of the above-mentioned known technologies, the purpose of the present invention is to provide an electronic device, an image capture device and its method to solve the problem of poor output image quality caused by the known technology that combines uneven quality and overlaps. question.

根据本发明的目的,提出一种影像拍摄装置,其包含一影像拍摄模组以及一处理模组。其中影像拍摄模组拍摄多个暂时影像,而处理模组则设定暂时影像的其中之一为一基础影像,并判断暂时影像及基础影像的差异是否大于一门槛值。当暂时影像的其中之一与基础影像的差异大于门槛值时,处理模组即删除暂时影像,并将其余的暂时影像与基础影像进行影像叠合以对应产生一输出影像。According to the object of the present invention, an image capturing device is proposed, which includes an image capturing module and a processing module. The image capturing module captures multiple temporary images, and the processing module sets one of the temporary images as a basic image, and judges whether the difference between the temporary image and the basic image is greater than a threshold. When the difference between one of the temporary images and the basic image is greater than a threshold value, the processing module deletes the temporary image, and superimposes the rest of the temporary images with the basic image to generate an output image correspondingly.

其中,处理模组将基础影像与各暂时影像进行几何对齐,并对应计算一第一误差值,当第一误差值大于第一门槛值时,处理模组即删除暂时影像。Wherein, the processing module geometrically aligns the base image with each temporary image, and calculates a first error value correspondingly. When the first error value is greater than a first threshold value, the processing module deletes the temporary image.

其中,处理模组更利用基础影像及各暂时影像的一阶层分布图(histogram),来判断各暂时影像及基础影像的一第二误差值是否大于一第二门槛值,当第二误差值大于第二门槛值时,处理模组即删除此暂时影像。Wherein, the processing module further utilizes a histogram of the basic image and each temporary image to determine whether a second error value of each temporary image and the basic image is greater than a second threshold value, and when the second error value is greater than When the second threshold is reached, the processing module deletes the temporary image.

其中,处理模组进行影像叠合后,更以数字增益(digital gain)或内插法(temporal interpolation)对输出影像进行亮度补偿。Wherein, after the image superimposition is performed by the processing module, brightness compensation is performed on the output image by digital gain or temporal interpolation.

其中,当暂时影像皆被删除时,处理模组即提高基础影像的亮度,并对基础影像美化以形成输出影像。Wherein, when all the temporary images are deleted, the processing module increases the brightness of the basic image and beautifies the basic image to form an output image.

根据本发明的目的,另提出一种影像拍摄方法,其包含以一影像拍摄模组拍摄多个暂时影像,并以一处理模组设定暂时影像的其中之一为一基础影像,再以处理模组判断暂时影像及基础影像的差异是否大于一门槛值。当暂时影像的其中之一与基础影像的差异大于门槛值时,即以处理模组删除此暂时影像,并以处理模组将其余的暂时影像与基础影像进行影像叠合以对应产生一输出影像。According to the purpose of the present invention, an image shooting method is proposed, which includes taking a plurality of temporary images with an image shooting module, and setting one of the temporary images as a basic image with a processing module, and then processing The module judges whether the difference between the temporary image and the basic image is greater than a threshold. When the difference between one of the temporary images and the basic image is greater than the threshold value, the temporary image is deleted by the processing module, and the remaining temporary images and the basic image are superimposed by the processing module to generate an output image correspondingly .

其中,影像拍摄方法更包含以处理模组将基础影像与各暂时影像进行几何对齐,并对应计算一第一误差值,并以处理模组判断各第一误差值是否大于第一门槛值时。当第一误差值大于第一门槛值时,则以处理模组删除此暂时影像。Wherein, the image shooting method further includes using the processing module to geometrically align the basic image with each temporary image, and correspondingly calculating a first error value, and using the processing module to determine whether each first error value is greater than a first threshold value. When the first error value is greater than the first threshold value, the temporary image is deleted by the processing module.

其中,影像拍摄方法更包含以处理模组利用基础影像及各暂时影像的一阶层分布图(histogram),来判断各暂时影像及基础影像的一第二误差值是否大于一第二门槛值。而当第二误差值大于第二门槛值时,则以处理模组删除此暂时影像。Wherein, the image shooting method further includes using the processing module to use a histogram of the basic image and each temporary image to determine whether a second error value of each temporary image and the basic image is greater than a second threshold value. And when the second error value is greater than the second threshold value, the temporary image is deleted by the processing module.

其中,影像拍摄方法更包含于处理模组进行影像叠合后,更以数字增益(digital gain)或内插法(temporalinterpolation)对输出影像进行亮度补偿。Wherein, the image shooting method further includes performing brightness compensation on the output image by digital gain or temporal interpolation after the image superposition by the processing module.

其中,影像拍摄方法更包含当多个暂时影像皆被删除时,则以处理模组提高基础影像的亮度。再以处理模组对基础影像美化以形成输出影像。Wherein, the image shooting method further includes, when all the temporary images are deleted, using the processing module to increase the brightness of the basic image. Then the base image is beautified by the processing module to form an output image.

根据本发明的目的,再提出一种电子装置,其包含一本体以及前述的影像拍摄装置,影像拍摄装置设于本体之中。According to the object of the present invention, an electronic device is further proposed, which includes a body and the aforementioned image capturing device, and the image capturing device is disposed in the body.

其中,电子装置为数字相机、具照相功能的手机、具照相功能的个人数字助理(PDA)或具照相功能的平板电脑。Wherein, the electronic device is a digital camera, a mobile phone with a camera function, a personal digital assistant (PDA) with a camera function, or a tablet computer with a camera function.

承上所述,本发明的电子装置、影像拍摄装置及其方法,其可具有一或多个下述优点:Based on the above, the electronic device, image capture device and method thereof of the present invention may have one or more of the following advantages:

(1)此电子装置、影像拍摄装置及其方法可由几何对齐多个暂时影像,并根据其对齐的误差量来筛选品质不佳的暂时影像,来可提高经影像叠合后产生的输出影像的清晰度。(1) The electronic device, image capture device and method thereof can geometrically align multiple temporary images, and filter temporary images with poor quality according to the amount of alignment error, so as to improve the quality of the output image produced after image superimposition clarity.

(2)此电子装置、影像拍摄装置及其方法可由分析各暂时影像的阶层分布图,并根据其误差量来筛选品质不佳的暂时影像,这样可提高经影像叠合后产生的输出影像的清晰度。(2) The electronic device, image capture device and method thereof can analyze the hierarchical distribution map of each temporary image, and filter the temporary images with poor quality according to the amount of error, which can improve the quality of the output image produced after image superimposition clarity.

附图说明 Description of drawings

图1为本发明的影像拍摄装置的框图;1 is a block diagram of an image capture device of the present invention;

图2为本发明的影像拍摄装置的第一实施例示意图;FIG. 2 is a schematic diagram of a first embodiment of an image capture device of the present invention;

图3为本发明的影像拍摄装置的第二实施例示意图;3 is a schematic diagram of a second embodiment of the image capture device of the present invention;

图4为本发明的电子装置的实施例示意图;4 is a schematic diagram of an embodiment of the electronic device of the present invention;

图5为本发明的影像拍摄方法的流程图;以及FIG. 5 is a flow chart of the image capturing method of the present invention; and

图6为本发明的影像拍摄方法的另一流程图Fig. 6 is another flow chart of the image shooting method of the present invention

具体实施方式 Detailed ways

请参阅图1,其为本发明的影像拍摄装置的框图。如图所示,本发明影像拍摄装置1,其包含一影像拍摄模组10、一储存模组11以及一处理模组12。影像拍摄模组10至少包含了感光元件如互补是金氧半导体元件(ComplementaryMetal-Oxide-Semiconductor,CMOS)或电荷耦合元件(Charge-Coupled-Device,CCD)、镜头及镜组等;储存模组11可为嵌入式记忆体、外接式记忆卡或其组合;处理模组12电性连接影像拍摄模组10及储存模组11,其可为中央处理器(Central Processing Unit,CPU)或微处理器(Micro-Processing Unit,MPU)。在一些较佳的实施例中,本发明的影像拍摄装置1可为数字相机(Digital Camera)或数字摄影机等(Digital Video Camera)。Please refer to FIG. 1 , which is a block diagram of an image capturing device of the present invention. As shown in the figure, the image capture device 1 of the present invention includes an image capture module 10 , a storage module 11 and a processing module 12 . The image capture module 10 includes at least a photosensitive element such as a complementary metal-oxide-semiconductor element (Complementary Metal-Oxide-Semiconductor, CMOS) or a charge-coupled device (Charge-Coupled-Device, CCD), a lens and a mirror group, etc.; a storage module 11 It can be an embedded memory, an external memory card or a combination thereof; the processing module 12 is electrically connected to the image capture module 10 and the storage module 11, and can be a central processing unit (Central Processing Unit, CPU) or a microprocessor (Micro-Processing Unit, MPU). In some preferred embodiments, the image capture device 1 of the present invention can be a digital camera (Digital Camera) or a digital video camera (Digital Video Camera).

其中,影像拍摄模组10拍摄多个暂时影像20,并储存于储存模组11中,而处理模组12则设定暂时影像20的其中之一为一基础影像21,并判断暂时影像20及基础影像21的差异是否大于一门槛值30。当暂时影像20的其中之一与基础影像21的差异大于门槛值30时,处理模组12即删除暂时影像20,并将其余的暂时影像20与基础影像21进行影像叠合以对应产生一输出影像22。其中,门槛值30系至少包含了一第一门槛值300以及一第二门槛值301。Wherein, the image capture module 10 captures a plurality of temporary images 20 and stores them in the storage module 11, and the processing module 12 sets one of the temporary images 20 as a basic image 21, and judges the temporary images 20 and Whether the difference of the base image 21 is greater than a threshold 30 . When the difference between one of the temporary images 20 and the basic image 21 is greater than the threshold value 30, the processing module 12 deletes the temporary image 20, and superimposes the rest of the temporary images 20 with the basic image 21 to generate an output accordingly. Image 22. Wherein, the threshold value 30 includes at least a first threshold value 300 and a second threshold value 301 .

在一些较佳的实施例中,处理模组12将基础影像21与各暂时影像20进行几何对齐,并对应计算一第一误差值31,当第一误差值31大于第一门槛值300时,处理模组12即删除暂时影像20;另外,在其他的较佳实施方式中,处理模组12更可利用基础影像21及各暂时影像20的一阶层分布图(histogram),来计算各暂时影像20及基础影像21之间的一第二误差值32,并判断各第二误差值32是否大于第二门槛值301。当第二误差值32大于第二门槛值301时,处理模组12即删除暂时影像20。而当处理模组12对此些暂时影像20及基础影像21进行影像叠合进而产生输出影像22之后,更以数字增益(digital gain)或内插法(temporal interpolation)对输出影像22进行亮度补偿。In some preferred embodiments, the processing module 12 geometrically aligns the basic image 21 and each temporary image 20, and calculates a first error value 31 correspondingly. When the first error value 31 is greater than the first threshold value 300, The processing module 12 deletes the temporary image 20; in addition, in other preferred embodiments, the processing module 12 can use the basic image 21 and the histogram of each temporary image 20 to calculate each temporary image 20 and a second error value 32 between the basic image 21 , and determine whether each second error value 32 is greater than a second threshold value 301 . When the second error value 32 is greater than the second threshold value 301 , the processing module 12 deletes the temporary image 20 . After the processing module 12 superimposes the temporary images 20 and the basic images 21 to generate the output image 22, the brightness compensation of the output image 22 is performed by digital gain or temporal interpolation. .

在某些情况之下,影像拍摄模组10所拍摄的暂时影像的状况都不佳时,暂时影像20则皆会被删除。此时,处理模组12即提高基础影像21的亮度,并对基础影像21美化以形成输出影像22。在实施上,输出影像22较佳为以一档案形式储存于储存模组11中,而暂时影像20以一资料形式储存于储存模组11中。此外,输出影像22较佳为可供使用者观看,而暂时影像20无法让使用者观看。Under some circumstances, when the condition of the temporary images captured by the image capturing module 10 is not good, all the temporary images 20 will be deleted. At this time, the processing module 12 increases the brightness of the basic image 21 and beautifies the basic image 21 to form an output image 22 . In practice, the output image 22 is preferably stored in the storage module 11 in a file format, and the temporary image 20 is stored in the storage module 11 in a data format. In addition, the output image 22 is preferably viewable by the user, while the temporary image 20 cannot be viewed by the user.

请一并参阅图2,其为本发明的影像拍摄装置的第一实施例示意图。如图所示,影像拍摄模组10首先连续地拍摄了三张暂时影像,而处理模组12或使用者选择了其中一张作为基础影像210,故其余两张即为接下来要与基础影像210进行几何对齐的暂时影像200、201。由图中可知,暂时影像201的影像内容较基础影像210的几何差异太大,其可能的原因为手振造成的影像位移,或由于环境照度过低产生的杂讯太多,以致于在几何对齐的过程中对齐的情况不佳。在本实施例中,暂时影像201为使用者手振之后,相机有向下垂直位移的情况产生,以致于上方的太阳被切掉一半,下方的湖水有多的影像被拍摄进来。在进行几何对齐的过程时,处理模组12即计算其各暂时影像200、201在对齐时的几何转换参数,且处理模组12更根据各个几何转换参数产生第一误差值31,并与第一门槛值300进行比对,若彼此影像差异过大,就无法正确地对齐,进而导致误差过大。而当第一误差值31超过第一门槛值300时,此时处理模组12即认定暂时影像201与基础影像210的几何差距较大,不适用于之后的影像叠合程序,因此处理模组12即将暂时影像201从储存模组11中删除,并以剩下的暂时影像200与基础影像210进行影像叠合。Please also refer to FIG. 2 , which is a schematic view of the first embodiment of the image capture device of the present invention. As shown in the figure, the image capture module 10 first continuously shoots three temporary images, and the processing module 12 or the user selects one of them as the basic image 210, so the remaining two are the basic images to be combined next. 210 Temporary images 200, 201 are geometrically aligned. It can be seen from the figure that the image content of the temporary image 201 is much different from that of the base image 210. The possible reasons are the image displacement caused by hand vibration, or too much noise due to the low ambient illumination, so that the geometry Bad alignment during alignment. In this embodiment, the temporary image 201 is generated when the camera is vertically displaced downwards after the user shakes his hand, so that the sun above is cut in half, and the image of the lake below is captured. During the process of geometric alignment, the processing module 12 calculates the geometric transformation parameters of the temporary images 200, 201 during alignment, and the processing module 12 generates a first error value 31 according to each geometric transformation parameter, and compares it with the first error value 31 A threshold value of 300 is used for comparison. If the difference between the images is too large, they cannot be aligned correctly, resulting in excessive errors. And when the first error value 31 exceeds the first threshold value 300, the processing module 12 determines that the geometric difference between the temporary image 201 and the basic image 210 is relatively large, which is not suitable for the subsequent image superposition process, so the processing module 12 is to delete the temporary image 201 from the storage module 11, and perform image superposition with the remaining temporary image 200 and the basic image 210.

请参阅图3,其为本发明的影像拍摄装置的第二实施例示意图。如图所示,影像拍摄模组10首先拍摄了三张暂时影像,而处理模组12或使用者选择了其中一张作为基础影像211,故其余两张即为接下来要与基础影像211进行以阶层分布图(histogram)分析影像内容差异的暂时影像202、203。由图中可知,暂时影像203的影像内容较基础影像211的差异太大,其因使用者在拍照时,有行人3闯入了影像拍摄模组10的影像拍摄范围内,以致于暂时影像203的颜色的阶层分布图2030与基础影像211的阶层分布图2110差太多,代表影像内容是不一样的。此时,处理模组12即认定暂时影像203的影像内容与较基础影像210差距较大,不适用于之后的影像叠合程序,因此处理模组12即将暂时影像203从储存模组11中删除,并以剩下的暂时影像202与基础影像211进行影像叠合。Please refer to FIG. 3 , which is a schematic diagram of a second embodiment of the image capturing device of the present invention. As shown in the figure, the image capturing module 10 firstly shoots three temporary images, and the processing module 12 or the user selects one of them as the basic image 211, so the remaining two are to be processed with the basic image 211 next. Temporary images 202 and 203 of image content differences are analyzed with a histogram. It can be seen from the figure that the image content of the temporary image 203 is much different from that of the basic image 211. When the user is taking pictures, a pedestrian 3 intrudes into the image capturing range of the image capturing module 10, so that the temporary image 203 The hierarchical distribution diagram 2030 of the color of is very different from the hierarchical distribution diagram 2110 of the base image 211 , which means that the contents of the images are different. At this time, the processing module 12 determines that the image content of the temporary image 203 is far from that of the basic image 210, and is not suitable for the subsequent image superposition process, so the processing module 12 is about to delete the temporary image 203 from the storage module 11 , and perform image superimposition with the remaining temporary image 202 and the basic image 211 .

然而,在本发明所属领域中具有通常知识者应当明了,判断各个暂时影像与基础影像差异的方法并不仅局限于上述两种,此两种方法仅为举例而非限制,在此先行叙明。However, those with ordinary knowledge in the field of the present invention should understand that the methods for judging the difference between each temporary image and the basic image are not limited to the above two methods, and these two methods are only examples rather than limitations, and will be described here first.

而当处理模组12对此些暂时影像及基础影像进行影像叠合进而产生输出影像之后,由于有部分的暂时影像被删除了,所以其叠合后的输出影像的亮度是不足的亦即在本实施例中,原先的输出影像应此具有三张合成的亮度,但此时已经有一张被删除了,所以此时经影像叠合后的输出影像就只剩下2/3的亮度。而为了解决这个问题,处理模组12即以数字增益(digital gain)法,将输出影像的亮度直接提高1/3,以达到原先使用者在测光时所预设的影像亮度。另外,处理模组12也可以内插法(temporal interpolation),将基础影像以及未被删除的暂时影像之间的亮度值找出后,根据此亮度值对输出影像进行亮度修正。然而,在本发明所属领域中具有通常知识者应当明了,修正输出影像亮度的方法并不仅局限于上述两种,此两种方法仅为举例而非限制,在此先行叙明。And when the processing module 12 performs image superimposition on these temporary images and basic images to generate an output image, since some temporary images are deleted, the brightness of the superimposed output image is insufficient, that is, in In this embodiment, the original output image should have the combined brightness of three images, but one has been deleted at this time, so only 2/3 of the brightness remains in the output image after image superimposition. In order to solve this problem, the processing module 12 uses a digital gain method to directly increase the brightness of the output image by 1/3, so as to reach the original image brightness preset by the user when measuring light. In addition, the processing module 12 may also use temporal interpolation to find out the brightness value between the basic image and the temporary image that has not been deleted, and then perform brightness correction on the output image according to the brightness value. However, those skilled in the art of the present invention should understand that the methods for correcting the brightness of the output image are not limited to the above two methods, and these two methods are only examples rather than limitations, and will be described here first.

在某些情况之下,除了基础影像之外,所有影像拍摄模组10所拍摄的暂时影像的状况都不佳时,则这些暂时影像则皆会被删除。此时,处理模组12即提高基础影像21的亮度(以数字增益法等),再对基础影像美化以形成并输出输出影像。Under some circumstances, when all the temporary images captured by the image capture module 10 are not in good condition except the basic image, these temporary images will all be deleted. At this time, the processing module 12 increases the brightness of the basic image 21 (using digital gain method, etc.), and then beautifies the basic image to form and output an output image.

请参阅图4,其为本发明的电子装置的实施例示意图。如图所示,本发明的电子装置4包含一本体40、输入装置41及影像拍摄装置1,影像拍摄装置1设置于本体40之上且与输入装置41电性连接。影像拍摄装置1则包含了影像拍摄模组、储存模组及处理模组,此处的影像拍摄装置1的详细叙述已于前面详述过,在此便不再赘述。然而值得一提的是,本发明所提出的电子装置4可为各式移动式手持装置,例如数字相机、具有照相功能的多媒体播放装置、具有照相功能的行动电话、智慧型手机(Smart phone)、导航装置(Navigator)、具照相功能的平板电脑或个人数字助理(PDA)等。Please refer to FIG. 4 , which is a schematic diagram of an embodiment of the electronic device of the present invention. As shown in the figure, the electronic device 4 of the present invention includes a body 40 , an input device 41 and an image capture device 1 . The image capture device 1 is disposed on the body 40 and electrically connected to the input device 41 . The image capturing device 1 includes an image capturing module, a storage module and a processing module. The detailed description of the image capturing device 1 has been described in detail above, so it will not be repeated here. However, it is worth mentioning that the electronic device 4 proposed by the present invention can be various mobile handheld devices, such as digital cameras, multimedia playback devices with camera functions, mobile phones with camera functions, smart phones (Smartphone) , a navigation device (Navigator), a tablet computer or a personal digital assistant (PDA) with a camera function, etc.

在本实施例中,本发明的电子装置4即以智慧型手机为例,其可内嵌本发明所提出的影像拍摄装置1作为照相用,因而使用者可由智慧型手机的输入装置41如触控屏幕或实体按键等,在需要拍照的情况下,电子装置4随即开始进行上述的连拍影像筛选的动作,因而大大的提升了防手振的效果以及提升输出影像的清晰度。本实施例所揭露的智慧型手机仅为举例而非限制,在本发明所属技术领域具有通常知识者应可轻易置换其他的装置搭配本发明的影像拍摄装置1,在此先行叙明。In this embodiment, the electronic device 4 of the present invention takes a smart phone as an example, which can be embedded with the image capture device 1 proposed by the present invention for taking pictures, so the user can use the input device 41 of the smart phone as a touch Control screen or physical buttons, etc., in the case of taking pictures, the electronic device 4 immediately starts the above-mentioned continuous shooting image screening action, thus greatly improving the anti-shake effect and improving the clarity of the output image. The smart phone disclosed in this embodiment is only an example and not a limitation. Those with ordinary knowledge in the technical field of the present invention can easily replace other devices with the image capture device 1 of the present invention, which will be described in advance.

尽管前述在说明本发明的影像拍摄装置的过程中,亦已同时说明本发明的影像拍摄方法的概念,但为求清楚起见,以下仍另绘示流程图详细说明。Although the concept of the image capturing method of the present invention has also been described in the process of describing the image capturing device of the present invention, for the sake of clarity, a flow chart is still shown in detail below.

请参阅图5,其为本发明的影像拍摄方法的流程图。如图所示,本发明的影像拍摄方法,其适用于一影像拍摄装置,影像拍摄装置包含一影像拍摄模组、一储存模组以及一处理模组,影像拍摄方法包含下列步骤:Please refer to FIG. 5 , which is a flow chart of the image capturing method of the present invention. As shown in the figure, the image capturing method of the present invention is applicable to an image capturing device. The image capturing device includes an image capturing module, a storage module and a processing module. The image capturing method includes the following steps:

(S1)以影像拍摄模组拍摄多个暂时影像并储存于储存模组中;(S1) Capture multiple temporary images with the image capture module and store them in the storage module;

(S2)以处理模组设定暂时影像的其中之一为一基础影像,再以处理模组判断暂时影像及基础影像的差异是否大于一门槛值;(S2) using the processing module to set one of the temporary images as a basic image, and then using the processing module to determine whether the difference between the temporary image and the basic image is greater than a threshold;

(S3)当暂时影像的其中之一与基础影像的差异大于门槛值时,即以处理模组删除暂时影像;(S3) When the difference between one of the temporary images and the base image is greater than a threshold value, delete the temporary images by the processing module;

(S4)以处理模组判断储存模组中是否还存在暂时影像;(S4) judging by the processing module whether there is still a temporary image in the storage module;

(S5)当储存模组中存在暂时影像时,即以处理模组将剩余的暂时影像与基础影像进行影像叠合以对应产生一输出影像;以及(S5) When there is a temporary image in the storage module, use the processing module to overlap the remaining temporary image with the basic image to generate an output image correspondingly; and

(S6)以处理模组通过数字增益法或内插法对输出影像进行亮度补偿。(S6) Perform brightness compensation on the output image by the processing module through a digital gain method or an interpolation method.

而当在步骤(S4)中处理模组判断储存模组中并未存在暂时影像时,即进入步骤:And when the processing module judges in the step (S4) that there is no temporary image in the storage module, it enters into the step:

(S40)以处理模组提高基础影像的亮度;以及(S40) improving the brightness of the base image with the processing module; and

(S41)以处理模组对基础影像美化以形成输出影像。(S41) Beautifying the base image by the processing module to form an output image.

请参阅图6,其为本发明的影像拍摄方法的另一流程图。如图所示,步骤(S2)更包含了下列步骤:Please refer to FIG. 6 , which is another flowchart of the image capturing method of the present invention. As shown in the figure, step (S2) further includes the following steps:

(S20)以处理模组将基础影像与各暂时影像进行几何对齐,并对应计算一第一误差值;(S20) Geometrically align the basic image with each temporary image by the processing module, and calculate a first error value correspondingly;

(S21)以处理模组判断各第一误差值是否大于第一门槛值;(S21) Using the processing module to determine whether each first error value is greater than a first threshold value;

(S22)当第一误差值大于第一门槛值时,则以处理模组删除此暂时影像;(S22) When the first error value is greater than the first threshold value, delete the temporary image with the processing module;

(S23)以处理模组利用基础影像及各暂时影像的一阶层分布图来判断各暂时影像及基础影像的一第二误差值是否大于一第二门槛值;(S23) Using the processing module to determine whether a second error value of each temporary image and the basic image is greater than a second threshold value by using a hierarchical distribution map of the basic image and each temporary image;

(S24)当第二误差值大于第二门槛值时,则以处理模组删除该暂时影像。(S24) When the second error value is greater than the second threshold value, delete the temporary image by the processing module.

而当在步骤(S23)中,第二误差值未大于一第二门槛值时,则进行步骤(S4);而步骤(S24)后,则进行步骤(S4)及其后的步骤。And when in step (S23), the second error value is not greater than a second threshold value, then proceed to step (S4); and after step (S24), then proceed to step (S4) and subsequent steps.

本发明的影像拍摄方法的详细说明以及实施方式已于前面叙述本发明的影像拍摄装置时描述过了,在此为了简略说明便不再赘述。The detailed description and implementation of the image capturing method of the present invention have been described above when describing the image capturing device of the present invention, and will not be repeated here for brevity.

综上所述,本发明的电子装置、影像拍摄装置及其方法可由几何对齐多个暂时影像,并根据其对齐的误差量来筛选品质不佳的暂时影像,这样可提高经影像叠合后产生的输出影像的清晰度;另外,本发明更可通过分析各暂时影像的阶层分布图,并根据其误差量来筛选品质不佳的暂时影像,以有效解决已知以良莠不齐的影像进行叠合时,产生输出影像品质低劣的问题。To sum up, the electronic device, image capture device and method of the present invention can geometrically align multiple temporary images, and filter temporary images with poor quality according to the amount of alignment error, which can improve the quality of images generated after image superimposition. The clarity of the output image; in addition, the present invention can also analyze the hierarchical distribution map of each temporary image, and filter the temporary images with poor quality according to the amount of error, so as to effectively solve the problem of overlaying known good and bad images. , causing the problem of poor output image quality.

以上所述仅为举例性,而非为限制性者。任何未脱离本发明之精神与范畴,而对其进行的等效修改或变更,均应包含于申请专利范围中。The above descriptions are illustrative only, not restrictive. Any equivalent modification or change made without departing from the spirit and scope of the present invention shall be included in the scope of the patent application.

Claims (8)

1.一种影像拍摄装置,其特征在于:包含:1. An image shooting device, characterized in that: comprising: 一影像拍摄模组,其拍摄多个暂时影像;以及an image capture module, which captures a plurality of temporary images; and 一处理模组,其设定所述多个暂时影像的其中之一为一基础影像,并判断所述多个暂时影像及所述基础影像的差异是否大于一门槛值,当所述多个暂时影像的其中之一与所述基础影像的差异大于所述门槛值时,所述处理模组即删除所述暂时影像,并将其余的所述多个暂时影像与所述基础影像进行影像叠合以对应产生一输出影像。A processing module, which sets one of the plurality of temporary images as a basic image, and judges whether the difference between the plurality of temporary images and the basic image is greater than a threshold value, when the plurality of temporary When the difference between one of the images and the basic image is greater than the threshold value, the processing module deletes the temporary image, and superimposes the rest of the temporary images with the basic image to generate an output image correspondingly. 2.如权利要求1所述的影像拍摄装置,其特征在于:所述处理模组将所述基础影像与各所述暂时影像进行几何对齐,并对应计算一第一误差值,当所述第一误差值大于一第一门槛值时,所述处理模组即删除所述暂时影像。2. The image capture device according to claim 1, wherein the processing module geometrically aligns the basic image with each of the temporary images, and calculates a first error value correspondingly, when the second When an error value is greater than a first threshold value, the processing module deletes the temporary image. 3.如权利要求2所述的影像拍摄装置,其特征在于:所述处理模组更利用所述基础影像及各所述暂时影像的一阶层分布图,来判断各所述暂时影像及所述基础影像的一第二误差值是否大于一第二门槛值,当所述第二误差值大于所述第二门槛值时,所述处理模组即删除所述暂时影像。3. The image capture device as claimed in claim 2, wherein the processing module further uses the basic image and a hierarchical distribution map of each of the temporary images to determine each of the temporary images and the Whether a second error value of the basic image is greater than a second threshold value. When the second error value is greater than the second threshold value, the processing module deletes the temporary image. 4.如权利要求1所述的影像拍摄装置,其特征在于:所述处理模组进行影像叠合后,更以数字增益或内插法对所述输出影像进行亮度补偿。4 . The image capture device according to claim 1 , wherein after the image superposition by the processing module, brightness compensation is performed on the output image by digital gain or interpolation. 5 . 5.一种影像拍摄方法,其特征在于:包含下列步骤:5. An image shooting method, characterized in that: comprising the following steps: 以一影像拍摄模组拍摄多个暂时影像;Taking a plurality of temporary images with an image capturing module; 以一处理模组设定所述多个暂时影像的其中之一为一基础影像;using a processing module to set one of the plurality of temporary images as a basic image; 以所述处理模组判断所述多个暂时影像及所述基础影像的差异是否大于一门槛值;Using the processing module to determine whether the difference between the plurality of temporary images and the basic image is greater than a threshold; 当所述多个暂时影像的其中之一与所述基础影像的差异大于所述门槛值时,即以所述处理模组删除所述暂时影像;以及deleting the temporary image by the processing module when the difference between one of the plurality of temporary images and the base image is greater than the threshold value; and 以所述处理模组将其余的所述多个暂时影像与所述基础影像进行影像叠合以对应产生一输出影像。Using the processing module to superimpose the rest of the temporary images with the basic image to generate an output image correspondingly. 6.如权利要求5所述的影像拍摄方法,其特征在于:更包含下列步骤:6. The image capturing method according to claim 5, further comprising the following steps: 以所述处理模组将所述基础影像与各所述暂时影像进行几何对齐,并对应计算一第一误差值,using the processing module to geometrically align the base image and each of the temporary images, and correspondingly calculate a first error value, 以所述处理模组判断各所述第一误差值是否大于所述第一门槛值时;以及When using the processing module to determine whether each of the first error values is greater than the first threshold value; and 当所述第一误差值大于所述第一门槛值时,则以所述处理模组删除所述暂时影像。When the first error value is greater than the first threshold value, the temporary image is deleted by the processing module. 7.如权利要求5所述的影像拍摄方法,其特征在于:更包含下列步骤:7. The image capturing method according to claim 5, further comprising the following steps: 当所述多个暂时影像皆被删除时,则以所述处理模组提高所述基础影像的亮度;以及When the plurality of temporary images are all deleted, using the processing module to increase the brightness of the base image; and 以所述处理模组对所述基础影像美化以形成所述输出影像。The base image is beautified by the processing module to form the output image. 8.一种电子装置,其特征在于:包含:8. An electronic device, characterized in that: comprising: 一本体;以及a body; and 一如权利要求1~3中任一项所述的影像拍摄装置,所述影像拍摄装置设于所述本体之中。1. The image capturing device according to any one of claims 1 to 3, wherein the image capturing device is disposed in the main body.
CN2010105463374A 2010-12-27 2010-12-27 Electronic device, image shooting device and method thereof Pending CN102572250A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2010105463374A CN102572250A (en) 2010-12-27 2010-12-27 Electronic device, image shooting device and method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2010105463374A CN102572250A (en) 2010-12-27 2010-12-27 Electronic device, image shooting device and method thereof

Publications (1)

Publication Number Publication Date
CN102572250A true CN102572250A (en) 2012-07-11

Family

ID=46416625

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2010105463374A Pending CN102572250A (en) 2010-12-27 2010-12-27 Electronic device, image shooting device and method thereof

Country Status (1)

Country Link
CN (1) CN102572250A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104104857A (en) * 2013-04-12 2014-10-15 上海果壳电子有限公司 Optimized shooting method, optimized shooting system and hand-held device
CN104184942A (en) * 2014-07-28 2014-12-03 联想(北京)有限公司 Information processing method and electronic equipment

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1879401A (en) * 2003-11-11 2006-12-13 精工爱普生株式会社 Image processing device, image processing method, program thereof, and recording medium
US20070236561A1 (en) * 2006-04-06 2007-10-11 Topcon Corporation Image processing device and method
CN101088280A (en) * 2004-12-23 2007-12-12 英特尔公司 Method and algorithm for detection of scene cuts or similar images in video images
CN101124816A (en) * 2004-09-15 2008-02-13 佳能株式会社 Image processing device and image processing method

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1879401A (en) * 2003-11-11 2006-12-13 精工爱普生株式会社 Image processing device, image processing method, program thereof, and recording medium
CN101124816A (en) * 2004-09-15 2008-02-13 佳能株式会社 Image processing device and image processing method
CN101088280A (en) * 2004-12-23 2007-12-12 英特尔公司 Method and algorithm for detection of scene cuts or similar images in video images
US20070236561A1 (en) * 2006-04-06 2007-10-11 Topcon Corporation Image processing device and method

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104104857A (en) * 2013-04-12 2014-10-15 上海果壳电子有限公司 Optimized shooting method, optimized shooting system and hand-held device
CN104184942A (en) * 2014-07-28 2014-12-03 联想(北京)有限公司 Information processing method and electronic equipment

Similar Documents

Publication Publication Date Title
TWI444753B (en) Image capturing device and adjusting method of exposure time thereof
US10027909B2 (en) Imaging device, imaging method, and image processing device
US20100053349A1 (en) Imaging Apparatus and Imaging Method
CN102111556B (en) Image pickup device, image processing method
US8159544B2 (en) Method for adjusting photographing settings of digital camera through motion detection
CN110475067B (en) Image processing method and device, electronic equipment and computer readable storage medium
JP5612017B2 (en) Camera shake reduction system
US20080174663A1 (en) Electric hand-vibration correction method, electric hand-vibration correction device, electric hand-vibration correction program, and imaging apparatus
TW201304529A (en) Image processing device and image processing method thereof
JP2011114407A (en) Image processing apparatus, image processing method, program, and recording medium
WO2018196854A1 (en) Photographing method, photographing apparatus and mobile terminal
JP2009159559A (en) Imaging apparatus and program thereof
CN102547130A (en) Image shooting device and image shooting method thereof
WO2011052492A1 (en) Mobile communication apparatus
TWI445396B (en) Electronic apparatus, image capturing apparatus and method thereof
CN104994288A (en) Shooting method and user terminal
CN102480590B (en) Electronic device, image capturing device and method thereof
CN102572250A (en) Electronic device, image shooting device and method thereof
CN110784642B (en) Image processing apparatus, control method thereof, storage medium, and imaging apparatus
TWI459806B (en) Electronic apparatus, image capturing apparatus and method thereof
JP4844220B2 (en) Exposure compensation device, photographing device, exposure value setting device, exposure compensation value calculation method, and control program
US20160373648A1 (en) Methods and systems for capturing frames based on device information
CN103095978A (en) Image processing method for generating background blur and image capturing device thereof
TWI424739B (en) Electronic apparatus, image capturing apparatus and control method thereof
JP2014153517A (en) Image processing device, image processing method, program, 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
C12 Rejection of a patent application after its publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20120711