TW201438469A - Image processing method for curved surface projection and its system - Google Patents
Image processing method for curved surface projection and its system Download PDFInfo
- Publication number
- TW201438469A TW201438469A TW102110182A TW102110182A TW201438469A TW 201438469 A TW201438469 A TW 201438469A TW 102110182 A TW102110182 A TW 102110182A TW 102110182 A TW102110182 A TW 102110182A TW 201438469 A TW201438469 A TW 201438469A
- Authority
- TW
- Taiwan
- Prior art keywords
- projection
- image data
- image processing
- curved surface
- curved
- Prior art date
Links
Landscapes
- Transforming Electric Information Into Light Information (AREA)
- Projection Apparatus (AREA)
Abstract
Description
本發明係關於一種影像處理技術,詳而言之,係關於一種用於曲面投影之影像處理方法與其系統。 The present invention relates to an image processing technique, and more particularly to an image processing method and system thereof for curved projection.
人們在工作會議或課程學習上大多透過投影設備來進行內容的播放,以使會議或課程的進行更有效率。然而,投影設備的使用仍有其限制,尤其是曲面投影上,由於投影屏幕呈曲面,故將投影內容投影至呈曲面的投影屏幕時,往往使該投影內容失真變形。 Most people use a projection device to play content during a work meeting or course study to make the meeting or course more efficient. However, the use of the projection device still has its limitations, especially on the curved surface projection. Since the projection screen is curved, when the projection content is projected onto the curved projection screen, the projection content is often distorted.
為解決前述問題,如中華民國新型專利第M373497號案所揭露之「曲面投影補償裝置」,其藉由投影補償處理模組自原始影像資料中最外側的複數個相鄰原始像素,藉由區域性互換的方式,取樣出一個原始像素移至該投影補償處理模組所計算出的新座標,而成為結果影像資料的輸出影像像素,亦即藉由調整該原始影像資料中各原始像素至計算出的新座標後,得到自中心處朝該兩外側方向逐漸縮小的結果影像資料畫面。 In order to solve the above problems, for example, the "curved surface compensation device" disclosed in the Republic of China new patent No. M373497, which uses the projection compensation processing module from the outermost plurality of adjacent original pixels in the original image data, by the region The method of sexually swapping, sampling an original pixel to the new coordinate calculated by the projection compensation processing module, and becoming the output image pixel of the resulting image data, that is, by adjusting each original pixel in the original image data to calculate After the new coordinates are output, the resulting image data is gradually reduced from the center toward the two outer directions.
雖前述新型專利案在曲面上所呈現的內容與欲投影的影像資料一致,即可避免投影內容失真的問題發生,但,其需對原始影像資料計算出各原始像素的新座標,因此, 將需耗費系統資源以及時間來進行影像處理,此外,前述新型專利案係以原始影像資料自中心處朝兩外側來計算各原始像素新座標,故其僅能處理對稱型的曲面,例如圓形或橢圓形等,對於任意曲面則無技可施。 Although the content of the new patent case on the curved surface is consistent with the image data to be projected, the problem of distortion of the projection content can be avoided, but the new coordinates of each original pixel need to be calculated for the original image data, therefore, It will take system resources and time to process the image. In addition, the new patent case calculates the original coordinates of the original pixels from the center to the outside from the original image data, so it can only handle symmetric surfaces, such as circles. Or elliptical, etc., for any surface, there is no way to do it.
鑒於上述習知技術之缺點,本發明之目的在於提供一種曲面投影用之影像處理方法與其系統,不需佔用過多的系統資源下,即可提供曲面投影的影像處理。 In view of the above disadvantages of the prior art, the object of the present invention is to provide an image processing method and system for curved surface projection, which can provide image processing of curved surface projection without occupying excessive system resources.
本發明之另一目的在於提供一種曲面投影用之影像處理方法與其系統及內儲影像處理程式之電腦可讀取記錄媒體及其電腦程式產品,以針對任意曲面進行投影。 Another object of the present invention is to provide an image processing method for curved projection and a system thereof, and a computer readable recording medium and a computer program product for storing the image processing program for projecting on any curved surface.
為達到上述目的以及其它目的,本發明提供一種曲面投影用之影像處理方法,係用以處理投影至具有曲面之投影標的物上之原始影像資料,包括以下步驟:依據該投影標的物之曲面產生相對應的曲面模型;取得該曲面模型中之曲面參數;以及依據該曲面參數對該原始影像資進行影像處理,以產生用以供投影設備投影至具有曲面之投影標的物上的修正影像資料。 To achieve the above and other objects, the present invention provides an image processing method for curved projection, which is used for processing original image data projected onto a projection object having a curved surface, and includes the following steps: generating a curved surface according to the projection target a corresponding surface model; obtaining a surface parameter in the surface model; and performing image processing on the original image according to the surface parameter to generate corrected image data for projecting the projection device onto the object having the curved surface.
其次,本發明另提供一種內儲影像處理程式之電腦可讀取記錄媒體,係供電腦載入該程式並執行後,完成如上述曲面投影用之影像處理方法的處理步驟。 Secondly, the present invention further provides a computer readable recording medium for storing an image processing program, which is a processing step of the image processing method for the surface projection as described above after the computer loads the program and executes it.
此外,本發明還提供一種內儲影像處理程式之電腦程式產品,係於電腦載入該影像處理程式並執行後,完成如上述曲面投影用之影像處理方法的處理步驟。 In addition, the present invention also provides a computer program product for storing an image processing program, which is a processing step of the image processing method for the surface projection as described above after the computer loads the image processing program and executes it.
再者,本發明更提供一種曲面投影用之影像處理系統,係用以處理投影至具有曲面之投影標的物上之原始影像資料,包括:預處理模組,用以接收由該投影標的物之曲面對應產生之曲面模型以及預投影之原始影像資料,並儲存該曲面模型以及原始影像資料;以及影像處理模組,係由該曲面模型中取得曲面參數,依據該曲面參數對該原始影像資料進行影像處理,以產生用以投影至具有曲面之投影標的物上的修正影像資料。 Furthermore, the present invention further provides an image processing system for curved projection, which is used for processing original image data projected onto a projection object having a curved surface, comprising: a preprocessing module for receiving the object of the projection target The surface corresponding to the generated surface model and the pre-projected original image data, and the surface model and the original image data are stored; and the image processing module obtains the surface parameter from the surface model, and the original image data is obtained according to the surface parameter Image processing to generate corrected image data for projection onto a projection object having a curved surface.
由上可知,本發明之曲面投影用之影像處理方法與其系統,係預先建立與投影標的物之實際曲面相同之曲面模型,接著計算曲面模型的曲面參數與預投影內容之間關係,以形成供投影之修正影像資料,最後,透過投影設備依據該修正影像資料朝實際曲面方向投射與該修正影像資料相應的投影畫面,因此,解決現有投影技術中需計算各像素座標所造成佔用過多系統資源的問題,同時,亦可在任意曲面進行投影。 It can be seen from the above that the image processing method and system for the curved surface projection of the present invention pre-establish the same surface model as the actual curved surface of the projected object, and then calculate the relationship between the surface parameters of the curved surface model and the pre-projected content to form a The corrected image data of the projection is finally projected by the projection device according to the corrected image data in a direction corresponding to the corrected image data, thereby solving the problem that the existing projection technology needs to calculate the pixel resources caused by the pixel coordinates. The problem, at the same time, can also be projected on any surface.
1,13,14‧‧‧投影設備 1,13,14‧‧‧projection equipment
2,2’‧‧‧影像處理系統 2,2’‧‧·Image Processing System
20‧‧‧預處理模組 20‧‧‧Pre-processing module
200‧‧‧曲面模型 200‧‧‧ surface model
201‧‧‧原始影像資料 201‧‧‧ original image data
21,21’‧‧‧影像處理模組 21,21’‧‧‧Image Processing Module
22‧‧‧修正影像資料 22‧‧‧Revised image data
23,23’‧‧‧儲存模組 23,23’‧‧‧ Storage Module
3,3’,S2‧‧‧實際曲面 3,3’,S2‧‧‧real surface
30,31‧‧‧區域 30, 31‧‧‧ area
4‧‧‧電腦 4‧‧‧ computer
O1‧‧‧投影設備的設置位置 Setting position of O1‧‧‧projection equipment
O2‧‧‧成像處 O2‧‧‧ Imaging Office
P1‧‧‧近距離者 P1‧‧‧ close range
P2‧‧‧遠距離者 P2‧‧‧distant
S10至S40‧‧‧步驟 S10 to S40‧‧‧ steps
θ‧‧‧出光角度 θ‧‧‧Lighting angle
θ 1,θ 2‧‧‧張角 θ 1, θ 2‧‧‧ horn
S1‧‧‧虛擬曲面 S1‧‧‧ virtual surface
第1圖係為本發明曲面投影用之影像處理系統之第一實施型態的系統方塊圖及其應用架構示意圖;第2圖係為本發明曲面投影用之影像處理系統之第二實施型態的系統方塊圖及其應用架構示意圖;第3圖係為本發明曲面投影用之影像處理系統之第三實施型態的應用架構示意圖;第4圖係為本發明曲面投影用之影像處理系統之第四 實施型態的應用架構示意圖;第5圖係為本發明曲面投影用之影像處理方法之步驟流程圖;第6A圖係用以說明應用本發明曲面投影用之影像處理系統與其方法供投影設備對實際曲面進行投影的示意圖;以及第6B圖係用以說明本發明曲面投影用之影像處理系統與其方法進行投影畫面校正處理的原理。 1 is a system block diagram of a first embodiment of an image processing system for curved projection of the present invention and an application architecture thereof; and FIG. 2 is a second embodiment of an image processing system for curved projection of the present invention. The system block diagram and its application architecture diagram; FIG. 3 is a schematic diagram of the application architecture of the third embodiment of the image processing system for curved projection of the present invention; FIG. 4 is the image processing system for the curved surface projection of the present invention. fourth FIG. 5 is a flow chart of steps of an image processing method for curved projection of the present invention; FIG. 6A is a diagram for explaining an image processing system for curved projection of the present invention and a method thereof for a projection device. A schematic diagram of projection of an actual curved surface; and FIG. 6B is a diagram for explaining the principle of projection image correction processing by the image processing system for curved projection of the present invention and its method.
以下係藉由特定的具體實施例說明本發明之技術內容,熟悉此技術之人士可由本說明書所揭示之內容輕易地了解本發明之其他優點與功效。本發明亦可藉由其他不同的具體實施例加以施行或應用。本說明書中的各項細節亦可基於不同觀點與應用,在不悖離本發明之精神下,進行各種修飾與變更。 The technical contents of the present invention are described below by way of specific embodiments, and those skilled in the art can easily understand other advantages and effects of the present invention from the disclosure of the present specification. The invention may also be embodied or applied by other different embodiments. The details of the present invention can be variously modified and changed without departing from the spirit and scope of the invention.
如第1圖所示,其係用以說明本發明曲面投影用之影像處理系統之第一實施型態的系統方塊圖以及其應用架構示意圖,如圖所示,本實施型態之曲面投影用之影像處理系統2係可內建於投影設備1中,使該投影設備1可對任意曲面進行投影。在此須提出說明的是,該投影設備1具有例如成像元件及光學系統等之功能模組,由於此些功能模組為投影設備的習知標準配備,因此以下將不對其功能或結構進行說明,而僅就與本發明相關者敘述之。 As shown in FIG. 1 , it is a system block diagram for explaining the first embodiment of the image processing system for curved projection of the present invention and a schematic diagram of its application structure. As shown in the figure, the curved surface projection of the present embodiment is used. The image processing system 2 can be built into the projection device 1 so that the projection device 1 can project an arbitrary curved surface. It should be noted that the projection device 1 has functional modules such as an imaging element and an optical system. Since these functional modules are conventional standard devices of the projection device, the function or structure will not be described below. And only as described in connection with the present invention.
該曲面投影用之影像處理系統2包括預處理模組20 以及影像處理模組21。 The image processing system 2 for surface projection includes a preprocessing module 20 And an image processing module 21.
該預處理模組20用以接收並儲存由該投影標的物之曲面對應產生之曲面模型200以及預投影之原始影像資料201,該曲面模型200係為該影像處理系統2中模擬作為投影屏幕的實際曲面3,一般而言,可將實際曲面3的曲面參數匯入該影像處理系統2中以建立該曲面模型200,而該曲面參數可由該實際曲面3設計者提供,或者藉由測試裝置對作為投影屏幕的實際曲面3進行感測而取得者,且該曲面模型200係以相似形原理依據該曲面參數而建立者,故該曲面模型200與實際曲面3是相同形狀。該原始影像資料201則為預投影至實際曲面3的影像內容,該影像內容來源可以為照片、圖片或動態影像,甚至是影片。 The pre-processing module 20 is configured to receive and store the surface model 200 generated by the curved surface corresponding to the object of the projection target and the pre-projected original image data 201, which is simulated in the image processing system 2 as a projection screen. The actual surface 3, in general, the surface parameters of the actual surface 3 can be imported into the image processing system 2 to create the surface model 200, and the surface parameters can be provided by the actual surface 3 designer, or by the test device As the actual curved surface 3 of the projection screen is obtained by sensing, and the curved surface model 200 is established based on the curved surface parameter by the similar shape principle, the curved surface model 200 has the same shape as the actual curved surface 3. The original image data 201 is image content pre-projected to the actual surface 3, and the image content source may be a photo, a picture or a motion picture, or even a movie.
再者,前述實際曲面3並非僅限於單一曲面,對於任何實體標的物而言,可視標的物表面由多曲面所構成,因此,雖然前述僅提及實際曲面3,但實際運作上,是適用於多曲面之標的物上。 Furthermore, the actual curved surface 3 is not limited to a single curved surface. For any solid object, the surface of the visual target is composed of a multi-surface. Therefore, although the foregoing only refers to the actual curved surface 3, the actual operation is applicable to On the object of the multi-surface.
該影像處理模組21係由該曲面模型200中取得曲面參數,依據該曲面參數對該原始影像資料201進行影像處理,以形成用以供投影設備1投影的修正影像資料22。前述方式係針對該曲面模型200與原始影像資料201間相對關係進行影像處理,具體而言,使用者可透過影像處理系統2變化曲面模型200的觀看方向或角度,判斷原始影像資料201投射至曲面模型200之某一投影面的成像是否正確,必要時,調整曲面參數以克服兩者之間的誤差,如此 以產生供投影的修正影像資料22,使投影設備1依據該修正影像資料22,朝實際曲面3方向投影出與該修正影像資料22相應的投影畫面。 The image processing module 21 obtains a curved surface parameter from the curved surface model 200, and performs image processing on the original image data 201 according to the curved surface parameter to form a corrected image data 22 for projection by the projection device 1. The foregoing method performs image processing on the relative relationship between the curved surface model 200 and the original image data 201. Specifically, the user can change the viewing direction or angle of the curved surface model 200 through the image processing system 2, and determine that the original image data 201 is projected onto the curved surface. Whether the imaging of a certain projection surface of the model 200 is correct, if necessary, adjusting the surface parameters to overcome the error between the two, The projection image data 22 for projection is generated to cause the projection device 1 to project a projection screen corresponding to the corrected image data 22 in the direction of the actual curved surface 3 in accordance with the corrected image data 22.
由上可知,本發明所提出用於曲面投影之影像處理系統2,係預先建立與實際屏幕(實際曲面3)相同之模型,即上述之曲面模型200,接著將欲顯示之內容與該模型執行影像處理的運算,以得到標的物之任一曲面的修正影像資料22。因此,投影過程中,影像處理系統2僅須計算投影面該側的修正影像資料22,無須對所有實際曲面3計算出修正影像資料22,將有助於系統運作資源的節省,因此,在不須如習知方式計算各像素座標以避免耗費龐大的系統資源下,即實現投影設備可於任意曲面進行投影的處理。 It can be seen from the above that the image processing system 2 for curved surface projection proposed by the present invention pre-establishes the same model as the actual screen (actual curved surface 3), that is, the above-described curved surface model 200, and then executes the content to be displayed and the model. The image processing operation is performed to obtain corrected image data 22 of any curved surface of the object. Therefore, during the projection process, the image processing system 2 only needs to calculate the corrected image data 22 on the side of the projection surface, and it is not necessary to calculate the corrected image data 22 for all the actual curved surfaces 3, which will contribute to the saving of the system operation resources, and therefore, It is necessary to calculate each pixel coordinate in a conventional manner to avoid costly system resources, that is, to realize projection processing of the projection device on any curved surface.
再者,該實際曲面3可受控於馬達裝置(未圖示)而進行運動,而相應的,該影像處理系統2復包括運動偵測模組(未圖示),以偵測該馬達裝置之運動狀態,藉此使該影像處理模組21依據該運動狀態計算出對應的修正影像資料22,以供該投影設備1將該對應的修正影像資料相應地投影在受控於該馬達裝置的實際曲面3上,而此處理方式可應用於模擬彩釉花瓶的瓶體彩釉內容的呈現上,該彩釉花瓶設置於受馬達控制的旋轉台上,由於該影像處理模組21已取得相對於該彩釉花瓶的曲面模型,同時該影像處理模組21已得知該投影設備之投影輸出處(即出光處)與符合該曲面模型的彩釉花瓶瓶體曲面之相應位置以及該馬 達裝置之運動狀態,因此,在確定該投影設備之投影輸出處向著旋轉中的彩釉花瓶之瓶體曲面的位置後,即可相應地將處理後所得到的修正影像資料投射至該瓶體曲面上。 Furthermore, the actual curved surface 3 can be controlled by a motor device (not shown), and correspondingly, the image processing system 2 includes a motion detecting module (not shown) to detect the motor device. a state of motion, whereby the image processing module 21 calculates a corresponding corrected image data 22 according to the motion state, for the projection device 1 to project the corresponding corrected image data correspondingly to the motor device. The actual surface 3, and the treatment method can be applied to the presentation of the color of the bottle glaze of the simulated glaze vase, which is set on the rotary table controlled by the motor, since the image processing module 21 has been obtained relative to a curved surface model of the colored glaze vase, and the image processing module 21 has learned the corresponding position of the projection output of the projection device (ie, the light exiting portion) and the curved surface of the glazed vase body conforming to the curved surface model, and the horse Up to the motion state of the device, therefore, after determining the position of the projection output of the projection device toward the curved surface of the bottle of the rotating glaze vase, the corrected image data obtained after the processing can be correspondingly projected onto the bottle body. On the surface.
接著,如第2圖所示,其係為本發明曲面投影用之影像處理系統之第二實施型態的系統方塊圖以及其應用架構示意,本實施型態之曲面投影用之影像處理系統2’與第1圖所示之影像處理系統2之不同處在於,該影像處理系統2’並非內建於投影設備1中,而是內建於電腦4中,且該曲面投影用之影像處理系統2’復包括儲存模組23,而該儲存模組23可為該電腦4之硬碟,以儲存影像處理模組21’所形成的修正影像資料22,以供該投影設備1依據儲存於該儲存模組23中的修正影像資料22,朝實際曲面3方向投影出與該修正影像資料22相應的投影畫面。另須提出說明的是,本發明曲面投影用之影像處理系統之建置方式並不以電腦4為限,亦可內建於例如手機或網路伺服器等之資訊處理裝置中,相對的,並不限於以電腦4之硬碟來儲存修正影像資料22,亦可以光碟片、記憶卡或隨身碟等之記憶單元來儲存該修正影像資料22。換言之,端視實施型態而有不同的系統建置方式。 Next, as shown in FIG. 2, it is a system block diagram of a second embodiment of the image processing system for curved projection of the present invention and an application architecture thereof. The image processing system for curved projection of the present embodiment 2 The difference from the image processing system 2 shown in FIG. 1 is that the image processing system 2' is not built in the projection device 1, but is built in the computer 4, and the image processing system for the curved surface projection is used. The storage module 23 can be a hard disk of the computer 4 to store the corrected image data 22 formed by the image processing module 21 ′ for storage by the projection device 1 The corrected image data 22 in the storage module 23 projects a projection screen corresponding to the corrected image data 22 in the direction of the actual curved surface 3. It should be noted that the image processing system for curved projection of the present invention is not limited to the computer 4, and may be built in an information processing device such as a mobile phone or a network server. It is not limited to storing the corrected image data 22 by the hard disk of the computer 4, and the corrected image data 22 may also be stored by a memory unit such as a compact disc, a memory card or a flash drive. In other words, there are different ways to build the system depending on the implementation type.
再者,如第3圖所示,係用以說明本發明之曲面投影用之影像處理系統之第三實施型態的應用架構示意,本實施型態下的應用架構與第2圖之不同處在於,投影設備1可外接或內建儲存模組23’,而該儲存模組23’已預存由影像處理模組形成的修正影像資料22,以供該投影設備1依 據該儲存模組23’所儲存的修正影像資料22,朝實際曲面3方向投影出與該修正影像資料22相應的投影畫面。 Furthermore, as shown in FIG. 3, it is an application architecture for explaining the third embodiment of the image processing system for curved surface projection of the present invention. The application architecture in this embodiment differs from the second embodiment. The projection device 1 can externally or internally have a storage module 23 ′, and the storage module 23 ′ has pre-stored the corrected image data 22 formed by the image processing module for the projection device 1 to According to the corrected image data 22 stored in the storage module 23', a projection screen corresponding to the corrected image data 22 is projected in the direction of the actual curved surface 3.
此外,為避免投影光線照射到實際曲面3’產生山陰或山陽而影響到投影影像的呈像效果,即可應用如第4圖所示的應用架構,本實施型態下的應用架構與前述第3圖之不同處在於,其係透過多台投影設備進行投影處理,於本實施型態中,係以兩台投影設備(13及14)為例說明,而該兩台投影設備(13及14)依據該儲存模組23’所儲存的修正影像資料22朝實際曲面3’方向投影出與該修正影像資料22相應的投影畫面,而該投影畫面可為相同的影像內容,藉由設置於圖中左邊的投影設備13來彌補右邊投影設備14無法使投射投影畫面呈現之區域30,而相對的,藉由右邊的投影設備14來彌補左邊投影設備13無法使投射投影畫面呈現之區域31。因此,透過本發明曲面投影用之影像處理系統確實可有效解決傳統投影技術上無法就任意曲面進行投射以及需耗費相當程度之系統資源的問題。 In addition, in order to prevent the projection light from being irradiated onto the actual curved surface 3' to produce a mountain or a mountain, which affects the imaged effect of the projected image, the application architecture as shown in FIG. 4 can be applied, and the application architecture in the present embodiment and the foregoing The difference between the three figures is that the projection processing is performed by a plurality of projection devices. In the present embodiment, two projection devices (13 and 14) are taken as an example, and the two projection devices (13 and 14) are illustrated. The projection image corresponding to the corrected image data 22 is projected in the direction of the actual curved surface 3' according to the corrected image data 22 stored in the storage module 23', and the projected image may be the same image content, and is set in the image. The projection device 13 on the left side compensates for the area 30 where the right projection device 14 cannot render the projected projection picture, and the projection unit 14 on the right side compensates for the area 31 on which the left projection device 13 cannot render the projected projection picture. Therefore, the image processing system for curved projection of the present invention can effectively solve the problem that conventional projection technology cannot project on any curved surface and consumes a considerable amount of system resources.
再者,為避免該兩台投影設備(13及14)所投射的投影畫面於實際曲面3’上產生疊影,或者,為避免如第1圖所示之投影設備1所投射的投影畫面無法與實際曲面3相對應,故於應用本發明之曲面投影用之影像處理系統的投影設備中,該投影設備係可接收投影鏡頭與實際曲面3之相應位置的設定,以設定該投影設備所投射的投影畫面於實際曲面上的成像位置(請容後詳述)。 Furthermore, in order to prevent the projection screen projected by the two projection devices (13 and 14) from generating a superimposed image on the actual curved surface 3', or in order to avoid the projection image projected by the projection device 1 as shown in Fig. 1, Corresponding to the actual curved surface 3, in the projection apparatus applying the image processing system for curved projection of the present invention, the projection apparatus can receive the setting of the corresponding position of the projection lens and the actual curved surface 3 to set the projection of the projection apparatus. The position of the projection screen on the actual surface (please give details later).
此外,關於複數台投影設備1所輸出的投影畫面之 間,可利用對於各別投射出的投影畫面進行透明度調整及透明度漸層等方式,以達成投影拼接與融接。當兩投影設備1所輸出的投影畫面之交界處產生重疊情況時,可透過透明度調整使得兩投影畫面的透明度達到互補效果,避免兩個投影畫面重疊區域上兩者皆為高明亮度而產生突兀,再者,可輔助搭配透明度漸層概念,使得明亮度變化較和緩,減少透明度調整所產生的明顯落差。 In addition, regarding the projection screen output by the plurality of projection devices 1 In the meantime, it is possible to perform transparency adjustment and transparency gradation for each of the projected projection images to achieve projection splicing and fusion. When an overlap occurs at the intersection of the projection screens output by the two projection devices 1, the transparency can be adjusted to achieve a complementary effect by the transparency of the two projection images, and the two overlapping regions of the projection screen are prevented from being high brightness and the abruptness is generated. Furthermore, it can be assisted with the concept of transparency gradient, which makes the brightness change more moderate and reduces the obvious drop caused by the transparency adjustment.
另外,配合前述第1至3圖所示之系統架構說明本發明之曲面投影用之影像處理方法的處理流程。請參閱第5圖係用以說明本發明之曲面投影用之影像處理方法之流程圖。如圖所示,首先執行步驟S10,依據該投影標的物之曲面產生相對應的曲面模型,並取得該曲面模型中之曲面參數,以及取得欲投影的原始影像資料。接著進至步驟S20。在此須提出說明的是,前述曲面模型的建立方式並不限於先取得實際曲面之曲面參數,或者是先行建立曲面模型,再供後續人員依該曲面模型設計出實際曲面。 Further, the processing flow of the image processing method for curved surface projection of the present invention will be described in conjunction with the system architecture shown in the above first to third drawings. Please refer to FIG. 5 for explaining a flow chart of an image processing method for curved surface projection of the present invention. As shown in the figure, step S10 is first executed to generate a corresponding surface model according to the curved surface of the projection target object, obtain the surface parameter in the surface model, and obtain the original image data to be projected. Then it proceeds to step S20. It should be noted that the above-mentioned surface model is not limited to obtaining the surface parameters of the actual surface first, or the surface model is first established, and then the subsequent personnel design the actual surface according to the surface model.
於該步驟S20中,依據該曲面參數對該原始影像資料進行影像處理,以產生用以投影至具有曲面之投影標的物上的修正影像資料,前述即對曲面模型與原始影像資料之間進行對位關係的產生,接著進至步驟S30或步驟S40。 In the step S20, the original image data is subjected to image processing according to the surface parameter to generate corrected image data for projecting onto the object having the curved surface, and the foregoing is performed on the surface model and the original image data. The generation of the bit relationship proceeds to step S30 or step S40.
於步驟S30中,由於並非立即進行投影,故儲存處理後的修正影像資料,以作為後續曲面投影用之投影影像源,接著即可結束本發明曲面投影用之影像處理方法的處理步驟。另補充說明的是,該儲存方式可如第2圖所示, 儲存於影像處理端的儲存模組,或者如第3或4圖所示,儲存於另一個獨立的儲存模組中。 In step S30, since the projection is not immediately performed, the processed corrected image data is stored as a projection image source for subsequent curved projection, and then the processing procedure of the image processing method for curved projection of the present invention is completed. In addition, the storage method can be as shown in Figure 2, The storage module stored in the image processing end is stored in another independent storage module as shown in FIG. 3 or 4.
於步驟S40中,將已對位處理的修正影像資料輸出至投影設備,以供該投影設備對符合該曲面模型的實際曲面以該修正影像資料進行投影,如第1圖所示的系統架構,接著即可結束本發明曲面投影用之影像處理方法的處理步驟。 In step S40, the corrected image data processed by the alignment is output to the projection device, so that the projection device projects the corrected image data on the actual curved surface conforming to the curved surface model, as shown in the system architecture of FIG. Then, the processing steps of the image processing method for curved projection of the present invention can be ended.
此外,前述本發明之曲面投影用之影像處理方法與其系統除針對修正影像資料22的生成處理外,復可提供投影畫面的校正處理,在此則以第1圖為例詳細說明如下。 Further, the image processing method for curved surface projection of the present invention and the system thereof provide correction processing for the projection screen in addition to the generation processing of the corrected image data 22. Here, the first diagram will be described in detail as follows.
當影像處理模組21生成供投影設備1投影的修正影像資料22後,於該投影設備1實際投影時,可能因該投影設備1的設置關係,例如其出光角度與實際曲面3間未以預期的相對關係設置時,而此情況通常是指架設人員在架設該投影設備1時,將該投影設備1設置得略高、略低、偏左或偏右等之無法精確對位的情況,可能使該投影設備1朝實際曲面3方向投影出與該修正影像資料22相應的投影畫面無法完善地成像於該實際曲面3的預期位置上,因而造成影像的扭曲或變形,較嚴重者,更會有失真或邊緣模糊等情況。現有為解決此問題的方式,即是由該投影設備1的架設人員對該投影設備1的架設位置進行調整,而此舉除需多次調整外,更需人工以工具拆卸該投影設備1進行,故相當費時及費力;然而,藉由前述影像處理模組21所提供的投影畫面校正處理即可解決費時及費力的問題。 When the image processing module 21 generates the corrected image data 22 for projection by the projection device 1, when the projection device 1 is actually projected, it may be due to the setting relationship of the projection device 1, for example, the light exit angle and the actual curved surface 3 are not expected. When the relative relationship is set, the situation usually refers to a situation in which the erecting device sets the projection device 1 slightly higher, slightly lower, left or right, etc. when the projection device 1 is erected, possibly Projecting the projection device 1 in the direction of the actual curved surface 3 and projecting the corresponding image corresponding to the corrected image data 22 cannot be perfectly imaged on the actual position of the actual curved surface 3, thereby causing distortion or deformation of the image, and more serious, more serious There are distortions or blurred edges. In order to solve this problem, the erecting position of the projection device 1 is adjusted by the erector of the projection device 1. In addition to multiple adjustments, it is necessary to manually disassemble the projection device 1 with a tool. Therefore, it is quite time consuming and laborious; however, the problem of time consuming and laborious can be solved by the projection screen correction processing provided by the image processing module 21 described above.
在此請一併參閱第6A及6B圖,第6A圖係用以說明應用本發明曲面投影用之影像處理系統與其方法供投影設備對實際曲面S2進行投影的示意圖;第6B圖係用以說明前述投影畫面校正處理的原理。 Please refer to FIG. 6A and FIG. 6B together. FIG. 6A is a schematic diagram for explaining an image processing system for curved projection of the present invention and a method thereof for projecting the actual curved surface S2 by the projection apparatus; FIG. 6B is for explaining The principle of the aforementioned projection picture correction processing.
首先如第6A圖所示,標號O1為該投影設備1的設置位置,該投影設備1之出光角度為θ,利用三角函數取得與該實際曲面S2相似的虛擬曲面S1,而該虛擬曲面S1即為上述根據曲面模型200對原始影像資料201所成之欲投影出的修正影像資料22。 First, as shown in FIG. 6A, the symbol O1 is the installation position of the projection apparatus 1. The projection angle of the projection apparatus 1 is θ, and a virtual curved surface S1 similar to the actual curved surface S2 is obtained by a trigonometric function, and the virtual curved surface S1 is The corrected image data 22 to be projected from the original image data 201 according to the surface model 200 described above.
為避免因該投影設備1與實際曲面3間未以預期的相對關係設置而發生投影畫面無法完善地成像於該實際曲面3的預期位置上,故本發明利用視覺成像原理調整該投影畫面的成像張角,如第6B圖所示的成像原理,圖中標號O2為成像處,該成像處可視為如第6A圖的實際曲面S2之中心位置,張角θ 1用以提供近距離者P1的可視範圍,而張角θ 2用以提供遠距離者P2的可視範圍,由圖可知,張角θ 2<張角θ 1,因此,成像距離的遠近取決於張角的大小,然,因投影設備出廠時的投影張角已為固定,在無法調整的情況下,本發明利用前述視覺成像原理來調整該投影設備投射至實際曲面上之投影畫面的可視範圍;此外,本發明之影像處理模組21復提供投影畫面校正功能,用以對朝實際曲面3方向投影出與該修正影像資料22相應的投影畫面以三軸方向移動或轉動該投影畫面。 In order to avoid that the projection picture cannot be perfectly imaged at the expected position of the actual curved surface 3 due to the unintended relative relationship between the projection device 1 and the actual curved surface 3, the present invention adjusts the imaging of the projected image by using the principle of visual imaging. The angle of the image, as shown in Fig. 6B, in the figure, the symbol O2 is the imaged portion, which can be regarded as the center position of the actual curved surface S2 as shown in Fig. 6A, and the opening angle θ 1 is used to provide the visible range of the close person P1. And the opening angle θ 2 is used to provide the visual range of the remote person P2. As can be seen from the figure, the opening angle θ 2 < the opening angle θ 1, therefore, the distance of the imaging distance depends on the size of the opening angle, and, due to the projection angle of the projection device when it leaves the factory The image processing module 21 of the present invention provides the projection image correction by using the foregoing visual imaging principle to adjust the visual range of the projection image projected by the projection device onto the actual curved surface. The function is to project or rotate the projection screen in a three-axis direction by projecting a projection screen corresponding to the corrected image data 22 in the direction of the actual curved surface 3.
換言之,投影設備1所造成的像差,可依據光學原理 來修正此像差,包括投射比值和梯形校正值等改變,因此,在投影畫面校正前後,該投影設備1之出光處與實際曲面3的投影偏差量,與該修正影像資料22相應的投影畫面將被調整的移動量為對應互補,因而校正後之修正影像資料22投影在該實際曲面3上的投影畫面,因移動量與投影偏差為互補而呈現投影正常結果,故,實際投影偏差可利用校正修正影像資料22的校正偏移來相互抵銷,藉此使與該修正影像資料22相應的投影畫面投影到實際曲面上會產生正常投影效果。 In other words, the aberration caused by the projection device 1 can be based on optical principles. To correct the aberration, including the projection ratio and the trapezoidal correction value, and therefore, the projection deviation amount of the light exiting portion of the projection device 1 from the actual curved surface 3 before and after the projection image correction, and the projection image corresponding to the corrected image data 22 The amount of movement to be adjusted is correspondingly complementary, and thus the projected image of the corrected corrected image data 22 projected on the actual curved surface 3 exhibits a normal projection result because the amount of movement and the projection deviation are complementary, so the actual projection deviation can be utilized. Correcting the correction offset of the corrected image data 22 cancels each other, whereby projecting a projection image corresponding to the corrected image data 22 onto the actual curved surface produces a normal projection effect.
由於本發明之曲面投影用之影像處理方法可應用於上述第2圖的應用架構中,亦即,使用者可於本端電腦4直接執行本發明之曲面投影用之影像處理方法,其執行方式可透過該電腦4讀取並執行例如硬碟、記憶卡、軟碟、光碟片或隨身碟等電腦可讀取記錄媒體所內儲的影像處理程式,或者是透過網路系統自網站伺服器所下載的影像處理程式,因此,本發明更可提供一種內儲影像處理程式之電腦可讀取記錄媒體或內儲影像處理程式之電腦程式產品,當電腦4載入該影像處理程式並執行後,即可完成如第5圖所示處理步驟。 The image processing method for the curved surface projection of the present invention can be applied to the application architecture of FIG. 2, that is, the user can directly execute the image processing method for the curved surface projection of the present invention on the local computer 4, and the execution manner thereof. The computer 4 can read and execute an image processing program stored in a recording medium such as a hard disk, a memory card, a floppy disk, a compact disc or a flash drive, or through a network system from a website server. The image processing program is downloaded. Therefore, the present invention further provides a computer program product for storing a recording medium or an image processing program for storing an image processing program. When the computer 4 loads the image processing program and executes it, The processing steps shown in Figure 5 can be completed.
上述實施例僅例示性說明本發明之原理及功效,而非用於限制本發明。任何熟習此項技術之人士均可在不違背本發明之精神及範疇下,對上述實施例進行修飾與改變。因此,本發明之權利保護範圍,應如後述之申請專利範圍所列。 The above embodiments are merely illustrative of the principles and effects of the invention and are not intended to limit the invention. Modifications and variations of the above-described embodiments can be made by those skilled in the art without departing from the spirit and scope of the invention. Therefore, the scope of protection of the present invention should be as set forth in the scope of the claims described below.
1‧‧‧投影設備 1‧‧‧projection equipment
2‧‧‧影像處理系統 2‧‧‧Image Processing System
20‧‧‧預處理模組 20‧‧‧Pre-processing module
200‧‧‧曲面模型 200‧‧‧ surface model
201‧‧‧原始影像資料 201‧‧‧ original image data
21‧‧‧影像處理模組 21‧‧‧Image Processing Module
22‧‧‧修正影像資料 22‧‧‧Revised image data
3‧‧‧實際曲面 3‧‧‧ actual surface
Claims (11)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
TW102110182A TW201438469A (en) | 2013-03-21 | 2013-03-21 | Image processing method for curved surface projection and its system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
TW102110182A TW201438469A (en) | 2013-03-21 | 2013-03-21 | Image processing method for curved surface projection and its system |
Publications (1)
Publication Number | Publication Date |
---|---|
TW201438469A true TW201438469A (en) | 2014-10-01 |
Family
ID=52113544
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
TW102110182A TW201438469A (en) | 2013-03-21 | 2013-03-21 | Image processing method for curved surface projection and its system |
Country Status (1)
Country | Link |
---|---|
TW (1) | TW201438469A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109727190A (en) * | 2018-12-25 | 2019-05-07 | 广州励丰文化科技股份有限公司 | A kind of curved surface adjustment method and system based on media server control system |
-
2013
- 2013-03-21 TW TW102110182A patent/TW201438469A/en unknown
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109727190A (en) * | 2018-12-25 | 2019-05-07 | 广州励丰文化科技股份有限公司 | A kind of curved surface adjustment method and system based on media server control system |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10375381B2 (en) | Omnistereo capture and render of panoramic virtual reality content | |
US10244226B2 (en) | Camera rig and stereoscopic image capture | |
US8398246B2 (en) | Real-time projection management | |
US10038887B2 (en) | Capture and render of panoramic virtual reality content | |
US20170363949A1 (en) | Multi-tier camera rig for stereoscopic image capture | |
US9369658B2 (en) | Image correction of surface projected image | |
EP3304897A1 (en) | Capture and render of panoramic virtual reality content | |
JP2011090680A (en) | Display device and display method for automatically adjusting image of display screen | |
CN104574355B (en) | Calibration system of stereo camera and calibration method of stereo camera | |
JP2015097350A (en) | Image processing apparatus and multi-projection system | |
WO2019041650A1 (en) | Method, apparatus and device for correcting calibration parameters of video camera, and storage medium | |
US9473709B2 (en) | Image blending system and method for image blending | |
TWI520099B (en) | Calibration method of an image capture system | |
JP5187480B2 (en) | Projector, program, information storage medium, and image generation method | |
TW201438469A (en) | Image processing method for curved surface projection and its system | |
US9232201B2 (en) | Dynamic projected image color correction based on projected surface coloration | |
CN114401388B (en) | Projection method, projection device, storage medium and projection apparatus | |
KR20220162595A (en) | Electronic apparatus and control method thereof | |
TWI688274B (en) | Image calibration method and image calibration system | |
JP5093517B2 (en) | Projector, program, information storage medium, and image generation method | |
JP6429414B2 (en) | Projection mapping method | |
US20240046575A1 (en) | Video See-Through Augmented Reality | |
TWI549479B (en) | Calibration system of a stereo camera and calibration method of a stereo camera | |
TWI621356B (en) | Method of Projection Mapping | |
JP7020225B2 (en) | Information processing equipment, information processing methods and information processing programs |