TW201240442A - Device and method for transforming 2D images into 3D images - Google Patents
Device and method for transforming 2D images into 3D images Download PDFInfo
- Publication number
- TW201240442A TW201240442A TW101107097A TW101107097A TW201240442A TW 201240442 A TW201240442 A TW 201240442A TW 101107097 A TW101107097 A TW 101107097A TW 101107097 A TW101107097 A TW 101107097A TW 201240442 A TW201240442 A TW 201240442A
- Authority
- TW
- Taiwan
- Prior art keywords
- image
- data signal
- signals
- starting points
- converting
- Prior art date
Links
Landscapes
- Testing, Inspecting, Measuring Of Stereoscopic Televisions And Televisions (AREA)
- Controls And Circuits For Display Device (AREA)
- Control Of Indicators Other Than Cathode Ray Tubes (AREA)
Abstract
Description
201240442201240442
TW7701PA 六、發明說明: 【發明所屬之技術領域】 本發明是有關於一種將2D影像轉換為3D影像之裝 置及方法。 【先前技術】 隨著現代科技的蓬勃發展,人類開始追求較2D影像 裝置更為真實的視覺享受,因此近年來3D立體影像之相 關技術日趨成熟,利用3D眼鏡觀賞2D影像裝置之動態影 像的應用已逐漸普及化。目前常見的2D影像裝置若要形 成3D立體影像,必須先對2D影像作深度分析以估計得到 對應的深度表,再將2D影像配合深度表作影像處理以繪 製得到對應3D眼鏡(例如立體眼鏡、偏光眼鏡或快門眼鏡 等)的雙重影像,再搭配上述眼鏡觀看方能達到3D立體效 果。然而,深度分析及深度表估計的執行通常需耗費大量 的硬體資源,且還需要額外的記憶體進行存放。 【發明内容】 本揭露是有關於一種將2D影像轉換為3D影像之裝 置及方法,利用簡單的流程與計算使得2D影像可以呈現 3D立體效果。 根據本揭露之第一方面,提出一種將2D影像轉換為 3D影像之裝置,包括一位置計算單元以及一影像處理區 塊。位置計算單元用以依據一面板的顯示型態產生對應面 板的多條晝素線之多個起始點。影像處理區塊用以依據此 201240442TW7701PA VI. Description of the Invention: [Technical Field] The present invention relates to an apparatus and method for converting 2D images into 3D images. [Prior Art] With the rapid development of modern technology, human beings began to pursue more realistic visual enjoyment than 2D video devices. Therefore, the related technologies of 3D stereoscopic images have become more and more mature in recent years, and the use of 3D glasses to view the dynamic image of 2D video devices Has gradually become popular. In order to form a 3D stereoscopic image, a common 2D image device must first perform depth analysis on the 2D image to estimate the corresponding depth table, and then use the 2D image with the depth table as image processing to draw corresponding 3D glasses (for example, stereo glasses, A double image of polarized glasses or shutter glasses, etc., can be combined with the above glasses to achieve a 3D stereoscopic effect. However, the implementation of in-depth analysis and depth table estimation typically consumes a large amount of hardware resources and requires additional memory for storage. SUMMARY OF THE INVENTION The present disclosure relates to an apparatus and method for converting a 2D image into a 3D image, and the 2D image can be rendered into a 3D stereoscopic effect by a simple flow and calculation. According to a first aspect of the present disclosure, an apparatus for converting a 2D image into a 3D image includes a position calculation unit and an image processing block. The position calculation unit is configured to generate a plurality of starting points of the plurality of halogen lines of the corresponding panel according to the display type of the panel. The image processing block is used according to this 201240442
TW7701PA 些起始點重塑對應此些晝素線之多個輸入致能訊號為多 個輸出致能訊號。其中,面板之此些晝素線分別依據此些 輸出致能訊號顯示輸出資料訊號為多個影像訊號,此些影 像訊號包括多個左眼影像訊號與多個右眼影像訊號。 根據本揭露之第二方面,提出一種將2D影像轉換為 3D影像之方法,應用於一將2D影像轉換為3D影像之裝 置,裝置包括一位置計算單元以及一影像處理區塊。方法 包括下列步驟。位置計算單元依據一面板的顯示型態產生 對應該面板的多條晝素線之多個起始點。影像處理區塊依 據此些起始點重塑對應此些晝素線之多個輸入致能訊號 為多個輸出致能訊號。面板之此些晝素線分別依據此些輸 出致能訊號顯示輸出資料訊號為多個影像訊號,此些影像 訊號包括多個左眼影像訊號與多個右眼影像訊號。 為了對本揭露之上述及其他方面有更佳的暸解,下文 特舉一實施例,並配合所附圖式,作詳細說明如下: 【實施方式】 本揭露所提出之將2D影像轉換為3D影像之裝置及 方法,利用間早的流程與計鼻將資料位移而得到左眼影像 與右眼影像,故不需做深度分析及估計和額外資料儲存即 可使得2D影像可以呈現3D立體效果。 請參照第1圖,其繪示依照一實施例之將2D影像轉 換為3D影像之裝置之方塊圖。將2D影像轉換為3D影像 之裝置100包括一位置計算單元110以及一影像處理區塊 120。位置計算單元110依據一面板的顯示型態產生對應 4 201240442The TW7701PA starts to reshape multiple input enable signals corresponding to these halogen lines into multiple output enable signals. The output signals of the panel are displayed as a plurality of image signals according to the output enable signals, and the image signals include a plurality of left eye image signals and a plurality of right eye image signals. According to a second aspect of the present disclosure, a method for converting a 2D image into a 3D image is provided, which is applied to a device for converting a 2D image into a 3D image, the device comprising a position calculating unit and an image processing block. The method includes the following steps. The position calculation unit generates a plurality of starting points of the plurality of halogen lines corresponding to the panel according to the display type of the panel. The image processing block reshapes the plurality of input enable signals corresponding to the plurality of pixel lines into a plurality of output enable signals according to the starting points. The output signals of the panel are displayed as a plurality of image signals according to the output enable signals, and the image signals include a plurality of left eye image signals and a plurality of right eye image signals. In order to better understand the above and other aspects of the present disclosure, an embodiment will be described hereinafter with reference to the accompanying drawings, which are described in detail below: [Embodiment] The present invention proposes to convert 2D images into 3D images. The device and method use the early process and the meter nose to displace the data to obtain the left eye image and the right eye image, so that the 2D image can be rendered in a 3D stereoscopic effect without deep analysis and estimation and additional data storage. Please refer to FIG. 1 , which is a block diagram of an apparatus for converting a 2D image into a 3D image according to an embodiment. The apparatus 100 for converting a 2D image into a 3D image includes a position calculating unit 110 and an image processing block 120. The position calculation unit 110 generates a correspondence according to the display type of a panel. 4 201240442
TW7701PA 面板的多條晝素線之多個起始點sp。其中,此面板如為— 被動延遲(passive retarder,PR)型態面板或一快門弋 (shutter glass)型態面板,並不限制。位置計 甲 11〇 依據面板的顯示型態並參考一常數、一多項式或—杳閱表 決定起始點sp間的差值以產生多個起始點sp。 影像處理區塊120依據多個起始點sp重塑對應多條 晝素線之多個輸入致能訊號den—in為多個輪出致能訊號 den_out ’並輸出此些輸出致能訊號den—〇ut與—輸出資料 訊號data_out至面板。面板之會分別依據此些輸出致能訊 说den_out顯不輸出資料訊號data_out為多個影像訊號, 此些影像δίΐ就包括多個左眼影像訊號與多個右眼影像兮凡 號。面板所顯示的多個影像訊號並不限定在單一影像書面 中。若面板為被動延遲型態面板,則左眼影像訊號與右眼 影像訊號例如交錯排列於單一影像畫面中;若面板為快門 式型態面板’則左眼影像訊號與右眼影像訊號例如交錯排 列於不同的影像晝面中。 請參照第2圖,其繪示依照一實施例之對應被動延遲 型態面板之將2D影像轉換為3D影像之裝置之方塊圖。將 2D影像轉換為3D影像之裝置200包括一位置計算單元 210以及一影像處理區塊220。位置計算單元210依據一 面板的顯示型態產生對應面板的多條晝素線之多個起始 點sp。由於面板屬於被動延遲型態,故於一當前影像晝面 中’對應奇數條晝素線的影像訊號為左眼影像訊號,對應 偶數條畫素線的影像訊號為右眼影像訊號,然並不限於 此,亦可相反設計,端視需求而定。亦即,對應於被動延 201240442Multiple starting points sp of multiple halogen lines of the TW7701PA panel. Among them, the panel is not limited to a passive retarder (PR) type panel or a shutter glass type panel. Position meter A 11 〇 Depending on the display type of the panel and with reference to a constant, a polynomial or a table, the difference between the starting points sp is determined to generate a plurality of starting points sp. The image processing block 120 reshapes the plurality of input enable signals den_in corresponding to the plurality of halogen lines according to the plurality of starting points sp into a plurality of rounding enable signals den_out 'and outputs the output enable signals den - 〇ut and - output data signal data_out to the panel. The panel will respectively output the data signal data_out as a plurality of image signals according to the output enable signals, and the image δίΐ includes a plurality of left eye image signals and a plurality of right eye images. The multiple image signals displayed on the panel are not limited to a single image written. If the panel is a passive delay type panel, the left eye image signal and the right eye image signal are, for example, staggered in a single image frame; if the panel is a shutter type panel, the left eye image signal and the right eye image signal are, for example, staggered. In different images. Please refer to FIG. 2, which is a block diagram of an apparatus for converting a 2D image into a 3D image corresponding to a passive delay type panel according to an embodiment. The apparatus 200 for converting a 2D image into a 3D image includes a position calculating unit 210 and an image processing block 220. The position calculating unit 210 generates a plurality of starting points sp of the plurality of halogen lines of the corresponding panel according to the display type of the panel. Since the panel is in a passive delay mode, the image signal corresponding to the odd-numbered pixel lines in the current image plane is the left-eye image signal, and the image signal corresponding to the even-numbered pixel lines is the right-eye image signal, but Limited to this, it can also be designed in reverse, depending on the needs. That is, corresponding to the passive extension 201240442
TW7701PA 遲型態面板,左眼/右眼影像訊號在同一影像晝面交錯。 因此,如第2圖所示,對應畫素線1、3、…的起始 點4、3、…為遞減,而對應晝素線2、4、…的起始點1、 2、…為遞增。於第2圖中,係以對應每一條奇數晝素線 的多個起始點為遞減且對應每一條偶數晝素線的多個起 始點為遞增為例做說明,然並不限於此,只要對應奇數條 晝素線的多個起始點至少呈現單調(monotonic)遞減,且對 應偶數條畫素線的多個起始點至少呈現單調遞增即可。更 進一步地,只要多個起始點呈現線性函數即可。 影像處理區塊220包括一致能重塑單元222,致能重 塑單元222依據起始點sp之整數部分sp_in將多個輸入致 能訊號den_in重塑為多個輸出致能訊號den_out。此外, 影像處理區塊2 2 0對原始資料訊號d at a_〇不作處理而將其 視為輸入資料訊號data_in並輸出為輸出資料訊號 data_out。如此一來,面板之多條晝素線會分別依據此些 輸出致能訊號den_out顯示輸出資料訊號data_out為多個 影像訊號。 請參照第3圖,其繪示依照一實施例之將2D影像轉 換為3D影像之方法之方塊圖。於第3圖中,對應2D影像 300的原始資料訊號data_o在經過上述將2D影像轉換為 3D影像之裝置100/200處理後,面板之奇數條晝素線所讀 出的左眼影像訊號會對應左眼影像晝面310,偶數條晝素 線所讀出的右眼影像訊號會對應右眼影像晝面320。左眼 影像晝面310及右眼影像晝面320經過硬體(例如3D眼鏡) 處理後可讓使用者看到3D影像。 201240442TW7701PA The late-type panel, the left-eye/right-eye image signals are interlaced in the same image. Therefore, as shown in Fig. 2, the starting points 4, 3, ... of the corresponding pixel lines 1, 3, ... are decremented, and the starting points 1, 2, ... corresponding to the pixel lines 2, 4, ... are Increment. In FIG. 2, the description is made by taking as an example a case where a plurality of starting points corresponding to each odd-numbered pixel line are decremented and a plurality of starting points corresponding to each even-numbered elementary line are incremented, but it is not limited thereto. As long as a plurality of starting points corresponding to the odd-numbered pixel lines exhibit at least a monotonic decrement, and a plurality of starting points corresponding to the even-numbered pixel lines exhibit at least a monotonous increment. Further, as long as a plurality of starting points exhibit a linear function. The image processing block 220 includes a uniform energy remodeling unit 222 that reshapes the plurality of input enable signals den_in into a plurality of output enable signals den_out according to the integer portion sp_in of the starting point sp. In addition, the image processing block 2 2 0 treats the original data signal d at a_〇 as an input data signal data_in and outputs it as an output data signal data_out. In this way, the plurality of pixel lines of the panel respectively display the output data signal data_out as a plurality of image signals according to the output enable signals den_out. Please refer to FIG. 3, which is a block diagram of a method for converting a 2D image into a 3D image according to an embodiment. In FIG. 3, after the original data signal data_o corresponding to the 2D image 300 is processed by the device 100/200 for converting the 2D image into the 3D image, the left eye image signal read by the odd-numbered pixel lines of the panel corresponds to The left-eye image plane 310, the right-eye image signal read by the even-numbered pixel lines corresponds to the right-eye image plane 320. The left eye image mask 310 and the right eye image pupil surface 320 are processed by a hardware (for example, 3D glasses) to allow the user to see the 3D image. 201240442
TW7701PA 此外’面板與對應影像訊號的多個影像晝面之深度相 對關係相關於多個起始點sp之一初始起始點B。亦即,控 制第3圖中之初始起始點B可決定面板與影像晝面的深度 相對關係。而多個起始點sp p的差值決定對應影像訊號的 多個影像晝面之最深到最淺的範圍。 此外’為使3D影像更為平滑,起始點可更包括小數 部分。請參照第4圖,其繪示依照另一實施例之對應被動 延遲型態面板之將2D影像轉換為3D影像之裝置之方塊 圖。將2D影像轉換為3D影像之震置400包括一位置計算 單元410以及一影像處理區塊420。位置計算單元410依 據一面板的顯示型態產生對應面板的多條畫素線之多個 起始點SP,其中面板屬於被動延遲型態。起始點sp包括 整數部分sp—in與小數部分Sp_frac。如第2圖所示,對應 畫素線1、3、...的起始點4.1、3.3、…為遞減,而對應晝 素線2、4、·.·的起始點1.2、2.0、…為遞增。 影像處理區塊420包括一致能重塑單元422、一延遲 單元424以及—内插單元426。致能重塑單元422依據起 始點sp之整數部分sp_in將多個輸入致能訊號den_in重塑 為多個輸出致能訊號den—out。延遲單元424將輸入資料 訊號data—in(等同原始資料訊號data—〇)延遲一級而得到一 延遲資料訊號。然後,内插單元426依據起始點之小數部 刀sp—frac對輸入資料訊號data_in與延遲資料訊號進行一 内插運异得到輸出資料訊號data—〇ut。以晝素線1的起始 點4.1為例’除了將輸入致能訊號移位4個單位之外,並 依據起始點的小數部分0.1將晝素資料4與晝素資料5做 201240442The depth relative relationship between the TW7701PA and the plurality of image planes corresponding to the image signal is related to one of the initial starting points B of the plurality of starting points sp. That is, controlling the initial starting point B in Fig. 3 determines the relative relationship between the panel and the depth of the image plane. The difference between the multiple starting points sp p determines the deepest to the shallowest range of the multiple images corresponding to the image signal. In addition, to make the 3D image smoother, the starting point can include a decimal part. Please refer to FIG. 4, which is a block diagram of an apparatus for converting a 2D image into a 3D image corresponding to a passive delay type panel according to another embodiment. The shake 400 for converting a 2D image into a 3D image includes a position calculation unit 410 and an image processing block 420. The position calculating unit 410 generates a plurality of starting points SP of the plurality of pixel lines of the corresponding panel according to the display type of the panel, wherein the panel belongs to the passive delay type. The starting point sp includes an integer part sp_in and a fractional part Sp_frac. As shown in Fig. 2, the starting points 4.1, 3.3, ... of the corresponding pixel lines 1, 3, ... are decremented, and the starting points 1.2, 2.0 of the corresponding pixel lines 2, 4, .... ... is incremental. Image processing block 420 includes a consistent energy remodeling unit 422, a delay unit 424, and an interpolation unit 426. The enable remodeling unit 422 reshapes the plurality of input enable signals den_in into a plurality of output enable signals den_out according to the integer portion sp_in of the start point sp. The delay unit 424 delays the input data signal data_in (equivalent to the original data signal data_〇) by one level to obtain a delayed data signal. Then, the interpolation unit 426 performs an interpolation and transmission on the input data signal data_in and the delayed data signal according to the fractional knife sp_frac of the starting point to obtain an output data signal data_〇ut. Take the starting point 4.1 of the halogen line 1 as an example. In addition to shifting the input enable signal by 4 units, and based on the fractional part 0.1 of the starting point, the data of the halogen element 4 and the elementary data 5 are made 201240442
TW7701PA 内插(亦即,畫素資料4x0.9+畫素資料5x0.1=畫素資料 4.1)。如此一來,面板之多條晝素線會分別依據此些輸出 致能訊號den_out顯示輸出資料訊號data_out而得到更為 平滑的多個影像訊號。 .此外,為使3D影像更為平滑,起始點可更包括小數 部分。請參照第4圖,其繪示依照另一實施例之對應被動 延遲型態面板之將2D影像轉換為3D影像之裝置之方塊 圖。將2D影像轉換為3D影像之裝置400包括一位置計算 單元410以及一影像處理區塊420。位置計算單元410依 據一面板的顯示型態產生對應面板的多條畫素線之多個 起始點sp,其中面板屬於被動延遲型態。起始點sp包括 整數部分sp_in與小數部分sp_frac。如第4圖所示,對應 晝素線1、3、…的起始點4.1、3.3、…為遞減,而對應晝 素線2、4、…的起始點1.2、2.0、…為遞增。 影像處理區塊420包括一致能重塑單元422、一延遲 單元424以及一内插單元426。致能重塑單元422依據起 始點sp之整數部分sp_in將多個輸入致能訊號den_in重塑 為多個輸出致能訊號den_out。延遲單元424將輸入資料 訊號data_in(等同原始資料訊號data_o)延遲一級而得到一 延遲資料訊號。然後,内插單元426依據起始點之小數部 分sp_frac對輸入資料訊號data_in與延遲資料訊號進行一 内插運算得到輸出資料訊號data_out。以晝素線1的起始 點4.1為例,除了將輸入致能訊號移位4個單位之外,並 依據起始點的小數部分0.1將晝素資料4與畫素資料5做 内插(亦即,晝素資料4x0.9+晝素資料5x0.1=晝素資料 8 201240442TW7701PA interpolation (ie, pixel data 4x0.9 + pixel data 5x0.1 = pixel data 4.1). In this way, the plurality of pixel lines of the panel respectively obtain a smoother plurality of image signals according to the output enable signals den_out display output data signal data_out. In addition, in order to make the 3D image smoother, the starting point may further include a fractional part. Please refer to FIG. 4, which is a block diagram of an apparatus for converting a 2D image into a 3D image corresponding to a passive delay type panel according to another embodiment. The apparatus 400 for converting 2D images into 3D images includes a position calculation unit 410 and an image processing block 420. The position calculating unit 410 generates a plurality of starting points sp of the plurality of pixel lines of the corresponding panel according to the display type of the panel, wherein the panel belongs to the passive delay type. The starting point sp includes an integer part sp_in and a fractional part sp_frac. As shown in Fig. 4, the starting points 4.1, 3.3, ... corresponding to the pixel lines 1, 3, ... are decremented, and the starting points 1.2, 2.0, ... of the corresponding pixel lines 2, 4, ... are incremented. Image processing block 420 includes a consistent energy remodeling unit 422, a delay unit 424, and an interpolation unit 426. The enable remodeling unit 422 reshapes the plurality of input enable signals den_in into a plurality of output enable signals den_out according to the integer portion sp_in of the start point sp. The delay unit 424 delays the input data signal data_in (equivalent to the original data signal data_o) by one level to obtain a delayed data signal. Then, the interpolation unit 426 performs an interpolation operation on the input data signal data_in and the delayed data signal according to the fractional part sp_frac of the starting point to obtain the output data signal data_out. Taking the starting point 4.1 of the pixel line 1 as an example, in addition to shifting the input enable signal by 4 units, the pixel data 4 and the pixel data 5 are interpolated according to the fractional part 0.1 of the starting point ( That is, the vegetarian data 4x0.9+ 昼素 information 5x0.1=昼素资料8 201240442
TW7701PA 4.1) 〇如此一來,面板之多條晝素線會分別依據此些輸出 致能訊號den_out顯示輸出資料訊號data_out而得到更為 平滑的多個影像訊號。 此外,原始資料訊號data—〇可能為被儲存於記憶體 内之解壓縮後資料。請參照第5圖,其繪示依照又一實施 例之對應被動延遲型態面板之將2D影像轉換為3E)影像之 裝置之方塊圖。將2D影像轉換為3D影像之裝置5〇〇包括 一位置計算單元510以及一影像處理區塊520。位置計算 單元510依據一面板的顯示型態產生對應面板的多條晝素 線之多個起始點sp,其中面板屬於被動延遲型態。起始點 sp包括整數部分sp_in與小數部分sp_frac。如第5圖所示, 對應晝素線1、3、…的起始點4.1、3.3、…為遞減,而對 應晝素線2、4、…的起始點1.2、2.0、…為遞增。 影像處理區塊520包括一延遲單元524、一内插單元 526 以及一直接記憶體存取(direct memory access,DMA) 控制器528。直接記憶體存取控制器528依據起始點之整 數部分sp_in從一外部記憶體讀取一原始資料訊號data_o 為一輸入資料訊號data_in。以晝素線1為例,對應於起始 點之整數部分spjn為4,故直接記憶體存取控制器528 移位4個記憶體位址從畫素資料4開始進行存取。直接記 憶體存取控制器528並將輸入致能訊號den_in調整其脈衝 寬度而得到輸出致能訊號den_out。延遲單元524將輸入 資料訊號data_in延遲一級而得到一延遲資料訊號。然後, 内插單元526依據起始點之小數部分sp_frac對輸入資料 訊號data_in與延遲資料訊號進行一内插運算得到輸出資 201240442TW7701PA 4.1) In this way, the multiple halogen lines of the panel will respectively obtain a smoother plurality of image signals according to the output signal den_out output data signal data_out. In addition, the original data signal data may be the decompressed data stored in the memory. Referring to FIG. 5, a block diagram of a device for converting a 2D image into a 3E image corresponding to a passive delay type panel according to still another embodiment is shown. The apparatus 5 for converting 2D images into 3D images includes a position calculating unit 510 and an image processing block 520. The position calculation unit 510 generates a plurality of starting points sp of the plurality of pixel lines of the corresponding panel according to the display type of the panel, wherein the panel belongs to the passive delay type. The starting point sp includes an integer part sp_in and a fractional part sp_frac. As shown in Fig. 5, the starting points 4.1, 3.3, ... of the corresponding pixel lines 1, 3, ... are decremented, and the starting points 1.2, 2.0, ... of the corresponding pixel lines 2, 4, ... are incremented. The image processing block 520 includes a delay unit 524, an interpolation unit 526, and a direct memory access (DMA) controller 528. The direct memory access controller 528 reads an original data signal data_o from an external memory as an input data signal data_in according to the integer portion sp_in of the starting point. Taking the pixel line 1 as an example, the integer part spjn corresponding to the starting point is 4, so the direct memory access controller 528 shifts 4 memory addresses to access from the pixel data 4. The direct memory access controller 528 adjusts the pulse width of the input enable signal den_in to obtain an output enable signal den_out. The delay unit 524 delays the input data signal data_in by one level to obtain a delayed data signal. Then, the interpolation unit 526 performs an interpolation operation on the input data signal data_in and the delayed data signal according to the fractional part sp_frac of the starting point to obtain an output resource 201240442
TW7701PA 料訊號data—out。如此一來,面板之多條晝素線會分別依 據此些輸出致能訊號den—out讀取輸出資料訊號_3_〇如 而得到更為平滑的多個影像訊號。 > ~ 此外,可假定起始點sp僅包括整數部分以減輕整體 運算但仍可達成3D立體效果。如此一來,則影像處理區 塊520可被簡化為僅包括直接記憶體存取控制器528,直 接έ己憶體存取控制器528在付到輸入資料訊號data &後 將其直接輸出為輸出資料訊號data_〇ut而不再進行延遲及 内插運算處理,故降低整體運算量。 請參照第6圖’其繪示依照一實施例之對應快門式型 態面板之將2D影像轉換為3D影像之裝置之方塊圖。將 2D影像轉換為3D影像之裝置600包括一位置計算單元 610以及一影像處理區塊620。位置計算單元61〇依據一 面板的顯示型態產生對應面板的多條晝素線之多個起始 點sp,其中面板屬於快門式型態。起始點SP包括整數部 分sp_in與小數部分sP—frac。由於面板屬於快門式型態, 故於—當前影像畫面中的影像訊號為左眼影像机號,且於 一下一影像晝面中的影像訊號為右眼影像訊號。亦即’對 應於快門式型態面板’左眼/右眼影像訊5虎在不同影像晝面 交錯。 因此,如第6圖所示’對應當前影像晝面之畫素線1、 2、…的起始點4.1、3.3、…為遞減,而對應下一影像晝面 之畫素線1、2、·.·的起始點h2、2·0、…為遞增。於第6 圖中,係以對應當前影像畫面之每一條晝素線的多個起始 點為遞減且對應下一影像晝面之每一條畫素線的多個起 201240442TW7701PA material signal data_out. In this way, the plurality of pixel lines of the panel respectively obtain a smoother plurality of image signals according to the output enable signals den_out reading the output data signal _3_. > ~ In addition, it can be assumed that the starting point sp includes only an integer part to alleviate the overall operation but still achieve a 3D stereoscopic effect. In this way, the image processing block 520 can be simplified to include only the direct memory access controller 528, and the direct memory access controller 528 directly outputs the data signal after inputting the data signal to the input data signal. The data signal data_〇ut is output and the delay and interpolation operations are not performed, so the overall calculation amount is reduced. Please refer to FIG. 6 for a block diagram of a device for converting a 2D image into a 3D image corresponding to a shutter type panel according to an embodiment. The apparatus 600 for converting 2D images into 3D images includes a position calculation unit 610 and an image processing block 620. The position calculating unit 61 generates a plurality of starting points sp of the plurality of halogen lines of the corresponding panel according to the display type of the panel, wherein the panel belongs to the shutter type. The starting point SP includes an integer part sp_in and a fractional part sP-frac. Since the panel is of the shutter type, the image signal in the current image frame is the left eye image number, and the image signal in the next image is the right eye image signal. That is, 'the shutter type panel' left eye/right eye image 5 tigers are interlaced in different images. Therefore, as shown in Fig. 6, the starting points 4.1, 3.3, ... corresponding to the pixel lines 1, 2, ... of the current image plane are decremented, and the pixel lines 1 and 2 corresponding to the next image plane are displayed. The starting point h2, 2·0, ... of .· is incremented. In Figure 6, a plurality of starting points corresponding to each of the pixel lines of the current image frame are decremented and correspond to each of the pixel lines of the next image plane. 201240442
TW7701PA 始點為遞增為例做說明,然並不限於此,只要對應當前影 像畫面之多條晝素線的多個起始點至少呈現單調遞減,且 對應下一影像晝面之多條晝素線的多個起始點至少呈現 單調遞增即可。更進一步地’只要多個起始點呈現線性函 數即可。 影像處理區塊620包括一延遲單元624、一内插單元 626以及一直接記憶體存取控制器628。直接記憶體存取 控制器628依據起始點之整數部分Sp—in從一外部記憶體 讀取一原始資料訊號data_o為一輸入資料訊號datajn。 以當前影像畫面之畫素線1為例’對應於起始點之整數部 分sp_in為4,故直接記憶體存取控制器628移位4個記 憶體位址從晝素資料4開始進行存取。同理,以下一影像 晝面之畫素線2為例,對應於起始點之整數部分sp b為 2,故直接記憶體存取控制器628移位2個記憶體位址^ 畫素資料2開始進行存取。 直接記憶體存取控制器628並將輸入致能訊號den出 調整其脈衝寬度而得到輸出致能訊號den—〇m。延遲單'ln 624將輸入資料訊號data—in延遲一級而得到—延遲資 號。然後,内插單元626依據起始點之小數部分邛圩= 對輸入資料訊號data—in與延遲資料訊號進行一内』運 得到輪出資料訊號data—out。如此一來,面板之多條金异 線會分別依據此些輸出致能訊號den_。ut讀取輪出資^, 號data一out而得到更為平滑的多個影像訊號。 、、況 此外 』攸疋思始·點sp僅包括整數部分替 運算但仍可達成3D立體#要。& + λ-η 整體 體效果。如此-來’則影像處理區 201240442The starting point of the TW7701PA is an example of the increment. However, it is not limited to this. As long as a plurality of starting points corresponding to the plurality of pixel lines of the current image frame are at least monotonically decreasing, and corresponding to the plurality of pixels of the next image. Multiple starting points of the line may be at least monotonically increasing. Further, as long as a plurality of starting points present a linear function. The image processing block 620 includes a delay unit 624, an interpolation unit 626, and a direct memory access controller 628. The direct memory access controller 628 reads an original data signal data_o from an external memory as an input data signal datajn according to the integer portion Sp_in of the starting point. Taking the pixel line 1 of the current video picture as an example, the integer part sp_in corresponding to the start point is 4, so the direct memory access controller 628 shifts the four memory object addresses to access from the pixel data 4. Similarly, the pixel 2 of the following image is taken as an example, and the integer part sp b corresponding to the starting point is 2, so the direct memory access controller 628 shifts 2 memory addresses ^ pixel data 2 Start accessing. The direct memory access controller 628 denies the input enable signal and adjusts its pulse width to obtain an output enable signal den-〇m. The delay list 'ln 624 delays the input data signal data_in by one level to obtain a delay value. Then, the interpolation unit 626 performs the round-off data signal data_out according to the fractional part of the starting point 邛圩 = the input data signal data_in and the delayed data signal. In this way, the plurality of gold-shaped lines of the panel are respectively based on the output enable signals den_. Ut read round funding ^, the number data out to get a smoother multiple video signals. In addition, the 攸疋 始 · 点 sp sp only includes the integer part of the operation but still can achieve 3D stereo #要. & + λ-η overall body effect. So-to’ image processing area 201240442
TW7701PA 塊620可被簡化為僅包括直接記憶體存取控制器628,直 接記憶體存取控制器62 8在得到輸入資料訊號data_in後 將其直接輸出為輸出資料訊號data_out而不再進行延遲及 内插運算處理,故降低整體運算量。 本發明更揭露一種將2D影像轉換為3D影像之方 法,應用於一將2D影像轉換為3D影像之裝置,裝置包括 一位置計算單元以及一影像處理區塊。方法包括下列步 驟。位置計算單元依據一面板的顯示型態產生對應該面板 的多條晝素線之多個起始點。影像處理區塊依據此些起始 點重塑對應此些晝素線之多個輸入致能訊號為多個輸出 致能訊號。面板之此些畫素線分別依據此些輸出致能訊號 顯示輸出資料訊號為多個影像訊號,此些影像訊號包括多 個左眼影像訊號與多個右眼影像訊號。 上述將2D影像轉換為3D影像之方法的原理係已詳 述於第2圖〜第6圖之相關内容中,故於此不再重述。 本揭露上述實施例所揭露之將2D影像轉換為3D影 像之裝置及方法,利用簡單的流程與計算得到至少呈現單 調遞減或單調遞增或線性函數的多個起始點,並依據此些 起始點將對應2D影像的原始資料訊號位移而得到左眼影 像晝面與右眼影像晝面,故不需做深度分析及估計和額外 資料儲存即可使得2D影像可以在使用者眼中呈現3D立體 效果。 綜上所述,雖然本發明已以多個實施例揭露如上,然 其並非用以限定本發明。本發明所屬技術領域中具有通常 知識者,在不脫離本發明之精神和範圍内,當可作各種之 12 201240442The TW7701PA block 620 can be simplified to include only the direct memory access controller 628. The direct memory access controller 62 8 outputs the input data signal data_in directly to the output data signal data_out without delay and internal The interpolation operation is performed, so the overall calculation amount is reduced. The invention further discloses a method for converting a 2D image into a 3D image, which is applied to a device for converting a 2D image into a 3D image. The device comprises a position calculating unit and an image processing block. The method includes the following steps. The position calculation unit generates a plurality of starting points of the plurality of halogen lines corresponding to the panel according to the display type of the panel. The image processing block reshapes the plurality of input enable signals corresponding to the plurality of pixel lines into a plurality of output enable signals according to the starting points. The pixel lines of the panel respectively display the output data signal as a plurality of image signals according to the output enable signals, and the image signals include a plurality of left eye image signals and a plurality of right eye image signals. The principle of the above method of converting a 2D image into a 3D image has been described in detail in the second to sixth figures, and therefore will not be repeated here. The apparatus and method for converting a 2D image into a 3D image disclosed in the above embodiments, using a simple flow and calculation, obtain a plurality of starting points that exhibit at least a monotonous decreasing or a monotonically increasing or linear function, and according to the starting points The point shifts the original data signal corresponding to the 2D image to obtain the left-eye image surface and the right-eye image surface, so that the depth analysis and estimation and additional data storage are not required, so that the 2D image can present a 3D stereoscopic effect in the user's eyes. In the above, the present invention has been disclosed in the above embodiments, but it is not intended to limit the present invention. Those having ordinary skill in the art to which the present invention pertains can be made into various types without departing from the spirit and scope of the present invention. 12 201240442
TW7701PA 更動與潤飾。因此,本發明之保護範圍當視後附之申請專 利範圍所界定者為準。 【圖式簡單說明】 第1圖繪示依照一實施例之將2D影像轉換為3D影 像之裝置之方塊圖。 第2圖繪示依照一實施例之對應被動延遲型態面板 之將2D影像轉換為3D影像之裝置之方塊圖。 第3圖繪示依照一實施例之將2D影像轉換為3D影 像之方法之方塊圖。 第4圖綠示依照另一實施例之對應被動延遲型態面 板之將2D影像轉換為3D影像之襞置之方塊圖。 第5圖綠示依照又一實施例之對應被動延遲型態面 板之將2D影像轉換為3D影像之裝置之方塊圖。 第6圖繪示依照一實施例之對應快門式型態面板之 將2D影像轉換為3D影像之裝置之方塊圖。 【主要元件符號說明】 100、200、400、500、600 :將 2D 影像轉換為 3D 影 像之裝置 110、210、410、510、610 :位置計算單元 120、220、420、520、620 :影像處理區塊 222、422 :致能重塑單元 300 : 2D影像 310 :左眼影像晝面 13 201240442TW7701PA change and retouch. Therefore, the scope of the invention is defined by the scope of the appended claims. BRIEF DESCRIPTION OF THE DRAWINGS FIG. 1 is a block diagram showing an apparatus for converting a 2D image into a 3D image according to an embodiment. FIG. 2 is a block diagram of an apparatus for converting a 2D image into a 3D image corresponding to a passive delay type panel according to an embodiment. FIG. 3 is a block diagram showing a method of converting a 2D image into a 3D image according to an embodiment. Figure 4 is a block diagram of a device for converting a 2D image into a 3D image corresponding to a passive delay profile panel in accordance with another embodiment. Fig. 5 is a block diagram showing a device for converting a 2D image into a 3D image corresponding to a passive delay type panel according to still another embodiment. FIG. 6 is a block diagram of an apparatus for converting a 2D image into a 3D image corresponding to a shutter type panel according to an embodiment. [Description of Main Component Symbols] 100, 200, 400, 500, 600: Devices 110, 210, 410, 510, 610 for converting 2D images into 3D images: position calculating units 120, 220, 420, 520, 620: image processing Blocks 222, 422: enabling remodeling unit 300: 2D image 310: left eye image overlay 13 201240442
TW7701PA 320 :右眼影像晝面 424、524、624 :延遲單元 426、526、626 :内插單元 528、628 :直接記憶體控制器 14TW7701PA 320: Right eye image 424, 524, 624: Delay unit 426, 526, 626: Interpolation unit 528, 628: Direct memory controller 14
Claims (1)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
US13/435,238 US8891854B2 (en) | 2011-03-31 | 2012-03-30 | Device and method for transforming 2D images into 3D images |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
US201161469837P | 2011-03-31 | 2011-03-31 |
Publications (2)
Publication Number | Publication Date |
---|---|
TW201240442A true TW201240442A (en) | 2012-10-01 |
TWI517667B TWI517667B (en) | 2016-01-11 |
Family
ID=46994767
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
TW101107097A TWI517667B (en) | 2011-03-31 | 2012-03-02 | Device and metod for transforming 2d images into 3d images |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN102740093B (en) |
TW (1) | TWI517667B (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103475894B (en) * | 2013-09-27 | 2015-11-04 | 浙江大学 | A kind of 3D laparoscope method for processing video frequency |
CN109640180B (en) * | 2018-12-12 | 2021-10-26 | 张家港康得新光电材料有限公司 | Method, device, equipment, terminal, server and storage medium for 3D display of video |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6608630B1 (en) * | 1998-11-09 | 2003-08-19 | Broadcom Corporation | Graphics display system with line buffer control scheme |
CN2655565Y (en) * | 2003-09-24 | 2004-11-10 | 陈传生 | Apparatus for converting TV 2-D image into 3-D image |
JP5515301B2 (en) * | 2009-01-21 | 2014-06-11 | 株式会社ニコン | Image processing apparatus, program, image processing method, recording method, and recording medium |
-
2012
- 2012-03-02 TW TW101107097A patent/TWI517667B/en active
- 2012-03-16 CN CN201210071881.7A patent/CN102740093B/en active Active
Also Published As
Publication number | Publication date |
---|---|
CN102740093B (en) | 2014-12-17 |
CN102740093A (en) | 2012-10-17 |
TWI517667B (en) | 2016-01-11 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US8159530B2 (en) | Method and apparatus for displaying stereoscopic images | |
JP5972038B2 (en) | 3D image display apparatus and driving method thereof | |
US20100073364A1 (en) | Conversion method and apparatus with depth map generation | |
JP2010516155A (en) | Stereo image generation method and stereo image generation apparatus for generating a stereo image from a two-dimensional image using a mesh map | |
US8339442B2 (en) | Image conversion method and image conversion apparatus | |
JP2011176800A (en) | Image processing apparatus, 3d display apparatus, and image processing method | |
TWI455572B (en) | Frame rate conversion device for 3d display and method thereof | |
JP5521608B2 (en) | Image processing apparatus, image processing method, and program | |
TW201250629A (en) | Method and apparatus for adjusting 3-D images converted from 2-D images | |
TW201240442A (en) | Device and method for transforming 2D images into 3D images | |
CN104052984B (en) | A kind of inverse vision area antidote and device | |
US20120163700A1 (en) | Image processing device and image processing method | |
WO2020000538A1 (en) | Device for increasing contrast and display | |
JP5664356B2 (en) | Generation apparatus and generation method | |
JP2011176822A (en) | Image processing apparatus, 3d display apparatus, and image processing method | |
TWI533663B (en) | Apparatus and method for processing 3-d image | |
US8891854B2 (en) | Device and method for transforming 2D images into 3D images | |
CN101193322A (en) | 3D video display method and display system using this method | |
JP2012253644A (en) | Image processing device and method, and program | |
JP2012060246A (en) | Image processor and integrated circuit device | |
JP5250604B2 (en) | Stereoscopic image display apparatus, stereoscopic image display method, and program | |
JP2975837B2 (en) | Method for converting a part of a two-dimensional image to a three-dimensional image | |
US9219903B2 (en) | Temporal cadence perturbation for time-division stereoscopic displays | |
KR20150122419A (en) | APPARATUS AND METHOD TO PERFORM 3d STEREOSCOPIC RENDERING USING REAL-TIME RENDERING ENGINE AND STORE THE RESULT IN THE FORMAT FOR MOVIE PRODUCTION | |
JP2014011492A (en) | Image processing apparatus and image processing method |