TWI450576B - Image processing device and image processing method - Google Patents
Image processing device and image processing method Download PDFInfo
- Publication number
- TWI450576B TWI450576B TW100136165A TW100136165A TWI450576B TW I450576 B TWI450576 B TW I450576B TW 100136165 A TW100136165 A TW 100136165A TW 100136165 A TW100136165 A TW 100136165A TW I450576 B TWI450576 B TW I450576B
- Authority
- TW
- Taiwan
- Prior art keywords
- image processing
- image
- planar
- tilt angle
- depth
- Prior art date
Links
- 238000003672 processing method Methods 0.000 title claims description 12
- 238000009877 rendering Methods 0.000 claims description 4
- 238000010586 diagram Methods 0.000 description 2
- 238000000034 method Methods 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 238000006243 chemical reaction Methods 0.000 description 1
- 238000003384 imaging method Methods 0.000 description 1
Landscapes
- Processing Or Creating Images (AREA)
- Testing, Inspecting, Measuring Of Stereoscopic Televisions And Televisions (AREA)
- Image Processing (AREA)
Description
本發明所揭露之實施例有關於影像景深補償處理,尤指一種可根據傾斜角度來自動補償景深的影像處理裝置與相關影像處理方法。The embodiments disclosed in the present invention relate to image depth of field compensation processing, and more particularly to an image processing apparatus and related image processing method that can automatically compensate for depth of field according to the tilt angle.
隨著近年來立體顯示技術的成熟,立體顯示器的廠商也不斷推陳出新,然而最重要的立體內容(3D content)的來源仍嫌不足,雖然目前市面上已經有少數的立體拍攝系統能夠提供立體內容,但是由於價格太過昂貴或是使用上不夠便利,因而仍未能普及。面對立體內容不足的問題,目前解決辦法主要是採用平面轉立體(2D-to-3D)的技術來將目前內容供應商所擁有的龐大平面視訊資料庫轉換成立體內容,而此類的轉換技術好壞通常取決於平面內容的景深是否能準確地被計算出來。With the maturity of stereoscopic display technology in recent years, manufacturers of stereoscopic displays have continued to innovate. However, the source of the most important stereoscopic content (3D content) is still insufficient. Although there are already a few stereoscopic imaging systems on the market that can provide stereoscopic content. However, it is still not popular because it is too expensive or not convenient enough to use. In the face of the problem of insufficient stereo content, the current solution is mainly to use the technology of planar to stereo (2D-to-3D) to convert the huge flat video library owned by the current content provider into the body content, and such conversion The quality of the technology usually depends on whether the depth of field of the plane content can be accurately calculated.
然而,影響平面內容的景深的因素並不單純取決於平面內容本身,也同時會與觀看的視角有關,因此對於一手持式電子裝置(例如,一平版電腦)而言,很容易會因為機身本身的傾斜而造成視角的改變,進而影響使用者觀看由平面內容所轉換產生之立體內容的效果。However, the factors affecting the depth of field of the planar content do not depend solely on the planar content itself, but also on the viewing angle of the viewing. Therefore, for a handheld electronic device (for example, a lithographic computer), it is easy to be because of the fuselage. The tilt of itself causes a change in the angle of view, which in turn affects the effect of the user viewing the stereoscopic content generated by the planar content.
因此,如何避免手持式電子裝置機身傾斜對觀看立體內容所造成的影響仍是此一領域的一大課題。Therefore, how to avoid the influence of the tilt of the handheld electronic device body on viewing stereoscopic content is still a major issue in this field.
依據本發明之實施例,其提出一種可根據傾斜角度來自動補償景深的影像處理裝置與相關影像處理方法,以解決上述之問題。According to an embodiment of the present invention, an image processing apparatus and an associated image processing method capable of automatically compensating for depth of field according to an inclination angle are proposed to solve the above problems.
依據本發明之第一層面,其揭示一種影像處理裝置。該影像處理裝置包含有一傾斜角度感測單元以及一平面轉立體影像處理單元。該傾斜角度感測單元係用來偵測一影像撥放裝置之一傾斜角度。該平面轉立體影像處理單元耦接於該傾斜角度感測單元,用以根據該傾斜角度以及一平面影像訊號來產生一立體影像訊號。According to a first aspect of the invention, an image processing apparatus is disclosed. The image processing device includes an oblique angle sensing unit and a planar to three-dimensional image processing unit. The tilt angle sensing unit is configured to detect an inclination angle of an image playback device. The planar to three-dimensional image processing unit is coupled to the tilting angle sensing unit for generating a stereoscopic image signal according to the tilting angle and a planar image signal.
依據本發明之第二層面,其揭示一種影像處理方法。該影像處理方法包含有:偵測一影像撥放裝置之一傾斜角度;以及根據該傾斜角度來對一平面影像訊號進行一平面轉立體影像處理,以產生一立體影像訊號。According to a second aspect of the present invention, an image processing method is disclosed. The image processing method includes: detecting a tilt angle of an image playback device; and performing a planar to stereo image processing on the planar image signal according to the tilt angle to generate a stereoscopic image signal.
在說明書及後續的申請專利範圍當中使用了某些詞彙來指稱特定的元件。所屬領域中具有通常知識者應可理解,硬體製造商可能會用不同的名詞來稱呼同樣的元件。本說明書及後續的申請專利範圍並不以名稱的差異來作為區分元件的方式,而是以元件在功能上的差異來作為區分的準則。在通篇說明書及後續的請求項當中所提及的「包含」係為一開放式的用語,故應解釋成「包含但不限定於」。另外,「耦接」一詞在此係包含任何直接及間接的電氣連接手段。因此,若文中描述一第一裝置耦接於一第二裝置,則代表該第一裝置可直接電氣連接於該第二裝置,或透過其他裝置或連接手段間接地電氣連接至該第二裝置。Certain terms are used throughout the description and following claims to refer to particular elements. It should be understood by those of ordinary skill in the art that hardware manufacturers may refer to the same elements by different nouns. The scope of this specification and the subsequent patent application do not use the difference of the names as the means for distinguishing the elements, but the difference in function of the elements as the criterion for distinguishing. The term "including" as used throughout the specification and subsequent claims is an open term and should be interpreted as "including but not limited to". In addition, the term "coupled" is used herein to include any direct and indirect electrical connection. Therefore, if a first device is coupled to a second device, it means that the first device can be directly electrically connected to the second device or indirectly electrically connected to the second device through other devices or connection means.
請參考第1圖,第1圖為本發明影像處理裝置之一實施例的功能方塊圖。影像處理裝置100係設置於一影像撥放裝置中,而影像撥放裝置可以為一手持式電子裝置(例如,一平版電腦等),影像處理裝置100包含有(但不侷限於)一傾斜角度感測單元110與一平面轉立體影像處理單元120。傾斜角度感測單元110係用來偵測該影像撥放裝置之一傾斜角度θ,平面轉立體影像處理單元120則耦接於傾斜角度感測單元110,用以根據傾斜角度θ以及一平面影像訊號2D_SIG來產生一立體影像訊號3D_SIG。Please refer to FIG. 1. FIG. 1 is a functional block diagram of an embodiment of an image processing apparatus according to the present invention. The image processing device 100 is disposed in an image playback device, and the image capture device can be a handheld electronic device (eg, a lithographic computer or the like). The image processing device 100 includes, but is not limited to, an oblique angle. The sensing unit 110 and a planar to stereo image processing unit 120. The tilting angle sensing unit 110 is configured to detect the tilting angle θ of the image capturing device, and the planar toning image processing unit 120 is coupled to the tilting angle sensing unit 110 for using the tilting angle θ and a planar image. The signal 2D_SIG generates a stereoscopic image signal 3D_SIG.
在本實施例中,傾斜角度感測單元110為一加速度計(accelerometer),用來偵測該影像撥放裝置的傾斜狀態(亦即,該影像撥放裝置與水平面/鉛直面之間的夾角)的變化。然而,需注意的是,傾斜角度感測單元110亦可以採用其他可偵測傾斜角度之電子裝置(例如,陀螺儀(gyroscope)等)來加以實作。簡而言之,本實施例僅作為說明目的之用途,並非作為本發明之限制條件,實際上,任何可偵測傾斜角度之設計變化皆應落於本發明之範疇。In this embodiment, the tilt angle sensing unit 110 is an accelerometer for detecting the tilt state of the image dialing device (that is, the angle between the image picking device and the horizontal/vertical surface). )The change. However, it should be noted that the tilt angle sensing unit 110 can also be implemented by other electronic devices (eg, gyroscopes, etc.) that can detect the tilt angle. In short, this embodiment is for illustrative purposes only, and is not intended to be a limitation of the invention. In fact, any design variation that can detect the tilt angle should fall within the scope of the present invention.
此外,平面轉立體影像處理單元120可以是一基於深度影像繪圖(depth-image-based rendering,DIBR)單元,其會根據傾斜角度θ來自動補償景深,在本實施例中,平面轉立體影像處理單元120會利用傾斜角度θ來對平面影像訊號2D_SIG的景深圖(depth map)進行修正運算,以補償因為傾斜角度θ而造成的視差上的影響,舉例來說,當平面轉立體影像處理單元120對平面影像訊號2D_SIG進行立體影像彎曲(3D image warping)的操作時,合成產生的像素xi 的座標可如公式(1)所示:In addition, the planar to stereo image processing unit 120 may be a depth-image-based rendering (DIBR) unit that automatically compensates the depth of field according to the tilt angle θ. In this embodiment, the planar to stereo image processing The unit 120 uses the tilt angle θ to correct the depth map of the planar image signal 2D_SIG to compensate for the parallax effect caused by the tilt angle θ, for example, when the planar to stereo image processing unit 120 When the 3D image warping operation is performed on the planar image signal 2D_SIG, the coordinates of the synthesized pixel x i can be expressed as shown in the formula (1):
其中,xi 為欲合成出的像素(亦即,左眼影像或是右眼影像)的座標;xc 為在中間影像中的座標,即輸入影像之位置;f為焦距,其為一固定常數;tx 為基線之長度(亦即,觀看者的左眼與右眼之間的距離);Z為目標像素點的深度值,其數值與景深的灰階值成反比。在本實施例中,平面轉立體影像處理單元120另外對合成像素xi 的偏移量乘上一個權數,以補償傾斜角度θ所造成的視差,也就是說,平面轉立體影像處理單元120會根據傾斜角度θ來自動補償景深,以降低或消除傾斜角度θ對所產生之立體影像訊號3D_SIG所造成的影響。Where x i is the coordinate of the pixel to be synthesized (that is, the left eye image or the right eye image); x c is the coordinate in the intermediate image, that is, the position of the input image; f is the focal length, which is a fixed Constant; t x is the length of the baseline (ie, the distance between the viewer's left and right eyes); Z is the depth value of the target pixel, and its value is inversely proportional to the grayscale value of the depth of field. In this embodiment, the plane-to-three-dimensional image processing unit 120 additionally offsets the synthesized pixel x i . Multiply a weight To compensate for the parallax caused by the tilt angle θ, that is, the planar-to-three-dimensional image processing unit 120 automatically compensates the depth of field according to the tilt angle θ to reduce or eliminate the tilt angle θ caused by the generated stereoscopic image signal 3D_SIG. influences.
需注意的是,平面轉立體影像處理單元120亦可利用基於影像繪圖法(image based rendering,IBR)來實做。簡而言之,本實施例僅作為說明目的之用途,並非作為本發明之限制條件,本發明之精神在於利用所偵測到的傾斜角度來對平面轉立體之影像處理操作中的景深進行補償,以得到更佳的觀賞效果,凡依本發明之精神所做之變化與修飾,皆應落於本發明之範疇。It should be noted that the planar to three-dimensional image processing unit 120 can also be implemented by using image based rendering (IBR). In short, the present embodiment is for illustrative purposes only and is not intended to be a limitation of the present invention. The spirit of the present invention is to compensate for the depth of field in a planar to three-dimensional image processing operation using the detected tilt angle. In order to obtain a better viewing effect, any changes and modifications made in accordance with the spirit of the present invention should fall within the scope of the present invention.
第2圖為本發明影像處理方法之一範例的流程圖。該方法可應用於第1圖所示之影像處理裝置100。請注意,假若可獲得實質上相同的結果,則這些步驟並不一定要遵照第2圖所示的執行次序來執行。該方法可簡短地總結如下:FIG. 2 is a flow chart showing an example of an image processing method of the present invention. This method can be applied to the image processing apparatus 100 shown in Fig. 1. Please note that if substantially the same result is obtained, these steps are not necessarily performed in accordance with the execution order shown in FIG. This method can be summarized briefly as follows:
步驟S200:開始。Step S200: Start.
步驟S202:判斷一影像撥放裝置的傾斜狀態是否有改變,若是有改變,則執行步驟S204,否則,回到步驟S202來繼續判斷傾斜狀態是否有改變。Step S202: determining whether the tilt state of an image playback device has changed. If there is a change, step S204 is performed; otherwise, returning to step S202 to continue to determine whether the tilt state has changed.
步驟S204:偵測該影像撥放裝置之一傾斜角度。Step S204: Detecting an inclination angle of one of the image playback devices.
步驟S206:根據該傾斜角度來對一平面影像訊號進行一平面轉立體影像處理,以產生一立體影像訊號。接著,回到步驟S202來繼續判斷傾斜狀態是否有改變。Step S206: Perform a planar to stereo image processing on a planar image signal according to the tilt angle to generate a stereoscopic image signal. Next, returning to step S202, it is continued to judge whether or not the tilt state has changed.
熟習此技藝者當可於閱讀以上段落後輕易了解第2圖所示步驟之操作,詳細說明及變化可參考前述,為簡潔起見,故於此便不再贅述。Those skilled in the art can easily understand the operation of the steps shown in FIG. 2 after reading the above paragraphs. For detailed description and changes, reference may be made to the foregoing, and for brevity, it will not be repeated here.
以上所述僅為本發明之較佳實施例,凡依本發明申請專利範圍所做之均等變化與修飾,皆應屬本發明之涵蓋範圍。The above are only the preferred embodiments of the present invention, and all changes and modifications made to the scope of the present invention should be within the scope of the present invention.
100...影像處理裝置100. . . Image processing device
110...傾斜角度感測單元110. . . Tilt angle sensing unit
120...平面轉立體影像處理單元120. . . Plane to stereo image processing unit
第1圖為本發明影像處理裝置之一實施例的功能方塊圖。1 is a functional block diagram of an embodiment of an image processing apparatus of the present invention.
第2圖為本發明影像處理方法之一範例的流程圖。FIG. 2 is a flow chart showing an example of an image processing method of the present invention.
100...影像處理裝置100. . . Image processing device
110...傾斜角度感測單元110. . . Tilt angle sensing unit
120...平面轉立體影像處理單元120. . . Plane to stereo image processing unit
Claims (10)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| TW100136165A TWI450576B (en) | 2011-10-05 | 2011-10-05 | Image processing device and image processing method |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| TW100136165A TWI450576B (en) | 2011-10-05 | 2011-10-05 | Image processing device and image processing method |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| TW201316748A TW201316748A (en) | 2013-04-16 |
| TWI450576B true TWI450576B (en) | 2014-08-21 |
Family
ID=48803190
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| TW100136165A TWI450576B (en) | 2011-10-05 | 2011-10-05 | Image processing device and image processing method |
Country Status (1)
| Country | Link |
|---|---|
| TW (1) | TWI450576B (en) |
Families Citing this family (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN110470830B (en) * | 2018-05-11 | 2022-07-26 | 北京信息科技大学 | Fluorescence detection method and device for microfluidic immunoassay biochip |
Citations (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20080150945A1 (en) * | 2006-12-22 | 2008-06-26 | Haohong Wang | Complexity-adaptive 2d-to-3d video sequence conversion |
-
2011
- 2011-10-05 TW TW100136165A patent/TWI450576B/en active
Patent Citations (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20080150945A1 (en) * | 2006-12-22 | 2008-06-26 | Haohong Wang | Complexity-adaptive 2d-to-3d video sequence conversion |
| TW200843479A (en) * | 2006-12-22 | 2008-11-01 | Qualcomm Inc | Complexity-adaptive 2D-to-3D video sequence conversion |
Also Published As
| Publication number | Publication date |
|---|---|
| TW201316748A (en) | 2013-04-16 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| TWI547828B (en) | Calibration of sensors and projector | |
| CN106256124B (en) | Structured Stereo | |
| US20170148167A1 (en) | Information processing apparatus, information processing method, and non-transitory computer readable storage medium | |
| WO2013146269A1 (en) | Image capturing device, image processing method, and program | |
| WO2016078266A1 (en) | Method and device for capturing image and storage medium | |
| JPWO2015194075A1 (en) | Image processing apparatus, image processing method, and program | |
| US9921054B2 (en) | Shooting method for three dimensional modeling and electronic device supporting the same | |
| US10318067B2 (en) | Corner generation in a projector display area | |
| CN104019752B (en) | The thickness evenness detection method of display screen, Apparatus and system | |
| JP5996233B2 (en) | Imaging device | |
| CN107113417B (en) | Project an image onto an object | |
| US10884546B2 (en) | Projection alignment | |
| TWI536206B (en) | Locating method, locating device, depth determining method and depth determining device of operating body | |
| TWI450576B (en) | Image processing device and image processing method | |
| TWI566169B (en) | Method of managing display units, computer-readable medium, and related system | |
| US20190265842A1 (en) | Process image according to mat characteristic | |
| CN104679483A (en) | Interface adjusting method and mobile device | |
| US8983125B2 (en) | Three-dimensional image processing device and three dimensional image processing method | |
| CN102740100A (en) | Display control device, display control method, and program | |
| JP2016061622A (en) | Information processing system and information processing method | |
| US9269177B2 (en) | Method for processing image and apparatus for processing image | |
| US20220245771A1 (en) | Electronic device capable of correcting depth information and performing bokeh processing on image and method of controlling electronic device | |
| US9615074B2 (en) | Method for generating translation image and portable electronic apparatus thereof | |
| US10664100B2 (en) | Misalignment detection | |
| CN119234196A (en) | Gesture detection method and system with hand shape calibration |