CN104717430B - Image processing method and image processing apparatus - Google Patents
Image processing method and image processing apparatus Download PDFInfo
- Publication number
- CN104717430B CN104717430B CN201310687003.2A CN201310687003A CN104717430B CN 104717430 B CN104717430 B CN 104717430B CN 201310687003 A CN201310687003 A CN 201310687003A CN 104717430 B CN104717430 B CN 104717430B
- Authority
- CN
- China
- Prior art keywords
- image
- image processing
- unit
- value
- storage unit
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 238000012545 processing Methods 0.000 title claims abstract description 75
- 238000003672 processing method Methods 0.000 title claims description 20
- 238000003491 array Methods 0.000 description 7
- 238000010586 diagram Methods 0.000 description 4
- 230000006870 function Effects 0.000 description 4
- 238000000034 method Methods 0.000 description 4
- 238000003384 imaging method Methods 0.000 description 3
- 230000009286 beneficial effect Effects 0.000 description 2
- 238000004364 calculation method Methods 0.000 description 2
- 238000013461 design Methods 0.000 description 2
- 206010047571 Visual impairment Diseases 0.000 description 1
- 230000003044 adaptive effect Effects 0.000 description 1
- 238000012790 confirmation Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 239000000284 extract Substances 0.000 description 1
- 230000004927 fusion Effects 0.000 description 1
- 238000009434 installation Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
Landscapes
- Studio Devices (AREA)
- Image Processing (AREA)
Abstract
一种图像处理装置包括一摄像单元、一控制单元、一影像处理单元及一储存单元。摄像单元取得一第一影像。控制单元调整摄像单元的曝光值,以控制第一影像的暗部平均亮度值及第一影像的对比度值。影像处理单元与摄像单元及储存单元耦接,并依据第一影像及一储存于储存单元中的第一算法产生一第二影像,及依据第一影像及一储存于储存单元中的第二算法产生一第三影像。影像处理单元依据第一影像的亮度值、第二影像的亮度值、第三影像的亮度值及一权重阵列产生一第四影像。本发明能够避免因拍摄多张不同曝光值的影像,而产生之占用内存空间的问题,及避免因多张影像内容不一致,而导致输出的影像不完整的问题,并同时达成实时产生拟高动态范围影像。
An image processing device includes a camera unit, a control unit, an image processing unit and a storage unit. The camera unit obtains a first image. The control unit adjusts the exposure value of the camera unit to control the average brightness value of the dark part of the first image and the contrast value of the first image. The image processing unit is coupled to the camera unit and the storage unit, and generates a second image based on the first image and a first algorithm stored in the storage unit, and generates a third image based on the first image and a second algorithm stored in the storage unit. The image processing unit generates a fourth image based on the brightness value of the first image, the brightness value of the second image, the brightness value of the third image and a weight array. The present invention can avoid the problem of occupying memory space caused by shooting multiple images with different exposure values, and avoid the problem of incomplete output images due to inconsistent contents of multiple images, and at the same time achieve real-time generation of quasi-high dynamic range images.
Description
技术领域technical field
本发明关于一种图像处理方法及图像处理装置,特别关于一种实时取得拟高动态的图像处理方法及图像处理装置。The present invention relates to an image processing method and an image processing device, in particular to an image processing method and an image processing device for obtaining pseudo-high dynamics in real time.
背景技术Background technique
近年来,摄影已成为现代人重要的兴趣之一。无论是笔记本电脑的内建相机、平板电脑的内建相机或是手机的内建相机,人们对于随时随地想拍下美好事物的渴望越来越高。然而,并非任何时刻的环境都是适合拍照的。当周遭的光线不足、背光或环境亮度为高反差(环境中同时具有极高亮度及极低亮度的部分),所拍摄出来的影像将会受限于相机本身的硬件,而无法呈现出当初的原貌。In recent years, photography has become one of the important interests of modern man. Whether it is the built-in camera of a laptop computer, a tablet computer or a mobile phone, people's desire to take pictures of beautiful things anytime, anywhere is getting higher and higher. However, not every moment of the environment is suitable for taking pictures. When the surrounding light is insufficient, the backlight or the ambient brightness is high-contrast (parts of the environment with extremely high brightness and extremely low brightness at the same time), the captured image will be limited by the hardware of the camera itself, and cannot present the original original appearance.
在现有技术中,高动态范围成像(High dynamic range;HDR)是用来实现比普通数字图像技术更大曝光动态范围的一种技术,其通过多种不同的曝光值进行拍摄并产生多张影像,再将这些不同曝光值的影像加以融合的方式,而输出一张优化的影像。然而,多张影像除了占用较多的储存空间之外,由于高动态范围成像需采用多个曝光值,如此将会降低图像处理的速度。另外,高动态范围成像所采用的方式,是在不同时间以不同曝光值,对同一个地点进行拍摄。若是拍摄时未搭配脚架或其它固定装置,非常容易发生多张影像内容不一致,造成融合输出的影像会有残影或画面不完整的问题。In the prior art, high dynamic range imaging (High dynamic range; HDR) is a technology used to achieve a larger exposure dynamic range than ordinary digital image technology. It shoots through a variety of different exposure values and produces multiple images. images, and then fuse the images with different exposure values to output an optimized image. However, in addition to taking up more storage space, multiple images require multiple exposure values for high dynamic range imaging, which will reduce the speed of image processing. In addition, the method adopted by high dynamic range imaging is to shoot the same location at different times with different exposure values. If the camera is not equipped with a tripod or other fixed devices, it is very easy to have inconsistencies in the content of multiple images, resulting in afterimages or incomplete images in the fusion output image.
发明内容Contents of the invention
本发明提供一种图像处理方法,用于图像处理装置。图像处理装置包括摄像单元、控制单元、影像处理单元及储存单元。图像处理方法包括以下步骤:通过摄像单元取得一第一影像,其中控制单元调整摄像单元的曝光值,以控制第一影像的暗部平均亮度值及第一影像的对比度值;影像处理单元依据第一影像及储存于储存单元中的一第一算法产生一第二影像;影像处理单元依据第一影像及储存于储存单元中的一第二算法产生一第三影像;以及影像处理单元依据第一影像的亮度值、第二影像的亮度值、第三影像的亮度值及一权重阵列产生一第四影像。The invention provides an image processing method used in an image processing device. The image processing device includes a camera unit, a control unit, an image processing unit and a storage unit. The image processing method includes the following steps: obtaining a first image through the camera unit, wherein the control unit adjusts the exposure value of the camera unit to control the average brightness value of the dark part of the first image and the contrast value of the first image; the image processing unit according to the first The image and a first algorithm stored in the storage unit generate a second image; the image processing unit generates a third image according to the first image and a second algorithm stored in the storage unit; and the image processing unit generates a third image according to the first image The luminance value of , the luminance value of the second image, the luminance value of the third image and a weight array generate a fourth image.
本发明还提供一种图像处理装置,包括一摄像单元、一控制单元、一影像处理单元及一储存单元。摄像单元取得一第一影像。控制单元与摄像单元耦接,并调整摄像单元的曝光值,以控制第一影像的暗部平均亮度值及第一影像的对比度值。储存单元与控制单元耦接。影像处理单元与摄像单元耦接,并依据第一影像及储存于储存单元中的一第一算法产生一第二影像,及依据第一影像及储存于储存单元中的一第二算法产生一第三影像。影像处理单元依据第一影像的亮度值、第二影像的亮度值、第三影像的亮度值及一权重阵列产生一第四影像。The invention also provides an image processing device, which includes a camera unit, a control unit, an image processing unit and a storage unit. The camera unit acquires a first image. The control unit is coupled with the camera unit, and adjusts the exposure value of the camera unit to control the average brightness value of the dark part of the first image and the contrast value of the first image. The storage unit is coupled to the control unit. The image processing unit is coupled with the camera unit, and generates a second image according to the first image and a first algorithm stored in the storage unit, and generates a first image according to the first image and a second algorithm stored in the storage unit Three images. The image processing unit generates a fourth image according to the brightness value of the first image, the brightness value of the second image, the brightness value of the third image and a weight array.
因此,本发明能够避免因拍摄多张不同曝光值的影像,而产生之占用内存空间的问题,及避免因多张影像内容不一致,而导致输出的影像不完整的问题,并同时达成实时产生拟高动态范围影像。Therefore, the present invention can avoid the problem of taking up memory space caused by shooting multiple images with different exposure values, and avoid the problem of incomplete output images due to inconsistent content of multiple images, and simultaneously achieve real-time generation of virtual images. High Dynamic Range Imagery.
附图说明Description of drawings
图1为本发明一实施例的一种图像处理装置的外观示意图。FIG. 1 is a schematic diagram of the appearance of an image processing device according to an embodiment of the present invention.
图2为本发明一实施例的一种图像处理装置的内部结构示意图。FIG. 2 is a schematic diagram of an internal structure of an image processing device according to an embodiment of the present invention.
图3为本发明一实施例的一种图像处理方法的流程图。FIG. 3 is a flowchart of an image processing method according to an embodiment of the present invention.
具体实施方式detailed description
以下将参照相关图式,说明依本发明较佳实施例的一种图像处理方法及图像处理装置,其中相同的元件将以相同的参照符号加以说明。An image processing method and an image processing device according to preferred embodiments of the present invention will be described below with reference to related drawings, wherein the same elements will be described with the same reference symbols.
图1为本发明一实施例的一实施例的图像处理装置的外观示意图。请参照图1所示,在本实施例中,图像处理装置11为搭载有摄像单元111的平板电脑。然,本发明不以此为限。在其它的实施态样中,图像处理装置也可为笔记本电脑、智能型手机、多媒体影音装置、可携式电玩装置或其它搭载有相机镜头的可携式电子装置。除此之外,图像处理装置也可以是用于监控的监控设备或保全摄影系统的固定设置形式的电子装置或系统。FIG. 1 is a schematic diagram of the appearance of an image processing device according to an embodiment of the present invention. Referring to FIG. 1 , in this embodiment, the image processing device 11 is a tablet computer equipped with a camera unit 111 . However, the present invention is not limited thereto. In other implementations, the image processing device can also be a notebook computer, a smart phone, a multimedia audio-visual device, a portable video game device or other portable electronic devices equipped with a camera lens. In addition, the image processing device can also be an electronic device or system in the form of a stationary installation of a surveillance system for surveillance or a security camera system.
请参照图2,其为本发明一实施例的一种图像处理装置的内部结构示意图。图像处理装置21包括一摄像单元211、一控制单元212、一影像处理单元213及一储存单元214。摄像单元211依据使用者的操作取得一第一影像。控制单元212与摄像单元211耦接,并调整摄像单元211的曝光值(Exposure Value),以控制第一影像的暗部平均亮度值及第一影像的对比度值。Please refer to FIG. 2 , which is a schematic diagram of an internal structure of an image processing device according to an embodiment of the present invention. The image processing device 21 includes a camera unit 211 , a control unit 212 , an image processing unit 213 and a storage unit 214 . The camera unit 211 acquires a first image according to a user's operation. The control unit 212 is coupled to the camera unit 211 and adjusts the exposure value of the camera unit 211 to control the average brightness value of the dark part of the first image and the contrast value of the first image.
详细来说,控制单元212控制摄像单元211的曝光值,以使摄像单元211所取得的第一影像的暗部平均亮度值介于30至40之间,并使第一影像的对比度值介于摄像单元211的内建对比度值的80%至90%之间。其中,透过上述参数所产生的第一影像将有利于后续的图像处理。In detail, the control unit 212 controls the exposure value of the camera unit 211 so that the average brightness value of the dark portion of the first image captured by the camera unit 211 is between 30 and 40, and the contrast value of the first image is between 30 and 40. Between 80% and 90% of the built-in contrast value of unit 211. Wherein, the first image generated through the above parameters will be beneficial to subsequent image processing.
影像处理单元213与摄像单元211耦接,储存单元214与控制单元212及影像处理单元213耦接。影像处理单元213依据摄像单元211所取得的第一影像及储存于储存单元214中的一第一算法产生一第二影像,以及依据第一影像及储存于储存单元214中的一第二算法产生一第三影像。此外,影像处理单元213将依据第一影像的亮度值、第二影像的亮度值、第三影像的亮度值及一权重阵列产生一第四影像。在本实施例中,影像处理单元213依据储存于储存单元214中的第一算法调高第一影像的各像素的亮度,而产生第二影像,且影像处理单元213依据储存于储存单元214中的第二算法调高第一影像的对比度,特别是调高区域像素的对比度,以产生该第三影像。The image processing unit 213 is coupled to the camera unit 211 , and the storage unit 214 is coupled to the control unit 212 and the image processing unit 213 . The image processing unit 213 generates a second image according to the first image obtained by the camera unit 211 and a first algorithm stored in the storage unit 214, and generates a second image according to the first image and a second algorithm stored in the storage unit 214 a third image. In addition, the image processing unit 213 generates a fourth image according to the luminance value of the first image, the luminance value of the second image, the luminance value of the third image and a weight array. In this embodiment, the image processing unit 213 increases the brightness of each pixel of the first image according to the first algorithm stored in the storage unit 214 to generate the second image, and the image processing unit 213 generates the second image according to the algorithm stored in the storage unit 214 The second algorithm increases the contrast of the first image, in particular the contrast of the region pixels, to generate the third image.
于本实施例中,是以控制单元212和影像处理单元213为两个分离设置的元件进行说明,但在其他的实施态样中,控制单元212和影像处理单元213将可依据电路的布局和设计而整合为一个单一构件。In this embodiment, the control unit 212 and the image processing unit 213 are described as two separate components, but in other implementations, the control unit 212 and the image processing unit 213 may be based on the circuit layout and integrated into a single component by design.
此外,在本实施例中,权重阵列为储存于储存单元214的一默认权重阵列。其中,权重阵列可为储存于储存单元214中的一组数值,例如是:〔1/3,1/3,1/3〕。需特别说明的是,储存单元214中所储存的权重阵列的数量可依据产品的需求及图像处理的设计,而储存一组权重阵列或多组的权重阵列。当储存单元214中储存有多组的权重阵列时,影像处理单元213将可依据拍照模式的不同,而选择不同的权重阵列。举例来说,图像处理装置21更可具有一使用者操作界面215,其可提供多种拍摄模式给使用者进行选择,例如是:夜间模式、烟火模式、户外日光模式或户外人工光源模式等,且储存单元214对应前述的不同的拍摄模式而具有不同的权重阵列。当使用者选择其中一种拍摄模式时,影像处理单元213即会从储存单元214中选取相对应的权重阵列。另外,图像处理装置21还可包含一感测单元(图未显示),其可感测外部环境的条件,例如是前景的亮度与背景的亮度,并将所感测的结果提供至影像处理单元213,以使影像处理单元213依据感测结果自行选取一组权重阵列。此外,在其他的实施态样中,权重阵列也可为一外部输入的权重阵列,也就是说,使用者可透过使用者操作界面215输入所需的权重阵列,从而使得使用者可依其需求和喜好调整影像的效果。In addition, in this embodiment, the weight array is a default weight array stored in the storage unit 214 . Wherein, the weight array can be a set of values stored in the storage unit 214, for example: [1/3, 1/3, 1/3]. It should be noted that the number of weight arrays stored in the storage unit 214 can store one set of weight arrays or multiple sets of weight arrays according to product requirements and image processing design. When multiple sets of weight arrays are stored in the storage unit 214 , the image processing unit 213 can select different weight arrays according to different photographing modes. For example, the image processing device 21 can further have a user operation interface 215, which can provide multiple shooting modes for the user to choose, such as: night mode, fireworks mode, outdoor daylight mode or outdoor artificial light mode, etc. Moreover, the storage unit 214 has different weight arrays corresponding to the aforementioned different shooting modes. When the user selects one of the shooting modes, the image processing unit 213 will select the corresponding weight array from the storage unit 214 . In addition, the image processing device 21 may further include a sensing unit (not shown in the figure), which can sense the conditions of the external environment, such as the brightness of the foreground and the brightness of the background, and provide the sensed results to the image processing unit 213 , so that the image processing unit 213 selects a set of weight arrays by itself according to the sensing result. In addition, in other implementations, the weight array can also be an externally input weight array, that is, the user can input the desired weight array through the user operation interface 215, so that the user can Adjust the effect of the video according to your needs and preferences.
接着,请参照图3的流程图,并搭配图2所示,以说明本发明较佳实施例的图像处理方法,其可应用于上述的图像处理装置21。图像处理方法的步骤包括步骤S01~S04。步骤S01通过摄像单元211取得一第一影像,其中控制单元212调整摄像单元211的曝光值,以控制第一影像的暗部平均亮度值及第一影像的对比度值。Next, please refer to the flow chart of FIG. 3 together with FIG. 2 to describe the image processing method of the preferred embodiment of the present invention, which can be applied to the above-mentioned image processing device 21 . The steps of the image processing method include steps S01 to S04. Step S01 obtains a first image through the camera unit 211 , wherein the control unit 212 adjusts the exposure value of the camera unit 211 to control the average brightness value of the dark part of the first image and the contrast value of the first image.
详细来说,控制单元212控制摄像单元211的曝光值,以使第一影像的暗部平均亮度值介于30至40之间,并使第一影像的对比度值介于摄像单元211的内建对比度值的80%至90%之间。在本实施例中,透过控制单元212控制摄像单元211的摄影参数,从而产生利于后续图像处理的第一影像。In detail, the control unit 212 controls the exposure value of the camera unit 211 so that the average brightness value of the dark part of the first image is between 30 and 40, and the contrast value of the first image is between the built-in contrast of the camera unit 211. between 80% and 90% of the value. In this embodiment, the camera parameters of the camera unit 211 are controlled through the control unit 212 to generate a first image that is beneficial to subsequent image processing.
步骤S02由影像处理单元213依据第一影像及储存于储存单元214中的第一算法产生第二影像。在本实施例中,当摄像单元211取得一张较佳的第一影像后,将会将其暂时储存在储存单元214中。于此同时,影像处理单元213将会透过第一算法针对第一影像进行处理。其中,影像处理单元213将依据第一算法调高第一影像的各像素的亮度,而产生第二影像。在实施上,影像处理单元213可依据第一影像的各像素的原始亮度值,而有不同比例的调整,例如是当像素的原始亮度等于或小于一默认值时,则进行第一函数(function)的运算,给予较高的亮度调整比例,而当像素的原始亮度是大于此默认值时,则使用第二函数运算,给予较低的亮度调整比例。另外,前述的第一算法也可以是针对第一影像的各像素的原始亮度皆采用相同的运算函数,以调高各像素的亮度。在本实施例中,第一算法可例如是宽动态范围成像(Wide dynamic range;WDR)算法,且经影像处理单元213处理而产生的第二影像将可暂存于储存单元214。In step S02 , the image processing unit 213 generates a second image according to the first image and the first algorithm stored in the storage unit 214 . In this embodiment, when the camera unit 211 acquires a better first image, it will be temporarily stored in the storage unit 214 . At the same time, the image processing unit 213 will process the first image through the first algorithm. Wherein, the image processing unit 213 will increase the brightness of each pixel of the first image according to the first algorithm to generate the second image. In practice, the image processing unit 213 can adjust in different proportions according to the original brightness value of each pixel of the first image, for example, when the original brightness value of the pixel is equal to or less than a default value, the first function (function) is performed. ) operation, a higher brightness adjustment ratio is given, and when the original brightness of the pixel is greater than the default value, the second function operation is used to give a lower brightness adjustment ratio. In addition, the aforementioned first algorithm may also use the same operation function for the original brightness of each pixel of the first image, so as to increase the brightness of each pixel. In this embodiment, the first algorithm may be, for example, a wide dynamic range (WDR) algorithm, and the second image generated by the image processing unit 213 may be temporarily stored in the storage unit 214 .
步骤S03由影像处理单元213依据第一影像及储存于储存单元214中的一第二算法产生一第三影像。在本实施例中,影像处理单元213将通过第二算法针对第一影像进行处理,以调高第一影像的对比度,特别是调高(强化)第一影像的区域对比度,并产生第三影像。其中,影像处理单元213可分析第一影像的前景的亮度与背景的亮度,并调整前景亮度与背景亮度的比值,且第二算法可例如是局部直方图均衡化(Contrast-Limited AdaptiveHistogram Equalization;CLAHE)算法,而经影像处理单元213处理而产生的第三影像将可暂存于储存单元214。此时,储存单元214中将储存有第一影像、第二影像及第三影像等数据。In step S03 , the image processing unit 213 generates a third image according to the first image and a second algorithm stored in the storage unit 214 . In this embodiment, the image processing unit 213 will use the second algorithm to process the first image to increase the contrast of the first image, especially to increase (enhance) the contrast of the region of the first image, and generate the third image . Wherein, the image processing unit 213 can analyze the brightness of the foreground and the brightness of the background of the first image, and adjust the ratio of the brightness of the foreground to the brightness of the background, and the second algorithm can be, for example, local histogram equalization (Contrast-Limited Adaptive Histogram Equalization; CLAHE ) algorithm, and the third image generated by the image processing unit 213 can be temporarily stored in the storage unit 214 . At this time, data such as the first image, the second image, and the third image will be stored in the storage unit 214 .
步骤S04由影像处理单元213依据第一影像的亮度值、第二影像的亮度值、第三影像的亮度值及一权重阵列产生一第四影像。在本实施例中,影像处理单元213将第一影像、第二影像及第三影像从储存单元214中提取出来,并依据储存于储存单元214的权重阵列,对第一影像的亮度、第二影像的亮度及第三影像的亮度进行权重计算,以获得三者混合后的第四影像。举例来说,当储存于储存单元214的权重阵列,例如是〔1/3,1/3,1/3〕,并假设第一影像的亮度值为40、第二影像的亮度值为100及第三影像的亮度值为80,经由前述的权重阵列计算后,第四影像的亮度值则为70(40×1/3+100×1/3+80×1/3=70)。惟,以上所述的数值及计算方式是针对第一影像、第二影像与第三影相之间相对应的像素(Pixel)进行运算。将各影像中所有的像素经上述权重计算后,即可产生第四影像,而第四影像也就是经本实施例所述的图像处理方法所处理完成的拟高动态范围影像。另外,第四影像将可透过影像处理单元213输出至一显示单元(图未显示),以提供使用者观赏或确认。在其他的实施态样中,权重阵列将可为一外部输入的权重阵列,也就是说,使用者可透过使用者操作界面215输入所需的权重阵列。In step S04 , the image processing unit 213 generates a fourth image according to the luminance value of the first image, the luminance value of the second image, the luminance value of the third image and a weight array. In this embodiment, the image processing unit 213 extracts the first image, the second image and the third image from the storage unit 214, and according to the weight array stored in the storage unit 214, the brightness of the first image, the second image The brightness of the image and the brightness of the third image are weighted to obtain a fourth image after mixing the three. For example, when the weight array stored in the storage unit 214 is [1/3, 1/3, 1/3], and it is assumed that the brightness value of the first image is 40, the brightness value of the second image is 100 and The luminance value of the third image is 80, and the luminance value of the fourth image is 70 (40×1/3+100×1/3+80×1/3=70) after being calculated by the aforementioned weight array. However, the numerical values and calculation methods described above are calculated for the pixels (Pixels) corresponding to the first image, the second image, and the third image. After all the pixels in each image are calculated with the above weights, the fourth image can be generated, and the fourth image is the pseudo high dynamic range image processed by the image processing method described in this embodiment. In addition, the fourth image can be output to a display unit (not shown) through the image processing unit 213 for viewing or confirmation by the user. In other implementations, the weight array can be an externally input weight array, that is, the user can input the desired weight array through the user operation interface 215 .
此外,经由权重计算后所产生的第四影像,将可再进行其它细部的调整,例如:柔化处理、锐化处理或其它图像处理,使最终输出的影像更加完美,并输出至显示单元。然,前述的进一步的影像调整或参数调数可依照实际使用的情况,而有不同的额外处理,于本发明中并不加以为限。In addition, the fourth image generated after the weight calculation can be adjusted in other details, such as softening, sharpening or other image processing to make the final output image more perfect and output to the display unit. However, the above-mentioned further image adjustment or parameter adjustment may have different additional processing according to the actual use situation, which is not limited in the present invention.
需补充说明的是,上述的步骤中,步骤S02及步骤S03于实施上并无先后顺序的限制。换言之,步骤S02可于步骤S03前先执行、或步骤S03可先于步骤S02执行或是步骤S02与步骤S03可同时进行。为了加速图像处理的速度,在本实施例中,是以步骤S02及步骤S03是同时进行为例。It should be added that, among the above steps, there is no restriction on the order of implementation of step S02 and step S03 . In other words, step S02 may be performed before step S03, or step S03 may be performed prior to step S02, or step S02 and step S03 may be performed simultaneously. In order to speed up the speed of image processing, in this embodiment, it is taken as an example that step S02 and step S03 are performed simultaneously.
综上所述,因依据本发明的一种图像处理方法及图像处理装置,是通过摄像单元取得一第一影像,且控制单元调整摄像单元的曝光值,以控制第一影像的暗部平均亮度值及第一影像的对比度值,因而本发明的图像处理方法及图像处理方法仅需要拍摄一张原始影像,且原始影像是具有较佳的处理条件,因此能够避免因拍摄多张不同曝光值的影像,而产生占用内存空间的问题,及避免因多张影像内容不一致,而导致输出的影像不完整的问题,并同时达成实时产生拟高动态范围影像。In summary, according to an image processing method and an image processing device of the present invention, a first image is obtained through the camera unit, and the control unit adjusts the exposure value of the camera unit to control the average brightness value of the dark part of the first image. and the contrast value of the first image, so the image processing method and the image processing method of the present invention only need to take one original image, and the original image has better processing conditions, so it can avoid taking multiple images with different exposure values , resulting in the problem of occupying memory space, and avoiding the problem of incomplete output images due to inconsistencies in the content of multiple images, and at the same time achieving real-time generation of pseudo-high dynamic range images.
虽然本发明已以实施例揭露如上,然其并非用以限定本发明,任何所属技术领域中具有通常知识者,在不脱离本发明的精神和范围内,当可作些许的更动与润饰,故本发明的保护范围当视权利要求书所界定者为准。Although the present invention has been disclosed as above with the embodiments, it is not intended to limit the present invention. Anyone with ordinary knowledge in the technical field can make some changes and modifications without departing from the spirit and scope of the present invention. Therefore, the scope of protection of the present invention should be defined by the claims.
Claims (8)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310687003.2A CN104717430B (en) | 2013-12-16 | 2013-12-16 | Image processing method and image processing apparatus |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310687003.2A CN104717430B (en) | 2013-12-16 | 2013-12-16 | Image processing method and image processing apparatus |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104717430A CN104717430A (en) | 2015-06-17 |
CN104717430B true CN104717430B (en) | 2017-11-28 |
Family
ID=53416332
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201310687003.2A Active CN104717430B (en) | 2013-12-16 | 2013-12-16 | Image processing method and image processing apparatus |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104717430B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112950499B (en) * | 2021-02-24 | 2023-11-28 | Oppo广东移动通信有限公司 | Image processing method, device, electronic equipment and storage medium |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101841631A (en) * | 2009-03-20 | 2010-09-22 | 微星科技股份有限公司 | Exposure Compensation Method for Dark Parts and Image Processing Device Applying the Method |
CN102905058A (en) * | 2011-07-28 | 2013-01-30 | 三星电子株式会社 | Apparatus and method for generating high dynamic range images with ghost blur removed |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
TWI464706B (en) * | 2009-03-13 | 2014-12-11 | Micro Star Int Co Ltd | Dark portion exposure compensation method for simulating high dynamic range with single image and image processing device using the same |
US8508632B2 (en) * | 2010-10-15 | 2013-08-13 | Altek Corporation | Image processing method of obtaining a high dynamic range image |
-
2013
- 2013-12-16 CN CN201310687003.2A patent/CN104717430B/en active Active
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101841631A (en) * | 2009-03-20 | 2010-09-22 | 微星科技股份有限公司 | Exposure Compensation Method for Dark Parts and Image Processing Device Applying the Method |
CN102905058A (en) * | 2011-07-28 | 2013-01-30 | 三星电子株式会社 | Apparatus and method for generating high dynamic range images with ghost blur removed |
Also Published As
Publication number | Publication date |
---|---|
CN104717430A (en) | 2015-06-17 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109218628B (en) | Image processing method, device, electronic device and storage medium | |
CN104754239B (en) | Photographic method and device | |
US9571743B2 (en) | Dynamic exposure adjusting method and electronic apparatus using the same | |
CN104917973B (en) | dynamic exposure adjusting method and electronic device thereof | |
US10645278B2 (en) | Imaging control apparatus and control method therefor | |
CN104853091B (en) | A kind of method taken pictures and mobile terminal | |
KR102786977B1 (en) | Electronic device controlling exposure value of image including face | |
CN112153240B (en) | Method and device for adjusting image quality and readable storage medium | |
TWI505233B (en) | Image processing method and image processing device | |
CN107147851B (en) | Photo processing method, apparatus, computer-readable storage medium, and electronic device | |
WO2017185957A1 (en) | Image processing method, image processing apparatus and display device | |
CN113411498A (en) | Image shooting method, mobile terminal and storage medium | |
TWI604413B (en) | Image processing method and image processing device | |
CN111277752A (en) | Prompting method and device, storage medium and electronic equipment | |
WO2024093545A1 (en) | Photographing method and electronic device | |
CN108540636A (en) | A kind of photographic method and device based on dual camera | |
CN117795974A (en) | Electronic devices and methods supporting image data deblurring | |
CN104717430B (en) | Image processing method and image processing apparatus | |
CN114363507A (en) | Image processing method and device | |
CN107430769A (en) | The system and method for refined image data | |
CN116156315B (en) | Shooting preview method, device, electronic device and storage medium | |
CN117133252B (en) | Image processing method and electronic device | |
CN102480599B (en) | Image capture device and image synthesis method thereof | |
CN117135438A (en) | Image processing method and electronic equipment | |
CN119810003A (en) | Image processing method, device, electronic device 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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant |