TWI688274B - Image calibration method and image calibration system - Google Patents
Image calibration method and image calibration system Download PDFInfo
- Publication number
- TWI688274B TWI688274B TW107118215A TW107118215A TWI688274B TW I688274 B TWI688274 B TW I688274B TW 107118215 A TW107118215 A TW 107118215A TW 107118215 A TW107118215 A TW 107118215A TW I688274 B TWI688274 B TW I688274B
- Authority
- TW
- Taiwan
- Prior art keywords
- image
- projector
- adjusted
- projected
- edge
- Prior art date
Links
- 238000000034 method Methods 0.000 title claims abstract description 18
- 238000003702 image correction Methods 0.000 claims description 63
- 230000007704 transition Effects 0.000 claims description 23
- 230000001131 transforming effect Effects 0.000 claims 1
- 238000010586 diagram Methods 0.000 description 14
- 238000012937 correction Methods 0.000 description 8
- 108010077333 CAP1-6D Proteins 0.000 description 7
- 101000897856 Homo sapiens Adenylyl cyclase-associated protein 2 Proteins 0.000 description 7
- 101000836079 Homo sapiens Serpin B8 Proteins 0.000 description 7
- 101000798702 Homo sapiens Transmembrane protease serine 4 Proteins 0.000 description 7
- 102100029500 Prostasin Human genes 0.000 description 7
- 102100032471 Transmembrane protease serine 4 Human genes 0.000 description 7
- 108010031970 prostasin Proteins 0.000 description 7
- 238000005516 engineering process Methods 0.000 description 5
- 238000003384 imaging method Methods 0.000 description 3
- 238000004519 manufacturing process Methods 0.000 description 3
- 230000005540 biological transmission Effects 0.000 description 2
- 230000008859 change Effects 0.000 description 2
- 230000000694 effects Effects 0.000 description 2
- 230000003287 optical effect Effects 0.000 description 2
- 230000003190 augmentative effect Effects 0.000 description 1
- 238000004364 calculation method Methods 0.000 description 1
- 238000004891 communication Methods 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 238000006073 displacement reaction Methods 0.000 description 1
- 230000007613 environmental effect Effects 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 230000031700 light absorption Effects 0.000 description 1
- 238000012423 maintenance Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000012545 processing Methods 0.000 description 1
- 230000009467 reduction Effects 0.000 description 1
- 230000000007 visual effect Effects 0.000 description 1
Images
Landscapes
- Transforming Electric Information Into Light Information (AREA)
- Projection Apparatus (AREA)
Abstract
Description
本發明揭露一種影像校正方法及影像校正系統,尤指一種具有自動校正投射影像失真功能的影像校正方法及影像校正系統。 The invention discloses an image correction method and an image correction system, in particular an image correction method and an image correction system with an automatic correction function for projected image distortion.
隨著科技日新月異,各種顯示技術也越來越發達。高解析度的顯示器以及機動性高的投影設備也廣於應用在日常生活中。投影技術可擴展一般螢幕顯示器之外的顯示應用,像是空間藝術、擴增實境以及死角消減應用等等。如今,許多立體投影技術透過光學科技,並結合設計概念的創新呈現下,可創造出更令人驚艷的視覺傳達效果,以呈現出具超現實的場域空間影像。此外,在現今空間利用率緊繃的環境中,當我們需要大尺寸的顯示畫面時,短距離的投影設備就顯得相當實用。短距離的投影設備可以應用於各種空間,特別是小型的會議室。短距離的投影設備也稱為短焦投影機。這種短焦投影機的成像距離較短,因此投影機的光線照射距離不會太長,可以保護使用者的眼睛。並且,短焦投影機所投影的畫面亮度,也比較不會隨著投影面積的加大而快速遞減。因此,短焦投影機也具有節能環保、護眼以及降低後期維護成本的優勢。 With the rapid development of technology, various display technologies are becoming more and more developed. High-resolution displays and highly mobile projection devices are also widely used in daily life. Projection technology can expand display applications beyond the general screen display, such as space art, augmented reality and dead angle reduction applications. Today, many stereoscopic projection technologies, through optical technology and innovative design concepts, can create more stunning visual communication effects to present surreal field spatial images. In addition, in today's tight space utilization environment, when we need a large-size display screen, short-distance projection equipment becomes quite practical. Short-distance projection equipment can be applied to various spaces, especially small meeting rooms. Short-distance projection devices are also called short-throw projectors. The imaging distance of this short-throw projector is short, so the light irradiation distance of the projector will not be too long, which can protect the eyes of the user. In addition, the brightness of the screen projected by the short-throw projector is less likely to decrease rapidly as the projection area increases. Therefore, short-throw projectors also have the advantages of energy saving and environmental protection, eye protection and lower maintenance costs.
然而,投射畫面容易扭曲是短焦投影機容易出現的問題,原因是成像距離越短,經光學原理產生的影像變形也較明顯。特別是當短焦投影機發生水平旋轉或是垂直旋轉偏移時,投射畫面將會產生梯形失真。目前投射畫面的 梯形失真可以使用手動的方式調整投影機的水平以及垂直軸來校正,或是利用投影機內建的自動梯形校正功能來校正投射畫面。然而,因短焦投影機的成像距離短,因此當投射畫面的寬度很大時,投射比(Throw Ratio)會變得很小。這將導致投影機無法自動偵測到投射畫面失真的部分,而導致校正品質較差。因此,目前短焦投影機的投射畫面校正的方法仍需要改良。 However, the easy distortion of the projected picture is a problem that occurs in short-throw projectors, because the shorter the imaging distance, the more obvious the image distortion caused by the optical principle. Especially when the short-throw projector is rotated horizontally or vertically, the projected image will have trapezoidal distortion. Currently projected Keystone distortion can be corrected by adjusting the horizontal and vertical axes of the projector manually, or by using the automatic keystone correction function built into the projector to correct the projected image. However, due to the short imaging distance of the short-throw projector, when the width of the projected picture is large, the throw ratio (Throw Ratio) becomes small. This will cause the projector to fail to automatically detect the distorted part of the projected image, resulting in poor calibration quality. Therefore, the method of correcting the projected image of the short-throw projector still needs improvement.
本發明一實施例提出一種影像校正方法,包含投影機投影影像至影像平面,以使影像平面顯示投射影像,產生投射影像之第一邊緣轉折影像,產生投射影像之第二邊緣轉折影像,依據第一邊緣轉折影像,偵測投射影像之第一邊及第二邊所夾的第一夾角,依據第二邊緣轉折影像,偵測投射影像之第三邊及第四邊所夾的第二夾角,及依據第一夾角及第二夾角校正投射影像,以產生校正後的投射影像。投射影像的形狀係為四邊形,校正後的投射影像之形狀係為矩形。第一夾角及第二夾角係為投射影像之對角線的兩夾角。 An embodiment of the present invention provides an image correction method, which includes a projector projecting an image onto an image plane so that the image plane displays the projected image, generates a first edge-turned image of the projected image, and generates a second edge-turned image of the projected image. An edge-turned image, detecting the first angle between the first and second sides of the projected image, and according to the second edge-turned image, detecting the second angle between the third and fourth sides of the projected image, And correct the projected image according to the first included angle and the second included angle to generate a corrected projected image. The shape of the projected image is a quadrangle, and the shape of the projected image after correction is a rectangle. The first angle and the second angle are the two angles of the diagonal of the projected image.
本發明另一實施例提出一種影像校正系統,包含投影機、螢幕、第一相機及第二相機。投影機用以將影像投影至影像平面。螢幕面對於投影機,用以提供影像平面以顯示投射影像。第一相機耦接於投影機,用以擷取投射影像之第一邊緣轉折區域的第一擷取影像。第二相機耦接於投影機,用以擷取投射影像之第二邊緣轉折區域的第二擷取影像。投影機將第一擷取影像及第二擷取影像,依據第一相機、第二相機與投影機的相對位置,產生第一邊緣轉折影像及第二邊緣轉折影像,依據第一邊緣轉折影像,偵測投射影像之第一邊及第二邊所夾的第一夾角,依據第二邊緣轉折影像,偵測投射影像之第三邊及第四邊所夾的第二夾角,依據第一夾角及第二夾角校正投射影像,以產生校正後的投射影像,並將校正後的投射影像投影至影像平面。 Another embodiment of the present invention provides an image correction system, including a projector, a screen, a first camera, and a second camera. The projector is used to project the image onto the image plane. The screen surface is used for the projector to provide an image plane to display the projected image. The first camera is coupled to the projector and used to capture the first captured image of the first edge transition area of the projected image. The second camera is coupled to the projector and used to capture the second captured image of the second edge transition area of the projected image. The projector generates the first edge-turned image and the second edge-turned image according to the relative positions of the first camera, the second camera, and the projector according to the relative positions of the first camera, the second captured image, and the first edge-turned image. Detects the first angle between the first and second sides of the projected image, turns the image according to the second edge, and detects the second angle between the third and fourth sides of the projected image, based on the first and The second included angle corrects the projection image to generate a corrected projection image, and projects the corrected projection image onto the image plane.
100:影像校正系統 100: Image correction system
10:投影機 10: Projector
11:螢幕 11: Screen
12:第一相機 12: The first camera
13:第二相機 13: Second camera
C1:第一影像擷取方向 C1: The first image capture direction
C2:第二影像擷取方向 C2: Second image capture direction
D1:投影方向 D1: Projection direction
PIMG:投射影像 PIMG: Projected image
R1:第一邊緣轉折區域 R1: first edge transition area
R2:第二邊緣轉折區域 R2: Second edge transition area
EIMG1:第一邊緣轉折影像 EIMG1: the first edge transition image
EIMG2:第二邊緣轉折影像 EIMG2: Second edge transition image
CAP1:第一擷取影像 CAP1: the first captured image
CAP2:第二擷取影像 CAP2: second captured image
L1:第一邊 L1: first side
L2:第二邊 L2: second side
L3:第三邊 L3: third side
L4:第四邊 L4: the fourth side
A1:第一夾角 A1: The first angle
A2:第二夾角 A2: Second angle
H:水平軸 H: horizontal axis
V:垂直軸 V: vertical axis
L1’:調整後的第一邊 L1’: Adjusted first side
L2’:調整後的第二邊 L2’: Adjusted second side
L3’:調整後的第三邊 L3’: Adjusted third side
L4’:調整後的第四邊 L4’: Adjusted fourth side
CIMG:校正後的投射影像 CIMG: Corrected projected image
S801至S806:步驟 S801 to S806: Steps
第1圖係為本發明之影像校正系統之實施例的示意圖。 Figure 1 is a schematic diagram of an embodiment of the image correction system of the present invention.
第2圖係為第1圖之影像校正系統中,第一相機所取得之第一擷取影像的示意圖。 Figure 2 is a schematic diagram of the first captured image obtained by the first camera in the image correction system of Figure 1.
第3圖係為第1圖之影像校正系統中,第二相機所取得之第二擷取影像的示意圖。 FIG. 3 is a schematic diagram of the second captured image obtained by the second camera in the image correction system of FIG. 1.
第4圖係為第1圖之影像校正系統中,投影機僅在水平軸發生轉動偏移而使投射影像失真的示意圖。 FIG. 4 is a schematic diagram of the image correction system of FIG. 1 in which the projector only rotates on the horizontal axis to distort the projected image.
第5圖係為第1圖之影像校正系統中,投影機僅在垂直軸發生轉動偏移而使投射影像失真的示意圖。 FIG. 5 is a schematic diagram of the image correction system of FIG. 1 in which the projector only rotates on the vertical axis to distort the projected image.
第6圖係為第1圖之影像校正系統中,投射影像同時發生水平方向失真以及垂直方向失真的示意圖。 FIG. 6 is a schematic diagram of horizontal distortion and vertical distortion of the projected image in the image correction system of FIG. 1.
第7圖係為第1圖之影像校正系統中,投影機將投射影像校正,以產生校正後的投射影像之示意圖。 Figure 7 is a schematic diagram of the image correction system of Figure 1 in which the projector corrects the projected image to produce a corrected projected image.
第8圖係為第1圖之影像校正系統中,影像校正方法的流程圖。 Figure 8 is a flowchart of the image correction method in the image correction system of Figure 1.
第1圖係為本發明之影像校正系統100之實施例的示意圖。影像校正系統100包含投影機10、螢幕11、第一相機12及第二相機13。投影機10用以將影像投影至影像平面。在影像校正系統100中,投影機10可為短焦投影機或是一般的投影機。影像平面可為任何光線吸收率低於100%的平面。例如,螢幕11可提供影像平面或是單色的牆壁也可提供影像平面。在本實施例中,螢幕11面對於投影機10,用以提供影像平面以顯示投射影像。例如,投影機10可以將畫素為1024×768的影像,依據投影方向D1投影到螢幕11,以產生投射影像PIMG。投射
影像PIMG的形狀可為四邊形。然而,投射影像PIMG的形狀可能會因為投影機10位置的偏移或旋轉而失真。例如,投射影像PIMG的形狀可能失真為梯形或是任何非矩形的四邊形。第一相機12耦接於投影機10,用以取得第一擷取影像(如第2圖之第一擷取影像CAP1)。第一擷取影像包含投射影像PIMG之第一邊緣轉折區域R1。然而,第一擷取影像可利用第一相機12,沿著第一擷取方向C1而產生,故第一擷取方向C1與投影方向D1的差異性會造成第一擷取影像的歪斜。第二相機13耦接於投影機10,用以取得第二擷取影像(如第3圖之第二擷取影像CAP2)。第二擷取影像包含投射影像PIMG之第二邊緣轉折區域R2。然而,第二擷取影像可利用第二相機13,沿著第二擷取方向C2而產生,故第二擷取方向C2與投影方向D1的差異性會造成第二擷取影像的歪斜。在影像校正系統100中,投影機10可將第一擷取影像及第二擷取影像,依據第一相機12、第二相機13與投影機10的相對位置,產生第一邊緣轉折影像EIMG1及第二邊緣轉折影像EIMG2。意即,投影機10可依據第一相機12與投影機10的相對位置將第一擷取影像轉變,以產生第一邊緣轉折影像EIMG1。投影機10可依據第二相機13與投影機10的相對位置將第二擷取影像轉變,以產生第二邊緣轉折影像EIMG2。然而,本發明並未被此限制。例如,第一相機12以及第二相機13可以各自產生第一邊緣轉折影像EIMG1及第二邊緣轉折影像EIMG2,再將第一邊緣轉折影像EIMG1及第二邊緣轉折影像EIMG2的訊息傳送至投影機10。任何合理的技術變更都屬於本發明所揭露的範疇。投影機10可依據第一邊緣轉折影像EIMG1,偵測投射影像PIMG之第一邊及第二邊所夾的第一夾角,依據第二邊緣轉折影像EIMG2,偵測投射影像PIMG之第三邊及第四邊所夾的第二夾角。其中,第一邊、第二邊、第三邊以及第四邊圍成投射影像PIMG的區域。並且,投影機10可依據第一夾角及第二夾角校正投射影像PIMG,以產生校正後的投射影像,再將校正後的投射影像投影至影像平面(由螢幕11提供)。於其他實施例中,若第一擷取方向C1、投影方向
D1及第二擷取方向C2三者方向相同(即相互重合),則第一擷取影像即為第一邊緣轉折影像EIMG1,以及第二擷取影像即為第二邊緣轉折影像EIMG2。於此,則無需依據第一相機12、第二相機13與投影機10的相對位置進行轉變。下文將詳述影像校正系統100校正影像的方法以及原理。
FIG. 1 is a schematic diagram of an embodiment of the
第2圖係為影像校正系統100中,第一相機12所取得之第一擷取影像CAP1的示意圖。第3圖係為影像校正系統100中,第二相機13所取得之第二擷取影像CAP2的示意圖。第一相機12可與投影機10分離設置,並利用有線或無線的方式進行資料傳輸。因此,第一相機12與投影機10會產生第一相對位置。第一相對位置的定義可為以投影機10為原點時,第一相機12相對於原點的空間三軸方向以及距離。如前述提及,由於第一相機12依據第一影像擷取方向C1擷取包含投射影像PIMG之第一邊緣轉折區域R1的第一擷取影像CAP1,且第一相機12與投影機10之間具有第一相對位置,因此第一影像擷取方向C1與投影方向D1不同。這將導致第一相機12所擷取的第一擷取影像CAP1內之第一邊緣轉折區域R1之結構將發生歪斜,例如轉折區域的夾角影像出現失真的情況。因此,投影機10會依據投影機10與第一相機12的第一相對位置,產生第一調整參數。例如,投影機10可利用第一調整參數,將第一擷取影像CAP1的影像擷取方向校正為與投影方向D1一致,使第一擷取影像CAP1接近於螢幕11所呈現之投射影像PIMG的第一邊緣轉折影像EIMG1。類似地,第二相機13可與投影機10分離設置,並利用有線或無線的方式進行資料傳輸。因此第二相機13與投影機10會產生第二相對位置。第二相對位置的定義可為以投影機10為原點時,第二相機13相對於原點的空間三軸方向以及距離。如前述提及,由於第二相機13依據第二影像擷取方向C2擷取包含投射影像PIMG之第二邊緣轉折區域R2的第二擷取影像CAP2,且第二相機13與投影機10之間具有第二相對位置,因此第二影像擷取方向C2與投影方向D1不同。這將導致第二相機13所擷取的第二擷取影像CAP2內之
第二邊緣轉折區域R2之結構發生歪斜,例如轉折區域的夾角影像出現失真的情況。因此,投影機10會依據投影機10與第二相機13的第二相對位置,產生第二調整參數。例如,投影機10可利用第二調整參數,將第二擷取影像CAP2的影像擷取方向校正為與投影方向D1一致,使第二擷取影像CAP2接近於螢幕11所呈現之投射影像PIMG的第二邊緣轉折影像EIMG2。
FIG. 2 is a schematic diagram of the first captured image CAP1 obtained by the first camera 12 in the
然而,本發明不限制由第一相機12以及第二相機13擷取投射影像PIMG的部分影像區域,再經過影像處理之後產生第一邊緣轉折影像EIMG1以及第二邊緣轉折影像EIMG2。例如,影像校正系統100也可以僅利用單一相機,以轉動的方式於兩個不同的時間內,擷取投射影像PIMG的兩個不同部分的影像區域,並依序產生第一邊緣轉折影像EIMG1以及第二邊緣轉折影像EIMG2。任何合理的技術變更都屬於本發明所揭露的範疇。並且,如前述提及,投影機10可為短焦投影機,第一相機12以及第二相機13可為兩非廣角鏡頭相機。由於第一相機12以及第二相機13可為非廣角鏡頭相機,因此擷取到的影像不會有廣角變形。並且,第一相機12以及第二相機13也具備製程容易且價格低廉的優點。
However, the present invention does not limit the capturing of part of the image area of the projected image PIMG by the first camera 12 and the second camera 13, and after image processing, the first edge-turned image EIMG1 and the second edge-turned image EIMG2 are generated. For example, the
第4圖係為影像校正系統100中,投影機10僅在水平軸H發生轉動偏移而使投射影像PIMG失真的示意圖。如前述,投射影像PIMG的形狀可能會因為投影機10的轉動而失真。例如,當投影機10僅在水平軸H發生轉動偏移時(例如往下或往上傾斜),投影機10投影在螢幕11的投射影像PIMG會產生梯形失真。例如,投射影像PIMG中之第一邊L1及第四邊L4平行,第二邊L2及第三邊L3不平行,且第一夾角A1及第二夾角A2中至少一者不為直角。原理解釋如下。當投影機10在水平軸H發生轉動偏移時,投影機10所發出之影像上側的光束長度會與影像下側的光束長度不一致。例如,影像上側的光束比較短,投影到螢幕11之投射影像PIMG的第一邊L1就會比較短。影像下側的光束比較長,投影到螢幕11之投射影像PIMG的第四邊L4就會比較長。因此,投射影像PIMG會變為第一邊L1
較短而第四邊L4較長的梯形。由於投射影像PIMG失真為梯形,因此第一邊緣轉折影像EIMG1內之投射影像PIMG的第一夾角A1非為直角,且第一邊緣轉折影像EIMG2內之投射影像PIMG的第二夾角A2非為直角。當第一夾角A1或第二夾角A2非為直角時,投影機10將判斷投射影像PIMG為失真的情況,而進入影像校正的步驟。例如,投影機10可依據第一夾角A1及第二夾角A2,調整投射影像PIMG之第二邊L2及第三邊L3,以產生校正後的投射影像之調整後的第二邊及調整後的第三邊。調整後的第二邊及調整後的第三邊互相平行。並且,雖然投射影像PIMG的第一邊L1以及第四邊L4為平行,但因為第二邊L2及第三邊L3需要調整,因此第一邊L1或第四邊L4的長度也需要調整,以使投射影像PIMG為矩形,且符合在投射焦距下之預設影像輸出尺寸。例如,第四邊L4會被縮減到與第一邊L1相同的長度,以使投射影像PIMG的四個端點的角度為直角。因此,影像校正系統100具有垂直梯形影像校正(V-Keystone)的功能。
FIG. 4 is a schematic diagram of the
第5圖係為影像校正系統100中,投影機10僅在垂直軸V發生轉動偏移而使投射影像PIMG失真的示意圖。如前述,投射影像PIMG的形狀可能會因為投影機10的轉動而失真。例如,當投影機10僅在垂直軸V發生轉動偏移時(例如往左或往右傾斜),投影機10投影在螢幕11的投射影像PIMG會產生梯形失真。例如,投射影像PIMG中之第二邊L2及第三邊L3平行,第一邊L1及第四邊L4不平行,且第一夾角A1及第二夾角A2中至少一者不為直角。原理解釋如下。當投影機10在垂直軸V發生轉動偏移時,投影機10所發出之影像左側的光束長度會與影像右側的光束長度不一致。例如,影像左側的光束比較短,投影到螢幕11之投射影像PIMG的第二邊L2就會比較短。影像右側的光束比較長,投影到螢幕11之投射影像PIMG的第三邊L3就會比較長。因此,投射影像PIMG會變為第二邊L2較短而第三邊L3較長的梯形。由於投射影像PIMG失真為梯形,因此第一邊緣轉折影像EIMG1內之投射影像PIMG的第一夾角A1非為直角,且第二邊緣轉折影像
EIMG2內之投射影像PIMG的第二夾角A2非為直角。當第一夾角A1或第二夾角A2非為直角時,投影機10將判斷投射影像PIMG為失真的情況,而進入影像校正的步驟。例如,投影機10可依據第一夾角A1及第二夾角A2,調整投射影像PIMG之第一邊L1及第四邊L4,以產生校正後的投射影像之調整後的第一邊及調整後的第四邊。調整後的第一邊及調整後的第四邊互相平行。並且,雖然投射影像PIMG的第二邊L2以及第三邊L3為平行,因為第一邊L1及第四邊L4需要調整,因此第二邊L2或第三邊L3的長度也需要調整,以使投射影像PIMG為矩形,且符合在投射焦距下之預設影像輸出尺寸。例如,第三邊L3會被縮減到與第二邊L2相同的長度,以使投射影像PIMG的四個端點的角度為直角。因此,影像校正系統100具有水平梯形影像校正(H-Keystone)的功能。
FIG. 5 is a schematic diagram of the
第6圖係為影像校正系統100中,投射影像PIMG同時發生水平方向失真以及垂直方向失真的示意圖。第7圖係為影像校正系統100中,投影機10將投射影像PIMG校正,以產生校正後的投射影像CIMG之示意圖。在影像校正系統100中,如前述提及,投射影像PIMG可以利用水平梯形影像校正或是垂直梯形影像校正的功能校正影像失真。並且,當投影機10在垂直軸V以及水平軸H同時發生轉動偏移而使投射影像PIMG失真時,影像校正系統100也可以將失真的投射影像PIMG校正為矩形,說明如下。當投影機10在垂直軸V以及水平軸H同時發生轉動偏移而使投射影像PIMG失真時,投射影像PIMG的四個邊都可能都會產生歪斜,導致投射影像PIMG的四個端點的夾角都不是直角。例如,在第6圖中,投影機10依據第一邊緣轉折影像EIMG1內之第一夾角A1以及依據第二邊緣轉折影像EIMG2內之第二夾角A2,偵測出第一邊L1及第四邊L4不平行,且第二邊L2及第三邊L3不平行。因此,投影機10可依此判斷投射影像PIMG同時發生了水平影像失真以及垂直影像失真。接著,投影機10可依據第一夾角A1,調整投射影像PIMG之第一邊L1及第二邊L2,以產生互相垂直的調整後的第一邊L1’及
調整後的第二邊L2’。以及,投影機10可依據第二夾角A2,調整投射影像PIMG之第三邊L3及第四邊L4,以產生互相垂直的調整後的第三邊L3’及調整後的第四邊L4’。並且,如前述提及,由於投射影像PIMG為四個邊所圍成的影像,屬於一個封閉的影像範圍。因此,調整投射影像PIMG之第一邊L1、第二邊L2、第三邊L3以及第三邊L4的斜率時,也要同時調整第一邊L1、第二邊L2、第三邊L3以及第三邊L4的長度。如此,調整後的第一邊L1’、調整後的第二邊L2’、調整後的第三邊L3’以及調整後的第四邊L4’可圍成如第7圖所示的矩形區域,即產生校正後的投射影像CIMG。並且,調整後的第一邊L1’的長度等於調整後的第四邊L4’的長度,且調整後的第二邊L2’的長度等於調整後的第三邊L3’的長度。需要特別說明的是,上述當投射影像PIMG同時發生水平方向失真以及垂直方向失真的調整方法(即,同時調整第一邊L1、第二邊L2、第三邊L3以及第四邊L4的方法),可以作為影像校正系統100的通用調整方法。換句話說,可在無需在判斷投射影像PIMG是否同時在水準軸H和垂直軸V發生轉動偏移的前提條件下執行,故可以達到快速執行的功效,如下步驟:先依據第一夾角,調整投射影像的第一邊及第二邊,以產生互相垂直的調整後的第一邊及調整後的第二邊。接著,依據第二夾角調整投射影像的第三邊及第四邊,以產生互相垂直的調整後的第三邊及調整後的第四邊,再依據調整後的第一邊、調整後的第二邊、調整後的第三邊及調整後的第四邊產生校正後的投射影像。並且,當遇到無需調整的第一邊及/或第二邊、及/或第三邊、及/或第四邊時,則可不用調整對應的邊之斜率,或者可直接將對應的邊微調其長度後,視為調整後的邊。
FIG. 6 is a schematic diagram of horizontal and vertical distortions of the projected image PIMG in the
在影像校正系統100中,投影機10可為短焦投影機,投射比(Throw Ratio)可為0.3~0.45。投射比以數學表示可為d/W,其中d為投影機10與影像平面(螢幕11)之間的距離,而W為校正後的投射影像CIMG之寬度。然而,本發明卻不被特定的投射比所侷限。例如,投影機10可支援更小的投射比,以更節省投
影空間並能產生更寬敞的投射影像。
In the
第8圖係為影像校正系統100中,影像校正方法的流程圖。影像校正方法的流程包含步驟S801至步驟S806。任何合理的步驟變更都屬於本發明所揭露的範疇,步驟S801至步驟S806說明如下。
FIG. 8 is a flowchart of the image correction method in the
步驟S801:投影機10投影影像至影像平面,以使影像平面顯示投射影像PIMG;步驟S802:產生投射影像PIMG之第一邊緣轉折影像EIMG1;步驟S803:產生投射影像PIMG之第二邊緣轉折影像EIMG2;步驟S804:依據第一邊緣轉折影像EIMG1,偵測投射影像PIMG之第一邊L1及第二邊L2所夾的第一夾角A1;步驟S805:依據第二邊緣轉折影像EIMG2,偵測投射影像PIMG之第三邊L3及第四邊L4所夾的第二夾角A2;步驟S806:依據第一夾角A1及第二夾角A2校正投射影像PIMG,以產生校正後的投射影像CIMG。 Step S801: The projector 10 projects the image onto the image plane so that the image plane displays the projected image PIMG; Step S802: Generate the first edge-turned image EIMG1 of the projected image PIMG; Step S803: Generate the second edge-turned image EIMG2 of the projected image PIMG Step S804: Detect the first included angle A1 between the first side L1 and the second side L2 of the projected image PIMG based on the first edge-turned image EIMG1; Step S805: Detect the projected image based on the second edge-turned image EIMG2 The second included angle A2 between the third side L3 and the fourth side L4 of PIMG; Step S806: Correct the projected image PIMG according to the first included angle A1 and the second included angle A2 to generate a corrected projected image CIMG.
步驟S801至步驟S806的詳細說明已於前文中詳述,故於此將不再贅述。在影像校正系統100中,第一夾角A1及第二夾角A2可為投射影像PIMG的相對的兩個夾角,且第一夾角A1的端點及第二夾角A2的端點之連線可為投射影像PIMG之對角線。例如,上述實施例中,第一邊緣轉折影像EIMG1內之第一夾角A1,即為投射影像PIMG左上端點對應的夾角。第二邊緣轉折影像EIMG2內之第二夾角A2,即為投射影像PIMG右下端點對應的夾角。然而,影像校正系統100也可以利用投射影像PIMG右上端點對應的夾角以及左下端點對應的夾角來校正投射影像PIMG。並且,影像校正系統100計算夾角的方式可依據夾角兩邊的斜率來計算。例如,於第6圖中,於第一邊緣轉折影像EIMG1被產生後,影像校正系統100可以取得通過第一邊L1的兩點座標,以使第一邊L1符合線性方程式
Y=AL1×X+BL1,其中AL1為第一邊L1的斜率,BL1為第一邊L1對原點的偏移量,Y和X為直角座標系中之垂直軸和水平軸的座標。類似地,影像校正系統100可以取得通過第二邊L2的兩點座標,以使第二邊L2符合線性方程式Y=AL2×X+BL2,其中AL2為第二邊L2的斜率,BL2為第二邊L2對原點的偏移量,Y和X為直角座標系中,垂直軸和水平軸的座標。影像校正系統100可利用第一邊L1以及第二邊L2的斜率,檢測第一邊L1以及第二邊L2之第一夾角A1是否垂直。然而,影像校正系統100可以用任何影像辨識或是數值計算的方式來偵測第一夾角A1以及第二夾角A2,本發明並不被上述的演算法所侷限。
The detailed description of steps S801 to S806 has been detailed in the foregoing, so it will not be repeated here. In the
綜上所述,本發明描述了一種影像校正方法及影像校正系統,可應用於短焦投影機產生之投射影像的失真校正。影像校正系統可引入了一個以上的非廣角相機,來偵測投射影像之對角線的兩個夾角。影像校正系統可依據投射影像之對角線的兩個夾角,修正投射影像的四個邊,以產生矩形之修正後的投射影像。並且,由於影像校正系統引入的相機為非廣角相機,因此相機所擷取的影像不會受到有廣角變形或是廣角失真的影響。非廣角相機的製程也較為簡單,且成本低廉。並且,影像校正系統的相機只要擷取到投射影像之對角線的兩個夾角的影像即可,不需要擷取到全幅的投射影像,故影像校正系統的校正功能不會受到傳統廣角相機的視野限制。因此,本發明的影像校正系統,除了具有製程簡單且成本低廉的優點外,也具有很高的投射影像校正品質。 In summary, the present invention describes an image correction method and image correction system, which can be applied to the distortion correction of a projected image generated by a short-throw projector. The image correction system can introduce more than one non-wide-angle camera to detect the two included angles of the diagonal of the projected image. The image correction system can correct the four sides of the projected image according to the two included angles of the diagonal of the projected image to generate a rectangular projected image after correction. Furthermore, since the camera introduced by the image correction system is a non-wide-angle camera, the image captured by the camera will not be affected by wide-angle distortion or wide-angle distortion. The manufacturing process of non-wide-angle cameras is relatively simple, and the cost is low. In addition, the camera of the image correction system only needs to capture the two diagonal images of the projected image, and does not need to capture the full-scale projected image, so the correction function of the image correction system will not be affected by the traditional wide-angle camera. Limited vision. Therefore, in addition to the advantages of simple manufacturing process and low cost, the image correction system of the present invention also has high projection image correction quality.
以上所述僅為本發明之較佳實施例,凡依本發明申請專利範圍所做之均等變化與修飾,皆應屬本發明之涵蓋範圍。 The above are only the preferred embodiments of the present invention, and all changes and modifications made in accordance with the scope of the patent application of the present invention shall fall within the scope of the present invention.
100:影像校正系統 100: Image correction system
10:投影機 10: Projector
11:螢幕 11: Screen
12:第一相機 12: The first camera
13:第二相機 13: Second camera
C1:第一影像擷取方向 C1: The first image capture direction
C2:第二影像擷取方向 C2: Second image capture direction
D1:投影方向 D1: Projection direction
PIMG:投射影像 PIMG: Projected image
R1:第一邊緣轉折區域 R1: first edge transition area
R2:第二邊緣轉折區域 R2: Second edge transition area
EIMG1:第一邊緣轉折影像 EIMG1: the first edge transition image
EIMG2:第二邊緣轉折影像 EIMG2: Second edge transition image
Claims (11)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
TW107118215A TWI688274B (en) | 2018-05-29 | 2018-05-29 | Image calibration method and image calibration system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
TW107118215A TWI688274B (en) | 2018-05-29 | 2018-05-29 | Image calibration method and image calibration system |
Publications (2)
Publication Number | Publication Date |
---|---|
TW202005363A TW202005363A (en) | 2020-01-16 |
TWI688274B true TWI688274B (en) | 2020-03-11 |
Family
ID=69942341
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
TW107118215A TWI688274B (en) | 2018-05-29 | 2018-05-29 | Image calibration method and image calibration system |
Country Status (1)
Country | Link |
---|---|
TW (1) | TWI688274B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
TWI745992B (en) * | 2020-06-04 | 2021-11-11 | 宏芯科技股份有限公司 | Projection apparatus and method for virtual touch control |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
TW200512638A (en) * | 2003-09-26 | 2005-04-01 | Seiko Epson Corp | Image processing system, projector, information storage medium, and image processing method |
CN103716602A (en) * | 2013-12-24 | 2014-04-09 | 北京淳中视讯科技有限公司 | Method, device and system for geometry correction of projection image |
-
2018
- 2018-05-29 TW TW107118215A patent/TWI688274B/en not_active IP Right Cessation
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
TW200512638A (en) * | 2003-09-26 | 2005-04-01 | Seiko Epson Corp | Image processing system, projector, information storage medium, and image processing method |
CN103716602A (en) * | 2013-12-24 | 2014-04-09 | 北京淳中视讯科技有限公司 | Method, device and system for geometry correction of projection image |
Also Published As
Publication number | Publication date |
---|---|
TW202005363A (en) | 2020-01-16 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2022193559A1 (en) | Projection correction method and apparatus, storage medium, and electronic device | |
US20220286654A1 (en) | Projector Keystone Correction Method, Apparatus And System, And Readable Storage Medium | |
JP4495041B2 (en) | A method for determining projector pixels associated with laser points on a display surface by pinhole projection | |
CN110099266B (en) | Projector picture correction method and device and projector | |
TWI242374B (en) | Image processing system, projector, program, information storing medium, and image processing method | |
JP3844076B2 (en) | Image processing system, projector, program, information storage medium, and image processing method | |
WO2020252934A1 (en) | Dynamic projection device and method, and projector | |
TWI611383B (en) | Calibration system and method of multi-image output device | |
US7204595B2 (en) | Projector and method of correcting projected image distortion | |
WO2022247418A1 (en) | Image correction method and photographing device | |
JP2016519330A (en) | System and method for calibrating a display system using a short focus camera | |
US9992486B2 (en) | Method of enhanced alignment of two means of projection | |
US20090128686A1 (en) | Imaging apparatus | |
CN102365865A (en) | Multiprojection display system and screen forming method | |
CN108718404B (en) | Image correction method and image correction system | |
CN104931421B (en) | The positioning focusing method of liquid crystal panel vision detection system | |
WO2022242306A1 (en) | Laser projection system, image correction method, and laser projection device | |
WO2022247419A1 (en) | Laser projection device and image correction system | |
TWI688274B (en) | Image calibration method and image calibration system | |
US20150237344A1 (en) | Calibration method of an image capture system | |
JP2010085563A (en) | Image adjusting apparatus, image display system and image adjusting method | |
TWI766206B (en) | Method for correcting distortion image and apparatus thereof | |
US20230362339A1 (en) | Method and projection system for calibrating projection area of projector | |
TWI682358B (en) | Multi-dimensional image projection apparatus and multi-dimensional image calibration method thereof | |
CN107346530A (en) | A kind of projecting method and system for correcting fish eye images |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
MM4A | Annulment or lapse of patent due to non-payment of fees |