[go: up one dir, main page]

CN1444186A - Apparatus suitable for producing real-time stereoscopic video - Google Patents

Apparatus suitable for producing real-time stereoscopic video Download PDF

Info

Publication number
CN1444186A
CN1444186A CN 02106966 CN02106966A CN1444186A CN 1444186 A CN1444186 A CN 1444186A CN 02106966 CN02106966 CN 02106966 CN 02106966 A CN02106966 A CN 02106966A CN 1444186 A CN1444186 A CN 1444186A
Authority
CN
China
Prior art keywords
mentioned
eye
eye image
color
anaglyph
Prior art date
Legal status (The legal status 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 status listed.)
Granted
Application number
CN 02106966
Other languages
Chinese (zh)
Other versions
CN1236405C (en
Inventor
李润容
邓锡洲
李金松
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Silicon Integrated Systems Corp
Original Assignee
Silicon Integrated Systems Corp
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 Silicon Integrated Systems Corp filed Critical Silicon Integrated Systems Corp
Priority to CN 02106966 priority Critical patent/CN1236405C/en
Publication of CN1444186A publication Critical patent/CN1444186A/en
Application granted granted Critical
Publication of CN1236405C publication Critical patent/CN1236405C/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Testing, Inspecting, Measuring Of Stereoscopic Televisions And Televisions (AREA)
  • Stereoscopic And Panoramic Photography (AREA)

Abstract

A device suitable for producing the real-time stereoscopic film, including a drawing engine, a memorizer and a stereoscopic image generator; the graphics engine provides a synchronization signal and generates a left-eye image and a right-eye image according to a horizontal offset calculated from the three-dimensional graphics animation, wherein the horizontal offset between the left-eye and right-eye images provides an illusion of depth, the left-eye and right-eye images being temporarily stored in memory; then, the stereoscopic image generator retrieves the left-eye image and the right-eye image from the memory in response to the synchronization signal to generate a first color-biased filtered left-eye image and a second color-biased filtered right-eye image, such that each of the filtered images is biased toward one of the two complementary colors; the depth perception of the scene can be generated by viewing the filtered left eye image and the filtered right eye image through a pair of stereoscopic glasses.

Description

适用于产生即时立体影片的装置Apparatus suitable for producing real-time stereoscopic video

技术领域technical field

本发明涉及三维(three-dimensional,3D)电脑绘图领域,特别是指一种适用于产生即时立体影片(anaglyph)的装置,这类立体影片通过立体眼镜(anaglyph spectacles)观看可产生深度的感受。The present invention relates to the field of three-dimensional (three-dimensional, 3D) computer graphics, in particular to a device suitable for producing real-time anaglyphs, which can produce a sense of depth when viewed through anaglyph spectacles.

背景技术Background technique

利用电脑系统产生影像常有自然3D影像仿真的需求,而一般影像由于没有提供深度感,因此看起来缺乏真实性。目前已有许多的设计和发展用以产生具有立体感(stereoscopic)的影像来达到3D的效果,其中一种为对于单一的二维(two-dimensional)影像提供左眼和右眼影像并轮流进行显示。观赏者戴上一种附有液晶快门的眼镜(liquid crystal shutteredspectacles)来观看上述左眼和右眼影像,这种附有快门的眼镜与显示信号同步以允许一眼在一时间内仅可看到适当的影像,更明确地说,当显示右眼影像时,右眼的液晶快门打开,而当显示左眼影像时,左眼的液晶快门才会打开。以此方式,观赏者在脑中将左眼和右眼影像融合或合成以产生深度感,左眼影像中的成分和右眼影像中的成分之间的偏移量(offset)大小,决定了在合成立体影像中对该成分感受的深度。The use of computer systems to generate images often requires natural 3D image simulation, and general images lack realism because they do not provide a sense of depth. At present, there are many designs and developments to produce stereoscopic images to achieve 3D effects, one of which is to provide left-eye and right-eye images for a single two-dimensional image and take turns show. The viewer wears glasses with liquid crystal shutters (liquid crystal shuttered spectacles) to watch the above left and right eye images. The glasses with shutters are synchronized with the display signal to allow one eye to see only the appropriate More specifically, when the right-eye image is displayed, the right-eye LCD shutter opens, and when the left-eye image is displayed, the left-eye LCD shutter opens. In this way, the viewer fuses or synthesizes the left-eye and right-eye images in his mind to produce a sense of depth, and the size of the offset between the components in the left-eye image and the components in the right-eye image determines the The perceived depth for this component in a composite stereo image.

发明内容Contents of the invention

另一种提供具立体观感的技术为运用所谓的立体影片(anaglyph)技巧,一张立体影片的影像一般包含两张偏不同色彩,最好是互补色的影像。立体影片的原理与上面所提及的技术大致相同:提供给观赏者分开的左眼和右眼影像,且左眼、右眼影像间的水平偏移量可使观赏者产生深度的错觉(illusion)。观赏者所看的立体影片对同景物而言包含两张偏向不同色彩,例如红色和蓝绿色,且经水平移动的影像,观赏者戴上一种立体眼镜(anaglyph spectacles)就能通过色彩相符的镜片观看立体影片的左眼、右眼影像,例如,观赏者仅能以蓝绿色镜片看到偏蓝绿色的影像,且只能以红色镜片看到偏红色的影像,藉此对左、右眼提供分离的影像。这种方式的好处是立体眼镜的成本远低于上述附有液晶快门的眼镜,并且不需要提供外部信号做为立体眼镜同步之用。Another technique for providing a three-dimensional impression is to use the so-called anaglyph technique. An anaglyph image generally includes two images of different colors, preferably complementary colors. The principle of stereoscopic video is roughly the same as the technology mentioned above: the viewer is provided with separate left-eye and right-eye images, and the horizontal offset between the left-eye and right-eye images can make the viewer produce the illusion of depth. ). The three-dimensional video viewed by the viewer contains two images with different colors for the same scene, such as red and blue-green, and moves horizontally. The viewer can wear a kind of stereoscopic glasses (anaglyph spectacles). The left eye and right eye images of the three-dimensional film are watched by the lens. For example, the viewer can only see the blue-green image with the blue-green lens, and can only see the reddish image with the red lens, thereby affecting the left and right eyes. Provides separated images. The advantage of this method is that the cost of the 3D glasses is much lower than the above-mentioned glasses with liquid crystal shutters, and there is no need to provide an external signal for the synchronization of the 3D glasses.

基于上述原理,本发明的目的是提供一种在个人电脑中产生即时立体影片的装置。Based on the above principles, the purpose of the present invention is to provide a device for generating real-time stereoscopic movies in a personal computer.

本发明的另一目的是提供一种装置,利用个人电脑中所使用的绘图加速器产生的动画图像,产生具立体感的即时影像。Another object of the present invention is to provide a device for generating real-time images with a three-dimensional effect by utilizing animation images generated by graphics accelerators used in personal computers.

为达上述目的,本发明提供一种适用于产生即时立体影片的装置,至少包含:一绘图引擎,用以提供一同步信号,并且根据一三维图形动画计算而得的一水平偏移量产生一左眼影像和一右眼影像,其中该左眼和该右眼影像之间的该水平偏移量能提供深度的错觉;一存储器,用以储存该左眼影像和该右眼影像;以及一立体图像产生器,回应于该同步信号而从该存储器取回该左眼影像和该右眼影像,用以产生偏一第一色彩的一滤色左眼影像和偏一第二色彩的一滤色右眼影像当作输出,其中该第一色彩与该第二色彩为互补色。若一立体致能信号被设定,则使上述立体图像产生器能够产生上述滤色左眼影像和上述滤色右眼影像。To achieve the above-mentioned purpose, the present invention provides a device suitable for producing real-time stereoscopic movies, at least including: a drawing engine, used to provide a synchronization signal, and generate a horizontal offset calculated according to a three-dimensional graphic animation a left-eye image and a right-eye image, wherein the horizontal offset between the left-eye and right-eye images provides an illusion of depth; a memory for storing the left-eye image and the right-eye image; and a a stereoscopic image generator for retrieving the left-eye image and the right-eye image from the memory in response to the synchronous signal, for generating a color-filtered left-eye image partial to a first color and a filtered left-eye image partial to a second color The right-eye image of a color is outputted, wherein the first color and the second color are complementary colors. If a stereo enable signal is set, the stereo image generator is enabled to generate the color-filtered left-eye image and the color-filtered right-eye image.

其中的立体图像产生器根据上述同步信号轮流输出上述滤色左眼影像以及上述滤色右眼影像;上述立体图像产生器至少包含:一第一多工器,回应于一第一信号,若该第一信号被解除,则用以滤除上述左眼和上述右眼影像中的红色成份,若该第一信号被设定,则用以容许上述左眼和上述右眼影像中的红色成份通过;一第二多工器,回应于一第二信号,若该第二信号被解除,则用以滤除上述左眼和上述右眼影像中的绿色成份,若该第二信号被设定,则用以容许上述左眼和上述右眼影像中的绿色成份通过;以及一第三多工器,回应于一第三信号,若该第三信号被解除,则用以滤除上述左眼和上述右眼影像中的蓝色成份,若该第三信号被设定,则用以容许上述左眼和上述右眼影像中的蓝色成份通过。Wherein the stereoscopic image generator outputs the color-filtered left-eye image and the color-filtered right-eye image in turn according to the synchronous signal; the stereoscopic image generator at least includes: a first multiplexer, responding to a first signal, if the When the first signal is deactivated, it is used to filter out the red components in the left-eye and right-eye images, and if the first signal is set, it is used to allow the red components in the left-eye and right-eye images to pass through ; A second multiplexer, responding to a second signal, if the second signal is deactivated, it is used to filter out the green components in the left-eye and right-eye images, if the second signal is set, It is used to allow the green components in the above-mentioned left-eye and the above-mentioned right-eye images to pass through; and a third multiplexer responds to a third signal, and if the third signal is deactivated, it is used to filter out the above-mentioned left-eye and The blue component in the right-eye image is used to allow the blue components in the left-eye and right-eye images to pass through if the third signal is set.

本发明的另一个实施例是:其中的立体图像产生器至少包含一加法器,用来处理上述滤色左眼影像和上述滤色右眼影像以使彼此互相叠印在一起,而产生一立体影像。该立体图像产生器还包含一乘法器,用来将上述左眼影像乘上一第一遮罩以及将上述右眼影像乘上一第二遮罩,而分别产生上述滤色左眼影像和上述滤色右眼影像。上述乘法器分别以上述第一遮罩阻挡上述左眼影像中的上述第二色彩,以上述第二遮罩阻挡上述右眼影像中的上述第一色彩,而产生偏上述第一色彩的上述滤色左眼影像和偏上述第二色彩的上述滤色右眼影像。上述加法器执行电脑绘图技术中所使用的位元区块转移运算。Another embodiment of the present invention is: wherein the stereoscopic image generator includes at least one adder, which is used to process the above-mentioned color-filtered left-eye image and the above-mentioned color-filtered right-eye image so as to overlap each other to generate a stereoscopic image . The stereoscopic image generator also includes a multiplier for multiplying the left-eye image by a first mask and multiplying the right-eye image by a second mask to generate the color-filtered left-eye image and the above-mentioned Filter the right eye image. The multiplier respectively uses the first mask to block the second color in the left-eye image, and uses the second mask to block the first color in the right-eye image, so as to generate the filter that is partial to the first color. The color-filtered left-eye image and the above-mentioned color-filtered right-eye image partial to the above-mentioned second color. The above-mentioned adder performs the bit-block shift operation used in computer graphics.

综上,本发明的适用于产生即时立体影片的装置,其绘图引擎提供一同步信号,并且根据由三维图形动画计算而得的水平偏移量产生一左眼影像和一右眼影像,其中左眼和右眼影像之间的上述水平偏移量能提供深度的错觉,上述左眼和右眼影像暂时储存在存储器中;然后,立体图像产生器回应于同步信号而从存储器取回左眼影像和右眼影像,以产生偏第一色彩的滤色左眼影像和偏第二色彩的滤色右眼影像,如此,每一滤色影像偏向二互补色的其中一种色彩;通过一种立体眼镜观看上述滤色左眼影像和滤色右眼影像,则可产生景物的深度感。本发明的立体眼镜的成本远低于上述附有液晶快门的眼镜,并且不需要提供外部信号做为立体眼镜同步之用,大大简化了装置的结构并降低了成本。In summary, the device of the present invention that is suitable for producing real-time stereoscopic films, its drawing engine provides a synchronous signal, and generates a left-eye image and a right-eye image according to the horizontal offset calculated by the three-dimensional graphic animation, wherein the left eye The above-mentioned horizontal offset between the eye and the right-eye image can provide the illusion of depth, and the above-mentioned left-eye and right-eye images are temporarily stored in memory; the stereoscopic image generator then retrieves the left-eye image from the memory in response to the synchronization signal and the right-eye image to produce a color-filtered left-eye image of the first color and a color-filtered right-eye image of the second color, so that each color-filter image is biased towards one of the two complementary colors; through a three-dimensional When the glasses watch the above-mentioned color-filtered left-eye image and color-filtered right-eye image, the sense of depth of the scene can be produced. The cost of the stereoscopic glasses of the present invention is much lower than the above glasses with liquid crystal shutters, and no external signal is needed for synchronizing the stereoscopic glasses, which greatly simplifies the structure of the device and reduces the cost.

附图说明Description of drawings

图1是根据本发明的较佳实施例方块图;Fig. 1 is a block diagram according to a preferred embodiment of the present invention;

图2是说明立体图像产生器的方块图;FIG. 2 is a block diagram illustrating a stereoscopic image generator;

图3是立体图像产生器另一实施例的功能说明图;Fig. 3 is a function explanatory diagram of another embodiment of a stereoscopic image generator;

图4是立体图像产生器中由加法器所执行的位元区块转移运算的功能说明图;Fig. 4 is a function explanatory diagram of the bit block transfer operation performed by the adder in the stereoscopic image generator;

图5是上述另一实施例的流程图。Fig. 5 is a flowchart of another embodiment described above.

具体实施方式Detailed ways

如图1所示,个人电脑的图形显示装置10提供视讯信号132给显示器20,其中图形显示装置10包括绘图处理器100、存储器110、存储器控制器120以及数字-模拟转换器(DAC)130,根据本发明,绘图处理器100还包括3D绘图引擎(engine)102和立体图像产生器104,3D绘图引擎102和立体图像产生器104两者均可通过存储器控制器120存取存储器110。举例而言,3D绘图引擎102经由PCI或AGP汇流排(bus)140从中央处理器(CPU)接收绘图资料和指令,在正常的运作里,3D绘图引擎102通过绘图资料的计算而能够描绘(render)一连串的3D动画(animation),在这一连串的3D动画中的每一张3D影像先被预存在存储器110内以尽可能运用3D绘图引擎102的计算能力,绘图处理器100则不断地取回预存的数字影像并将其传送至DAC 130,为了将传送过来的资料显示在显示器20,DAC 130把数字影像转换成模拟视讯信号132。除了描绘3D动画外,如果绘图处理器100的立体功能启动的话,3D绘图引擎102还对每一张3D图形动画计算一水平偏移量(horizontaloffset)。绘图引擎102进一步地提供一同步信号106,并且根据上述水平偏移量产生一左眼影像112和一右眼影像114,其中左眼和右眼影像之间的水平偏移量能提供深度的错觉。左眼影像112和右眼影像114被储存在存储器110以供后续的处理,由于从前面运作中产生的左眼和右眼影像暂存在存储器110中,3D绘图引擎102能得空来执行下一次的运算,如此可以尽可能的利用3D绘图引擎102的资源。因为上述说明的理由,本发明中所揭露的装置可以达到产生即时立体影片的目的。As shown in FIG. 1 , a graphics display device 10 of a personal computer provides a video signal 132 to a display 20, wherein the graphics display device 10 includes a graphics processor 100, a memory 110, a memory controller 120, and a digital-to-analog converter (DAC) 130, According to the present invention, the graphics processor 100 further includes a 3D graphics engine (engine) 102 and a stereoscopic image generator 104 , both of which can access the memory 110 through the memory controller 120 . For example, the 3D graphics engine 102 receives graphics data and instructions from the central processing unit (CPU) via the PCI or AGP bus 140. In normal operation, the 3D graphics engine 102 can draw ( render) a series of 3D animations (animation), each 3D image in this series of 3D animations is pre-stored in the memory 110 to use the computing power of the 3D graphics engine 102 as much as possible, and the graphics processor 100 continuously fetches Return the pre-stored digital image and send it to the DAC 130. In order to display the transmitted data on the display 20, the DAC 130 converts the digital image into an analog video signal 132. In addition to rendering 3D animation, if the stereo function of the graphics processor 100 is enabled, the 3D graphics engine 102 also calculates a horizontal offset (horizontal offset) for each 3D graphic animation. The graphics engine 102 further provides a synchronization signal 106, and generates a left-eye image 112 and a right-eye image 114 according to the horizontal offset, wherein the horizontal offset between the left-eye and right-eye images can provide the illusion of depth . The left-eye image 112 and the right-eye image 114 are stored in the memory 110 for subsequent processing. Since the left-eye and right-eye images generated from the previous operation are temporarily stored in the memory 110, the 3D graphics engine 102 can be free to perform the next operation. In this way, the resources of the 3D graphics engine 102 can be utilized as much as possible. Because of the reasons described above, the device disclosed in the present invention can achieve the purpose of producing real-time 3D movies.

继续参考图1,立体图像产生器104回应于同步信号106而从存储器110取回左眼影像112和右眼影像114,以分别产生滤色左眼影像和滤色右眼影像,如此,滤色左眼影像偏向一色彩而滤色右眼影像偏向另一色彩,其中这两种色彩为互补色。立体图像产生器104根据同步信号106轮流地输出上述滤色左眼影像以及上述滤色右眼影像给DAC 130,将数字信号转换成模拟视讯信号132,而使滤色左眼和右眼影像显示在显示器20,观赏者戴上立体眼镜30可通过色彩相符的镜片观看这些滤色左眼、右眼影像,左眼看到滤色左眼影像而右眼看到滤色右眼影像,如此带来深度感的景象。Continuing to refer to FIG. 1 , the stereoscopic image generator 104 retrieves the left-eye image 112 and the right-eye image 114 from the memory 110 in response to the synchronous signal 106 to generate a color-filtered left-eye image and a color-filtered right-eye image respectively, so that the color-filtered The left eye image is biased towards one color and the filtered right eye image is biased towards another color, where the two colors are complementary colors. The stereoscopic image generator 104 outputs the above-mentioned color-filtered left-eye image and the above-mentioned color-filtered right-eye image to the DAC 130 in turn according to the synchronous signal 106, and converts the digital signal into an analog video signal 132, so that the color-filtered left-eye and right-eye images are displayed On the display 20, the viewer wears the stereoscopic glasses 30 and can watch these color-filtered left-eye and right-eye images through matching colored lenses, the left eye sees the color-filtered left-eye image and the right eye sees the color-filtered right-eye image, thus bringing depth emotional scene.

通过以下的详细描述,图2中立体图像产生器104的较佳实施例将变得更明显易懂。在运用电脑处理彩色影像时,通常将影像分解成红(Red,R)、绿(Green,G)、蓝(Blue,B)的三原色(primary colors)成份,三原色为基本的颜色,通过三原色不同成份的组合可生成任何其他的色彩。在图2中立体图像产生器104包括三个多工器(multiplexer)220a、220b和220c,每一个多工器分别地过滤影像中的一种色彩成份,多工器220a、220b和220c具有大体上相同的配置。举例来说,将零值(0)施加于多工器220a的一输入端口222a,而将影像中的红色成份(R)施加于多工器220a的另一输入端口224a,根据一立体致能信号210及一控制信号CR,多工器220a的输出端口226a提供输出一滤色(filtered)影像以当作其红色成份。立体致能信号210和控制信号CR分别施加于一逻辑闸230a(logic gate)的输入端232a、234a,如图2所示,若立体致能信号210被设定(assert),则使立体图像产生器104能够产生上述滤色左眼影像和上述滤色右眼影像。The preferred embodiment of the stereoscopic image generator 104 in FIG. 2 will become more apparent and comprehensible through the following detailed description. When using a computer to process color images, the image is usually decomposed into three primary colors (primary colors) of red (Red, R), green (Green, G), and blue (Blue, B). The combination of ingredients can produce any other color. In Fig. 2 stereoscopic image generator 104 comprises three multiplexers (multiplexer) 220a, 220b and 220c, each multiplexer filters a kind of color component in image respectively, multiplexer 220a, 220b and 220c have substantially on the same configuration. For example, applying zero value (0) to one input port 222a of the multiplexer 220a, and applying the red component (R) in the image to the other input port 224a of the multiplexer 220a, according to a stereo enable With the signal 210 and a control signal CR , the output port 226a of the multiplexer 220a provides a filtered image as its red component. Stereo enable signal 210 and control signal CR are respectively applied to input terminals 232a, 234a of a logic gate 230a (logic gate), as shown in FIG. 2, if stereo enable signal 210 is set (assert), then the stereo The image generator 104 is capable of generating the color-filtered left-eye image and the color-filtered right-eye image.

在一实施例中,当控制信号CR被解除(de-assert)时,多工器220a滤除左眼影像中的红色成份,且当控制信号CR被设定时,则用以容许右眼影像中的红色成份通过;当控制信号CG被解除时,多工器220b滤除右眼影像中的绿色成份,且当控制信号CG被设定时,则用以容许左眼影像中的绿色成份通过;同样地,当控制信号CB被解除时,多工器220c滤除右眼影像中的蓝色成份,且当控制信号CB被设定时,则用以容许左眼影像中的蓝色成份通过。结果,立体图像产生器104分别产生偏蓝绿色的滤色左眼影像以及偏红色的滤色右眼影像,然后,滤色左眼影像和滤色右眼影像以大约每秒60张影像的速率显示在显示器20上,观赏者可戴上立体眼镜30通过色彩相符的镜片观看这些滤色影像,观赏者仅能以蓝绿色镜片看到偏蓝绿色的影像,且只能以红色镜片看到偏红色的影像,藉此对左、右眼提供分离的影像。In one embodiment, when the control signal CR is de-asserted, the multiplexer 220a filters out the red component in the image for the left eye, and when the control signal CR is asserted, it is used to allow the right The red component in the eye image passes through; when the control signal C G is released, the multiplexer 220b filters out the green component in the right eye image, and when the control signal C G is set, it is used to allow the green component in the left eye image The green component of the pass; similarly, when the control signal C B is deactivated, the multiplexer 220c filters out the blue component in the right eye image, and when the control signal C B is set, it is used to allow the left eye image The blue component in the pass. As a result, the stereoscopic image generator 104 respectively generates a bluish-green color-filtered left-eye image and a reddish-color-filtered right-eye image, and then the color-filtered left-eye image and the color-filtered right-eye image are generated at a rate of about 60 images per second Displayed on the display 20, the viewer can wear the stereoscopic glasses 30 to watch these color filtered images through the lenses with matching colors, the viewer can only see the blue-green images with the blue-green lenses, and can only see the partial images with the red lenses. A red image, thereby providing separate images for the left and right eyes.

在另一实施例中,当控制信号CR被解除时,多工器220a滤除右眼影像中的红色成份,且当控制信号CR被设定时,则用以容许左眼影像中的红色成份通过;当控制信号CG被解除时,多工器220b滤除左眼影像中的绿色成份,且当控制信号CG被设定时,则用以容许右眼影像中的绿色成份通过;同样地,当控制信号CB被解除时,多工器220c滤除右眼影像中的蓝色成份,且当控制信号CB被设定时,则用以容许左眼影像中的蓝色成份通过。结果,立体图像产生器104分别产生偏红蓝色的滤色左眼影像以及偏绿色的滤色右眼影像,然后,滤色左眼影像和滤色右眼影像以大约每秒60张影像的速率显示在显示器20上,观赏者可戴上立体眼镜30通过色彩相符的镜片观看这些滤色影像,观赏者仅能以红蓝色镜片看到红蓝色的影像,且只能以绿色镜片看到偏绿色的影像,以此方式对左、右眼提供分离的影像。In another embodiment, when the control signal CR is deasserted, the multiplexer 220a filters out the red component in the right-eye image, and when the control signal CR is set, it is used to allow the red component in the left-eye image The red component passes; when the control signal C G is released, the multiplexer 220b filters out the green component in the left-eye image, and when the control signal C G is set, it is used to allow the green component in the right-eye image to pass ; Similarly, when the control signal C B is removed, the multiplexer 220c filters out the blue component in the right eye image, and when the control signal C B is set, it is used to allow the blue component in the left eye image The ingredients are passed. As a result, the stereoscopic image generator 104 respectively generates a reddish-blue color-filtered left-eye image and a greenish-color-filtered right-eye image, and then the color-filtered left-eye image and the color-filtered right-eye image are processed at a rate of about 60 images per second. The rate is displayed on the display 20, and the viewer can wear the stereoscopic glasses 30 to watch these color-filtered images through the lenses that match the color. The viewer can only see the red and blue images with the red and blue lenses, and can only see them with the green lenses to a greenish image, thus providing separate images for the left and right eyes.

图3为立体图像产生器104另一实施例的功能说明图,为获得一包含两张分离影像的立体影像,其中这两张影像对同一景物而言为不同色彩但是经水平移动的影像,如图示,立体图像产生器104可包括一加法器320及一乘法器310,参考图5中的流程图,配合以下详细的说明,将能更清楚立体图像产生器104的另一实施例。如果绘图处理器100的立体功能被关闭时(步骤S500),如前面所描述,绘图处理器100描绘一般的3D动画(步骤S505),并通过DAC 130将其呈现在显示器20上(步骤S515)。如果绘图处理器100的立体功能启动时(步骤S500),绘图处理器100中的3D绘图引擎102会计算得到一水平偏移量(步骤S510),然后3D绘图引擎102描绘出一左眼影像112和一右眼影像114,其中依前述水平偏移量,相对于右眼影像114中的相同景物,水平地移动左眼影像112中的部份或全部景物(步骤S520),接着,立体图像产生器104利用乘法器310将左眼影像112乘上第一遮罩312以及将右眼影像114乘上第二遮罩314,而分别产生滤色左眼影像322和滤色右眼影像324(步骤S530)。为产生立体影像330,如图3所示,加法器320处理滤色左眼影像322和滤色右眼影像324以使彼此互相叠印(superimpose)在一起(步骤S540)。然后,对双眼而言,包含两张分离且偏向不同色彩影像的立体影像330以大约每秒30张影像的速率显示在显示器20上。在一实施例中,乘法器310以第一遮罩312阻挡左眼影像112中的红色成份,产生偏蓝绿色的滤色左眼影像322,且以第二遮罩314阻挡右眼影像114中的蓝绿色成份,而产生偏红色的滤色右眼影像324。观赏者可戴上立体眼镜30通过色彩相符的镜片观看立体影像330,以此方式,观赏者仅能以蓝绿色镜片看到偏蓝绿色的影像,且只能以红色镜片看到偏红色的影像,藉此对左、右眼同时提供各别的影像,由于立体影像330中叠印在一起的两张影像,其相同景物已被水平移动,观赏者将可感受到深度的错觉。在另一实施例中,乘法器310以第一遮罩312阻挡左眼影像112中的绿色成份,产生偏红蓝色的滤色左眼影像322,且以第二遮罩314阻挡右眼影像114中的红蓝色成份,而产生偏绿色的滤色右眼影像324。观赏者可戴上立体眼镜30通过色彩相符的镜片观看立体影像330,以此方式,观赏者仅能以红蓝色镜片看到偏红蓝色的影像,且只能以绿色镜片看到偏绿色的影像,如此对左、右眼同时提供各别的影像,由于立体影像330中叠印在一起的两张影像,其相同景物已被水平移动,将可提供观赏者深度的感受。Fig. 3 is a function explanatory diagram of another embodiment of the stereoscopic image generator 104, in order to obtain a stereoscopic image comprising two separate images, wherein the two images are horizontally shifted images of different colors for the same scene, such as As shown in the figure, the stereoscopic image generator 104 may include an adder 320 and a multiplier 310 . Referring to the flowchart in FIG. 5 , another embodiment of the stereoscopic image generator 104 will be more clear with the following detailed description. If the stereo function of the graphics processor 100 is turned off (step S500), as described above, the graphics processor 100 draws a general 3D animation (step S505), and presents it on the display 20 by the DAC 130 (step S515) . If the stereo function of the graphics processor 100 is enabled (step S500), the 3D graphics engine 102 in the graphics processor 100 will calculate a horizontal offset (step S510), and then the 3D graphics engine 102 will draw a left-eye image 112 and a right-eye image 114, wherein according to the aforementioned horizontal offset, with respect to the same scene in the right-eye image 114, some or all of the scenes in the left-eye image 112 are horizontally moved (step S520), and then the stereoscopic image is generated The device 104 uses the multiplier 310 to multiply the left-eye image 112 by the first mask 312 and the right-eye image 114 by the second mask 314 to generate a color-filtered left-eye image 322 and a color-filtered right-eye image 324 (step S530). To generate the stereoscopic image 330 , as shown in FIG. 3 , the adder 320 processes the color-filtered left-eye image 322 and the color-filtered right-eye image 324 to superimpose each other (step S540 ). Then, for both eyes, a stereoscopic image 330 comprising two separate and biased images of different colors is displayed on the display 20 at a rate of approximately 30 images per second. In one embodiment, the multiplier 310 uses the first mask 312 to block the red component in the left-eye image 112 to generate a bluish-green filtered left-eye image 322 , and uses the second mask 314 to block the red component in the right-eye image 114 The blue-green component of the image 324 produces a reddish color-filtered right-eye image. The viewer can wear the 3D glasses 30 to watch the 3D image 330 through the lenses with matching colors. In this way, the viewer can only see the blue-green image with the blue-green lens, and can only see the reddish image with the red lens. In this way, separate images are provided to the left and right eyes at the same time. Since the two images superimposed together in the stereoscopic image 330, the same scene has been moved horizontally, the viewer will feel the illusion of depth. In another embodiment, the multiplier 310 uses the first mask 312 to block the green component in the left-eye image 112 to generate a reddish-blue filtered left-eye image 322 , and uses the second mask 314 to block the right-eye image The red and blue components in 114 are used to generate a greenish filtered right eye image 324 . The viewer can wear the 3D glasses 30 to watch the 3D image 330 through the lenses with matching colors. In this way, the viewer can only see the reddish blue image with the red and blue lenses, and can only see the greenish image with the green lens. In this way, separate images are provided to the left and right eyes at the same time. Because of the two images superimposed together in the stereoscopic image 330, the same scene has been moved horizontally, which will provide the viewer with a sense of depth.

再者,加法器320执行电脑绘图技术中所使用的位元区块转移(bit-block transfer)运算(BOP),如图4所示,BOP为一种将来源影像422中的像素区块移动或叠加至目的影像424的技术,比起移动或叠加个别的位元或位元组,BOP更具效率的技巧。Furthermore, the adder 320 executes a bit-block transfer operation (B OP ) used in computer graphics technology. As shown in FIG. The technique of moving or overlaying blocks to the destination image 424 is a more efficient technique of BOP than moving or overlaying individual bits or groups of bytes.

综合以上所述,本发明揭露一种适用于产生即时立体影片的装置。虽然本发明已以具体实施例揭露如上,然其仅为了易于说明本发明的技术内容,而并非将本发明狭义地限定于说实施例,任何熟习此技艺者,在不脱离本发明的精神和范围内,当可作些许的更动与润饰,因此本发明的保护范围当视权利要求书所界定者为准。Based on the above, the present invention discloses a device suitable for generating real-time 3D video. Although the present invention has been disclosed as above with specific embodiments, it is only for the ease of explaining the technical content of the present invention, rather than restricting the present invention to the embodiments in a narrow sense. Within the scope, some changes and modifications can be made, so the protection scope of the present invention should be defined by the claims.

Claims (20)

1. one kind is applicable to the device that produces instant anaglyph, it is characterized in that: comprise at least:
One drawing engine in order to a synchronous signal to be provided, and to calculate a horizontal offset that gets according to a three-dimensional picture animation and produces a left-eye images and a right-eye image, and wherein this horizontal offset between this left eye and this right-eye image can provide the illusion of the degree of depth;
One storer is in order to store this left-eye images and this right-eye image; And
One stereo-picture generator, fetch this left-eye images and this right-eye image in response to this synchronizing signal from this storer, be used as output in order to the colour filter left-eye images that produces inclined to one side one first color and a colour filter right-eye image of inclined to one side one second color, wherein this first color and this second color are complementary colors.
2. the device that produces instant anaglyph that is applicable to as claimed in claim 1, it is characterized in that: above-mentioned stereo-picture generator is exported above-mentioned colour filter left-eye images and above-mentioned colour filter right-eye image in turn according to above-mentioned synchronizing signal.
3. the device that produces instant anaglyph that is applicable to as claimed in claim 2, it is characterized in that: above-mentioned stereo-picture generator comprises at least:
One first multiplexer, in response to one first signal, if this first signal is disengaged, then in order to the red composition in above-mentioned left eye of filtering and the above-mentioned right-eye image, if this first signal is set, then in order to allow that the red composition in above-mentioned left eye and the above-mentioned right-eye image passes through;
One second multiplexer, in response to a secondary signal, if this secondary signal is disengaged, then in order to the green composition in above-mentioned left eye of filtering and the above-mentioned right-eye image, if this secondary signal is set, then in order to allow that the green composition in above-mentioned left eye and the above-mentioned right-eye image passes through; And
One the 3rd multiplexer, in response to one the 3rd signal, if the 3rd signal is disengaged, then in order to the blue composition in above-mentioned left eye of filtering and the above-mentioned right-eye image, if the 3rd signal is set, then in order to allow that the blue composition in above-mentioned left eye and the above-mentioned right-eye image passes through.
4. the device that produces instant anaglyph that is applicable to as claimed in claim 3 is characterized in that: above-mentioned first color is a blue-green and above-mentioned second color is a redness.
5. the device that produces instant anaglyph that is applicable to as claimed in claim 4, it is characterized in that: by removing above-mentioned first signal, red composition in the above-mentioned left-eye images of the above-mentioned first multiplexer filtering, by setting above-mentioned second and above-mentioned the 3rd signal, above-mentioned second and above-mentioned the 3rd multiplexer allow that respectively green the and blue composition in the above-mentioned left-eye images passes through, to produce glaucous partially above-mentioned colour filter left-eye images.
6. the device that produces instant anaglyph that is applicable to as claimed in claim 4, it is characterized in that: by setting above-mentioned first signal, above-mentioned first multiplexer allows that the red composition in the above-mentioned right-eye image passes through, by removing above-mentioned second and above-mentioned the 3rd signal, above-mentioned second and above-mentioned the 3rd the multiplexer green and blue composition in the above-mentioned right-eye image of filtering respectively, to produce the above-mentioned colour filter right-eye image of inclined to one side redness.
7. the device that produces instant anaglyph that is applicable to as claimed in claim 4, it is characterized in that: the above-mentioned colour filter left-eye images and the above-mentioned colour filter right-eye image that are taken turns output according to above-mentioned synchronizing signal by above-mentioned stereo-picture generator can be that a blue-green eyeglass and another are that glasses of a red eyeglass are watched to produce depth perception by having a glance.
8. the device that produces instant anaglyph that is applicable to as claimed in claim 3 is characterized in that: above-mentioned first color is a reddish blue and above-mentioned second color is a green.
9. the device that produces instant anaglyph that is applicable to as claimed in claim 8, it is characterized in that: by removing above-mentioned secondary signal, green composition in the above-mentioned left-eye images of the above-mentioned second multiplexer filtering, by setting above-mentioned first and above-mentioned the 3rd signal, above-mentioned first and above-mentioned the 3rd multiplexer allow that respectively red the and blue composition in the above-mentioned left-eye images passes through, to produce the above-mentioned colour filter left-eye images of inclined to one side reddish blue.
10. the device that produces instant anaglyph that is applicable to as claimed in claim 8, it is characterized in that: by setting above-mentioned secondary signal, above-mentioned second multiplexer allows that the green composition in the above-mentioned right-eye image passes through, by removing above-mentioned first and above-mentioned the 3rd signal, above-mentioned first and above-mentioned the 3rd the multiplexer red and blue composition in the above-mentioned right-eye image of filtering respectively, to produce the above-mentioned colour filter right-eye image of inclined to one side green.
11. the device that produces instant anaglyph that is applicable to as claimed in claim 8, it is characterized in that: the above-mentioned colour filter left-eye images and the above-mentioned colour filter right-eye image that are taken turns output according to above-mentioned synchronizing signal by above-mentioned stereo-picture generator can be that a reddish blue eyeglass and another are that glasses of a green len are watched to produce depth perception by having a glance.
12. the device that produces instant anaglyph that is applicable to as claimed in claim 1, it is characterized in that: above-mentioned stereo-picture generator comprises a totalizer at least, be used for handling above-mentioned colour filter left-eye images with above-mentioned colour filter right-eye image so that each other double exposure be in the same place, and produce a stereopsis.
13. the device that produces instant anaglyph that is applicable to as claimed in claim 12, it is characterized in that: above-mentioned stereo-picture generator more comprises a multiplier, be used for above-mentioned left-eye images is multiplied by one first shade and above-mentioned right-eye image is multiplied by one second shade, and produce above-mentioned colour filter left-eye images and above-mentioned colour filter right-eye image respectively.
14. the device that produces instant anaglyph that is applicable to as claimed in claim 13, it is characterized in that: above-mentioned multiplier stops above-mentioned second color in the above-mentioned left-eye images with above-mentioned first shade respectively, stop above-mentioned first color in the above-mentioned right-eye image with above-mentioned second shade, and produce the above-mentioned colour filter right-eye image of stating the above-mentioned colour filter left-eye images of first color on the upper side and stating second color on the upper side.
15. the device that produces instant anaglyph that is applicable to as claimed in claim 12, it is characterized in that: above-mentioned totalizer is carried out employed bit block branching operation in the computer graphic technology.
16. the device that produces instant anaglyph that is applicable to as claimed in claim 14 is characterized in that: above-mentioned first color is a blue-green and above-mentioned second color is a redness.
17. the device that produces instant anaglyph that is applicable to as claimed in claim 16 is characterized in that: above-mentioned stereopsis can be that a blue-green eyeglass and another are that glasses of a red eyeglass are watched to produce depth perception by having a glance.
18. the device that produces instant anaglyph that is applicable to as claimed in claim 14 is characterized in that: above-mentioned first color is a reddish blue and above-mentioned second color is a green.
19. the device that produces instant anaglyph that is applicable to as claimed in claim 18 is characterized in that: above-mentioned stereopsis can be that a reddish blue eyeglass and another are that glasses of a green len are watched to produce depth perception by having a glance.
20. the device that produces instant anaglyph that is applicable to as claimed in claim 1 is characterized in that: if a three-dimensional enable signal is set, then make above-mentioned stereo-picture generator can produce above-mentioned colour filter left-eye images and above-mentioned colour filter right-eye image.
CN 02106966 2002-03-11 2002-03-11 Apparatus suitable for producing real-time stereoscopic video Expired - Fee Related CN1236405C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 02106966 CN1236405C (en) 2002-03-11 2002-03-11 Apparatus suitable for producing real-time stereoscopic video

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 02106966 CN1236405C (en) 2002-03-11 2002-03-11 Apparatus suitable for producing real-time stereoscopic video

Publications (2)

Publication Number Publication Date
CN1444186A true CN1444186A (en) 2003-09-24
CN1236405C CN1236405C (en) 2006-01-11

Family

ID=27810945

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 02106966 Expired - Fee Related CN1236405C (en) 2002-03-11 2002-03-11 Apparatus suitable for producing real-time stereoscopic video

Country Status (1)

Country Link
CN (1) CN1236405C (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102780903A (en) * 2012-05-31 2012-11-14 新奥特(北京)视频技术有限公司 Method for regulating effect of three-dimensional (3D) image through filtering display of left eye image and right eye image
WO2012159440A1 (en) * 2011-05-24 2012-11-29 未序网络科技(上海)有限公司 Internet-based method and system for transcoding stereo video in real time on serving end
CN103150756A (en) * 2012-02-22 2013-06-12 林善红 Digital city three dimensional (3D) active stereo display system and manufacture method thereof
CN107230415A (en) * 2017-06-29 2017-10-03 清华大学 3D stereoscopic drawing methods for the space diagram of classroom instruction

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2012159440A1 (en) * 2011-05-24 2012-11-29 未序网络科技(上海)有限公司 Internet-based method and system for transcoding stereo video in real time on serving end
CN103150756A (en) * 2012-02-22 2013-06-12 林善红 Digital city three dimensional (3D) active stereo display system and manufacture method thereof
CN102780903A (en) * 2012-05-31 2012-11-14 新奥特(北京)视频技术有限公司 Method for regulating effect of three-dimensional (3D) image through filtering display of left eye image and right eye image
CN107230415A (en) * 2017-06-29 2017-10-03 清华大学 3D stereoscopic drawing methods for the space diagram of classroom instruction
CN107230415B (en) * 2017-06-29 2019-08-16 清华大学 The 3D stereoscopic drawing method of space diagram for classroom instruction

Also Published As

Publication number Publication date
CN1236405C (en) 2006-01-11

Similar Documents

Publication Publication Date Title
US6956964B2 (en) Apparatus for producing real-time anaglyphs
JP4098235B2 (en) Stereoscopic image processing apparatus and method
US8587638B2 (en) Supporting a 3D presentation
US8890892B2 (en) System and method for steganographic image display
KR101651442B1 (en) Image based 3d video format
WO2001069944A2 (en) Method and apparatus for eliminating cross talk in stereoscopic images
WO2010084724A1 (en) Image processing device, program, image processing method, recording method, and recording medium
US20090219283A1 (en) Non-linear depth rendering of stereoscopic animated images
US20100289877A1 (en) Method and equipment for producing and displaying stereoscopic images with coloured filters
CN104112275B (en) A kind of method and device for generating viewpoint
CN102014293B (en) Three-dimensional rendering method of plane video
KR20230103379A (en) Method and apparatus for processing augmented reality
EP2309463A2 (en) Method of displaying a 3D video with insertion of a graphic item and terminal for implementing the method
JP5396877B2 (en) Image processing apparatus, program, image processing method, and recording method
TW201114245A (en) Method for forming three-dimension images and related display module
Li et al. Anaglyph image generation by matching color appearance attributes
CN1236405C (en) Apparatus suitable for producing real-time stereoscopic video
CN102474634B (en) Model amendment $$$$ image is shown for 3-dimensional
US20130113795A1 (en) Method for generating multi-view images from a single image
Chen et al. A method of stereoscopic display for dynamic 3D graphics on android platform
TW550519B (en) Device for generating real-time anaglyph
CN106547557A (en) A kind of multi-screen interactive exchange method based on virtual reality and bore hole 3D
JP4138451B2 (en) Display apparatus and method
CN109151434B (en) 3D display control method, system, storage medium and 3D display system
Klimenko et al. Crosstalk reduction in passive stereo-projection systems.

Legal Events

Date Code Title Description
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
C17 Cessation of patent right
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20060111