TW201412094A - Device for generating a depth map - Google Patents

Device for generating a depth map Download PDF

Info

Publication number
TW201412094A
TW201412094A TW102120585A TW102120585A TW201412094A TW 201412094 A TW201412094 A TW 201412094A TW 102120585 A TW102120585 A TW 102120585A TW 102120585 A TW102120585 A TW 102120585A TW 201412094 A TW201412094 A TW 201412094A
Authority
TW
Taiwan
Prior art keywords
depth
image
user
marker
global
Prior art date
Application number
TW102120585A
Other languages
Chinese (zh)
Inventor
Grazina Seskeviciute
Original Assignee
Ultra D Cooperatief U A
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Ultra D Cooperatief U A filed Critical Ultra D Cooperatief U A
Publication of TW201412094A publication Critical patent/TW201412094A/en

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/50Depth or shape recovery
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/20Special algorithmic details
    • G06T2207/20092Interactive image processing based on input by user
    • G06T2207/20101Interactive definition of point of interest, landmark or seed

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Processing Or Creating Images (AREA)

Abstract

Device (100) for generating a depth map (142) based on a two-dimensional [2D] image (144) for enabling three-dimensional [3D] rendering of the 2D image, comprising: a display output (160) for displaying a marker (320) in the 2D image, the marker corresponding to a component of a geometric template (300), the geometric template comprising depth information for defining a global depth profile (360) of a reference scene; a user input (120) for enabling a user to position the marker in the 2D image so as to enable the user to match the geometric template to an actual scene shown in the 2D image by positioning the component with respect to the 2D image; and a depth map generator (140) for establishing the global depth profile as the depth map (142) based on a position (122) of the marker in the 2D image.

Description

用以產生一深度圖之裝置 Device for generating a depth map

本發明係關於用以基於一二維[2D]影像產生一深度圖使得能夠進行該2D影像之三維[3D]顯現之一裝置。 The present invention relates to a device for generating a depth map based on a two-dimensional [2D] image to enable three-dimensional [3D] visualization of the 2D image.

本發明進一步係關於一種用以基於一2D影像產生一深度圖使得能夠進行該2D影像之3D顯現之方法,且本發明係關於一種包括用於使一處理器系統執行該方法之指令之電腦程式產品。 The invention further relates to a method for generating a depth map based on a 2D image to enable 3D rendering of the 2D image, and the invention relates to a computer program comprising instructions for causing a processor system to execute the method product.

越來越多的顯示裝置(諸如電視、數位相框、平板電腦及智能手機)包括3D顯示器以在觀看此一裝置上之內容時提供使用者深度感知。出於此目的,此等3D顯示器可(藉由其等自身或與該使用者所佩戴之眼鏡一起)提供使用者各眼睛中不同影像以便基於立體感提供該使用者一深度感知。 More and more display devices, such as televisions, digital photo frames, tablets, and smart phones, include 3D displays to provide user depth perception when viewing content on such a device. For this purpose, such 3D displays can (by themselves or with the glasses worn by the user) provide different images in the user's eyes to provide the user with a depth perception based on the stereoscopic sense.

3D顯示器通常需要含有深度資訊之內容。可在該3D內容中隱式地提供該深度資訊。例如,在稱為立體內容之情況中,藉由該立體內容之一左影像及一右影像之間之差異提供該深度資訊。亦可在該3D內容中明確地提供該深度資訊。例如,在稱為影像+深度格式編碼之3D內容中,藉由一深度圖提供該深度資訊,其可包括深度值、像差值及/或視差位移值,全部上述值指示該影像內之物體與攝影機之距離。 3D displays usually require content with in-depth information. The depth information can be implicitly provided in the 3D content. For example, in the case of what is called stereoscopic content, the depth information is provided by the difference between the left image and the right image of the stereoscopic content. The depth information can also be explicitly provided in the 3D content. For example, in 3D content called image + depth format encoding, the depth information is provided by a depth map, which may include depth values, aberration values, and/or parallax displacement values, all of which indicate objects within the image. The distance from the camera.

當前可用之大量內容(例如,電影、電視節目、影像等等)係2D內容。需將此內容變換為3D以使得能夠在一3D顯示器上呈現其3D顯 現。變換為3D可包括產生一2D影像(例如,用於一2D視訊之各2D影像)之一深度圖。可自動地產生該深度圖。例如,一裝置可估計該2D影像內之物體與該攝影機之距離,基於此距離產生該2D影像之一深度圖。該使用者亦可手動地產生該深度圖。例如,一數位相框可提供消費者使用該數位相框之一觸敏表面繪製一深度圖之可能性。如另一實例,在一工作站上執行之一軟體工具可提供一專業使用者藉由使用一數位筆繪製深度圖而將深度添加至2D影像之可能性。亦可半自動地產生該深度圖,其中該裝置基於使用者輸入產生該深度圖。此處,該使用者將深度資訊提供至該裝置,諸如物體之間之一相對深度階。基於該深度資訊,該裝置接著產生該深度圖。 A large amount of content currently available (eg, movies, television shows, images, etc.) is 2D content. This content needs to be converted to 3D to enable rendering of its 3D display on a 3D display Now. Converting to 3D can include generating a depth map of a 2D image (eg, each 2D image for a 2D video). This depth map can be automatically generated. For example, a device can estimate the distance of an object within the 2D image from the camera, based on which a depth map of the 2D image is generated. The user can also manually generate the depth map. For example, a digital photo frame may provide the consumer with the possibility to draw a depth map using one of the touch sensitive surfaces of the digital photo frame. As another example, executing a software tool on a workstation can provide the possibility for a professional user to add depth to a 2D image by drawing a depth map using a digital pen. The depth map can also be generated semi-automatically, wherein the device generates the depth map based on user input. Here, the user provides depth information to the device, such as a relative depth step between the objects. Based on the depth information, the device then generates the depth map.

一半自動產生深度圖可具有比一完全自動產生深度圖更高之品質。然而,該使用者可能因需將深度資訊提供至該裝置而造成不便。 Half of the automatically generated depth map can have a higher quality than a fully automatic depth map. However, the user may be inconvenienced by the need to provide depth information to the device.

2011年1-2月,IEEE第31卷,第1期,第36-48頁,電腦圖形及應用,B.Ward等人之題為「Depth Director:A System for Adding Depth to Movies」之一出版品描述用於變換既有2D資料影片為立體影片之一互動式系統。據說該系統提供自動化深度指定用於具有使用運動結構之一移動式攝影機之場景。據說該使用者可任意在視覺上強調或不強調該場景之部分。此係透過一基於筆觸(stroke-based)介面連同更複雜深度模板完成以反覆地精化電腦視覺結果。一深度模板係由一三角網格構成,其可以3D進行移位(translate)、按比例調整且旋轉以適合一選定區域。實例為一平面表面、球面、圓柱體、盒、車及面部模板。據說該等平面模板可用於製造一地平面。 January-February 2011, IEEE Vol. 31, No. 1, pp. 36-48, Computer Graphics and Applications, B. Ward et al., entitled "Depth Director: A System for Adding Depth to Movies" The product description is used to transform an existing 2D data film into an interactive system of stereoscopic movies. The system is said to provide automated depth designation for scenes with one of the mobile cameras using a motion structure. It is said that the user can arbitrarily emphasize or not emphasize the part of the scene. This is done through a stroke-based interface along with a more complex depth template to refine the computer vision results. A depth template consists of a triangular mesh that can be transposed, scaled, and rotated in 3D to fit a selected area. Examples are a flat surface, a spherical surface, a cylinder, a box, a car, and a face template. These planar templates are said to be useful for making a ground plane.

以上互動式系統之一缺點係一新手使用者很難使用上述互動式系統將既有2D資料影片轉變為立體影片。 One of the shortcomings of the above interactive system is that it is difficult for a novice user to use the above interactive system to convert an existing 2D data film into a stereo movie.

本發明之目的之一者係提供一種用於使得一新手使用者能夠更容易地產生一2D影像之一深度圖之裝置及/或方法。 One of the objects of the present invention is to provide an apparatus and/or method for enabling a novice user to more easily generate a depth map of a 2D image.

本發明之一第一態樣提供用於基於一二維[2D]影像產生一深度圖使能夠進行該2D影像之三維[3D]顯現之一裝置,其包括:一顯示輸出,其用於顯示該2D影像中之一標記器,該標記器對應於一幾何模板之一組件,該幾何模板包括用於界定一參考場景之一全域深度分佈之深度資訊;一使用者輸入,其用於使得一使用者能夠將該標記器放置於該2D影像中以便使得該使用者能夠藉由將該組件關於該2D影像放置而將該幾何模板匹配至2D影像中所展示之一實際場景;及一深度圖產生器,其用於基於該2D影像中之標記器之一位置建立該全域深度分佈作為該深度圖。 A first aspect of the present invention provides an apparatus for generating a depth map based on a two-dimensional [2D] image to enable three-dimensional [3D] visualization of the 2D image, comprising: a display output for display One of the 2D images, the marker corresponding to one of the geometric templates, the geometric template including depth information for defining a global depth distribution of a reference scene; a user input for making a The user can place the marker in the 2D image to enable the user to match the geometric template to one of the actual scenes displayed in the 2D image by placing the component with respect to the 2D image; and a depth map a generator for establishing the global depth profile as the depth map based on a location of a marker in the 2D image.

本發明之另一態樣提供一種用於基於一二維[2D]影像產生一深度圖使得該2D影像能夠進行三維[3D]顯現之方法,其包括:顯示該2D影像中之一標記器,該標記器對應於一幾何模板之一組件,該幾何模板包括用於界定一參考場景之一全域深度分佈之深度資訊;使得一使用者能夠將該標記器放置於該2D影像中以便使得該使用者能夠藉由將該組件關於該2D影像放置而將該幾何模板匹配至該2D影像中所展示之一實際場景;及基於該2D影像中之標記器之一位置建立該全域深度分佈作為該深度圖。 Another aspect of the present invention provides a method for generating a depth map based on a two-dimensional [2D] image to enable three-dimensional [3D] visualization of the 2D image, comprising: displaying one of the 2D images, The marker corresponds to a component of a geometric template comprising depth information for defining a global depth distribution of a reference scene; enabling a user to place the marker in the 2D image for use The geometric template can be matched to one of the actual scenes displayed in the 2D image by placing the component with respect to the 2D image; and the global depth distribution is established as the depth based on a position of the marker in the 2D image. Figure.

本發明之另一態樣提供一種包括用於使一處理器系統執行該方法之電腦程式產品。 Another aspect of the present invention provides a computer program product comprising a processor system for performing the method.

在附屬技術方案中界定本發明之實施例。 Embodiments of the invention are defined in the accompanying technical solutions.

以上方法係基於一2D影像產生一深度圖。一深度圖大體上包括 對應於該2D影像之部分與或估計與攝影機之距離之深度值。此處,該術語攝影機指的是在捕獲或產生該2D影像時使用之一真實或一虛擬攝影機。因此,對於該2D影像之各部分,該深度圖之一相對應部分存在,其反映其與該攝影機之距離。該深度圖可用於該2D影像之3D顯現,例如,使用一般稱為視圖顯現之技術。此處,藉由基於該深度圖取代該2D影像之部分而產生一或多個額外2D影像。該2D影像係如下用於該深度圖之產生。 The above method generates a depth map based on a 2D image. A depth map generally includes A depth value corresponding to a portion of the 2D image and an estimated distance from the camera. Here, the term camera refers to the use of one of a real or a virtual camera when capturing or generating the 2D image. Therefore, for each part of the 2D image, a corresponding portion of the depth map exists, which reflects its distance from the camera. The depth map can be used for 3D rendering of the 2D image, for example, using techniques commonly referred to as view rendering. Here, one or more additional 2D images are generated by replacing portions of the 2D image based on the depth map. The 2D image is used for the generation of the depth map as follows.

該裝置包括一顯示輸出,其使得能夠將一標記器顯示至該使用者。該標記器係在該2D影像內顯示。例如,該標記器可覆蓋於該2D影像上。該使用者接著被呈現該2D影像及該標記器之一顯示。該顯示輸出亦可使得能夠顯示該2D影像。替代地,該2D影像可藉由該裝置之一不同裝置或組件而顯示。該顯示輸出可連接至一顯示器或可包括一顯示器。 The device includes a display output that enables a marker to be displayed to the user. The marker is displayed within the 2D image. For example, the marker can be overlaid on the 2D image. The user is then presented with the 2D image and one of the markers displayed. The display output can also enable display of the 2D image. Alternatively, the 2D image can be displayed by a different device or component of the device. The display output can be connected to a display or can include a display.

該標記器對應於一幾何模板之一組件,即,由一或多個組件組成之一數學上界定之形狀。該幾何模板之幾何形狀係藉由該等一或多個組件之相對2D位置而界定。該幾何模板之位置係藉由該等一或多個組件之絕對2D位置而界定。該幾何模板包括深度資訊。例如,可將一或多個深度值指定至該幾何模板之一或多個組件。該幾何模板與該深度資訊一起界定一參考場景之一全域深度分佈。此處,該深度資訊提供該全域深度分佈之深度且該幾何模板之形狀及/或位置提供該全域深度分佈之形狀及/或位置。該場景係一參考場景,其中其構成某一類型之場景之一實例,例如,一景觀場景或一室內場景。該術語場景指的是一空間與其間之物體(例如,人)之組合。空間之實例為(例如)一房間、一窄巷、一平地景觀等等。該全域深度分佈係表示深度在該場景內如何全域地分佈。此處,該術語全域指的是深度分佈給出該場景之深度之一總體概述,即,一初步概算,省略諸多或全部細 節。一般來說,該全域深度分佈對應於該空間而非其中之物體之深度分佈,因為此通常提供該場景之深度之一般概述。 The marker corresponds to one of the geometric templates, that is, a mathematically defined shape composed of one or more components. The geometry of the geometric template is defined by the relative 2D position of the one or more components. The location of the geometric template is defined by the absolute 2D position of the one or more components. The geometry template includes depth information. For example, one or more depth values can be assigned to one or more components of the geometric template. The geometric template, along with the depth information, defines a global depth distribution of one of the reference scenes. Here, the depth information provides the depth of the global depth distribution and the shape and/or position of the geometric template provides the shape and/or position of the global depth distribution. The scene is a reference scene in which it constitutes an instance of a certain type of scene, such as a landscape scene or an indoor scene. The term scene refers to a combination of a space and an object (eg, a person) between them. Examples of spaces are, for example, a room, a narrow alley, a flat landscape, and the like. The global depth distribution indicates how depth is distributed globally within the scene. Here, the term global refers to a general overview of the depth distribution giving a depth of the scene, ie, a preliminary estimate, omitting many or all of the details Section. In general, the global depth distribution corresponds to the depth distribution of the space rather than the object therein, as this generally provides a general overview of the depth of the scene.

該裝置包括一使用者輸入,其使得該使用者能夠(例如)藉由從由該使用者操作之一使用者輸入工具接收適合指令而將該標記器放置於該2D影像中。該標記器之定位為2D,即產生一2D位置。藉由建立該標記器之2D位置,該使用者建立該幾何模板之組件關於該2D影像之一位置。因此,該組件之定位亦為2D,即,產生一2D位置。該幾何模板之組件之位置整體地影響該幾何模板之位置及/或形狀。該使用者可因此藉由適當地將該標記器放置於該2D影像中而影響該幾何模板關於該2D影像之位置及/或形狀。已知該幾何模板界定該全域深度分佈,該使用者可因此藉由調整該幾何模板之位置及/或形狀而調整該全域深度分佈。因此,該使用者藉由將該標記器適當地放置於該2D影像中而調整該全域深度分佈。該使用者可調節該標記器使得該幾何模板(且因此由該幾何模板所界定之全域深度分佈)匹配該2D影像中所展示之一實際場景。該使用者可因此藉由適當地放置該標記器而補償該參考場景與該實際場景之間之差異。例如,該使用者可補償組成物之差異,諸如兩個場景中之地平線之一高度、一消失點之一位置等等。 The device includes a user input that enables the user to place the marker in the 2D image, for example, by receiving a suitable command from a user input tool operated by the user. The marker is positioned 2D, ie a 2D position is generated. By establishing the 2D position of the marker, the user establishes a position of the component of the geometric template with respect to the 2D image. Therefore, the positioning of the component is also 2D, that is, a 2D position is generated. The position of the component of the geometric template affects the position and/or shape of the geometric template as a whole. The user can thus influence the position and/or shape of the geometric template with respect to the 2D image by appropriately placing the marker in the 2D image. The geometric template is known to define the global depth profile, and the user can thus adjust the global depth profile by adjusting the position and/or shape of the geometric template. Therefore, the user adjusts the global depth distribution by placing the marker appropriately in the 2D image. The user can adjust the marker such that the geometric template (and thus the global depth profile defined by the geometric template) matches one of the actual scenes displayed in the 2D image. The user can thus compensate for the difference between the reference scene and the actual scene by placing the marker appropriately. For example, the user can compensate for differences in composition, such as one of the horizons in two scenes, one of the vanishing points, and the like.

該裝置包括一深度圖產生器。該深度圖產生器基於該2D影像中之幾何模板之組件之位置產生該2D影像之深度圖。上述位置係由該標記器之位置提供。該深度圖產生器藉由建立由該幾何模板所界定之全域深度分佈而產生該深度圖。該全域深度分佈可能已由該使用者藉由將該標記器適當地放置於該2D影像中而調整。該深度圖產生器藉由將該標記器之位置納入考量而將此等調整納入考量,即建立針對該實際場景作調整之一全域深度分佈。 The device includes a depth map generator. The depth map generator generates a depth map of the 2D image based on a position of a component of the geometric template in the 2D image. The above location is provided by the location of the marker. The depth map generator generates the depth map by establishing a global depth profile defined by the geometric template. The global depth profile may have been adjusted by the user by placing the marker appropriately in the 2D image. The depth map generator takes these adjustments into consideration by taking the position of the marker into consideration, that is, establishing a global depth distribution for adjusting the actual scene.

本發明係部分地基於以下認知:一新手使用者即使使用一互動 式系統亦很難建立一2D影像之一深度圖。此問題之一原因係,已知的互動式系統將一場景之全部元素認定為個別物體,而該使用者必須對該等個別物體指定一深度。不利地,該使用者可能不願對該場景之全部元素指定一深度。發明者意識到正確地建立一場景之全域深度是尤其重要的。對於此之一理由如下。一使用者可主要地聚焦於該場景內之一物體上。在該物體之深度感知中,其之絕對深度扮演重要角色。然而,一物體之深度經常關於該物體所置放入之空間而判斷。因此,該物體之所稱相對深度亦扮演一重要角色。因此,即使在嘗試令人信服地複製一場景中之一物體之一深度時,仍期望正確地建立周圍空間之深度。此外,該全域深度在建立一場景之深度之一全域印象中扮演一重要角色。 The present invention is based in part on the recognition that a novice user uses even an interaction It is also difficult to create a depth map of a 2D image. One reason for this problem is that known interactive systems identify all elements of a scene as individual objects, and the user must specify a depth for the individual objects. Disadvantageously, the user may be reluctant to assign a depth to all elements of the scene. The inventors realized that it is especially important to correctly establish the global depth of a scene. One reason for this is as follows. A user can primarily focus on one of the objects within the scene. In the depth perception of the object, its absolute depth plays an important role. However, the depth of an object is often judged by the space in which the object is placed. Therefore, the relative depth of the object also plays an important role. Therefore, even when trying to convincingly copy one of the depths of one of the objects in a scene, it is desirable to correctly establish the depth of the surrounding space. In addition, the global depth plays an important role in establishing a global impression of one of the depths of a scene.

本發明使得該使用者能夠藉由提供一參考場景之一全域深度分佈之裝置便利地建立該2D影像之一全域深度分佈且使得該使用者能夠藉由適當地放置一標記器而將該全域深度分佈匹配至該2D影像中所展示之一實際場景。在放置該標記器時,該裝置接著藉由建立該可能經調整之全域深度分佈作為該深度圖而自動地產生一深度圖。有利地,該使用者無需對其中放置該物體之空間(例如,一地板、牆壁及天花板)之個別元素指定一深度。更確切地說,該裝置使得該使用者能夠以一單一步驟產生全部空間之深度圖。有利地,該使用者無需以3D放置該標記器以便建立該2D影像之一深度。更確切地說,該深度資訊係另外提供的。 The present invention enables the user to conveniently establish a global depth distribution of the 2D image by providing a global depth distribution of a reference scene and enabling the user to depth the global depth by placing a marker appropriately The distribution matches one of the actual scenes shown in the 2D image. When the marker is placed, the device then automatically generates a depth map by establishing the possibly adjusted global depth profile as the depth map. Advantageously, the user does not need to specify a depth for individual elements of the space in which the object is placed (eg, a floor, wall, and ceiling). More specifically, the device enables the user to generate a depth map of the entire space in a single step. Advantageously, the user does not need to place the marker in 3D to establish a depth of the 2D image. More precisely, the depth information is provided separately.

注意到在上文中,該術語「圖(map)」指的是以列與行加以配置之資料。此外,形容詞「深度」應被理解為表示該2D影像之部分至攝影機之深度。因此,該深度圖可藉由深度值,但亦藉由(例如)像差值或視差位移值構成。實質上,該深度圖可因此構成一像差圖或一視差位移圖。此處,該術語「像差」指的是當用該使用者之一左眼或一 右眼感知時一物體之位置之一差異。該術語「視差位移」指的是兩個視圖之間之物體之一移位以便提供上述像差給該使用者。像差及視差位移通常與距離或深度為負相關。已知所有以上類型之圖及/或值之間之轉換裝置及方法。 Note that in the above, the term "map" refers to data that is configured with columns and rows. In addition, the adjective "depth" should be understood to mean the depth of the portion of the 2D image to the camera. Thus, the depth map can be formed by depth values, but also by, for example, aberration values or disparity displacement values. In essence, the depth map can thus constitute an aberration map or a parallax displacement map. Here, the term "aberration" refers to the use of one of the user's left eye or one One of the differences in the position of an object when the right eye perceives. The term "parallax displacement" refers to the displacement of one of the objects between two views to provide the above aberration to the user. Aberration and parallax displacement are usually inversely related to distance or depth. All of the above types of diagrams and/or conversion devices and methods are known.

可選地,該幾何模板界定一深度梯度,且該深度圖產生器經配置用於基於該標記器之位置建立該深度圖中之深度梯度。一深度梯度非常適合作為一全域深度分佈,其係由於諸多場景中之深度係以一類似梯度方式全域地分佈。例如,諸多景觀場景中之深度可表示為朝地平線之一梯度,且該天空具有對應於該梯度之一末端處之一深度之一深度。 Optionally, the geometric template defines a depth gradient, and the depth map generator is configured to establish a depth gradient in the depth map based on the position of the marker. A depth gradient is well suited as a global depth distribution because the depths in many scenes are globally distributed in a similar gradient. For example, the depth in many landscape scenes can be expressed as a gradient toward one of the horizons, and the sky has a depth corresponding to one of the depths at one of the ends of the gradient.

可選地,該標記器之位置構成該深度梯度之一開始點或一結束點。此處,該幾何模板之一組件界定該深度梯度之一開始點或一結束點,且該標記器對應於上述組件。該使用者可因此藉由將該標記器適當地放置於該2D影像中而便利地調整該深度梯度之一位置及/或形狀。 Optionally, the position of the marker forms a starting point or an ending point of the depth gradient. Here, one of the geometric templates defines a start point or an end point of the depth gradient, and the marker corresponds to the above component. The user can thus conveniently adjust one of the depth gradients in position and/or shape by placing the marker properly in the 2D image.

可選地,該標記器之位置構成該全域深度分佈中之一消失點。此處,該幾何模板之一組件界定一消失點,且該標記器對應於上述組件。一消失點非常適合作為該全域深度分佈之一組件,因為諸多場景中之深度朝該場景中之一消失點聚合。因此,藉由在該全域深度分佈中包含一消失點,或藉由構成該全域深度分佈之消失點,該全域深度分佈非常適用於諸多場景。該使用者可藉由將該標記器適當地放置於該2D影像中而便利地調整該消失點之位置。 Optionally, the location of the marker constitutes a vanishing point in the global depth profile. Here, one of the geometric templates defines a vanishing point, and the marker corresponds to the above components. A vanishing point is well suited as one of the components of the global depth distribution because the depths in many scenes are aggregated toward one of the vanishing points in the scene. Therefore, the global depth distribution is well suited for many scenarios by including a vanishing point in the global depth distribution, or by forming a vanishing point of the global depth distribution. The user can conveniently adjust the position of the vanishing point by placing the marker properly in the 2D image.

可選地,該標記器係複數個標記器之一者,複數個標記器對應於一起界定該全域深度分佈之複數個組件,且該使用者輸入經配置用於使得該使用者能夠個別地放置複數個標記器之各者,用於調整該全域深度分佈以使該實際場景適合該2D影像。該使用者可因此藉由適 當地放置多個標記器來調整該全域深度分佈之多個組件。藉由個別地調整上述組件,該使用者可更佳地將該全域深度分佈匹配至該2D影像中所展示之實際場景。 Optionally, the marker is one of a plurality of markers, the plurality of markers corresponding to a plurality of components that together define the global depth distribution, and the user input is configured to enable the user to place the individual Each of the plurality of markers is configured to adjust the global depth distribution to adapt the actual scene to the 2D image. The user can therefore Multiple markers are placed locally to adjust multiple components of the global depth distribution. By individually adjusting the above components, the user can better match the global depth distribution to the actual scene displayed in the 2D image.

可選地,該顯示輸出經配置用於顯示複數個標記器之間之一或多個連接,且該深度圖產生器經配置用於基於該2D影像中之該等一或多個連接之一位置來建立該全域深度分佈之一或多個邊緣。因此可向該使用者展示該等標記之間之一或多個連接,例如,作為線。該一或多個連接對應於該全域深度分佈之邊緣,且因此在該深度圖中產生深度邊緣或深度轉變。藉由展示此等一或多個連接,該使用者可更佳地將該全域深度分佈匹配至該2D影像中所展示之實際場景。對於此之一理由係該使用者可(額外或作為將該等標記器相對於特徵點放置於該2D影像中之一替代)亦放置該等標記器以便將該等一或多個連接匹配至該2D影像中之特性結構。此等特性結構可為該2D影像中之邊緣或轉變。有利地,該使用者可將該全域深度分佈更準確地匹配至該2D影像中所展示之實際場景。 Optionally, the display output is configured to display one or more connections between the plurality of markers, and the depth map generator is configured to be based on one of the one or more connections in the 2D image Position to establish one or more edges of the global depth distribution. One or more connections between the markers can thus be presented to the user, for example, as a line. The one or more connections correspond to edges of the global depth profile, and thus a depth edge or depth transition is generated in the depth map. By presenting one or more of the connections, the user can better match the global depth distribution to the actual scene displayed in the 2D image. One reason for this is that the user can also (in addition to or as an alternative to placing the markers in the 2D image relative to the feature points) the markers are also placed to match the one or more connections to The characteristic structure in the 2D image. These characteristic structures can be edges or transitions in the 2D image. Advantageously, the user can more accurately match the global depth distribution to the actual scene displayed in the 2D image.

可選地,複數個標記器及該等一或多個連接對應於該全域深度分佈之一地平線。一地平線通常係一場景中之一特性結構。此外,一地平線非常適合在一地平線構成一地平面之深度梯度與該天空之同質深度之間之一邊緣或一轉變時作為該全域深度分佈之一組件。該使用者可因此藉由將該等標記器與該等一或多個連接匹配至該水平線而將該全域深度分佈匹配至該2D影像中所展示之實際場景。有利地,該使用者可將該全域深度分佈更便利地匹配至該2D影像中展示之實際場景。 Optionally, the plurality of markers and the one or more connections correspond to one of the global depth profiles. A horizon is usually a characteristic structure in a scene. In addition, a horizon is well suited as one of the components of the global depth distribution when one of the horizons or a transition between the depth gradient of the horizon and the homogenous depth of the sky. The user can thus match the global depth distribution to the actual scene displayed in the 2D image by matching the markers to the one or more connections to the horizontal line. Advantageously, the user can more easily match the global depth distribution to the actual scene displayed in the 2D image.

可選地,複數個標記器及該等一或多個連接形成以下至少一者:一線段、一折線或一多邊形。 Optionally, the plurality of markers and the one or more connections form at least one of: a line segment, a polyline, or a polygon.

可選地,該使用者輸入經配置使得該使用者能夠添加標記器至 該等複數個標記器及/或自該等複數個標記器移除標記器。該使用者可因此改變標記器之數量。有利地,該使用者可使標記器之數量適應至眼前之實際場景,即,若此允許將該幾何模板更佳地匹配至該2D影像中所展示之實際場景則添加標記器,或若無需一或多個標記器以將該幾何模板匹配至該2D影像中所展示之實際場景則移除標記器。 Optionally, the user input is configured to enable the user to add a marker to The plurality of markers and/or the markers are removed from the plurality of markers. The user can thus change the number of markers. Advantageously, the user can adapt the number of markers to the actual scene in front of the eye, ie if the geometry template is better matched to the actual scene displayed in the 2D image, then a marker is added, or if not needed One or more markers remove the marker by matching the geometric template to the actual scene displayed in the 2D image.

可選地,該使用者輸入經配置使得該使用者能夠選擇該2D影像中之一前景物體,該前景物體構成2D影像中具有由該全域深度分佈不充分地表示之一前景深度之一物體;及該深度圖產生器經配置用於i)建立該前景物體之前景深度,及ii)基於該前景深度,包含該深度圖中之前景物體之一深度表示。 Optionally, the user input is configured to enable the user to select one of the foreground objects in the 2D image, the foreground object constituting an object in the 2D image having one of the foreground depths insufficiently represented by the global depth distribution; And the depth map generator is configured to i) establish a foreground depth of the foreground object, and ii) include a depth representation of the foreground object in the depth map based on the foreground depth.

該使用者輸入使得該使用者能夠選擇該2D影像中之一物體,例如,藉由指向該物體或點擊該物體。該物體構成一前景物體。此意謂著該物體構成該使用者可將其區別於該背景之一獨立物體。該背景通常係由該場景中之物體所放置之空間所提供,其中該前景物體覆蓋或阻擋該空間之一部分。該前景物體係藉由該全域深度分佈不充分地表示,因為該全域深度分佈含有該深度圖之相對應部分處之深度值,其無法或非精確地反映此等前景物體,且若該前景物體可為不存在,則可寧可反映此等環境空間。該深度圖產生器建立該前景物體之一深度,且使用該深度以包含該深度圖之相對應部分中之前景物體之一深度表示。 The user input enables the user to select an object in the 2D image, for example, by pointing to the object or clicking on the object. The object constitutes a foreground object. This means that the object constitutes a separate object that the user can distinguish from the background. The background is typically provided by the space in which the object in the scene is placed, wherein the foreground object covers or blocks a portion of the space. The foreground system is insufficiently represented by the global depth distribution because the global depth distribution contains depth values at corresponding portions of the depth map that cannot or inaccurately reflect such foreground objects, and if the foreground objects If it does not exist, it can reflect this environmental space. The depth map generator establishes a depth of the foreground object and uses the depth to include a depth representation of one of the foreground objects in the corresponding portion of the depth map.

有利地,該使用者(除便利地建立一場景之全域深度外)亦可對該場景之一前景物體指定深度。有利地,該使用者可藉由首先建立該全域深度分佈作為該深度圖而便利且快速地獲得該2D影像之一適合深度圖,藉此獲得該空間之一深度圖,且接著選擇該場景內待於該深度圖中表示之一或多個前景物體。 Advantageously, the user (in addition to conveniently establishing the global depth of a scene) may also specify a depth to one of the foreground objects of the scene. Advantageously, the user can conveniently and quickly obtain one of the 2D images suitable for the depth map by first establishing the global depth profile as the depth map, thereby obtaining a depth map of the space, and then selecting the scene. One or more foreground objects are represented in the depth map.

可選地,該深度圖產生器經配置用於基於全域深度分佈與該前景物體之深度表示之一邊界處之一深度來建立該前景深度。一前景物體係藉由(例如)直立於一地板上或懸掛自該天花板而經常與其之環境空間連接。該全域深度分佈可能表示該空間之深度。因此,該前景物體之深度至少很大程度可自全域深度分佈與對應於該前景物體之深度圖之部分之一邊界處之深度而判定,其係由於此處該空間之深度等於該前景物體之深度。有利地,可自動地判定該前景深度。 Optionally, the depth map generator is configured to establish the foreground depth based on a depth at a boundary of a global depth distribution and a depth representation of the foreground object. A foreground system is often connected to its environmental space by, for example, standing upright on a floor or hanging from the ceiling. This global depth distribution may indicate the depth of the space. Therefore, the depth of the foreground object is at least largely determined from the depth of the global depth distribution and the boundary of a portion of the depth map corresponding to the foreground object, since the depth of the space is equal to the foreground object depth. Advantageously, the foreground depth can be automatically determined.

可選地。該使用者輸入經配置使得該使用者能夠建立直立於或懸掛於該2D影像中所展示之實際場景內之前景物體,且該深度圖產生器經配置用於基於該直立或懸掛建立該邊界上之一點。一懸掛物體係通常在其之頂部連接至其之周圍空間。類似地,一直立物體係通常在其之底部連接至該空間。例如,當該前景物體係一人時,該人之腳形成該人至該地面之連接。藉由指出該前景物體是直立於或懸掛於該2D影像中所展示之實際場景,該裝置因此具備應於何處建立沿著該前景物體之邊緣之點的資訊。 Optionally. The user input is configured to enable the user to establish a foreground object that is erected or hung in the actual scene displayed in the 2D image, and the depth map generator is configured to establish the boundary based on the upright or suspension One point. A suspension system is usually attached to the space around it at the top of it. Similarly, an upright system is typically attached to the space at its bottom. For example, when the foreground system is one person, the person's foot forms the connection of the person to the ground. By indicating that the foreground object is the actual scene displayed erected or hung in the 2D image, the device thus has information on where to establish the point along the edge of the foreground object.

可選地,該使用者輸入經配置使得該使用者能夠將該前景深度提供至該深度圖產生器。該使用者可藉由將該前景深度提供至該深度圖產生器(例如,藉由將一值鍵入一文字框或將一深度滑桿移動至某一位置)而手動地判定該前景物體之深度。 Optionally, the user input is configured to enable the user to provide the foreground depth to the depth map generator. The user can manually determine the depth of the foreground object by providing the foreground depth to the depth map generator (eg, by typing a value into a text box or moving a depth slider to a position).

100‧‧‧裝置 100‧‧‧ device

110‧‧‧顯示器 110‧‧‧ display

120‧‧‧使用者輸入 120‧‧‧User input

122‧‧‧位置 122‧‧‧ position

130‧‧‧使用者介面裝置 130‧‧‧User interface device

132‧‧‧位置資料 132‧‧‧Location information

140‧‧‧深度圖產生器 140‧‧‧Depth map generator

142‧‧‧深度圖 142‧‧Deep map

144‧‧‧二維[2D]影像 144‧‧‧Two-dimensional [2D] imagery

160‧‧‧顯示輸出 160‧‧‧ Display output

162‧‧‧顯示資料 162‧‧‧ Display information

164‧‧‧游標 164‧‧‧ cursor

190‧‧‧前景物體 190‧‧‧ Prospect objects

192‧‧‧前景物體 192‧‧‧ foreground objects

194‧‧‧前景物體 194‧‧‧ Prospect objects

196‧‧‧深度表示 196‧‧‧depth representation

197‧‧‧邊界 197‧‧‧ border

198‧‧‧深度表示 198‧‧‧Deep representation

199‧‧‧邊界 199‧‧‧ border

200‧‧‧方法 200‧‧‧ method

210‧‧‧顯示 210‧‧‧ display

220‧‧‧致能 220‧‧‧Enable

230‧‧‧建立 230‧‧‧ Established

250‧‧‧電腦可讀媒體 250‧‧‧Computer-readable media

260‧‧‧電腦程式產品 260‧‧‧Computer Program Products

300‧‧‧幾何模板 300‧‧‧Geometric template

320‧‧‧標記器 320‧‧‧ marker

322‧‧‧標記器 322‧‧‧Marker

324‧‧‧標記器 324‧‧‧Marker

326‧‧‧標記器 326‧‧‧Marker

340‧‧‧連接 340‧‧‧Connect

360‧‧‧全域深度分佈 360‧‧‧Global depth distribution

參考下文中描述之實施例明白且將闡明本發明之此等及其他態樣。在該等圖式中,圖1展示用於產生一深度圖之一裝置;圖2展示用於產生該深度圖之一方法;圖3展示用於執行該方法之一電腦程式產品;圖4a展示一二維[2D]影像; 圖4b展示包括深度資訊之一幾何模板;圖4c展示一參考場景之一全域深度分佈,該全域深度分佈藉由該幾何模板而界定;圖4d展示複數個標記器顯示在該2D影像中,該等複數個標記器對應於該幾何模板之組件;圖4e展示使用者將該等複數個標記器放置於該2D影像中以將該幾何模板匹配至該2D影像中展示之一實際場景;圖4f展示由該使用者基於該等複數個標記器之放置而建立為一深度圖之全域深度分佈;圖5a展示包括深度資訊之另一幾何模板;圖5b展示使用者將複數個標記器放置於一2D影像中以將該幾何模板匹配至該2D影像中展示之一實際場景;圖5c展示由該使用者基於該等複數個標記器之放置而建立為一深度圖之一全域深度分佈;圖5d展示該使用者選擇該2D影像中之一前景物體;圖5e展示前景物體之一深度表示基於直立於該實際場景中之前景物體而包含於該深度圖中;圖5f展示另一前景物體之一深度表示基於懸在該實際場景中之上述前景物體而包含於該深度圖中;圖6a展示包括深度資訊之一幾何模板,該幾何模板界定包括一消失點之一全域深度分佈;及圖6b展示該使用者將一標記器放置於該2D影像中以將該消失點匹配至該2D影像中所展示之一實際場景。 These and other aspects of the invention will be apparent from and elucidated with reference to the embodiments described herein. In the drawings, Figure 1 shows a device for generating a depth map; Figure 2 shows one method for generating the depth map; Figure 3 shows a computer program product for performing the method; Figure 4a shows a two-dimensional [2D] image; 4b shows a geometric template including depth information; FIG. 4c shows a global depth distribution of a reference scene, the global depth distribution is defined by the geometric template; FIG. 4d shows that a plurality of markers are displayed in the 2D image, The plurality of markers correspond to the components of the geometric template; FIG. 4e shows that the user places the plurality of markers in the 2D image to match the geometric template to one of the actual scenes displayed in the 2D image; FIG. 4f Demonstrating a global depth distribution established by the user as a depth map based on the placement of the plurality of markers; Figure 5a shows another geometric template including depth information; Figure 5b shows the user placing a plurality of markers on the The 2D image is matched to the actual scene displayed in the 2D image; FIG. 5c shows a global depth distribution established by the user as a depth map based on the placement of the plurality of markers; FIG. 5d Demonstrating that the user selects one of the foreground objects in the 2D image; FIG. 5e shows that one of the foreground objects is represented by a depth representation based on the foreground object standing upright in the actual scene Figure 5f shows that one of the foreground objects has a depth representation that is included in the depth map based on the foreground object suspended in the actual scene; Figure 6a shows a geometric template including depth information, the geometric template definition including One of the vanishing points is a global depth distribution; and Figure 6b shows the user placing a marker in the 2D image to match the vanishing point to one of the actual scenes displayed in the 2D image.

應注意在不同圖式中具有相同元件符號之物項,具有相同結構特徵及相同功能,或為相同信號。若已闡明此一物項之功能及/或結構,在實施方式中無需重複解釋。 It should be noted that items having the same component symbols in different drawings have the same structural features and the same functions, or are the same signals. If the function and/or structure of this item has been elucidated, there is no need to repeat the explanation in the embodiment.

圖1展示用以基於一二維[2D]影像144產生一深度圖142之一裝置100。裝置100包括用於顯示2D影像144中之一標記器320之一顯示輸出160。出於該目的,展示顯示輸出160以將顯示資料162提供至一顯示器110,顯示器110係連接至裝置100之顯示輸出160。顯示資料162可包括2D影像144自身。裝置100可包括顯示器110。裝置100進一步包括用於使得一使用者能夠將標記器320放置於2D影像144中之一使用者輸入120。出於該目的,展示使用者輸入120自一使用者介面裝置130接收位置資料132,諸如一電腦滑鼠、鍵盤、觸控螢幕等等。裝置100進一步包括用於基於2D影像144中之標記器之一位置122產生深度圖142之一深度圖產生器140。出於該目的,展示深度圖產生器140自使用者輸入120接收標記器320之位置122。 1 shows an apparatus 100 for generating a depth map 142 based on a two-dimensional [2D] image 144. The device 100 includes a display output 160 for displaying one of the markers 320 in the 2D image 144. For this purpose, display output 160 is shown to provide display data 162 to a display 110 that is coupled to display output 160 of device 100. Display material 162 can include 2D image 144 itself. Device 100 can include display 110. The device 100 further includes a user input 120 for enabling a user to place the marker 320 in the 2D image 144. For this purpose, the display user input 120 receives location data 132 from a user interface device 130, such as a computer mouse, keyboard, touch screen, and the like. The apparatus 100 further includes a depth map generator 140 for generating a depth map 142 based on one of the markers 122 in the 2D image 144. For this purpose, the presentation depth map generator 140 receives the location 122 of the marker 320 from the user input 120.

可如下簡單地闡釋裝置100之一操作。標記器320對應於一幾何模板之一組件。該幾何模板包括用於界定一參考場景之一全域深度分佈之深度資訊。該使用者放置標記器320以便將該幾何模板匹配至2D影像144中所展示之一實際場景。此被啟用係由於標記器320對應於該幾何模板之一組件,且因此藉由放置標記器320,該使用者亦將該組件關於2D影像144放置。由於該放置,獲得標記器320之一位置122。深度圖產生器140基於2D影像144中之標記器320之位置122建立該全域深度分佈作為深度圖142。結果,獲得2D影像144之一深度圖142,其使能夠進行2D影像144之三維[3D]顯現。出於此目的,可將深度圖142與2D影像144一起發送至一3D顯示器,其使用諸如視圖顯現之技術執行3D顯現,其係自3D顯示器之技術領域本身已知。顯示器110可為一3D顯示器以提供該3D顯現之一預覽。然而,顯示器110亦可為一2D顯示器。 One of the operations of the device 100 can be briefly explained as follows. The marker 320 corresponds to one of the components of a geometric template. The geometric template includes depth information for defining a global depth distribution of one of the reference scenes. The user places a marker 320 to match the geometric template to one of the actual scenes shown in the 2D image 144. This is enabled because the marker 320 corresponds to one of the geometric templates, and thus by placing the marker 320, the user also places the component with respect to the 2D image 144. Due to this placement, a position 122 of the marker 320 is obtained. The depth map generator 140 establishes the global depth distribution as the depth map 142 based on the position 122 of the marker 320 in the 2D image 144. As a result, a depth map 142 of the 2D image 144 is obtained, which enables three-dimensional [3D] visualization of the 2D image 144. For this purpose, depth map 142 can be sent along with 2D image 144 to a 3D display that performs 3D rendering using techniques such as view rendering, which are known per se from the art of 3D displays. Display 110 can be a 3D display to provide a preview of the 3D representation. However, display 110 can also be a 2D display.

注意到,該幾何模板可由該使用者自複數個幾何模板中選擇。 該使用者之選擇可藉由複數個幾何模板中哪個最佳匹配2D影像144中所展示之實際場景而判定。出於此目的,裝置100可指出一幾何模板對應哪個參考場景。如此,在2D影像144展示一景觀場景之情況中,該使用者可選擇亦對應於一景觀場景之一幾何模板。 It is noted that the geometric template can be selected by the user from a plurality of geometric templates. The user's selection can be determined by which of the plurality of geometric templates best matches the actual scene displayed in the 2D image 144. For this purpose, device 100 can indicate which reference scene a geometric template corresponds to. Thus, in the case where the 2D image 144 exhibits a landscape scene, the user can select a geometric template that also corresponds to a landscape scene.

圖2展示用以基於一二維[2D]影像產生一深度圖以使能夠進行該2D影像之三維[3D]顯現之一方法200。方法200包括(在名為「DISPLAYING MARKER IN 2D IMAGE」之一步驟中)顯示210該2D影像中之一標記器,該標記器對應於一幾何模板之一組件,該幾何模板包括用於界定一參考場景之一全域深度分佈之深度資訊。方法200進一步包括(在名為「ENABLING USER TO POSITION MARKER」之一步驟中)致能220一使用者將該標記器放置於該2D影像中以便使得該使用者能夠藉由將該組件關於該2D影像放置而將該幾何模板匹配至該2D影像中所展示之一實際場景。方法200進一步包括(在名為「ESTABLISHING DEPTH MAP BASED ON POSITION OF MARKER」之一步驟中),基於該2D影像中之標記器之一位置建立230該全域深度分佈作為該深度圖。方法200可對應於裝置100之一操作。然而,方法200亦可與裝置100分離而執行。 2 shows a method 200 for generating a depth map based on a two-dimensional [2D] image to enable three-dimensional [3D] visualization of the 2D image. The method 200 includes (in one step named "DISPLAYING MARKER IN 2D IMAGE") displaying 210 one of the 2D images, the marker corresponding to one of the geometric templates, the geometric template including Refer to the depth information of the global depth distribution of one of the reference scenes. The method 200 further includes (in a step named "ENABLING USER TO POSITION MARKER") enabling 220 a user to place the marker in the 2D image to enable the user to view the component with respect to the 2D The image is placed to match the geometric template to one of the actual scenes shown in the 2D image. The method 200 further includes (in one step named "ESTABLISHING DEPTH MAP BASED ON POSITION OF MARKER") establishing 230 the global depth profile as the depth map based on one of the markers in the 2D image. Method 200 can correspond to one of the operations of device 100. However, method 200 can also be performed separately from device 100.

圖3展示根據本發明之包括用於使一處理器系統執行該方法之一電腦程式產品260之一電腦可讀媒體250。出於該目的,電腦程式產品260包括用於該處理器系統之指令,其在執行時使該處理器系統執行該方法。電腦程序產品260可包括在電腦可讀媒體250上作為一系列機器可讀實體標記及/或具有不同電性(例如磁性)、或光學屬性或值之一系列元件。 3 shows a computer readable medium 250 including a computer program product 260 for causing a processor system to perform the method in accordance with the present invention. For this purpose, computer program product 260 includes instructions for the processor system that, when executed, cause the processor system to perform the method. Computer program product 260 can include a series of elements on a computer readable medium 250 that are labeled as a series of machine readable entities and/or have different electrical properties (eg, magnetic properties), or optical properties or values.

可進一步參考圖4a及之後的圖式來闡述裝置100之操作。圖4a展示一二維[2D]影像144。在此特定實例中,2D影像144描繪包括一航行通過大海之一帆船190之一場景,其中該海延伸至一地平線且該地平 線構成該海與該天空之間之一邊界。在上述場景中,帆船190構成該海與該天空之一環境空間內之一物體190。帆船190進一步構成一前景物體190,因為其覆蓋或阻擋該空間之部分,即該海及該天空之部分定位在其後,且因此被前景物體190覆蓋。 The operation of device 100 can be further described with reference to Figures 4a and subsequent figures. Figure 4a shows a two-dimensional [2D] image 144. In this particular example, the 2D image 144 depicts a scene comprising a sailboat 190 sailing through the sea, wherein the sea extends to a horizon and the horizon The line forms a boundary between the sea and the sky. In the above scenario, the sailboat 190 constitutes an object 190 within the environmental space of the sea and the sky. The sailboat 190 further constitutes a foreground object 190 because it covers or blocks portions of the space where the sea and portions of the sky are positioned and thus covered by the foreground object 190.

圖4b展示包括深度資訊之一幾何模板300。深度資訊中之變化係以線之密度之一改變在圖4b中示意性地表示,其中一高密度表示一大深度,且一低密度表示一小深度或接近。將明白幾何模板300可由資料表示,其允許產生如圖4b中所展示之一示意表示,但其係採用一不同形式,例如,一座標列表及相關聯深度資訊。圖4b進一步展示複數個標記器320、322,即,一第一標記器320及一第二標記器322,其界定幾何模板300內之一線。 Figure 4b shows one geometric template 300 including depth information. The change in depth information is schematically represented by one of the density of the lines, which is schematically represented in Figure 4b, where a high density represents a large depth and a low density represents a small depth or proximity. It will be appreciated that the geometric template 300 can be represented by data that allows for the generation of a schematic representation as shown in Figure 4b, but which takes a different form, such as a list of targets and associated depth information. 4b further shows a plurality of markers 320, 322, ie, a first marker 320 and a second marker 322 that define a line within the geometric template 300.

圖4c展示如藉由圖4b之幾何模板300所界定之一全域深度分佈360。全域深度分佈360內之強度表示一深度之程度,即,黑暗區域對應於一大深度或大距離,且明亮區域對應於一小深度或接近。全域深度分佈360係屬於一參考場景。該參考場景可自全域深度分佈360識別,因為該參考場景包括傾斜朝向一地平線之一地平面,且一天空平面自該地平線向上延伸。圖4c亦展示複數個標記器320、322及該等標記器之間之連接340,連接340係以一虛線形式展示。可見連接340對應於參考場景中之地平線,因為其在地平面之朝向地平線逐漸增大深度之一深度梯度與在該地平線上延伸之天空之平坦深度平面之間構成全域深度分佈360中之一邊界。 Figure 4c shows a global depth distribution 360 as defined by the geometric template 300 of Figure 4b. The intensity within the global depth distribution 360 represents the degree of depth, i.e., the dark area corresponds to a large depth or large distance, and the bright area corresponds to a small depth or proximity. The global depth distribution 360 belongs to a reference scene. The reference scene may be identified from the global depth distribution 360 because the reference scene includes a ground plane that is tilted toward a horizon, and a sky plane extends upward from the horizon. Figure 4c also shows a plurality of markers 320, 322 and connections 340 between the markers, the connections 340 being shown in a dashed form. The visible connection 340 corresponds to the horizon in the reference scene because it forms one of the global depth distributions 360 between the depth gradient of the ground plane that gradually increases toward the horizon and the flat depth plane of the sky extending over the horizon. .

如圖4b中所展示之幾何模板300界定如圖4c中所展示之全域深度分佈360,其中複數個標記器320、322之一位置及連接340指出該地平線係位於全域深度分佈360之何處。幾何模板300可進一步界定與地平面相關聯之深度梯度的形狀、全域深度分佈360內的深度程度等等。 The geometric template 300 as shown in Figure 4b defines a global depth profile 360 as shown in Figure 4c, wherein one of the plurality of markers 320, 322 and the connection 340 indicate where the horizon is located at the global depth distribution 360. The geometric template 300 can further define the shape of the depth gradient associated with the ground plane, the degree of depth within the global depth distribution 360, and the like.

圖4d展示在2D影像144中顯示之複數個標記器320、322。在此特 定實例中,複數個標記器320、322係上覆於2D影像144之頂部上。此外,複數個標記器320、322之間之連接340係在2D影像144中顯示。圖4d展示複數個標記器320、322及連接340最初對應於如圖4b及4c中所展示之位置,即,其等之位置係如2D影像144展示該參考場景般。 FIG. 4d shows a plurality of markers 320, 322 displayed in the 2D image 144. Here In the example, a plurality of markers 320, 322 are overlaid on top of the 2D image 144. In addition, the connection 340 between the plurality of markers 320, 322 is displayed in the 2D image 144. Figure 4d shows that the plurality of markers 320, 322 and connections 340 initially correspond to the locations shown in Figures 4b and 4c, i.e., their position is such that the 2D image 144 exhibits the reference scene.

圖4d進一步展示顯示之一游標164。該游標164可由顯示輸出160提供,即,可為顯示資料162之部分。該使用者可藉由適當地操作使用者介面裝置130而移動螢幕上之游標164。為在螢幕上之一適當位置處顯示游標164,顯示輸出160可自使用者輸入120接收位置資料132。該使用者可使用游標164以將複數個標記器之一或多者放置於2D影像144中,即,以將該等複數個標記器之一或多者關於其等之初始位置重新放置。例如,該使用者可藉由拖曳及放下第一標記器320至2D影像144中之一新位置而重新放置第一標記器320。使用該拖曳及放下,該使用者可放置複數個標記器320、322使得幾何模板300係匹配至該2D影像中所展示之實際場景。出於該目的,該使用者可明白複數個標記器320、322係幾何模板之組件,其表示全域深度分佈360中之一地平線。該使用者亦可能不了解該幾何模板之概念,但該使用者可明白複數個標記器320、322表示一地平線。因此,該使用者可放置複數個標記器320、322以便匹配2D影像144中所展示之地平線,即該實際場景之地平線。 Figure 4d further shows the display of one of the cursors 164. The cursor 164 can be provided by the display output 160, i.e., can be part of the display material 162. The user can move the cursor 164 on the screen by appropriately operating the user interface device 130. To display the cursor 164 at a suitable location on the screen, the display output 160 can receive the location data 132 from the user input 120. The user can use the cursor 164 to place one or more of the plurality of markers in the 2D image 144, i.e., to reposition one or more of the plurality of markers with respect to their initial position. For example, the user can reposition the first marker 320 by dragging and dropping one of the first marker 320 to the new location of the 2D image 144. Using the drag and drop, the user can place a plurality of markers 320, 322 such that the geometric template 300 is matched to the actual scene displayed in the 2D image. For this purpose, the user can understand that a plurality of markers 320, 322 are components of a geometric template that represent one of the global depth distributions 360. The user may also not understand the concept of the geometric template, but the user can understand that the plurality of markers 320, 322 represent a horizon. Thus, the user can place a plurality of markers 320, 322 to match the horizon displayed in the 2D image 144, ie the horizon of the actual scene.

注意到該使用者可僅需放置複數個標記器320、322之一或多者,其中連接340係藉由顯示輸出160自動地繪製。因此,無需手動地放置連接340。此外,替代使用以上游標164及/或拖曳及放下操作,可使用放置複數個標記器320、322之替代方法。例如,裝置100可經配置用於在由該使用者所指示之一位置處直接建立一新標記器。因此,無需重新放置一標記器。因此,該使用者可轉而直接地在2D影像144中建立該標記器之初始位置。例如,顯示器110可包括一觸敏表 面且該使用者可藉由觸摸該觸敏表面上之一適當位置而建立該標記器之初始位置。 It is noted that the user may only need to place one or more of the plurality of markers 320, 322, wherein the connection 340 is automatically drawn by the display output 160. Therefore, there is no need to manually place the connection 340. Moreover, instead of using upstream markers 164 and/or drag and drop operations, an alternative method of placing a plurality of markers 320, 322 can be used. For example, device 100 can be configured to directly create a new marker at a location indicated by the user. Therefore, there is no need to reposition a marker. Thus, the user can instead establish the initial position of the marker directly in the 2D image 144. For example, display 110 can include a touch sensitive meter And the user can establish the initial position of the marker by touching an appropriate position on the touch-sensitive surface.

圖4e展示複數個標記器320、322之定位之一結果。此處,第一標記器320及第二標記器322之位置係使得該等標記器之間之連接340匹配2D影像144中所展示之實際場景之地平線。圖4f展示基於由該使用者對複數個標記器320、322之定位建立為2D影像144之一深度圖142之全域深度分佈360。比較於圖4c,現將在該地平線上延伸之該地平面之深度梯度與該天空之平坦深度平面之間之邊界放置於不同垂直位置,即在該全域深度分佈內較低處、且具有一角度,其中該位置及角度對應於2D影像144中所展示之水平線之位置及角度。 Figure 4e shows the result of one of the positioning of the plurality of markers 320, 322. Here, the positions of the first marker 320 and the second marker 322 are such that the connection 340 between the markers matches the horizon of the actual scene displayed in the 2D image 144. 4f shows a global depth distribution 360 that is a depth map 142 of one of the 2D images 144 based on the positioning of the plurality of markers 320, 322 by the user. Comparing with FIG. 4c, the boundary between the depth gradient of the ground plane extending on the horizon and the flat depth plane of the sky is now placed at different vertical positions, ie, at a lower position within the global depth distribution, and having a The angle, wherein the position and angle correspond to the position and angle of the horizontal line shown in the 2D image 144.

將明白深度圖142可用於2D影像144之3D顯現。因此,該使用者將感知向地平線傾斜之海,且該天空自該地平線向上延伸。然而,由於該前景物體(即,該帆船190)之深度表示並未明確地包含於深度圖142中,該使用者將僅基於立體感而感知帆船190為具有該環境空間之深度。所以,帆船190之船身將感知為朝向地平線傾斜,而帆船190之帆將感知為自地平線向上延伸。本質上,在3D顯現之後,帆船190係建立為如同其係該海及該天空之空間之部分的一深度。 It will be appreciated that the depth map 142 can be used for 3D visualization of the 2D image 144. Thus, the user will perceive the sea tilting towards the horizon, and the sky extends upward from the horizon. However, since the depth representation of the foreground object (i.e., the sailboat 190) is not explicitly included in the depth map 142, the user will perceive the sailboat 190 as having a depth of the environmental space based only on the stereoscopic perception. Therefore, the hull of the sailboat 190 will be perceived as tilting towards the horizon, while the sail of the sailboat 190 will be perceived as extending upward from the horizon. Essentially, after 3D visualization, the sailboat 190 is established as a depth as part of the space between the sea and the sky.

圖5a至圖5f繪示允許一前景物體之一深度表示包含於深度圖142內之本發明之一可選特徵。 Figures 5a through 5f illustrate one of the optional features of the present invention that allows one of the foreground objects to be represented in depth within the depth map 142.

圖5a展示包括深度資訊之一幾何模板300之另一實例。再次,藉由線密度中之一改變示意性地表示深度資訊中之一改變,即,一高密度表示一大深度且一低密度表示一小密度或接近。圖5a進一步展示複數個標記器320-326,其界定幾何模板300內之一矩形。自圖5a,可見幾何模板300可界定(例如)一房間、一盒子之一內部等等之一全域深度分佈。 Figure 5a shows another example of a geometric template 300 that includes depth information. Again, one of the depth information is schematically represented by one of the linear densities, i.e., a high density indicates a large depth and a low density indicates a small density or proximity. Figure 5a further shows a plurality of markers 320-326 that define a rectangle within the geometric template 300. From Figure 5a, it can be seen that the geometric template 300 can define, for example, a global depth distribution of a room, an interior of a box, and the like.

圖5b展示描繪直立於一房間中之一人之一場景之一2D影像144, 其中一門在該房間之一遠側處之一牆中且一燈自該天花板懸掛。在該場景中,該人及該燈構成由該房間所提供之空間內之物體。該人及該燈進一步構成前景物體,因為此等各覆蓋或阻擋該空間之部分,即,該房間之部分形成關於該人及該燈之一背景。圖5b進一步展示使用者將複數個標記器320-326放置於2D影像144中以將圖5a之幾何模板300匹配至2D影像144中所展示之實際場景。可使用(例如)拖曳及放下完成以上操作。 Figure 5b shows a 2D image 144 depicting one of the scenes of one of the people standing upright in a room, One of the doors is in a wall at one of the far sides of the room and a light is suspended from the ceiling. In this scenario, the person and the light constitute an object within the space provided by the room. The person and the light further constitute a foreground object, as each of these covers or blocks portions of the space, i.e., portions of the room form a background with respect to the person and the light. Figure 5b further shows the user placing a plurality of markers 320-326 in the 2D image 144 to match the geometric template 300 of Figure 5a to the actual scene shown in the 2D image 144. This can be done using, for example, dragging and dropping.

圖5c展示該使用者將複數個標記器320-326之各者適當地放置於2D影像144中之一結果,且該裝置隨後由該使用者基於複數個標記器320-326之定位建立全域深度分佈300作為2D影像144之深度圖142。將明白可在深度圖142中辨認該房間之地板、天花板、側壁及遠壁。 Figure 5c shows the result of the user placing each of the plurality of markers 320-326 appropriately in the 2D image 144, and the device then establishes a global depth based on the location of the plurality of markers 320-326 by the user. The distribution 300 is taken as a depth map 142 of the 2D image 144. It will be appreciated that the floor, ceiling, side walls and far walls of the room can be identified in depth map 142.

為解釋該空間中之一或多個前景物體之存在,裝置100之使用者輸入120可經配置用於使得該使用者能夠選擇2D影像144中之一前景物體192、194,該前景物體構成2D影像中具有由全域深度分佈360不充分地表示之一前景深度之一物體,且深度圖產生器140可經配置用於i)建立該前景物體之前景深度,且ii)基於該前景深度,包含深度圖142中之前景物體之一深度表示196、198。 To account for the presence of one or more foreground objects in the space, the user input 120 of the device 100 can be configured to enable the user to select one of the foreground objects 192, 194 in the 2D image 144 that constitutes the 2D An image having one of the foreground depths is not adequately represented by the global depth distribution 360, and the depth map generator 140 can be configured to i) establish a foreground depth of the foreground object, and ii) based on the foreground depth, including One of the foreground objects in the depth map 142 has a depth representation 196, 198.

可參考圖5d-5f進一步闡述上述裝置100之操作。圖5d展示該使用者在該2D影像中選擇一前景物體,該前景物體係人192。該使用者可藉由(例如)將游標164移動至2D影像144中之人192上而選擇人192且隨後藉由適當地操作使用者介面裝置130而點擊人192。該點擊可向裝置100指出該前景物體係位於游標164之位置處。作為回應,裝置100可藉由分隔該前景物體而在2D影像144中建立該前景物體之一輪廓。深度圖產生器140可因此藉由(例如)在對應於游標164之位置之2D影像144中之一位置處放置用於一基於種子分隔演算法之一種子而分隔人192。然而,亦可使用替代分隔工具(或建立該前景物體之輪廓之一般 替代方法)。例如,該使用者可使用游標164手動地畫出該前景物體的輪廓。因此,作為一結果,深度圖產生器140獲得2D影像144中之人192之一位置及一輪廓。 The operation of the above apparatus 100 can be further explained with reference to Figures 5d-5f. Figure 5d shows the user selecting a foreground object in the 2D image, the foreground system person 192. The user can select the person 192 by, for example, moving the cursor 164 onto the person 192 in the 2D image 144 and then clicking on the person 192 by appropriately operating the user interface device 130. The click can indicate to the device 100 that the foreground system is located at the location of the cursor 164. In response, device 100 can establish an outline of one of the foreground objects in 2D image 144 by separating the foreground object. The depth map generator 140 may thus separate the person 192 by placing a seed for one of the seed-based separation algorithms, for example, at one of the 2D images 144 corresponding to the position of the cursor 164. However, an alternative separation tool can also be used (or the general outline of the foreground object can be created) alternative method). For example, the user can manually draw the outline of the foreground object using the cursor 164. Thus, as a result, the depth map generator 140 obtains a position and a contour of a person 192 in the 2D image 144.

圖5e展示包含深度圖142中之人192之一深度表示196之深度圖產生器140之一結果,其具有大體上該位置及輪廓作為2D影像144中之人192,但包括深度值替代亮度及/或色度值。深度圖產生器140可自該使用者獲得前景深度。出於該目的,使用者輸入120可經配置用於使得該使用者能夠將前景深度提供至深度圖產生器140。例如,該使用者可使用可於顯示器110上所展示之一滑桿、刻度盤或類似使用者界面元件來提供前景深度。替代地或額外地,使用者輸入120可經配置以使得該使用者能夠指出圍繞該前景物體之空間中具有與該前景物體之一相同或類似深度之一點,且深度圖產生器140可經配置以基於該點處之空間深度建立該前景深度。 5e shows a result of a depth map generator 140 including a depth representation 196 of a person 192 in the depth map 142 having substantially the position and contour as the person 192 in the 2D image 144, but including the depth value in place of the brightness and / or chroma value. The depth map generator 140 can obtain the foreground depth from the user. For this purpose, user input 120 can be configured to enable the user to provide foreground depth to depth map generator 140. For example, the user can provide a foreground depth using a slider, dial or similar user interface element that can be displayed on display 110. Alternatively or additionally, the user input 120 can be configured to enable the user to indicate a point in the space surrounding the foreground object that has the same or similar depth as one of the foreground objects, and the depth map generator 140 can be configured The foreground depth is established based on the spatial depth at the point.

替代地或額外地,深度圖產生器140可經配置以基於全域深度分佈360與前景物體196之深度表示之一邊界197處之一深度而建立該前景深度。深度圖產生器140可自動地判定該邊界上哪個點對應於前景物體與該空間接觸之一點。根據預設,該深度圖產生器140可假定此一點係為位於該前景物體之邊界之一較低部分上,例如,基於大多數物體係直立於一場景內之一假設。深度圖產生器140亦可經配置用於估計該前景物體是否直立於、漂浮或懸掛於2D影像144中所展示之實際場景內,且基於上述估計,適當地在該前景物體之邊界上建立一點。替代地或額外地,使用者輸入120可經配置用於使得該使用者能夠例如藉由點擊2D圖144中之該點而手動地指出該前景物體與其之環境空間接觸之該點。 Alternatively or additionally, the depth map generator 140 may be configured to establish the foreground depth based on a depth at one of the boundaries 197 of the depth representation 360 and the depth representation of the foreground object 196. The depth map generator 140 can automatically determine which point on the boundary corresponds to a point at which the foreground object is in contact with the space. Depending on the preset, the depth map generator 140 can assume that this point is at a lower portion of the boundary of the foreground object, for example, based on a hypothesis that most of the objects are upright within a scene. The depth map generator 140 can also be configured to estimate whether the foreground object is upright, floating, or suspended within the actual scene displayed in the 2D image 144, and based on the above estimate, appropriately establish a point on the boundary of the foreground object . Alternatively or additionally, the user input 120 can be configured to enable the user to manually indicate the point at which the foreground object is in contact with its environmental space, for example by clicking on the point in the 2D map 144.

注意到將術語懸掛理解為包含自一天花板之懸掛及自一壁之懸掛(例如,為壁掛式)之兩種懸掛。因此,當確定前景物體為懸掛時, 深度圖產生器140可額外地確定該前景物體係懸掛自一天花板或懸掛自一壁。 It is noted that the term suspension is understood to include both suspensions from a ceiling and suspensions from a wall (eg, wall-mounted). Therefore, when it is determined that the foreground object is suspended, The depth map generator 140 may additionally determine that the foreground system is suspended from a ceiling or suspended from a wall.

替代地或額外地,使用者輸入120可經配置用於使得該使用者能夠確定該前景物體係直立於或懸掛於2D影像144中所展示之實際場景,且深度圖產生器140可經配置以基於該直立或懸掛而在該邊界上建立一點。例如,在圖5e之情況中,該使用者可指出人192係直立於該房間中,且因此,深度圖產生器140可在人192之深度表示196之較低邊界197上建立一點,且隨後使用該位置處之全域深度分佈360之深度作為該前景深度。實質上,深度圖產生器140可向上傳播前景物體之較低邊界197上之點處之深度以便用該前景深度填滿該前景物體之深度表示。注意到,由於在先前步驟中,已將全域深度分佈360建立為深度圖142,該前景深度可同樣建立自深度圖142中之相對應點。 Alternatively or additionally, the user input 120 can be configured to enable the user to determine that the foreground system is upright or hung in the actual scene displayed in the 2D image 144, and the depth map generator 140 can be configured to A point is established on the boundary based on the upright or suspension. For example, in the case of FIG. 5e, the user can indicate that the person 192 is upright in the room, and thus, the depth map generator 140 can establish a point on the lower boundary 197 of the depth representation 196 of the person 192, and subsequently The depth of the global depth distribution 360 at that location is used as the foreground depth. In essence, depth map generator 140 may propagate the depth at a point on the lower boundary 197 of the foreground object upward to fill the depth representation of the foreground object with the foreground depth. It is noted that since the global depth distribution 360 has been established as the depth map 142 in the previous step, the foreground depth may also be established from the corresponding point in the depth map 142.

圖5f展示使用者在2D影像144中額外地選擇燈194之一實例。該使用者可進一步指出該前景物體(即,燈194)係懸掛於該房間中。隨後地,深度圖產生器140可在燈194之深度表示198之上邊界199上建立一點,且以該前述方式在上邊界199上向下傳播該點處之深度。深度圖產生器140亦可(例如)基於該前景物體之頂部或底部位於2D影像144之一上半部或下半部中而自動地確定該前景物體係懸掛或直立。深度圖產生器140亦可考慮圍繞該前景物體之空間之深度以確定該前景物體係懸掛或直立。例如,深度圖產生器140可基於圖5d中所展示之人192的底部係位於可能構成該全域深度分佈內之一地板之一較低深度梯度上而確定該人192構成直立於其之環境空間之一物體。 FIG. 5f shows an example of a user additionally selecting a light 194 in the 2D image 144. The user can further indicate that the foreground object (i.e., light 194) is suspended in the room. Subsequently, depth map generator 140 may establish a point on boundary 199 above depth representation 198 of lamp 194 and propagate the depth at that point down on upper boundary 199 in the manner previously described. Depth map generator 140 may also automatically determine that the foreground system is suspended or erect, for example, based on the top or bottom of the foreground object being located in an upper or lower half of one of the 2D images 144. The depth map generator 140 may also consider the depth of the space surrounding the foreground object to determine whether the foreground system is suspended or erect. For example, the depth map generator 140 may determine that the person 192 constitutes an environmental space erected thereto based on the bottom of the person 192 shown in FIG. 5d being located on a lower depth gradient that may constitute one of the floors within the global depth distribution. One of the objects.

裝置100因此使得該使用者能夠藉由首先建立一全域深度分佈作為初始深度圖144而反覆地建立一2D影像144之一深度圖142,且隨後選擇欲包括於該深度圖144中之一或多個前景物體。結果,獲得深度圖142之一反覆優化。 The device 100 thus enables the user to repeatedly create a depth map 142 of a 2D image 144 by first establishing a global depth profile as the initial depth map 144, and then selecting one or more of the depth maps 144 to be included. A foreground object. As a result, one of the depth maps 142 is obtained to be repeatedly optimized.

圖6a展示包括深度資訊之一幾何模板300之另一實例。再者,深度資訊中之一改變係藉由線密度之一改變而概要地表示,即,一高密度表示一大深度且一低密度表示一小深度或接近。圖6a進一步展示一標記器320,其構成如由幾何模板300所界定之全域深度分佈360中之一消失點。圖6b展示包括一實際場景之一2D影像144之一實例,其中該實際場景之該全域深度可由圖6a之幾何模板300之全域深度分佈很好地建立。因此,該使用者可將標記器320放置於2D影像144中以便將該全域分佈之消失點匹配至2D影像144內所展示之一實際消失點。 Figure 6a shows another example of a geometric template 300 that includes depth information. Furthermore, one of the changes in the depth information is represented roughly by a change in the linear density, that is, a high density indicates a large depth and a low density indicates a small depth or close. Figure 6a further shows a marker 320 that constitutes a vanishing point in the global depth distribution 360 as defined by the geometric template 300. Figure 6b shows an example of a 2D image 144 comprising one of the actual scenes, wherein the global depth of the actual scene can be well established by the global depth distribution of the geometric template 300 of Figure 6a. Accordingly, the user can place the marker 320 in the 2D image 144 to match the vanishing point of the global distribution to one of the actual vanishing points displayed within the 2D image 144.

一般而言,使用者輸入120可經配置使得該使用者能夠添加標記器至複數個標記器及/或自複數個標記器移除標記器。例如,該使用者可藉由點擊一第一標記器320與一第二標記器322之間之一連接340而添加標記器,其中在該位置處添加一第三標記器,且將連接340分隔為兩個連接,第一連接連接第一標記器320與該第三標記器,且第二連接連接該第三標記器與第二標記器322。然而,亦可使用添加及/或移除標記器之替代方法。 In general, user input 120 can be configured such that the user can add markers to a plurality of markers and/or remove markers from a plurality of markers. For example, the user can add a marker by clicking on a connection 340 between a first marker 320 and a second marker 322, wherein a third marker is added at the location and the connection 340 is separated For the two connections, the first connection connects the first marker 320 with the third marker, and the second connection connects the third marker with the second marker 322. However, alternative methods of adding and/or removing markers can also be used.

一般而言,複數個標記器及該等一或多個連接可形成一線段,即,其包括兩個標記器及該兩個標記器之間之一連接。複數個標記器及該等一或多個連接亦可形成一折線,即,包括多個連接線段。該等複數個標記器及該等一或多個連接亦可形成一多邊形,即,其包括多個連接線段,該等線段形成一閉合形狀。可提供一使用者介面,其允許一使用者在(例如)該前述線段、折線或多邊形之中選擇以便使得該使用者能夠在相關聯幾何模板之間選擇。替代地,該等幾何模板可用名稱表示,在選擇時,自動地提供一線段、折線或多邊形。例如,當該使用者選擇「地平線」時,可提供一線段,當該使用者選擇「消失點」,可提供一單一標記器,且當該使用者選擇「室內」時,可提供一矩形多邊形。 In general, a plurality of markers and the one or more connections may form a line segment, i.e., it includes two markers and one of the connections between the two markers. The plurality of markers and the one or more connections may also form a fold line, ie, include a plurality of connecting line segments. The plurality of markers and the one or more connections may also form a polygon, i.e., it includes a plurality of connecting segments that form a closed shape. A user interface can be provided that allows a user to select among, for example, the aforementioned line segments, polylines, or polygons to enable the user to select between associated geometric templates. Alternatively, the geometric templates can be represented by names, and when selected, a line segment, polyline, or polygon is automatically provided. For example, when the user selects “Horizon”, a line segment can be provided. When the user selects “vanishing point”, a single marker can be provided, and when the user selects “indoor”, a rectangular polygon can be provided. .

應注意上述實施例係繪示而並非限制本發明,且熟習技術者將能夠設定諸多替代實施例。特定言之,注意到本發明並非限制於已在該等圖式中描繪之該等幾何模板或全域深度分佈。當然,熟習技術者將能夠設計諸多有利替代。 It should be noted that the above-described embodiments are illustrative and not limiting, and those skilled in the art will be able to devise various alternative embodiments. In particular, it is noted that the invention is not limited to such geometric templates or global depth distributions that have been depicted in such figures. Of course, those skilled in the art will be able to design many advantageous alternatives.

在申請專利範圍中,位於括號之間之任何參考符號不應被解釋為限制該項技術方案。動詞「包括」及其詞形變化之使用不排除一技術方案中所闡述之元件或步驟之外之元件或步驟之存在。在一元件前之冠詞「一」不排除複數個此等元件之存在。本發明可藉由包括若干不同元件之硬體之方式、及一適當程式化電腦之方式實施。在列舉若干構件之裝置技術方案中,若干此等構件可藉由一個及相同項目之硬體體現。雖然在互不相同之附屬技術方案中提出某些措施,但並不表示此等措施之一組合不能有利地使用。 In the scope of the patent application, any reference signs placed between parentheses shall not be construed as limiting the technical solution. The use of the verb "comprise" and its conjugations does not exclude the presence of elements or steps in the elements of the invention. The article "a" or "an" or "an" or "an" The invention can be implemented by means of a hardware comprising a plurality of different components, and a suitably stylized computer. In the device technical solution enumerating several components, several of these components can be embodied by one and the same item. Although certain measures are proposed in mutually different subsidiary technical solutions, it does not mean that one of these measures cannot be used in an advantageous manner.

100‧‧‧裝置 100‧‧‧ device

110‧‧‧顯示器 110‧‧‧ display

120‧‧‧使用者輸入 120‧‧‧User input

122‧‧‧位置 122‧‧‧ position

130‧‧‧使用者介面裝置 130‧‧‧User interface device

132‧‧‧位置資料 132‧‧‧Location information

140‧‧‧深度圖產生器 140‧‧‧Depth map generator

142‧‧‧深度圖 142‧‧Deep map

144‧‧‧二維[2D]影像 144‧‧‧Two-dimensional [2D] imagery

160‧‧‧顯示輸出 160‧‧‧ Display output

162‧‧‧顯示資料 162‧‧‧ Display information

164‧‧‧游標 164‧‧‧ cursor

320‧‧‧標記器 320‧‧‧ marker

Claims (15)

一種用以基於一二維[2D]影像(144)產生一深度圖(142)以致能該2D影像之三維[3D]顯現之裝置(100),其包括:一顯示輸出(160),用於顯示該2D影像中之一標記器(320),該標記器對應於一幾何模板(300)之一組件,該幾何模板包括用於界定一參考場景之一全域深度分佈(360)之深度資訊;一使用者輸入(120),用於使一使用者能夠將該標記器放置於該2D影像中,以便使得該使用者能夠藉由將該組件相對於該2D影像放置而將該幾何模板匹配至該2D影像中展示之一實際場景;及一深度圖產生器(140),用於基於該2D影像中之該標記器之一位置(122)來建立該全域深度分佈作為該深度圖(142)。 A device (100) for generating a depth map (142) based on a two-dimensional [2D] image (144) to enable three-dimensional [3D] visualization of the 2D image, comprising: a display output (160) for Displaying one of the 2D images (320), the marker corresponding to one of a geometric template (300), the geometric template including depth information for defining a global depth distribution (360) of a reference scene; a user input (120) for enabling a user to place the marker in the 2D image to enable the user to match the geometric template to the component by placing the component with respect to the 2D image One of the actual scenes is displayed in the 2D image; and a depth map generator (140) is configured to establish the global depth distribution as the depth map based on the position (122) of the marker in the 2D image (142) . 如請求項1之裝置(100),其中該幾何模板(300)界定一深度梯度,且其中該深度圖產生器(140)經配置用於基於該標記器(320)之該位置(122)來建立該深度圖(142)中之該深度梯度。 The apparatus (100) of claim 1, wherein the geometric template (300) defines a depth gradient, and wherein the depth map generator (140) is configured to be based on the location (122) of the marker (320) The depth gradient in the depth map (142) is established. 如請求項2之裝置(100),其中該標記器(320)之該位置(122)構成該深度梯度之一開始點或一結束點。 The device (100) of claim 2, wherein the location (122) of the marker (320) constitutes a start point or an end point of the depth gradient. 如請求項1至3任一項中之裝置(100),其中該標記器(320)之該位置(122)構成該全域深度分佈(360)中之一消失點。 The device (100) of any one of claims 1 to 3, wherein the location (122) of the marker (320) constitutes a vanishing point in the global depth distribution (360). 如請求項1至3任一項中之裝置(100),其中該標記器(320)係複數個標記器(320-326)中之一者,其中該複數個標記器對應於一起界定該全域深度分佈(360)之複數個組件,且其中該使用者輸入(120)經配置用於使該使用者能夠個別地放置該複數個標記器之各者,以調整該全域深度分佈而適配該2D影像(144)中之該實際場景。 The apparatus (100) of any one of claims 1 to 3, wherein the marker (320) is one of a plurality of markers (320-326), wherein the plurality of markers correspond to define the global domain together a plurality of components of depth distribution (360), and wherein the user input (120) is configured to enable the user to individually place each of the plurality of markers to adjust the global depth profile to adapt the The actual scene in the 2D image (144). 如請求項5之裝置(100),其中該顯示輸出(160)經配置用於顯示該複數個標記器(320-326)之間之一或多個連接(340),且其中該深度圖產生器(140)經配置以基於該2D影像(144)中之該一或多個連接之一位置來建立該全域深度分佈(360)之一或多個邊緣。 The apparatus (100) of claim 5, wherein the display output (160) is configured to display one or more connections (340) between the plurality of markers (320-326), and wherein the depth map is generated The device (140) is configured to establish one or more edges of the global depth profile (360) based on a location of the one or more connections in the 2D image (144). 如請求項5之裝置(100),其中該複數個標記器(320-326)及該一或多個連接(340)對應於該全域深度分佈(360)之一地平線。 The apparatus (100) of claim 5, wherein the plurality of markers (320-326) and the one or more connections (340) correspond to one of the global depth distributions (360). 如請求項5之裝置(100),其中該複數個標記器(320-326)及該一或多個連接(340)形成以下至少一者:一線段、一折線或一多邊形。 The device (100) of claim 5, wherein the plurality of markers (320-326) and the one or more connections (340) form at least one of: a line segment, a polyline, or a polygon. 如請求項5之裝置(100),其中該使用者輸入(120)經配置用於使得該使用者能夠添加標記器至該複數個標記器(320-326)及/或自該複數個標記器(320-326)移除標記器。 The device (100) of claim 5, wherein the user input (120) is configured to enable the user to add a marker to the plurality of markers (320-326) and/or from the plurality of markers (320-326) Remove the marker. 如請求項1至3任一項中之裝置(100),其中:使用者輸入(120)經配置用於使得該使用者能夠選擇該2D影像(144)中之一前景物體(190-194),該前景物體構成該2D影像中具有一前景深度之一物體,該前景深度係由該全域深度分佈(360)不充分地表示;及該深度圖產生器(140)經配置用於i)建立該前景物體之該前景深度,及ii)基於該前景深度,包含該深度圖(142)中之該前景物體之一深度表示(196,198)。 The device (100) of any one of claims 1 to 3, wherein: the user input (120) is configured to enable the user to select one of the foreground objects (190-194) of the 2D image (144) The foreground object constitutes an object having a foreground depth in the 2D image, the foreground depth is not adequately represented by the global depth distribution (360); and the depth map generator (140) is configured to i) establish The foreground depth of the foreground object, and ii) based on the foreground depth, including a depth representation of the foreground object in the depth map (142) (196, 198). 如請求項10之裝置(100),其中該深度圖產生器(140)經配置用於基於該全域深度分佈(360)與該前景物體(190-194)之該深度表示(196,198)之邊界(197,199)處之一深度來建立該前景深度。 The apparatus (100) of claim 10, wherein the depth map generator (140) is configured to be based on the global depth distribution (360) and the depth representation (196, 198) of the foreground object (190-194) ( One of the depths at 197, 199) establishes the depth of the foreground. 如請求項11之裝置(100),其中該使用者輸入(120)經配置用於使得該使用者能夠確定該前景物體(190-194)係直立於或懸掛於該2D影像(144)中所展示之該實際場景內,且其中該深度圖產生器 (140)經配置以基於該直立或懸掛而在該邊界(197,199)上建立一點。 The device (100) of claim 11, wherein the user input (120) is configured to enable the user to determine that the foreground object (190-194) is erected or hung in the 2D image (144) Displayed in the actual scene, and wherein the depth map generator (140) is configured to establish a point on the boundary (197, 199) based on the upright or suspension. 如請求項10之裝置(100),其中該使用者輸入(120)經配置用於使得該使用者能夠將該前景深度提供至該深度圖產生器(140)。 The device (100) of claim 10, wherein the user input (120) is configured to enable the user to provide the foreground depth to the depth map generator (140). 一種用以基於一二維[2D]影像產生一深度圖以致能該2D影像之三維[3D]顯現之方法(200),其包括:顯示(210)該2D影像中之一標記器,該標記器對應於一幾何模板之一組件,該幾何模板包括用於界定一參考場景之一全域深度分佈之深度資訊;致能(220)一使用者將該標記器放置於該2D影像中,以便使得該使用者能夠藉由將該組件相對於該2D影像放置而將該幾何模板匹配至該2D影像中展示之一實際場景;及基於該2D影像中之該標記器之一位置而建立(230)該全域深度分佈作為該深度圖。 A method (200) for generating a depth map based on a two-dimensional [2D] image to enable three-dimensional [3D] visualization of the 2D image, comprising: displaying (210) one of the 2D images, the mark Corresponding to one of the geometric templates, the geometric template includes depth information for defining a global depth distribution of a reference scene; enabling (220) a user placing the marker in the 2D image to enable The user can match the geometric template to an actual scene displayed in the 2D image by placing the component relative to the 2D image; and establishing based on a position of the marker in the 2D image (230) This global depth distribution is used as the depth map. 一種電腦程式產品(260),其包括用於使一處理器系統執行如請求項14之方法之指令。 A computer program product (260) comprising instructions for causing a processor system to perform the method of claim 14.
TW102120585A 2012-06-26 2013-06-10 Device for generating a depth map TW201412094A (en)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
EP12173580 2012-06-26

Publications (1)

Publication Number Publication Date
TW201412094A true TW201412094A (en) 2014-03-16

Family

ID=48607245

Family Applications (1)

Application Number Title Priority Date Filing Date
TW102120585A TW201412094A (en) 2012-06-26 2013-06-10 Device for generating a depth map

Country Status (2)

Country Link
TW (1) TW201412094A (en)
WO (1) WO2014001062A2 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10019657B2 (en) * 2015-05-28 2018-07-10 Adobe Systems Incorporated Joint depth estimation and semantic segmentation from a single image
US10346996B2 (en) 2015-08-21 2019-07-09 Adobe Inc. Image depth inference from semantic labels
EP4044046A1 (en) * 2021-02-11 2022-08-17 Koninklijke Philips N.V. Depth orders for multi-view frame storing and rendering

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2006003577A1 (en) * 2004-06-29 2006-01-12 Koninklijke Philips Electronics N.V. Creating a depth map
WO2008062351A1 (en) * 2006-11-21 2008-05-29 Koninklijke Philips Electronics N.V. Generation of depth map for an image
EP2184713A1 (en) * 2008-11-04 2010-05-12 Koninklijke Philips Electronics N.V. Method and device for generating a depth map
US8848038B2 (en) * 2010-07-09 2014-09-30 Lg Electronics Inc. Method and device for converting 3D images

Also Published As

Publication number Publication date
WO2014001062A3 (en) 2014-04-24
WO2014001062A2 (en) 2014-01-03

Similar Documents

Publication Publication Date Title
US10652522B2 (en) Varying display content based on viewpoint
US9390538B2 (en) Depth identification of pixels in one or more three dimensional images
US8666146B1 (en) Discontinuous warping for 2D-to-3D conversions
CN106157359B (en) Design method of virtual scene experience system
US9485497B2 (en) Systems and methods for converting two-dimensional images into three-dimensional images
US9202309B2 (en) Methods and apparatus for digital stereo drawing
US9791922B2 (en) User interface control device, user interface control method, computer program and integrated circuit
JP5183277B2 (en) Stereoscopic image display device
WO2017152529A1 (en) Determination method and determination system for reference plane
TWI595443B (en) Image processing method, electronic apparatus and non-transitory computer readable media
Luo et al. Perspective-aware warping for seamless stereoscopic image cloning
TW201505420A (en) Content-aware display adaptation methods
US10136121B2 (en) System, method and software for producing virtual three dimensional images that appear to project forward of or above an electronic display
KR20110090958A (en) Generation of occlusion data for image properties
CN109523622B (en) Unstructured light field rendering method
US8094148B2 (en) Texture processing apparatus, method and program
TW201921318A (en) Apparatus and method for generating a tiled three-dimensional image representation of a scene
TW201412094A (en) Device for generating a depth map
JP2007507945A (en) 3D visualization
JP7476511B2 (en) Image processing system, image processing method and program
US8786681B1 (en) Stereoscopic conversion
US9118902B1 (en) Stereoscopic conversion
KR20160141446A (en) Contents convert method, apparatus, and program for layered hologram
JP2015103960A (en) Method, program and apparatus for specifying image depth
KR20190056694A (en) Virtual exhibition space providing method using 2.5 dimensional object tagged with digital drawing element