[go: up one dir, main page]

TWI497448B - Method and system for image enhancement - Google Patents

Method and system for image enhancement Download PDF

Info

Publication number
TWI497448B
TWI497448B TW102134842A TW102134842A TWI497448B TW I497448 B TWI497448 B TW I497448B TW 102134842 A TW102134842 A TW 102134842A TW 102134842 A TW102134842 A TW 102134842A TW I497448 B TWI497448 B TW I497448B
Authority
TW
Taiwan
Prior art keywords
image
projected
generate
corrected
enhancement
Prior art date
Application number
TW102134842A
Other languages
Chinese (zh)
Other versions
TW201513042A (en
Inventor
Tzung Han Lin
Hao Teng Chang
Original Assignee
Univ Nat Taiwan Science Tech
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 Univ Nat Taiwan Science Tech filed Critical Univ Nat Taiwan Science Tech
Priority to TW102134842A priority Critical patent/TWI497448B/en
Publication of TW201513042A publication Critical patent/TW201513042A/en
Application granted granted Critical
Publication of TWI497448B publication Critical patent/TWI497448B/en

Links

Landscapes

  • Image Processing (AREA)

Description

影像強化方法及其系統Image enhancement method and system thereof

本發明是有關於一種影像處理方法及其系統,且特別是有關於一種影像強化方法及其系統。The present invention relates to an image processing method and system thereof, and more particularly to an image enhancement method and system thereof.

為了藝術的傳承與推廣,藝術修復的工作越來越收到重視。隨著科技的日新月異,利用科學儀器結合材料與化學的分析以修復已受損的畫作等藝術品,可使得修復後的色彩層次變得豐富,色調變得鮮明,且筆觸恢復活力。For the inheritance and promotion of art, the work of art restoration has received more and more attention. With the rapid development of science and technology, the use of scientific instruments combined with the analysis of materials and chemistry to repair damaged paintings and other works of art can make the restored color layer rich, the color tone becomes clear, and the brush strokes rejuvenate.

然而,上述的藝術修復除了成本昂貴以及耗時之外,更存在著破壞畫作的風險。此外,對於一般照片、海報、平面創作出版品等傳統實體影像(physical image),亦會隨著時間、溫度、濕度、燈光等外在環境因素而耗損。對於此類實體影像的色彩表現不足之處,僅能重新製作,並不符合經濟效益。對於無法修復的實體影像僅能任其凋零。因此,如何以低成本快速地修復與強化實體影像已成為亟欲解決的問題。However, the art restoration mentioned above is more expensive and time consuming, and there is a risk of damaging the painting. In addition, traditional physical images such as general photos, posters, and graphic creations are also depleted with external environmental factors such as time, temperature, humidity, and lighting. Insufficient color performance of such entity images can only be re-created and is not economical. For solid images that cannot be repaired, they can only be let go. Therefore, how to quickly repair and enhance physical images at low cost has become an urgent problem to be solved.

本發明提供一種影像強化方法以及影像強化系統,其可強化實體影像。The present invention provides an image enhancement method and an image enhancement system that can enhance a solid image.

本發明提出一種影像強化方法,包括下列步驟。首先,擷取實體影像,以產生待處理影像。接著,將待處理影像進行強化校正程序,以產生投射影像。之後,將投射影像套疊至實體影像上,以強化實體影像。The present invention provides an image enhancement method comprising the following steps. First, the physical image is captured to produce a to-be-processed image. Next, the image to be processed is subjected to an enhancement correction process to generate a projected image. The projected image is then overlaid onto the solid image to enhance the solid image.

在本發明的一實施例中,在上述將待處理影像進行強化校正程序,以產生投射影像的步驟之前,上述影像強化方法更包括下列步驟。擷取校正物的影像,以產生校正影像。將校正影像進行處理,以產生校正影像的多個取像校正參數。根據所述取像校正參數,將校正影像進行反扭曲運算,以產生反扭曲校正影像。將反扭曲校正影像投射於平面,並且擷取投射於平面的反扭曲校正影像,以產生投射校正影像。根據所述取像校正參數,將投射校正影像進行反扭曲運算,以產生反扭曲投射校正影像。根據反扭曲校正影像以及反扭曲投射校正影像,取得一組仿射矩陣參數。In an embodiment of the invention, before the step of performing an enhancement correction process on the image to be processed to generate a projected image, the image enhancement method further includes the following steps. Capture an image of the calibrator to produce a corrected image. The corrected image is processed to produce a plurality of image capture correction parameters of the corrected image. The corrected image is subjected to an inverse twist operation according to the image capturing correction parameter to generate an inverse distortion corrected image. The anti-warp corrected image is projected onto the plane, and the inverse distortion corrected image projected on the plane is captured to generate a projected corrected image. According to the image capturing correction parameter, the projection corrected image is subjected to an inverse twisting operation to generate an inverse twisted projection corrected image. A set of affine matrix parameters are obtained based on the anti-warp corrected image and the anti-warp projection corrected image.

在本發明的一實施例中,上述將待處理影像進行強化校正程序,以產生投射影像的步驟包括根據影像強化演算法,將待處理影像進行影像強化運算,以產生強化影像;根據所述取像校正參數,將強化影像進行反扭曲運算,以產生反扭曲強化影像;以及根據所述仿射矩陣參數,將反扭曲強化影像進行仿射運算,以產生投射影像。In an embodiment of the present invention, the step of performing an enhancement correction process on the image to be processed to generate a projected image includes performing an image enhancement operation on the image to be processed according to the image enhancement algorithm to generate an enhanced image; Like the correction parameters, the enhanced image is subjected to an inverse distortion operation to generate an inverse distortion enhanced image; and the inverse distortion enhanced image is affine-calculated according to the affine matrix parameter to generate a projected image.

在本發明的一實施例中,在上述將投射影像套疊至實體影像上,以強化實體影像的步驟後,上述影像強化方法更包括下列步驟。將套疊投射影像至實體影像上的疊加影像的畫素進行分析,以判斷疊加影像的畫素是否符合期望資料。當疊加影像的畫素不符合期望資料時,擷取實體影像,以產生待處理影像,並且將待處理影像進行強化校正程序,以重新產生投射影像,以及將投射影像套疊至實體影像,以重新產生疊加影像。In an embodiment of the invention, after the step of overlaying the projected image onto the solid image to enhance the solid image, the image enhancement method further comprises the following steps. The pixels of the overlay image projected onto the superimposed image on the solid image are analyzed to determine whether the pixel of the superimposed image conforms to the desired data. When the pixels of the superimposed image do not meet the desired data, the physical image is captured to generate a to-be-processed image, and the image to be processed is subjected to an enhancement correction process to reproduce the projected image and to nest the projected image to the solid image. Reproduce the overlay image.

在本發明的一實施例中,當已處理影像的畫素不符合期望資料時,在上述擷取實體影像,以重新產生待處理影像的步驟前,上述影像強化方法更包括下列步驟。判斷投射影像的亮度是否已達飽和。當投射影像的亮度已達飽和時,將投射影像套疊至實體影像。In an embodiment of the present invention, when the pixel of the processed image does not conform to the desired data, the image enhancement method further includes the following steps before the step of capturing the physical image to regenerate the image to be processed. Determine if the brightness of the projected image has reached saturation. When the brightness of the projected image has reached saturation, the projected image is nested to the solid image.

本發明提出一種影像強化系統,包括:影像擷取裝置、影像處理裝置以及投影裝置,其中影像處理裝置耦接至影像擷取裝置以及投影裝置。影像擷取裝置用以擷取實體影像,以產生待處理影像。影像處理裝置用以將待處理影像進行強化校正程序,以產生投射影像。投影裝置用以將投射影像套疊至實體影像上,以強化實體影像。The present invention provides an image enhancement system, including: an image capture device, an image processing device, and a projection device, wherein the image processing device is coupled to the image capture device and the projection device. The image capturing device is configured to capture a physical image to generate a to-be-processed image. The image processing device is configured to perform an enhancement correction process on the image to be processed to generate a projected image. The projection device is used to nest the projected image onto the solid image to enhance the solid image.

在本發明的一實施例中,上述的影像擷取裝置更擷取校正物的影像,以產生校正影像。上述的影像處理裝置將校正影像進行處理,以產生校正影像的多個取像校正參數,再根據所述取像校正參數,將校正影像進行反扭曲運算,以產生反扭曲校正影 像,又根據所述取像校正參數,將校正影像進行反扭曲運算,以產生反扭曲校正影像。上述的投影裝置將反扭曲校正影像投射於平面,並且擷取投射於平面的反扭曲校正影像,以產生投射校正影像。上述的影像處理裝置又根據反扭曲校正影像以及反扭曲投射校正影像,取得一組仿射矩陣參數。In an embodiment of the invention, the image capturing device further captures an image of the calibrator to generate a corrected image. The image processing device processes the corrected image to generate a plurality of image capturing correction parameters of the corrected image, and then performs an inverse twisting operation on the corrected image according to the image capturing correction parameter to generate an inverse distortion correction image. For example, according to the image capturing correction parameter, the corrected image is subjected to an inverse twisting operation to generate an inverse distortion corrected image. The projection device described above projects the anti-warp corrected image onto the plane and captures the inverse distortion corrected image projected on the plane to generate a projected corrected image. The image processing device described above obtains a set of affine matrix parameters according to the anti-warp corrected image and the anti-twist projection corrected image.

在本發明的一實施例中,上述的影像處理裝置根據影像強化演算法,將待處理影像進行影像強化運算,以產生強化影像,並且根據所述取像校正參數,將強化影像進行反扭曲運算,以產生反扭曲強化影像,以及根據所述仿射矩陣參數,將反扭曲強化影像進行仿射運算,以產生投射影像。In an embodiment of the present invention, the image processing apparatus performs an image enhancement operation on the image to be processed according to the image enhancement algorithm to generate an enhanced image, and performs an inverse distortion operation on the enhanced image according to the image capturing correction parameter. To generate an anti-twist enhancement image, and to perform an affine operation on the inverse distortion enhancement image according to the affine matrix parameters to generate a projection image.

在本發明的一實施例中,上述的影像處理裝置將套疊投射影像至實體影像上的疊加影像的畫素進行分析,以判斷疊加影像的畫素是否符合期望資料。當影像處理裝置判斷疊加影像的畫素不符合期望資料時,影像擷取裝置擷取實體影像,以重新產生待處理影像,影像處理裝置進行強化校正程序,以重新產生投射影像,並且投影裝置將投射影像套疊至實體影像,以重新產生疊加影像。In an embodiment of the invention, the image processing device analyzes the pixels of the superimposed image on the solid image by the overlaid projection image to determine whether the pixel of the superimposed image conforms to the desired data. When the image processing device determines that the pixel of the superimposed image does not meet the desired data, the image capturing device captures the physical image to regenerate the image to be processed, and the image processing device performs an intensification correction process to regenerate the projected image, and the projection device will The projected image is nested onto the solid image to reproduce the overlay image.

在本發明的一實施例中,上述的影像處理裝置更判斷投射影像的亮度是否已達飽和。當影像處理裝置判斷投射影像的亮度已達飽和時,投影裝置將投射影像套疊至實體影像。In an embodiment of the invention, the image processing apparatus further determines whether the brightness of the projected image has reached saturation. When the image processing device determines that the brightness of the projected image has reached saturation, the projection device nests the projected image to the solid image.

基於上述,本發明提出的影像強化方法以及影像強化系統,影像擷取裝置可擷取實體影像,以產生待處理影像。影像處 理裝置除了針對待處理影像進行影像強化,更針對影像擷取裝置以及投影裝置所造成的影像變形進行影像校正,以產生投射影像。此外,利用擴增投影的概念,投影裝置將投射影像套疊至實體影像上,以達到實體影像強化之目的。Based on the above, the image enhancement method and the image enhancement system provided by the present invention, the image capture device can capture the physical image to generate a to-be-processed image. Image area In addition to performing image enhancement on the image to be processed, the device performs image correction on the image distortion caused by the image capturing device and the projection device to generate a projected image. In addition, using the concept of augmented projection, the projection device nests the projected image onto the solid image for the purpose of solid image enhancement.

為讓本發明的上述特徵和優點能更明顯易懂,下文特舉實施例,並配合所附圖式作詳細說明如下。The above described features and advantages of the invention will be apparent from the following description.

100‧‧‧影像強化系統100‧‧‧Image Enhancement System

110‧‧‧影像擷取裝置110‧‧‧Image capture device

120‧‧‧影像處理裝置120‧‧‧Image processing device

130‧‧‧投影裝置130‧‧‧Projection device

A‧‧‧實體影像A‧‧‧ entity image

S201~S205‧‧‧影像強化方法的流程S201~S205‧‧‧Process of image enhancement method

S301~S311‧‧‧校正參數計算方法的流程S301~S311‧‧‧ Flow of calibration parameter calculation method

S401~S413‧‧‧影像強化方法的流程S401~S413‧‧‧Process of image enhancement method

圖1為根據本發明之一實施例所繪示的影像強化系統的示意圖。FIG. 1 is a schematic diagram of an image enhancement system according to an embodiment of the invention.

圖2為根據本發明之一實施例所繪示的影像強化方法的流程圖。2 is a flow chart of an image enhancement method according to an embodiment of the invention.

圖3為根據本發明之一實施例所繪示的校正參數計算方法的流程圖。FIG. 3 is a flow chart of a method for calculating a correction parameter according to an embodiment of the invention.

圖4為根據本發明之一實施例所繪示的影像強化方法的流程圖。FIG. 4 is a flow chart of an image enhancement method according to an embodiment of the invention.

圖1為根據本發明之一實施例所繪示的影像強化系統的示意圖,但此僅是為了方便說明,並不用以限制本發明。首先圖1先介紹影像強化系統的所有構件以及配置關係,詳細功能將配合圖2一併揭露。FIG. 1 is a schematic diagram of an image enhancement system according to an embodiment of the invention, but is for convenience of description and is not intended to limit the present invention. First, Figure 1 first introduces all the components and configuration relationships of the image enhancement system. The detailed functions will be disclosed in conjunction with Figure 2.

請參照圖1,影像強化系統100包括影像擷取裝置110、影像處理裝置120以及投影裝置130,其中影像處理裝置120耦接至影像擷取裝置110以及投影裝置130。在本實施例中,影像強化系統100可針對實體影像A進行影像強化,以增加實體影像A對比度與色彩等表現。實體影像A可以是照片、海報、畫作、電子書、數位相框或顯示器所呈現的動態或靜態影像,在此不受限。The image enhancement device 100 includes an image capture device 110 , an image processing device 120 , and a projection device 130 . The image processing device 120 is coupled to the image capture device 110 and the projection device 130 . In this embodiment, the image enhancement system 100 can perform image enhancement on the physical image A to increase the performance of the solid image A contrast and color. The physical image A can be a dynamic or static image presented by a photo, a poster, a painting, an e-book, a digital photo frame, or a display, and is not limited herein.

在本實施例中,影像擷取裝置110可以是採用電荷耦合元件(charge coupled device,CCD)鏡頭的照相機,但本發明不限於此。影像擷取裝置110可擷取實體影像A的影像,以使影像處理裝置120以及投影裝置130針對實體影像A進行影像增強處理。In the embodiment, the image capturing device 110 may be a camera using a charge coupled device (CCD) lens, but the invention is not limited thereto. The image capturing device 110 can capture the image of the physical image A, so that the image processing device 120 and the projection device 130 perform image enhancement processing on the physical image A.

在本實施例中,影像處理裝置120可以為個人電腦、筆記型電腦、智慧型手機、平板電腦,本發明不以此為限。影像處理裝置120包括記憶體以及處理器。記憶體用以儲存影像擷取裝置110所擷取的影像,而處理器用於處理記憶體中所儲存的影像。此外,影像處理裝置120可利用有線傳輸或是無線傳輸的方式取得影像擷取裝置110所擷取的影像。In the embodiment, the image processing device 120 can be a personal computer, a notebook computer, a smart phone, or a tablet computer, and the invention is not limited thereto. The image processing device 120 includes a memory and a processor. The memory is used to store images captured by the image capture device 110, and the processor is used to process images stored in the memory. In addition, the image processing device 120 can obtain the image captured by the image capturing device 110 by means of wired transmission or wireless transmission.

在本實施例中,投影裝置130可以是微型投影機(mini projector)等數位投影機(video projector),但本發明不限於此。在其它實施例中可以在不同解析度與不同亮度對比等考量下,採用更適合規格的裝置。此外,投影裝置130亦可利用有線傳輸或是無線傳輸的方式,接收影像處理裝置120所處理後的影像,並且利用擴增投影(augmented projection)的概念,強化實體影像A。In the present embodiment, the projection device 130 may be a video projector such as a mini projector, but the present invention is not limited thereto. In other embodiments, a device of a more suitable specification may be employed under consideration of different resolutions and different brightness comparisons. In addition, the projection device 130 can receive the image processed by the image processing device 120 by means of wired transmission or wireless transmission, and enhance the physical image A by using the concept of augmented projection.

在另一實施例中,可將影像擷取裝置110、影像處理裝置120以及投影裝置130整合至同一裝置,例如是具有照相、攝影以及投影功能的個人電腦、筆記型電腦、智慧型手機以及平板電腦,本發明不以此為限。In another embodiment, the image capturing device 110, the image processing device 120, and the projection device 130 can be integrated into the same device, such as a personal computer with a camera, a photographing, and a projection function, a notebook computer, a smart phone, and a tablet. Computer, the invention is not limited thereto.

圖2為根據本發明之一實施例所繪示的影像強化方法的流程圖,而圖2的影像強化方法可以圖1的影像強化系統100的各元件實現。2 is a flow chart of an image enhancement method according to an embodiment of the invention, and the image enhancement method of FIG. 2 can be implemented by the components of the image enhancement system 100 of FIG.

請同時參照圖1以及圖2,首先,影像擷取裝置110擷取實體影像A,以產生待處理影像(步驟S201)。在此的「待處理影像」也就是影像擷取裝置110在擷取實體影像A後所產生的原始圖檔(raw image)。Referring to FIG. 1 and FIG. 2 simultaneously, first, the image capturing device 110 captures the physical image A to generate a to-be-processed image (step S201). The "image to be processed" here is the original image generated by the image capturing device 110 after capturing the solid image A.

接著,影像處理裝置120將待處理影像進行校正強化程序,以產生投射影像(步驟S203)。也就是說,影像處理裝置120自影像擷取裝置110接收待處理影像後,除了針對待處理影像進行影像強化處理之外,更針對影像擷取裝置110以及投影裝置130所造成的影像變形進行校正。詳細說明將在後續的實施例中一併揭露。Next, the image processing device 120 performs a correction enhancement process on the image to be processed to generate a projected image (step S203). That is, after receiving the image to be processed from the image capturing device 110, the image processing device 120 corrects the image distortion caused by the image capturing device 110 and the projection device 130 in addition to the image enhancement processing for the image to be processed. . The detailed description will be disclosed together in the subsequent embodiments.

之後,投影裝置130將投射影像套疊至實體影像A上,以強化實體影像A(步驟S205)。詳言之,投影裝置130自影像處理裝置120處理後的投射影像,利用擴增投影的概念,將投射影像套疊至實體影像A上,使得投射到實體影像A後所組合出來的呈現影像更具實質意義。Thereafter, the projection device 130 nests the projected image onto the solid image A to enhance the solid image A (step S205). In detail, the projection image processed by the projection device 130 from the image processing device 120 uses the concept of augmented projection to nest the projected image onto the solid image A, so that the projected image combined after being projected onto the solid image A is further It has substantial meaning.

在本實施例中,影像強化系統100中的影像擷取裝置110以及投影裝置130與實體影像A之間的距離可以根據例如是實體影像A的尺寸、影像擷取模組110的CCD鏡頭光圈的大小、以及影像解析度的需求而有所改變。一旦影像強化系統100中的各元件經過調整後,在影像處理裝置120在針對待處理影像進行處理之前,針對影像擷取裝置110以及投影裝置130會進行校正參數計算程序,而校正參數計算程序所產生的校正參數可供影像處理裝置120執行步驟S203,使得投影裝置130在後續步驟所投射出的投射影像可以與實體影像A的位置對應。In this embodiment, the distance between the image capturing device 110 and the projection device 130 in the image enhancement system 100 and the physical image A may be based on, for example, the size of the physical image A and the CCD lens aperture of the image capturing module 110. The size, and the resolution of the imagery have changed. After the components in the image intensifying system 100 are adjusted, the image capturing device 110 and the projection device 130 perform a correction parameter calculation program before the image processing device 120 processes the image to be processed, and the calibration parameter calculation program is performed. The generated correction parameters are available to the image processing device 120 to perform step S203, so that the projected image projected by the projection device 130 in the subsequent step can correspond to the position of the physical image A.

圖3為根據本發明之一實施例所繪示的校正參數計算方法的流程圖。FIG. 3 is a flow chart of a method for calculating a correction parameter according to an embodiment of the invention.

請同時參照圖1以及圖3,首先,影像擷取裝置110擷取校正物的影像,以產生校正影像(步驟S301)。詳言之,在本實施例中,影像強化系統100將利用校正物以及平板來針對影像擷取裝置110以及投影裝置130進行校正參數計算程序。在本實施例中,校正物為具有參考圖案的平板,而此參考圖案可以例如是棋盤格。此外,校正物更包括黏貼於表面上的至少四個特徵點(marker)。在本實施例中,特徵點的數量為四個,而此四個特徵點在校正物的參考圖案外圍以正方形的形式排列。影像擷取裝置110擷取校正物的影像後,則會產生具有四個特徵點的校正影像。Referring to FIG. 1 and FIG. 3 simultaneously, first, the image capturing device 110 captures an image of the calibrated object to generate a corrected image (step S301). In detail, in the present embodiment, the image enhancement system 100 performs a correction parameter calculation program for the image capturing device 110 and the projection device 130 using the calibrator and the tablet. In this embodiment, the calibrator is a slab having a reference pattern, and the reference pattern may be, for example, a checkerboard. In addition, the calibrator further includes at least four markers attached to the surface. In the present embodiment, the number of feature points is four, and the four feature points are arranged in a square form at the periphery of the reference pattern of the calibrator. After the image capturing device 110 captures the image of the calibrator, a corrected image having four feature points is generated.

接著,影像處理裝置120將對校正影像進行處理,以產生校正影像的多個取像校正參數(步驟S303)。此步驟的主要目的 是先修正影像擷取裝置110對所擷取的影像所產生的變形,而在此的取像校正參數為影像擷取裝置110的內部參數(intrinsic parameters)與外部參數(extrinsic parameters)。內部參數可用來描述相機座標(camera coordinates)與影像座標(image coordinates)之間的轉換關係,也就是利用針孔(pinhole)成像原理將相機座標投影到成像平面(projective plane)。舉例而言,內部參數包括焦距(focal length)、影像中心(image center)、主軸點(principal point)以及鏡頭扭曲變形係數(distortion coefficients)等參數,也就是影像擷取裝置110內部的幾何與光學特性。另一方面,外部參數則是用來描述三維世界座標(world coordinate)與三維相機座標之間的轉換關係。舉例而言,影像擷取裝置110在三維座標中的位置與拍攝方向,包括旋轉矩陣(rotation matrix)與位移向量(translation vector)等與影像擷取裝置110擺放位置與拍攝方向相關的參數。Next, the image processing device 120 processes the corrected image to generate a plurality of image capturing correction parameters of the corrected image (step S303). The main purpose of this step The image capturing device 110 first corrects the deformation of the captured image, and the image capturing parameter is the intrinsic parameters and the extrinsic parameters of the image capturing device 110. Internal parameters can be used to describe the conversion relationship between camera coordinates and image coordinates, that is, the camera coordinates are projected onto the projective plane using the pinhole imaging principle. For example, the internal parameters include parameters such as focal length, image center, principal point, and lens distortion coefficient, that is, geometry and optics inside the image capturing device 110. characteristic. On the other hand, external parameters are used to describe the conversion relationship between the three-dimensional world coordinate and the three-dimensional camera coordinates. For example, the position and the shooting direction of the image capturing device 110 in the three-dimensional coordinates include a rotation matrix and a translation vector, and the parameters related to the image capturing device 110 placement position and the shooting direction.

接著,影像處理裝置120根據所述取像校正參數,將校正影像進行反扭曲運算(undistortion),以產生反扭曲校正影像(步驟S305)。舉例而言,在本實施例中的取像校正參數可以為內部參數K以及畸變參數k。內部參數K是以3×3矩陣表示相機座標投射到影像座標的關係,而畸變參數k則通常是由多項式表示,用於描述鏡頭所導致的桶狀(barrel)或針狀(pincushion)變形。也就是說,影像處理裝置120在利用取像校正參數將校正影像進行反扭曲運算後,所產生的反扭曲校正影像可將影像修正回近似針 孔投影的數學模型。Next, the image processing device 120 performs an inverse twisting operation on the corrected image according to the image capturing correction parameter to generate an anti-warping corrected image (step S305). For example, the image capturing correction parameter in this embodiment may be an internal parameter K and a distortion parameter k. The internal parameter K is a 3×3 matrix representing the relationship of the camera coordinates to the image coordinates, and the distortion parameter k is usually represented by a polynomial for describing the barrel or pincushion deformation caused by the lens. That is to say, after the image processing device 120 performs the inverse distortion operation on the corrected image by using the image capturing correction parameter, the generated reverse distortion corrected image can correct the image back to the approximate stitch. Mathematical model of hole projection.

接著,投影裝置130將反扭曲校正影像投射於平面,並且影像擷取裝置110擷取投射於平面的反扭曲校正影像,以產生投射校正影像(步驟S307)。此步驟的主要目的是為了在後續步驟中取得投影裝置130對於反扭曲校正影像所產生的梯形失真(keystone distortion)的參數。Next, the projection device 130 projects the anti-warping corrected image onto the plane, and the image capturing device 110 captures the anti-warping corrected image projected on the plane to generate a projected corrected image (step S307). The main purpose of this step is to obtain the parameters of the keystone distortion produced by the projection device 130 for the anti-warp corrected image in a subsequent step.

接著,影像處理裝置120根據所述取像校正參數,將投射校正影像再次進行反扭曲運算,以產生反扭曲投射校正影像(步驟S309)。影像處理裝置120再根據反扭曲校正影像以及反扭曲投射校正影像,取得多個仿射矩陣參數(步驟S311)。仿射矩陣參數主要是反扭曲校正影像以及反扭曲投射校正影像中的四個特徵點的幾何分佈來進行運算,以取得投影前後的影像之間的差異。Next, the image processing device 120 performs an inverse twisting operation on the projection corrected image again according to the image capturing correction parameter to generate an inverse twist projection corrected image (step S309). The image processing device 120 further acquires a plurality of affine matrix parameters based on the inverse distortion corrected image and the inverse distortion projection corrected image (step S311). The affine matrix parameters are mainly calculated by the geometric distribution of the four feature points in the anti-warping corrected image and the anti-warping projection corrected image to obtain the difference between the images before and after the projection.

詳言之,影像擷取裝置110取得投射校正影像後,影像處理裝置120可先將投射校正影像再一次進行反扭曲運算,以將影像修正回近似針孔投影的數學模型。影像處理裝置120取得反扭曲投射校正影像後,可以取得反扭曲校正影像以及反扭曲投射校正影像中的四個特徵點的座標對應關係。此座標對應關係可以仿射矩陣(affine transformation matrix)來描述,而上述的仿射矩陣參數則為仿射矩陣內的元素(elements)。In detail, after the image capturing device 110 obtains the projected corrected image, the image processing device 120 may first perform the inverse twisting operation on the projected corrected image to correct the image back to the mathematical model of the approximate pinhole projection. After obtaining the inverse distortion projection corrected image, the image processing device 120 can obtain the coordinate correspondence relationship between the four feature points in the reverse distortion corrected image and the reverse distortion projection corrected image. The coordinate correspondence can be described by an affine transformation matrix, and the above affine matrix parameters are elements within the affine matrix.

在本實施例中,四個特徵點是以正方形的形式排列。在進行仿射運算時,影像處理裝置120必須把反扭曲投射校正影像中屬於正方形內的畫素仿射至反扭曲校正影像的正方形的平面 上,以確保仿射後的反扭曲投射校正影像內的正方形鄰邊與反扭曲校正影像內的正方形鄰邊重疊。在其它的實施例中,上述座標對應關係亦可依據投影裝置130對投出的影像所產生的變形程度使用例如是投影矩陣(projective transformation matrix)、相似矩陣(similarity transformation matrix)、歐幾里德矩陣(Euclidean transformation matrix)等其它自由度(degree of freedom)的矩陣來進行校正。In the present embodiment, the four feature points are arranged in a square form. When performing the affine operation, the image processing apparatus 120 must affix the pixels belonging to the square in the inverse warped projection corrected image to the square plane of the inverse distortion corrected image. The upper side of the square in the anti-warp corrected image is overlapped with the squared edge in the anti-warp corrected image. In other embodiments, the coordinate correspondence may also be based on, for example, a projection transformation matrix, a similarity transformation matrix, and a Euclid according to the degree of deformation of the projected image by the projection device 130. A matrix of other degrees of freedom, such as an Euclidean transformation matrix, is used for correction.

影像處理裝置120可根據取像校正參數以及仿射矩陣參數校正對待處理影像進行校正,使得投射影像與實體影像A精準對位。The image processing device 120 can correct the image to be processed according to the image capturing correction parameter and the affine matrix parameter, so that the projected image and the solid image A are accurately aligned.

圖4為根據本發明之一實施例所繪示的影像強化方法的流程圖。FIG. 4 is a flow chart of an image enhancement method according to an embodiment of the invention.

請同時參照圖1以及圖4,影像擷取裝置110在擷取實體影像A,以產生待處理影像(步驟S401)後,影像處理裝置120根據影像強化演算法(image enhancement algorithm),將待處理影像進行影像強化運算,以產生強化影像(步驟S403)。在此的影像強化演算法可以是邊緣偵測(edge detection)、對比強化(contrast enhancement)以及色彩增強(color enhancement)等演算方式。在另一實施例中,影像強化演算法更可以是利用特效的方式將實體影像A影像風格化(image stylization)。舉例而言,在此的影像風格化可以是將實體影像A轉換為具有水彩風格的影像、馬賽克磁磚效果的影像或是炭筆描繪風格的影像等,本發明不在此設限。Referring to FIG. 1 and FIG. 4, after the image capturing device 110 captures the physical image A to generate a to-be-processed image (step S401), the image processing device 120 will process the image enhancement algorithm according to an image enhancement algorithm. The image is subjected to an image enhancement operation to generate a fortified image (step S403). The image enhancement algorithm here can be edge detection, contrast enhancement, and color enhancement. In another embodiment, the image enhancement algorithm may be an image stylization of the entity image A by means of special effects. For example, the image stylization here may be converting the solid image A into a watercolor-style image, a mosaic tile effect image, or a charcoal drawing style image, etc., and the present invention is not limited thereto.

以坎尼邊緣偵測演算法(Canny edge-detection algorithm)作為影像強化的方式為例,其利用高斯濾波器(Gaussian filter)對待處理影像的畫素進行平滑處理(smoothing),再用高斯函數(Gaussian distribution function)的一階導函數來減少雜訊所造成的干擾後,找出待處理影像的輪闊特徵。由於Canny邊緣偵測演算法具有精確的邊緣偵測、定位能力以及單一邊緣反應(one response),因此本實施例的影像處理裝置120採用此演算法來針對待處理影像進行影像強化。Taking the Canny edge-detection algorithm as an example of image enhancement, it uses a Gaussian filter to smooth the pixels of the image to be processed, and then uses a Gaussian function. The first derivative function of the Gaussian distribution function) is used to reduce the interference caused by noise and find out the wide-width features of the image to be processed. Because the Canny edge detection algorithm has accurate edge detection, positioning capability, and single response, the image processing apparatus 120 of this embodiment uses this algorithm to perform image enhancement on the image to be processed.

影像處理裝置120找出待處理影像的輪闊特徵之外,同時考量實體影像A在投射光線後的疊加運算。在一實施例中,影像處理裝置120可根據環境光源來設定影像強化的程度;在另一實施例中,影像強化的程度亦可以依使用者的需求預先設定。The image processing device 120 finds out the sleek features of the image to be processed, and considers the superposition operation of the solid image A after the ray is projected. In one embodiment, the image processing device 120 can set the degree of image enhancement according to the ambient light source; in another embodiment, the degree of image enhancement can also be preset according to the needs of the user.

接著,影像處理裝置120根據前述取像校正參數,將強化影像進行反扭曲運算,以產生反扭曲強化影像(步驟S405)。此步驟主要是根據圖3的取像校正參數將強化影像轉換為不具有變形效果的反扭曲強化影像,其中反扭曲強化影像為符合理想的針孔成像的模式。Next, the image processing device 120 performs an inverse twist operation on the enhanced image based on the image capturing correction parameter to generate an inverse twist enhanced image (step S405). This step mainly converts the enhanced image into an anti-twist enhanced image without deformation effect according to the image capturing correction parameter of FIG. 3, wherein the anti-twist enhanced image is a mode conforming to the ideal pinhole imaging.

接著,影像處理裝置120根據前述仿射矩陣參數,將反扭曲強化影像進行仿射運算,以產生投射影像(步驟S407)。此步驟主要是根據圖3的仿射矩陣參數將反扭曲強化影像轉換為投射影像,使得投射影像的座標完全與實體影像A的座標完全對應,以對投影裝置130所造成的梯形失真進行校正。Next, the image processing device 120 performs an affine operation on the inverse distortion enhanced image based on the affine matrix parameters to generate a projected image (step S407). This step mainly converts the anti-twist enhanced image into a projected image according to the affine matrix parameter of FIG. 3, so that the coordinates of the projected image completely correspond to the coordinates of the solid image A to correct the trapezoidal distortion caused by the projection device 130.

必須特別說明的是,步驟S403、步驟S405以及步驟S407即為圖2中步驟S203所述之強化校正程序。在另一實施例中,影像強化系統100可以先執行步驟S405以及步驟S407之後再執行步驟S403,亦即先執行影像校正的步驟後再執行影像增強的步驟,本發明不以此為限。It should be particularly noted that step S403, step S405, and step S407 are the enhancement correction procedures described in step S203 of FIG. In another embodiment, the image enhancement system 100 may perform the step S403 after performing the step S405 and the step S407, that is, the step of performing image enhancement after the step of performing image correction, and the invention is not limited thereto.

之後,投影裝置130將投射影像套疊至實體影像A上,以產生疊加影像(步驟S409)。相較於實體影像A,以Canny邊緣偵測演算法作為影像增強的方式為例,其所產生後的疊加影像之輪闊線條將較為明顯。又例如,假使實體影像A為靜態的彩色畫作,其內容為一顆顏色不夠鮮豔的紅蘋果,以對比強化或色彩增強演算法作為影像增強的方式而言,疊加影像中的蘋果顏色將比實體影像A中的蘋果更紅更鮮豔。此外,假使實體影像A為一張風景影像,以特效的方式將實體影像A影像風格化做為影像增強的方式而言,疊加影像將變成馬賽克磁磚效果或是水彩等不同風格的影像。Thereafter, the projection device 130 nests the projected image onto the solid image A to generate a superimposed image (step S409). Compared with the physical image A, the Canny edge detection algorithm is taken as an example of image enhancement, and the widened lines of the superimposed image will be more obvious. For another example, if the solid image A is a static color painting, the content is a red apple with a color that is not bright enough. In contrast to the contrast enhancement or color enhancement algorithm as an image enhancement method, the apple color in the superimposed image will be more than the entity. The apple in image A is redder and more vivid. In addition, if the physical image A is a landscape image, and the solid image A image is stylized as an image enhancement method in a special effect, the superimposed image will become a mosaic tile effect or a different style of image such as watercolor.

值得一提的是,在本實施例中,可針對疊加影像的整體對比度與彩度等再進一步地調整。換言之,影像處理裝置120可更進一步地針對疊加影像的畫素進行分析,以判斷疊加影像的畫素是否符合期望資料(步驟S411)。在本實施例中,當疊加影像的畫素不符合期望資料時,則影像擷取裝置110即會重新擷取實體影像A,並且影像處理裝置120將重新產生新的投射影像。換句話說,當疊加影像的畫素不符合期望資料時,影像強化系統100 即會重新執行步驟S401~S409。當疊加影像的畫素符合期望資料時,則採用原有的投射影像,而此時影像處理系統100則結束影像強化方法的流程。It is worth mentioning that in the present embodiment, the overall contrast, chroma, and the like of the superimposed image can be further adjusted. In other words, the image processing device 120 can further analyze the pixels of the superimposed image to determine whether the pixels of the superimposed image conform to the desired data (step S411). In this embodiment, when the pixels of the superimposed image do not meet the desired data, the image capturing device 110 will retrieve the physical image A, and the image processing device 120 will regenerate the new projected image. In other words, the image enhancement system 100 when the pixels of the superimposed image do not meet the desired data Steps S401 to S409 are re-executed. When the pixels of the superimposed image meet the desired data, the original projected image is used, and at this time, the image processing system 100 ends the flow of the image intensifying method.

詳言之,在步驟S411中,影像擷取裝置110可擷取疊加影像,而影像處理裝置110將對疊加影像的畫素進行分析。舉例而言,影像處理裝置120可根據疊加影像的所有畫素之分佈圖(histogram)計算對比值,再判斷此對比值是否高於一個預設的期望值。當對比值不符合預設的期望值時,影像擷取裝置110先重新擷取實體影像A,以重新產生一個待處理影像。影像處理裝置120可以是逐步累加對比程度進行強化校正程序,以產生新的投射影像,直到新的投射影像與實體影像在步驟S411中所產生的疊加影像之對比值滿足預設的期望值為止。在此所謂的「逐步累加對比程度」可例如是對此對比值進行微調,使得暗的畫素更暗,而亮的畫素更亮。在另一實施例中,影像處理裝置亦對疊加影像的所有畫素的彩度值或其它特性進行分析,本發明不在此設限。In detail, in step S411, the image capturing device 110 can capture the superimposed image, and the image processing device 110 analyzes the pixels of the superimposed image. For example, the image processing device 120 may calculate a comparison value according to a histogram of all pixels of the superimposed image, and then determine whether the comparison value is higher than a preset expected value. When the comparison value does not meet the preset expected value, the image capturing device 110 first retrieves the physical image A to regenerate a to-be-processed image. The image processing device 120 may perform a reinforcement correction process by gradually increasing the contrast degree to generate a new projection image until the contrast value of the new projection image and the solid image in the superimposed image generated in step S411 satisfies a preset expected value. The so-called "stepwise accumulation of contrast" may, for example, be a fine adjustment of the contrast value such that the dark pixels are darker and the bright pixels are brighter. In another embodiment, the image processing device also analyzes the chroma values or other characteristics of all pixels of the superimposed image, and the present invention is not limited thereto.

然而,在本實施例中,由於投影裝置130的動態範圍(dynamic range)不足有可能導致上述的對比值無法滿足預設的期望值。在此情況下,影像處理裝置120更可執行一個判斷機制以判斷投射影像是否已達亮度飽和的狀態(步驟S413)。在此的亮度飽和也就是投影裝置130所能將投射影像投射出的最大亮度。當影像處理裝置120判斷投射影像的亮度已達飽和時,即使上述的對比值無法滿足預設的期望值,影像處理裝置120亦不再產生 新的投射影像。也就是說,在此情況下,投影裝置130將仍採用原有的投射影像套疊至實體影像A。However, in the present embodiment, since the dynamic range of the projection device 130 is insufficient, it is possible that the above-described contrast value cannot satisfy the preset desired value. In this case, the image processing device 120 can further perform a determination mechanism to determine whether the projected image has reached a state in which the brightness is saturated (step S413). The brightness saturation here is also the maximum brightness that the projection device 130 can project the projected image. When the image processing device 120 determines that the brightness of the projected image has reached saturation, the image processing device 120 is no longer generated even if the contrast value cannot meet the preset desired value. New projected image. That is to say, in this case, the projection device 130 will still use the original projection image to be nested to the solid image A.

綜上所述,本發明提出的影像強化方法以及影像強化系統,影像擷取裝置可即時擷取任何靜態或動態的實體影像,以產生待處理影像。影像處理裝置除了針對待處理影像進行影像強化,更針對影像擷取裝置以及投影裝置所造成的影像變形進行影像校正,以產生投射影像。接著,利用擴增投影的概念,投影裝置將投射影像套疊至實體影像上,以達到即時實體影像強化之目的。In summary, the image enhancement method and the image enhancement system provided by the present invention can instantly capture any static or dynamic physical image to generate a to-be-processed image. In addition to image enhancement for the image to be processed, the image processing device performs image correction on the image deformation caused by the image capturing device and the projection device to generate a projected image. Then, using the concept of augmented projection, the projection device nests the projected image onto the solid image to achieve the purpose of real-time physical image enhancement.

雖然本發明已以實施例揭露如上,然其並非用以限定本發明,任何所屬技術領域中具有通常知識者,在不脫離本發明的精神和範圍內,當可作些許的更動與潤飾,故本發明的保護範圍當視後附的申請專利範圍所界定者為準。Although the present invention has been disclosed in the above embodiments, it is not intended to limit the present invention, and any one of ordinary skill in the art can make some changes and refinements without departing from the spirit and scope of the present invention. The scope of the invention is defined by the scope of the appended claims.

S201~S205‧‧‧影像強化方法的流程S201~S205‧‧‧Process of image enhancement method

Claims (10)

一種影像強化方法,包括:擷取一主體的影像,以產生一待處理影像,其中該主體為一實體影像;根據一影像強化演算法以及多個影像強化參數,將該待處理影像進行一影像強化運算,以產生一強化影像;根據多個取像校正參數以及多個仿射矩陣參數,將該強化影像進行一反扭曲運算以及一仿射運算,以產生一投射影像;以及套疊該投射影像至該主體上,並擷取已套疊該投射影像的該主體的影像,以產生一疊加影像;判斷該疊加影像的畫素是否符合一期望資料;若否,判斷該投射影像的亮度是否已達飽和,其中:當該投射影像的亮度未達飽和時,產生一新的投射影像,並且套疊該新的投射影像至該主體。 An image enhancement method includes: capturing an image of a subject to generate a to-be-processed image, wherein the subject is a physical image; and performing an image on the image to be processed according to an image enhancement algorithm and a plurality of image enhancement parameters Energizing the operation to generate a strengthened image; performing an inverse twisting operation and an affine operation on the enhanced image according to the plurality of image capturing correction parameters and the plurality of affine matrix parameters to generate a projected image; and nesting the projection And capturing an image of the main body of the projected image to generate a superimposed image; determining whether the pixel of the superimposed image conforms to a desired data; and if not, determining whether the brightness of the projected image is Saturated, wherein: when the brightness of the projected image is not saturated, a new projected image is generated, and the new projected image is nested to the subject. 如申請專利範圍第1項所述的影像強化方法,其中在根據所述取像校正參數以及所述仿射矩陣參數,將該強化影像進行該反扭曲運算以及該仿射運算,以產生該投射影像的步驟之前,該影像強化方法更包括:擷取一校正物的影像,以產生一校正影像;將該校正影像進行處理,以產生該校正影像的所述取像校正參數;根據所述取像校正參數,將該校正影像進行該反扭曲運算, 以產生一反扭曲校正影像;將該反扭曲校正影像投射於一平面,並且擷取投射於該平面的該反扭曲校正影像,以產生一投射校正影像;根據所述取像校正參數,將該投射校正影像進行該反扭曲運算,以產生一反扭曲投射校正影像;以及根據該反扭曲校正影像以及該反扭曲投射校正影像,取得所述仿射矩陣參數。 The image enhancement method of claim 1, wherein the enhanced image is subjected to the inverse distortion operation and the affine operation according to the image capturing correction parameter and the affine matrix parameter to generate the projection Before the step of image, the image enhancement method further comprises: capturing an image of the calibration object to generate a calibration image; processing the calibration image to generate the image capturing correction parameter of the corrected image; Performing the inverse distortion operation on the corrected image like a correction parameter, Generating an anti-warp corrected image; projecting the anti-warp corrected image onto a plane, and capturing the anti-warp corrected image projected on the plane to generate a projected corrected image; according to the image capturing correction parameter, Projecting the corrected image to perform the inverse twisting operation to generate an inversely twisted projected corrected image; and obtaining the affine matrix parameter based on the inversely twisted corrected image and the inversely warped corrected corrected image. 如申請專利範圍第2項所述的影像強化方法,其中根據所述取像校正參數以及所述仿射矩陣參數,將該強化影像進行該反扭曲運算以及該仿射運算,以產生該投射影像的步驟包括:根據一影像強化演算法以及多個影像強化參數,將該待處理影像進行一影像強化運算,以產生一強化影像;根據所述取像校正參數,將該強化影像進行該反扭曲運算,以產生一反扭曲強化影像;以及根據所述仿射矩陣參數,將該反扭曲強化影像進行該仿射運算,以產生該投射影像。 The image enhancement method of claim 2, wherein the enhanced image is subjected to the inverse distortion operation and the affine operation according to the image capturing correction parameter and the affine matrix parameter to generate the projected image. The step of: performing an image enhancement operation on the image to be processed according to an image enhancement algorithm and a plurality of image enhancement parameters to generate a strengthened image; and performing the inverse distortion on the enhanced image according to the image capturing correction parameter Computing to generate an anti-twist enhancement image; and performing the affine operation on the inverse distortion enhancement image based on the affine matrix parameter to generate the projection image. 如申請專利範圍第1項所述的影像強化方法,其中當該疊加影像的畫素不符合該期望資料時:擷取該主體的影像,以重新產生該待處理影像;將該待處理影像進行該影像強化運算,以重新產生該強化影像;將該強化影像進行該反扭曲運算以及該仿射運算,以重新產 生該投射影像;以及套疊該投射影像至該主體,以重新產生該疊加影像。 The image enhancement method of claim 1, wherein when the pixel of the superimposed image does not conform to the desired data, the image of the subject is captured to regenerate the image to be processed; and the image to be processed is performed. The image enhancement operation is performed to regenerate the enhanced image; the enhanced image is subjected to the inverse distortion operation and the affine operation to reproduce Generating the projected image; and nesting the projected image to the subject to reproduce the superimposed image. 如申請專利範圍第1項所述的影像強化方法,其中當該投射影像的亮度已達飽和時,套疊該投射影像至主體。 The image enhancement method of claim 1, wherein when the brightness of the projected image has reached saturation, the projected image is nested to the subject. 一種影像強化系統,包括:一影像擷取裝置,擷取一主體,以產生一待處理影像,其中該主體為一實體影像;一影像處理裝置,耦接至該影像擷取裝置,根據一影像強化演算法以及多個影像強化參數,將該待處理影像進行一影像強化運算,以產生一強化影像,並且根據多個取像校正參數以及多個仿射矩陣參數,將該強化影像進行一反扭曲運算以及一仿射運算,以產生一投射影像;以及一投影裝置,耦接至該影像處理裝置,套疊該投射影像至該主體上,其中該影像擷取裝置擷取已套疊該投射影像的該主體的影像,以產生一疊加影像,該影像處理裝置判斷該疊加影像的畫素是否符合一期望資料,若否,判斷該投射影像的亮度是否已達飽和,當該投射影像的亮度未達飽和時,產生一新的投射影像,以及該投影裝置套疊該新的投射影像至該主體。 An image enhancement system includes: an image capture device that captures a subject to generate a to-be-processed image, wherein the subject is a physical image; an image processing device coupled to the image capture device, according to an image The enhanced algorithm and the plurality of image enhancement parameters are subjected to an image enhancement operation to generate an enhanced image, and the enhanced image is inversed according to the plurality of image capturing correction parameters and the plurality of affine matrix parameters. a twisting operation and an affine operation to generate a projected image; and a projection device coupled to the image processing device to nest the projected image onto the body, wherein the image capturing device captures the projected image An image of the subject of the image to generate a superimposed image, the image processing device determining whether the pixel of the superimposed image conforms to a desired data, and if not, determining whether the brightness of the projected image has reached saturation, when the brightness of the projected image is When the saturation is not reached, a new projected image is generated, and the projection device nests the new projected image to the subject. 如申請專利範圍第6項所述的影像強化系統,其中該影像擷取裝置更擷取一校正物的影像,以產生一校正影像,該影像 處理裝置將該校正影像進行處理,以產生該校正影像的所述取像校正參數,再根據所述取像校正參數,將該校正影像進行該反扭曲運算,以產生一反扭曲校正影像,又根據所述取像校正參數,將該校正影像進行該反扭曲運算,以產生一反扭曲校正影像,該投影裝置將該反扭曲校正影像投射於一平面,並且擷取投射於該平面的該反扭曲校正影像,以產生一投射校正影像,以及該影像處理裝置又根據該反扭曲校正影像以及該反扭曲投射校正影像,取得所述仿射矩陣參數。 The image enhancement system of claim 6, wherein the image capture device captures an image of the calibration object to generate a corrected image. The processing device processes the corrected image to generate the image capturing correction parameter of the corrected image, and then performs the inverse distortion operation on the corrected image according to the image capturing correction parameter to generate an anti-warping corrected image. Performing the inverse distortion operation on the corrected image according to the image capturing correction parameter to generate an inverse distortion corrected image, the projection device projecting the inverse distortion corrected image on a plane, and capturing the inverse projected on the plane The corrected image is warped to generate a projected corrected image, and the image processing device obtains the affine matrix parameter based on the reverse distortion corrected image and the inverse warped corrected image. 如申請專利範圍第7項所述的影像強化系統,其中該影像處理裝置根據一影像強化演算法,將該待處理影像進行一影像強化運算,以產生一強化影像,並且根據所述取像校正參數,將該強化影像進行該反扭曲運算,以產生一反扭曲強化影像,以及根據所述仿射矩陣參數,將該反扭曲強化影像進行該仿射運算,以產生該投射影像。 The image enhancement device of claim 7, wherein the image processing device performs an image enhancement operation on the image to be processed according to an image enhancement algorithm to generate an enhanced image, and corrects the image according to the image. And performing the inverse twisting operation on the enhanced image to generate an inverse distortion enhanced image, and performing the affine operation on the inverse distortion enhanced image according to the affine matrix parameter to generate the projected image. 如申請專利範圍第6項所述的影像強化系統,其中當該影像處理裝置判斷該疊加影像的畫素不符合該期望資料時:該影像擷取裝置擷取該主體的影像,以重新產生該待處理影像;該影像處理裝置將該待處理影像進行該影像強化運算,以重新產生該強化影像,又將該強化影像進行該反扭曲運算以及該仿射運算,以重新產生該投射影像;以及該投影裝置將該投射影像套疊至該主體,以重新產生該疊加 影像。 The image enhancement system of claim 6, wherein when the image processing device determines that the pixel of the superimposed image does not conform to the desired data: the image capturing device captures an image of the main body to reproduce the image The image processing device performs the image enhancement operation on the image to be processed to regenerate the enhanced image, and performs the inverse distortion operation and the affine operation on the enhanced image to reproduce the projected image; The projection device nests the projected image to the body to reproduce the overlay image. 如申請專利範圍第9項所述的影像強化系統,其中當該影像處理裝置判斷該投射影像的亮度已達飽和時,該投影裝置套疊該投射影像至該主體。The image enhancement system of claim 9, wherein the projection device nests the projection image to the main body when the image processing device determines that the brightness of the projected image has reached saturation.
TW102134842A 2013-09-26 2013-09-26 Method and system for image enhancement TWI497448B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW102134842A TWI497448B (en) 2013-09-26 2013-09-26 Method and system for image enhancement

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW102134842A TWI497448B (en) 2013-09-26 2013-09-26 Method and system for image enhancement

Publications (2)

Publication Number Publication Date
TW201513042A TW201513042A (en) 2015-04-01
TWI497448B true TWI497448B (en) 2015-08-21

Family

ID=53437199

Family Applications (1)

Application Number Title Priority Date Filing Date
TW102134842A TWI497448B (en) 2013-09-26 2013-09-26 Method and system for image enhancement

Country Status (1)

Country Link
TW (1) TWI497448B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9972075B2 (en) 2016-08-23 2018-05-15 National Taiwan University Of Science And Technology Image correction method of projector and image correction system

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI650731B (en) * 2017-07-03 2019-02-11 國立高雄科技大學 Adaptive self-repair and verification method for digital images, computer program products

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030043303A1 (en) * 2001-06-12 2003-03-06 Bonaventure Karuta System and method for correcting multiple axis displacement distortion
CN1635546A (en) * 2003-12-31 2005-07-06 财团法人工业技术研究院 Real-time image anti-distortion imaging method for curved screen
TW200639744A (en) * 2005-05-09 2006-11-16 Sunplus Technology Co Ltd Edge enhancement method and apparatus for bayer image and an image acquisition system
CN101583010A (en) * 2008-05-14 2009-11-18 致伸科技股份有限公司 Image processing method and image processing system
TW201011693A (en) * 2008-09-12 2010-03-16 Avisonic Technology Corp Image enhancement method using local gain correction

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030043303A1 (en) * 2001-06-12 2003-03-06 Bonaventure Karuta System and method for correcting multiple axis displacement distortion
CN1635546A (en) * 2003-12-31 2005-07-06 财团法人工业技术研究院 Real-time image anti-distortion imaging method for curved screen
TW200639744A (en) * 2005-05-09 2006-11-16 Sunplus Technology Co Ltd Edge enhancement method and apparatus for bayer image and an image acquisition system
CN101583010A (en) * 2008-05-14 2009-11-18 致伸科技股份有限公司 Image processing method and image processing system
TW201011693A (en) * 2008-09-12 2010-03-16 Avisonic Technology Corp Image enhancement method using local gain correction

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
Mashita, Tomohiro, and Masahiko YACHIDA, "Calibration method for misaligned catadioptric camera." IEICE transactions on information and systems , 2006. *
Weng, Juyang, Paul Cohen, and Marc Herniou. "Camera calibration with distortion models and accuracy evaluation." IEEE Transactions on pattern analysis and machine intelligence ,1992 *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9972075B2 (en) 2016-08-23 2018-05-15 National Taiwan University Of Science And Technology Image correction method of projector and image correction system

Also Published As

Publication number Publication date
TW201513042A (en) 2015-04-01

Similar Documents

Publication Publication Date Title
KR100796849B1 (en) How to take panoramic mosaic photos for mobile devices
CN108668093B (en) HDR image generation method and device
WO2018214365A1 (en) Image correction method, apparatus, device, and system, camera device, and display device
CN109104596B (en) Projection system and correction method of display image
US8491128B2 (en) System and method for projection correction by capturing projection image
WO2022179108A1 (en) Projection correction method and apparatus, storage medium, and electronic device
CN100527165C (en) Real time object identification method taking dynamic projection as background
CN111935465A (en) Projection system, projection device and correction method of display image thereof
CN110992244B (en) Picture generation method, system, device and storage medium with mole pattern
JP6812862B2 (en) Image processing system, imaging device, image processing method and program
KR20150109177A (en) Photographing apparatus, method for controlling the same, and computer-readable recording medium
JP2015060012A (en) Image processing system, image processing apparatus, image processing method, image processing program, and display system
CN104867113A (en) Method and system for perspective distortion correction of image
WO2015196896A1 (en) Focusing state prompting method and shooting device
US20160277721A1 (en) Color filtered area processing method for improving image processing
CN104935805B (en) Image processing apparatus, image processing method and recording medium
JP2007306106A (en) Imaging apparatus, imaging method, and program
TWI599809B (en) Lens module array, image sensing device and fusing method for digital zoomed images
TWI443604B (en) Image correction method and image correction device
TWI497448B (en) Method and system for image enhancement
TW201931303A (en) Method of providing image and electronic device for supporting the method
JP5858735B2 (en) Color correction apparatus and color correction method
CN102938842B (en) Image correction device, image correction method, and related devices and products
CN109218602B (en) Image capture device, image processing method and electronic device
CN114401388B (en) Projection method, projection device, storage medium and projection apparatus