TWI804829B - Image adjusting method, image adjusting system and projector image adjusting system - Google Patents
Image adjusting method, image adjusting system and projector image adjusting system Download PDFInfo
- Publication number
- TWI804829B TWI804829B TW110110580A TW110110580A TWI804829B TW I804829 B TWI804829 B TW I804829B TW 110110580 A TW110110580 A TW 110110580A TW 110110580 A TW110110580 A TW 110110580A TW I804829 B TWI804829 B TW I804829B
- Authority
- TW
- Taiwan
- Prior art keywords
- image
- edge
- original
- coordinate
- original image
- Prior art date
Links
Images
Landscapes
- Image Processing (AREA)
- Projection Apparatus (AREA)
- Testing, Inspecting, Measuring Of Stereoscopic Televisions And Televisions (AREA)
- Controls And Circuits For Display Device (AREA)
Abstract
Description
本揭露書是有關於一種多媒體資料處理方法及其應用系統,特別是一種影像調整方法及其應用系統。 This disclosure is about a multimedia data processing method and its application system, especially an image adjustment method and its application system.
隨著虛擬實境(Virtual Reality)技術的進步,有多種不同的顯示裝置被用來實現虛擬實境的立體圖像顯示。例如,應用具有曲面螢幕的顯示器來實現高解析度沉浸式視覺化環境(High-Resolution Immersive Visualization Environment)。其中,顯示器在處理傳統二維平面影像的輸入訊號時,所接收的原始影像資料可能是以無法完全填滿螢幕畫面,或是可能出現延展或失真的問題,需要進行影像的變形調整。 With the progress of the virtual reality (Virtual Reality) technology, many different display devices are used to realize the stereoscopic image display of the virtual reality. For example, a display with a curved screen is used to realize a high-resolution immersive visualization environment (High-Resolution Immersive Visualization Environment). Among them, when the display is processing the input signal of the traditional two-dimensional plane image, the received original image data may not be able to completely fill the screen, or there may be problems of extension or distortion, and image deformation adjustment is required.
另一種虛擬實境的應用,是透過投影機投射於模擬操座艙或四周環境中的不規則表面,來實現包覆式沉浸的環場虛擬實境。同樣地,在對任意曲面的屏幕進行非線性投影時,影像必須先經過校正處理,否則也會有扭曲失真的現象。 Another application of virtual reality is to realize the enveloping immersive virtual reality environment by projecting the projector on the simulated cockpit or the irregular surface in the surrounding environment. Similarly, when performing nonlinear projection on a screen with any curved surface, the image must be corrected first, otherwise there will be distortion.
因此,有需要提供一種先進的影像調整方法及其應用系統,來解決習知技術所面臨的問題。 Therefore, there is a need to provide an advanced image adjustment method and its application system to solve the problems faced by conventional technologies.
本說明書的一實施例揭露一種影像調整方法,包括下述步驟:首先,將原始影像以相互交叉的複數條虛擬線區分成複數個影像區域,其中這些影像區域包括複數個邊緣區域,每一個邊緣區域是由原始影像的至少一條原始影像邊線和至少二條虛擬線所定義而成。接著,改變至少一條虛擬線與原始影像邊線的至少一個交叉點的座標,以獲取一條變形影像邊線。然後,根據至少二條虛擬線以及變形影像邊線,來對位於原始影像的複數個邊緣區中的至少一個原始像素進行重新定位。 An embodiment of this specification discloses an image adjustment method, which includes the following steps: first, the original image is divided into a plurality of image areas by a plurality of intersecting imaginary lines, wherein these image areas include a plurality of edge areas, and each edge The area is defined by at least one edge line of the original image and at least two virtual lines of the original image. Next, change the coordinates of at least one intersection point of at least one virtual line and the original image edge to obtain a deformed image edge. Then, relocate at least one original pixel located in the plurality of edge regions of the original image according to the at least two virtual lines and the edge of the deformed image.
本說明書的另一實施例揭露一種應用使用者介面(User Interface,UI)來執行上述影像調整方法的影像調整系統。 Another embodiment of the specification discloses an image adjustment system using a user interface (UI) to implement the above image adjustment method.
本說明書的另一實施例揭露一種投影機影像調整系統。此投影機影像調整系統包括投影裝置以及使用者介面。此使用者介面用於提供相互交叉的複數條虛擬線,將一原始影像區分成複數個影像區域。這些影像區域包括複數個邊緣區域,每一個邊緣區域是由原始影像的至少一條原始影像邊線與至少二條虛擬線所定義。再改變這些虛擬線其中至少一條與原始影像邊線的至少一個交叉點的座標,以獲取一條變形影像邊線;並根據至少二條虛擬線以及變形影像邊線,來對位於原始影像中的複數個邊 緣區的至少一個原始像素進行重新定位,藉以將原始影像轉換成成一調整影像。投影裝置則係用於投影原始影像和調整影像。 Another embodiment of the specification discloses a projector image adjustment system. The projector image adjustment system includes a projection device and a user interface. The user interface is used to provide a plurality of intersecting virtual lines to divide an original image into a plurality of image regions. The image areas include a plurality of edge areas, and each edge area is defined by at least one edge line of the original image and at least two virtual lines of the original image. Then change the coordinates of at least one intersection point between at least one of these virtual lines and the original image edge to obtain a deformed image edge; At least one original pixel of the edge area is repositioned to convert the original image into an adjusted image. The projection device is used to project the original image and adjust the image.
根據上述實施例,本說明書的實施例是在提供一種影像調整方法及其應用系統,可藉由複數條虛擬線,將一原始影像區分成複數個影像區域,以提供使用者幾個由虛擬線與原始影像邊線交叉的選擇點。使用者可以通過改變被選擇點的座標,以特定的演算法(例如貝茲曲線(Bézier curve)法)來獲得變形的影像邊線;再根據變形的影像邊線,來對位於原始影像邊緣區域中的至少一個原始像素進行重新定位,藉以將原始影像轉換成成一調整影像。換言之,使用者只須藉由使用者介面,改變影像邊線預設的選擇點的位置,即可簡易地調整原始影像形狀,達到產生符合需求的調整影像(變形影像)的目的。 According to the above-mentioned embodiments, the embodiment of this specification is to provide an image adjustment method and its application system, which can divide an original image into a plurality of image regions by a plurality of virtual lines, so as to provide the user with several virtual lines. The selection point that intersects the edge of the original image. The user can obtain the deformed image edge by changing the coordinates of the selected point with a specific algorithm (such as the Bézier curve method); At least one original pixel is repositioned to convert the original image into an adjusted image. In other words, the user only needs to change the position of the preset selected point on the edge of the image through the user interface to easily adjust the shape of the original image to achieve the purpose of generating an adjusted image (distorted image) that meets the requirements.
100、500、500’:原始影像 100, 500, 500': original image
101a-101f、101f’:虛擬線 101a-101f, 101f': virtual line
102、502:影像區域 102, 502: image area
102E1-102E10、502E1-502E8:邊緣區域 102E1-102E10, 502E1-502E8: Edge area
102C1、102C2、502C:中心區域 102C1, 102C2, 502C: central area
103a-103d、503:原始影像邊線 103a-103d, 503: original image edge
104b、104c、104d、104e:端點 104b, 104c, 104d, 104e: endpoints
104a、104a’、104f、104f’、108a、108b、109、504a、504a’、504b、504c、508a、508b、509:交叉點 104a, 104a', 104f, 104f', 108a, 108b, 109, 504a, 504a', 504b, 504c, 508a, 508b, 509: intersection points
105a、505:變形影像邊線 105a, 505: deformed image edge
105b’、505’:變形摺線 105b', 505': deformed polyline
106、506:原始像素 106, 506: original pixels
107a、507:直線 107a, 507: straight line
110、510:形變影像 110, 510: deformed image
200:投影機影像調整系統 200:Projector image adjustment system
201:投影裝置 201: Projection device
202:使用者介面 202: user interface
P0:虛擬點 P0: virtual point
P1:端點 P1: endpoint
P2:交叉點 P2: Intersection
D1、D2、D3、D4、S1、S2、S3、S4:節點 D1, D2, D3, D4, S1, S2, S3, S4: nodes
(X0,Y0)、(X0,Y2)、(X2,Y2)、(X0,Y1)、(X0,Y3)、(X1,Y1)、(X0,Ye)、(Xe,Ye)、(X3,Y3):座標 (X0, Y0), (X0, Y2), (X2, Y2), (X0, Y1), (X0, Y3), (X1, Y1), (X0, Ye), (Xe, Ye), (X3 , Y3): coordinates
S11:將原始影像以相互交叉的複數條虛擬線區分成複數個影像區域 S11: Divide the original image into a plurality of image regions with a plurality of intersecting virtual lines
S12:改變至少一條虛擬線與原始影像邊線的至少一個交叉點的座標,以獲取一條變形影像邊線 S12: Change the coordinates of at least one intersection point between at least one virtual line and the original image edge to obtain a deformed image edge
S12a:移動原始影像邊線與虛擬線的原始交叉點,將原始影像邊線變成據有二端點和被移動位置的交叉點的變形摺線 S12a: Move the original intersection point of the original image edge line and the virtual line, and change the original image edge line into a deformed polyline having two endpoints and the intersection point of the moved position
S12b:藉由曲線計算方式法,將變形摺線轉變成一條連續平滑曲的變形影像邊線 S12b: Transform the deformed polyline into a continuous smooth curved deformed image edge by using the curve calculation method
S13:根據用來定義至少一個邊緣區域的至少二條虛擬線和一條變形影像邊線,來對位於每一個邊緣區中的至少一個原始像素進行重新定位 S13: Relocate at least one original pixel located in each edge area according to at least two virtual lines and a deformed image edge line used to define at least one edge area
為了對本說明書的上述及其他方面有更佳的瞭解,下文特舉數個實施例,並配合所附圖式詳細說明如下:第1圖係根據本說明書的一實施例所繪示的一種影像調整方法的步驟流程圖;第2圖係根據根說明書的一實施例繪是一種適用上述影像調整方法的投影機影像調整系統的方塊圖;第3A圖係根據本說明的一實施例所繪示的原始影像畫面示意圖; 第3B圖至第3C圖係根據本說明的一實施例,繪示對第3A圖的原始影像進行影像調整的操作畫面示意圖;第4A圖至和第4B圖係根據本說明書的一實施例繪示將變形摺線轉變成連續平滑的變形影像邊線的部分曲線轉換步驟示意圖;第5A圖係根據本說明的另一實施例所繪示的原始影像畫面示意圖;第5B圖至第5C圖係根據本說明的另一實施例,繪示對第5A圖的原始影像進行影像調整的操作畫面示意圖;以及第6A圖和第6B圖係根據本說明書的又一實施例,繪示等比例調整原始影像尺寸的操作畫面示意圖。 In order to have a better understanding of the above and other aspects of this specification, several embodiments are specifically cited below, and detailed descriptions are as follows with the accompanying drawings: Figure 1 is an image adjustment according to an embodiment of this specification The flow chart of the steps of the method; Figure 2 is a block diagram of a projector image adjustment system applicable to the above-mentioned image adjustment method according to an embodiment of the root specification; Figure 3A is a block diagram according to an embodiment of this description Schematic diagram of the original image screen; Figures 3B to 3C are schematic diagrams of the operation screens for image adjustment of the original image in Figure 3A according to an embodiment of this specification; Figures 4A to 4B are drawn according to an embodiment of this specification Figure 5A is a schematic diagram of the original image frame according to another embodiment of this description; Figure 5B to Figure 5C are based on this document Another embodiment of the description shows a schematic diagram of the operation screen for image adjustment of the original image in FIG. 5A; and FIG. 6A and FIG. 6B illustrate the proportional adjustment of the original image size according to another embodiment of this specification The schematic diagram of the operation screen.
本說明書是提供一種影像調整方法及其應用系統,可藉由簡易的操作調整原始影像形狀,達到產生符合需求的調整影像(變形影像)的目的。為了對本說明書之上述實施例及其他目的、特徵和優點能更明顯易懂,下文特舉複數個較佳實施例,並配合所附圖式作詳細說明。 This specification provides an image adjustment method and its application system, which can adjust the shape of the original image through simple operations to achieve the purpose of generating an adjusted image (distorted image) that meets requirements. In order to make the above-mentioned embodiments and other objectives, features and advantages of this specification more comprehensible, several preferred embodiments are specifically cited below and described in detail with the accompanying drawings.
但必須注意的是,這些特定的實施案例與方法,並非用以限定本發明。本發明仍可採用其他特徵、元件、方法及參數來加以實施。較佳實施例的提出,僅係用以例示本發明的技術特徵,並非用以限定本發明的申請專利範圍。該技術領域中具有通常知識者,將可根據以下說明書的描述,在不脫離本發明的精 神範圍內,作均等的修飾與變化。在不同實施例與圖式之中,相同的元件,將以相同的元件符號加以表示。 However, it must be noted that these specific implementation cases and methods are not intended to limit the present invention. The invention can still be implemented with other features, elements, methods and parameters. The proposal of the preferred embodiment is only used to illustrate the technical characteristics of the present invention, and is not intended to limit the patent scope of the present invention. Those with ordinary knowledge in this technical field will be able to follow the description of the following specification without departing from the essence of the present invention. Within the scope of God, make equal modifications and changes. In different embodiments and drawings, the same elements will be denoted by the same element symbols.
請參照第1圖,第1圖係根據本說明書的一實施例所繪示的一種影像調整方法的步驟流程圖。在本說明書的一些實施例中,第1圖所繪示的影像調整方法,可適用於多種不同的顯示裝置,例如具有曲面螢幕的液晶顯示器、液晶顯示面板(Liquid Crystal Display,LCD)、電子紙顯示面板(Electronic Paper Display,EPD)或電子墨水(E-Ink)顯示面板其中之一者,或者適用於任何的影像投影裝置,例如可以對任意曲面的屏幕進行非線性投影的投影機。 Please refer to FIG. 1 . FIG. 1 is a flow chart illustrating the steps of an image adjustment method according to an embodiment of the present specification. In some embodiments of this specification, the image adjustment method shown in FIG. 1 can be applied to a variety of different display devices, such as liquid crystal displays with curved screens, liquid crystal display panels (Liquid Crystal Display, LCD), electronic paper One of an Electronic Paper Display (EPD) or an Electronic Ink (E-Ink) display panel, or any image projection device, such as a projector capable of non-linear projection on an arbitrary curved screen.
例如請參照第2圖,第2圖係根據根說明書的一實施例繪是一種適用上述影像調整方法的投影機影像調整系統200的方塊圖。其中,投影機影像調整系統200包括投影裝置201以及使用者介面202。在本說明書的一些實施例中,投影裝置201可以是一種數位光處理(Digital Light Processor DLP)投影機、液晶顯示(Liquid Crystal Display,LCD)投影機、或雷射投影機。使用者介面202與投影裝置201電性連結,可以是一種在使用者體驗和互動的指導下,用來完成第1圖所繪示的影像調整方法的電腦、電器、機器、移動通訊裝置、軟體或應用程式以及網站的設計。
For example, please refer to FIG. 2 . FIG. 2 is a block diagram of a projector
例如在本說明書的一些實施例中,使用者介面202可以包括(但不以此為限)由至少一個系統晶片(SOC)、場可編程閘極陣列(field programmable gate array,FPGA)晶片、複雜可編程邏輯元件
(complex programmable logic device,CPLD)、微處理器(Microprocessor)、中央處理單元(Central Processing Unit,CPU),其他具備運算能力的硬體元件、軟體元件、韌體元件或上述之組合(未繪示)。
For example, in some embodiments of the present specification, the
第1圖所述的影像調整方法括下述步驟:首先,使用第2圖所繪示的投影裝置201投影原始影像100。之後,採用使用者介面202提供相互交叉的複數條虛擬線101a-101e,藉以將原始影像100區分成複數個影像區域102(如第1圖的步驟S11所示)。
The image adjustment method shown in FIG. 1 includes the following steps: First, use the
請參照第3A圖至第3C圖,第3A圖係根據本說明的一實施例所繪示的原始影像100畫面示意圖。第3B圖至第3C圖係根據本說明的一實施例,繪示對第3A圖的原始影像100進行影像調整的操作畫面示意圖。在本說明書的一些實施例中,原始影像100可以是一種多邊形影像(例如(但不限定為)矩形、具有規則或不規則邊長的三角形、四邊形、五邊形...等影像)、圓形影像、橢圓形影像或具有弧邊的影像或其他形狀的影像。
Please refer to FIG. 3A to FIG. 3C . FIG. 3A is a schematic diagram of an
在本實施例中,原始影像100為矩形影像,具有複數條原始影像邊線103a-103d。這些影像區域102包括複數個邊緣區域102E1-102E10和複數個中心區域102C1和102C2。每一個邊緣區域(邊緣區域102E1-102E10之一者)是由原始影像100的至少一條原始影像邊線(原始影像邊線103a-103d之一者)和至少二條虛擬線(虛擬線101a-101e之二者)所定義而成。以邊緣區域102E1為例,邊緣區域
102E1是由原始影像100的二條原始影像邊線103a和103d以及二條虛擬線101a和101d所定義而成的一個方格區域。
In this embodiment, the
接著,改變至少一條虛擬線(例如,虛擬線101b)與原始影像邊線(例如,原始影像邊線103a)的至少一個交叉點(例如,交叉點104a)的座標,以獲取一條變形影像邊線105a(如第1圖的步驟S12所示)。
Next, change the coordinates of at least one intersection point (for example,
在本實施例中,獲取一條變形影像邊線105a的步驟,可以包括:採用使用者介面202,選擇並移動原始影像100的原始影像邊線103a與至少一條虛擬線(例如,虛擬線101b)交會的至少一個原始交叉點(例如,原始交叉點104a),再以手動拉動圖像的方式,將原始交叉點104a往下移至交叉點104a’的位置。使原始影像邊線103a變成具有二端點104b和104c和被移動位置的交叉點104a’的變形摺線105a’。同時,採用相似的步驟,移動原始影像邊線103c與虛擬線101b的原始交叉點104f,將原始影像邊線103c變成據有二端點104d和104e和被移動位置的交叉點104f’的變形摺線105b’(參照第1圖的步驟S12a以及第3B圖)。
In this embodiment, the step of acquiring a
接著如第1圖的步驟S12b所述:藉由曲線計算方式法(例如貝茲曲線法),根據原始影像邊線103a的二端點104b和104c和被移動位置的交叉點104a’,將變形摺線105a’轉變成一條連續平滑曲的變形影像邊線105a。同時,採用相似的步驟,將變形摺線105b’轉變成一條連續平滑的變形影像邊線105b(如第3C圖所繪示)。
Next, as described in step S12b of FIG. 1: by means of a curve calculation method (such as the Bezier curve method), according to the two
請參照第4A圖和第4B圖,第4A圖至和第4B圖係根據本說明書的一實施例繪示將變形摺線105b’轉變成連續平滑的變形影像邊線105b的部分曲線轉換步驟示意圖。為了方便描述起見,第4A圖至和第4B圖僅繪示將一部分的變形摺線105a’(例如,第3B圖所示端點104c至交叉點104a’之間的直線線段)轉換成曲線(例如,第3C圖所示端點104c至交叉點104a’之間的曲線線段)的步驟。
Please refer to FIG. 4A and FIG. 4B. FIG. 4A to FIG. 4B are schematic diagrams illustrating partial curve conversion steps of converting the
首先如第4A圖所繪示,根據曲線所要彎折的方向在端點104c至交叉點104a’之間選取一個虛擬點P0,將端點104c以P1表示,將交叉點104a’以P2表示。以節點D1和D2將連接虛擬點P0和端點104c的線段P1P0分成3等分,使線段P1D1=線段D1D2=線段D2P0;並且以節點D3和D4將連接虛擬點P0和交叉點104a’的線段P2P0分成3等分,使線段P2D4=線段D4D3=線段D3P0。分別連接節點D1和D3以及連接D2和D4,使線段D1 D3和D2 D4交叉。再以節點S1和S2將線段D1 D3分成3等分,使線段D1S1=線段S1S2=線段D3S2。以節點S3和S4將線段D2 D4分成3等分,使線段D2S3=線段S3S4=線段D4S4。
First, as shown in Fig. 4A, a virtual point P0 is selected between the
在將線段D1 D3和線段D2 D4的交叉點的兩側各選取一個節點作為中繼點。例如在本實施例中,線段D1 D3和線段D2 D4的交叉點恰為重合的節點S2/S3。線段D1 D3和線段D2 D4位於交叉點S2/S3兩側的節點分別為節點S1和S4。連接端點104c(P1)、交叉點104a’(P2)和二中繼點(節點S1和S4),即可得到一條由先段P1S1、S1S4和S4P2三個線段所構成的摺線(如第4B圖所繪示)。重複前述步
驟,直到將變形摺線105b’轉變成一條連續平滑的變形影像邊線105b為止。
Select a node on both sides of the intersection of line segment D1 D3 and line segment D2 D4 as a relay point. For example, in this embodiment, the intersection of the line segment D1 D3 and the line segment D2 D4 is exactly the coincident node S2/S3. The nodes on both sides of the line segment D1 D3 and the line segment D2 D4 located at the intersection S2/S3 are nodes S1 and S4 respectively. Connect the
然後,再根據用來定義至少一個邊緣區域(例如,邊緣區域102E1)的至少二條虛擬線(例如,虛擬線101a和101d)和一條變形影像邊線(例如,變形影像邊線105a),來對位於至少一個邊緣區(例如,邊緣區域102E1)中的至少一個原始像素(例如,原始像素106)進行重新定位(如第1圖的步驟S13所示)。為了清楚說明起見,此處僅針對位於邊緣區域102E1中的原始像素106的重新定位進行詳細說明。
Then, according to at least two virtual lines (for example,
在本實施例中,原始像素106的重新定位,包括下述步驟:在中作一條直線107通過原始像素106的原始平面座標(X0,Y0)平行座標軸(例如Y軸),並且分別與構成邊緣區域102E1的其中一條虛擬線101d以及變形影像邊線105a相交,以分別獲得交叉點108a和108b的交點座標(X0,Y1)和(X0,Y2)(參照第1圖的步驟S13a和第3C圖)。
In the present embodiment, the repositioning of the
接著,以內插法計算,根據原始影像邊線103a以及虛擬線101d和直線107之二交叉點109和108b與原始像素106三者的相對關係,計算出當原始影像邊線103a轉換成變形影像邊線105a時,通過原始像素106且平形於原始影像邊線103a的另一虛擬線101f(參照第3A圖),在與變形影像邊線105a同向調整而轉換成曲線101f’之後,與直線107的交叉點106’的座標(X0,Y3)。其中,交叉點106’即為原始像素106重新定位之後的位置(參照第1圖的步驟S13a)。同
時,採用相似的步驟,針對原始影像100中的邊緣區域102E1-102E10中的每一個其他原始像素(未繪示)進行重新定位,得到第3C圖所繪示的形變影像110。
Next, calculate with the interpolation method, according to the relative relationship between the
而值得注意的是,在獲取變形影像邊線105a的步驟中,第1圖所述的步驟S12b:將變形摺線105a’轉變成一條連續平滑的變形影像邊線105a並非必要步驟。因此在本說明書的一些其他實施例中,省略第1圖所述的步驟S12b所獲取的變形影像邊線,可以是一條連接原始影像邊線104b和104c的二端點和交叉點104a’的連續折線(即變形摺線105a’)。換言之,省略第1圖所述的步驟S12b所得到的形變影像(未繪示),可以是一種多邊形影像。
It is worth noting that, in the step of obtaining the
請參照第5A圖至第5C圖,第5A圖係根據本說明的另一實施例所繪示的原始影像500畫面示意圖。第5B圖至第5C圖係根據本說明的另一實施例,繪示對第5A圖的原始影像500進行影像調整的操作畫面示意圖。其中,原始影像400是一種圓形影像,具有單一條圓形的原始影像邊線503。原始影像400的影像調整方法包括下述步驟:首先,將原始影像500以相互交叉的複數條虛擬線501a-501d區分成複數個影像區域502。這些影像區域102包括複數個邊緣區域502E1-502E8和一個中心區域502C。每一個邊緣區域(邊緣區域502E1-502E8之一者)是由原始影像500的原始影像邊線(例如,原始影像邊線503)和三條虛擬線(例如,虛擬線501a-501d之三者)所定義而成。以邊緣區域502E1為例,邊緣區域502E1是由原始影像
500的原始影像邊線503以及二條虛擬線501a、501c和501d所定義而成的一個區域。
Please refer to FIG. 5A to FIG. 5C . FIG. 5A is a schematic diagram of an
接著,改變至少一條虛擬線(例如,虛擬線501c)與原始影像邊線503的至少一個交叉點(例如,原始交叉點504a)的座標,以獲取一條變形影像邊線505。在本實施例中,獲取一條變形影像邊線505的步驟,可以包括:選擇原始影像邊線503與虛擬線501c交會的原始交叉點504a,再採用使用者介面202,手動地將中的原始交叉點504a往圓形的原始影像500中心移動至交叉點504a’的位置。使圓形的原始影像邊線503,變成具有向圓形中心凹陷的變形摺線505’。其中,變形摺線505’包含交叉點504a’以及與交叉點504a’相鄰的二個原始交叉點504b和504c(如第5B圖所示)。
Next, change the coordinates of at least one intersection (eg,
接著,藉由貝茲曲線法或第4A圖和第4B圖所繪示的方法,根據變形摺線505’的交叉點504a’以及二個原始交叉點504b和504c,將變形摺線505’轉變成一條連續平滑的變形影像邊線505(如第5C圖所示)。由於將折線轉換成平滑曲線的演算方式業已詳述如上,故不在此贅述。
Then, according to the
然後,再根據定義至少一個邊緣區域(例如,邊緣區域502E8)的至少二條虛擬線(例如,虛擬線501a和501d)以及變形影像邊線505,來對位於至少一個邊緣區(例如,邊緣區域502E8)中的至少一個原始像素506進行重新定位。而為了清楚說明起見,此處僅針對位於邊緣區域502E8中的原始像素506的重新定位進行詳細說明。
Then, according to at least two virtual lines (for example,
在本實施例中,原始像素506的重新定位,包括下述步驟:在第5C圖中作一條直線507通過原始像素506的原始平面座標(X0,Y0),並且通過構成邊緣區域502E1的二虛擬線501a和501d的交叉點508b,且與變形影像邊線505相交形成交叉點508a,以分別獲得交叉點508a和508b的交點座標(X1,Y1)和(X2,Y2)。
In this embodiment, the repositioning of the
接著,根據原始影像邊線503和直線507之交叉點509座標(Xe,Ye)、交叉點508b座標(X2,Y2)以及原始像素506的原始平面座標(X0,Y0)三者的相對關係,以內插法計算出,當原始影像邊線503轉換成變形影像邊線505,交叉點509由座標(Xe,Ye)移至交叉點508a座標(X1,Y1)時,原始像素506的原始平面座標(X0,Y0)同向移動至調整點506’的座標(X3,Y3),完成原始像素506的重新定位。同時,採用相似的步驟,針對原始影像500中的邊緣區域502E1中的每一個其他原始像素(未繪示)進行重新定位,得到第5C圖所繪示的形變影像510。
Then, according to the relative relationship among the coordinates (Xe, Ye) of the
另外,在本實施例中,在獲取變形影像邊線505之前,可以包括以一定的半徑比例調整圓形原始影像500的尺寸。例如請參照第6A圖和第6B圖,第6A圖和第6B圖係根據本說明書的又一實施例繪示等比例調整原始影像500尺寸的操作畫面示意圖。在本實施例中,可以先將原本半徑為R的圓形原始影像500’(如第6A圖所繪示),調整為半徑為r的圓形原始影像500(如第6B圖所繪示)。接著再進行第5A圖至第5C圖所繪示的影像調整步驟。
In addition, in this embodiment, before obtaining the
根據上述實施例,本說明書的實施例是在提供一種影像調整方法及其應用系統,可藉由複數條虛擬線,將一原始影像區分成複數個影像區域,以提供使用者幾個由虛擬線與原始影像邊線交叉的選擇點。使用者可以通過改變被選擇點的座標,以特定的演算法(例如內插法)來獲得變形的影像邊線;再根據變形的影像邊線,來對位於原始影像邊緣區域中的至少一個原始像素進行重新定位,藉以將原始影像轉換成成一調整影像。換言之,使用者只須藉由使用者介面,改變影像邊線預設的選擇點的位置,即可簡易地調整原始影像形狀,達到產生符合需求的調整影像(變形影像)的目的。 According to the above-mentioned embodiments, the embodiment of this specification is to provide an image adjustment method and its application system, which can divide an original image into a plurality of image regions by a plurality of virtual lines, so as to provide the user with several virtual lines. The selection point that intersects the edge of the original image. The user can obtain a deformed image edge by changing the coordinates of the selected point with a specific algorithm (such as an interpolation method); and then according to the deformed image edge, at least one original pixel located in the original image edge area Repositioning, whereby the original image is transformed into an adjusted image. In other words, the user only needs to change the position of the preset selected point on the edge of the image through the user interface to easily adjust the shape of the original image to achieve the purpose of generating an adjusted image (distorted image) that meets the requirements.
雖然本發明已以較佳實施例揭露如上,然其並非用以限定本發明,任何該技術領域中具有通常知識者,在不脫離本發明之精神和範圍內,當可作些許之更動與潤飾,因此本發明之保護範圍當視後附之申請專利範圍所界定者為準。 Although the present invention has been disclosed above with a preferred embodiment, it is not intended to limit the present invention. Anyone with ordinary knowledge in this technical field may 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 scope of the appended patent application.
S11:將原始影像以相互交叉的複數條虛擬線區分成複數個影像區域 S11: Divide the original image into a plurality of image regions with a plurality of intersecting virtual lines
S12:改變至少一條虛擬線與原始影像邊線的至少一個交叉點的座標,以獲取一條變形影像邊線 S12: Change the coordinates of at least one intersection point between at least one virtual line and the original image edge to obtain a deformed image edge
S12a:移動原始影像邊線與虛擬線的原始交叉點,將原始影像邊線變成據有二端點和被移動位置的交叉點的變形摺線 S12a: Move the original intersection point of the original image edge line and the virtual line, and change the original image edge line into a deformed polyline having two endpoints and the intersection point of the moved position
S12b:藉由曲線計算方式法,將變形摺線轉變成一條連續平滑曲的變形影像邊線 S12b: Transform the deformed polyline into a continuous smooth curved deformed image edge by using the curve calculation method
S13:根據用來定義至少一個邊緣區域的至少二條虛擬線和一條變形影像邊線,來對位於至少一個邊緣區中的至少一個原始像素進行重新定位 S13: Relocate at least one original pixel located in at least one edge area according to at least two virtual lines and one deformed image edge line used to define at least one edge area
Claims (17)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
TW110110580A TWI804829B (en) | 2021-03-24 | 2021-03-24 | Image adjusting method, image adjusting system and projector image adjusting system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
TW110110580A TWI804829B (en) | 2021-03-24 | 2021-03-24 | Image adjusting method, image adjusting system and projector image adjusting system |
Publications (2)
Publication Number | Publication Date |
---|---|
TW202238513A TW202238513A (en) | 2022-10-01 |
TWI804829B true TWI804829B (en) | 2023-06-11 |
Family
ID=85460317
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
TW110110580A TWI804829B (en) | 2021-03-24 | 2021-03-24 | Image adjusting method, image adjusting system and projector image adjusting system |
Country Status (1)
Country | Link |
---|---|
TW (1) | TWI804829B (en) |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20130128057A1 (en) * | 2011-11-17 | 2013-05-23 | National University of Sciences & Technology | Geometric correction apparatus and method based on recursive bezier patch sub-division cross-reference to related application |
CN104796648A (en) * | 2014-01-21 | 2015-07-22 | 光宝科技股份有限公司 | Image projector and image correction method thereof |
TW201615007A (en) * | 2012-06-27 | 2016-04-16 | Univ Ming Chuan | Curved surface projection correction method and its augmented reality application system |
CN106534817A (en) * | 2016-12-05 | 2017-03-22 | 郑州捷安高科股份有限公司 | Image-identification-based automatic geometric correction method for curved surface projection |
-
2021
- 2021-03-24 TW TW110110580A patent/TWI804829B/en active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20130128057A1 (en) * | 2011-11-17 | 2013-05-23 | National University of Sciences & Technology | Geometric correction apparatus and method based on recursive bezier patch sub-division cross-reference to related application |
TW201615007A (en) * | 2012-06-27 | 2016-04-16 | Univ Ming Chuan | Curved surface projection correction method and its augmented reality application system |
CN104796648A (en) * | 2014-01-21 | 2015-07-22 | 光宝科技股份有限公司 | Image projector and image correction method thereof |
CN106534817A (en) * | 2016-12-05 | 2017-03-22 | 郑州捷安高科股份有限公司 | Image-identification-based automatic geometric correction method for curved surface projection |
Also Published As
Publication number | Publication date |
---|---|
TW202238513A (en) | 2022-10-01 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10503457B2 (en) | Method and apparatus for rendering perspective-correct images for a tilted multi-display environment | |
EP3438919B1 (en) | Image displaying method and head-mounted display apparatus | |
CN103927143B (en) | Method and device for adaptively adjusting interface layout on basis of screen resolution | |
TWI433546B (en) | Image resolution adjusting devices, display devices and image resolution adjusting methods | |
CN108287678B (en) | Image processing method, device, equipment and medium based on virtual reality | |
TWI493500B (en) | Image processing method and related apparatus for rendering two-dimensional image to show three-dimensional effect | |
US8963958B2 (en) | Apparatus and methods for adjusting a texture wrapped onto the surface of a virtual object | |
US8913162B2 (en) | Image processing method, image processing apparatus and image capturing apparatus | |
JP2017050616A5 (en) | ||
EP2674915A1 (en) | System and method for scaling vector-based graphic designs | |
WO2019119621A1 (en) | Correction method and device for projection picture, and projection system | |
TW201835891A (en) | Pixel unit drive method and device for special-shaped display screen | |
JP6217100B2 (en) | Image processing apparatus, projector, image processing method, and program | |
TWI804829B (en) | Image adjusting method, image adjusting system and projector image adjusting system | |
CN115115651A (en) | Image adjusting method, image adjusting system and projector image adjusting system | |
KR20180027721A (en) | Display device and method for displaying image using display device | |
WO2023231926A1 (en) | Image processing method and apparatus, device, and storage medium | |
JP4224222B2 (en) | Drawing method | |
US10768879B2 (en) | Image processing method and apparatus, virtual reality apparatus, and computer-program product | |
US10366515B2 (en) | Image processing apparatus, image processing system, and non-transitory computer readable medium | |
WO2019085461A1 (en) | Display screen and display device | |
JP2016076017A (en) | Graphic processing device and graphic processing program | |
JP2018063738A (en) | Graphic processing device and graphic processing program | |
US9811945B2 (en) | On-demand transformation aware shape tessellation | |
JP2012168897A (en) | Image processing device, control method therefor, and program |