[go: up one dir, main page]

CN1254773C - Device and method for generating interlaced stereoscopic images - Google Patents

Device and method for generating interlaced stereoscopic images Download PDF

Info

Publication number
CN1254773C
CN1254773C CN 02121909 CN02121909A CN1254773C CN 1254773 C CN1254773 C CN 1254773C CN 02121909 CN02121909 CN 02121909 CN 02121909 A CN02121909 A CN 02121909A CN 1254773 C CN1254773 C CN 1254773C
Authority
CN
China
Prior art keywords
eye image
image
eye
dwindles
dwindle
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.)
Expired - Fee Related
Application number
CN 02121909
Other languages
Chinese (zh)
Other versions
CN1462981A (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 02121909 priority Critical patent/CN1254773C/en
Publication of CN1462981A publication Critical patent/CN1462981A/en
Application granted granted Critical
Publication of CN1254773C publication Critical patent/CN1254773C/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Controls And Circuits For Display Device (AREA)
  • Testing, Inspecting, Measuring Of Stereoscopic Televisions And Televisions (AREA)

Abstract

A device for generating an interlaced stereoscopic image mainly comprises a stereoscopic image engine, an interlaced data processor and a counter. The stereoscopic image engine generates a reduced left-eye image and a reduced right-eye image of a stereoscopic image based on a video source data, wherein the dimensions of the reduced left-eye image and the reduced right-eye image in the vertical direction are reduced compared to the video source data. The interleaved data processor stores the reduced left-eye image and the reduced right-eye image in two adjacent memory segments, and scans the two adjacent memory segments when displaying the stereoscopic image. The counter controls the row number of the display area, so that the rows of the reduced left eye image and the reduced right eye image can reach the display area in an interlaced mode. The invention also discloses a method for generating the interlaced three-dimensional image.

Description

交错式立体影像的产生装置及方法Device and method for generating interlaced stereoscopic images

技术领域technical field

本发明涉及一种立体影像的产生装置与方法,特别涉及一种交错式立体影像的产生装置与方法。The invention relates to a device and method for generating a stereoscopic image, in particular to a device and method for generating an interlaced stereoscopic image.

背景技术Background technique

人类之所以拥有立体的视觉,是因为人类的双眼可以各自独立察知外界的景物,即左眼看到左眼的景物,右眼看到右眼的景物,两者之间有着角度上的差距,而后再经过大脑的自然融合(fusing),即可于大脑中呈现立体的景物。The reason why human beings have stereoscopic vision is that the human eyes can perceive the external scene independently, that is, the left eye sees the left eye scene, the right eye sees the right eye scene, there is a difference in angle between the two, and then Through the natural fusing of the brain, a three-dimensional scene can be presented in the brain.

3D立体显示器(3D stereo display)是以让左、右眼分别看到具有一角度差的缩小左眼影像与缩小右眼影像的方式,来让观赏者看到立体的影像。为达到此目的,一种作法为让显示器交替地显示缩小左眼影像与缩小右眼影像,观赏者则戴上一液晶眼镜(LCD shutter glasses),其左右镜片可交替地允许光线通过,且切换的动作与显示器的垂直回扫(vertical retrace)同步。如此,当切换的频率高到某一程度后,观赏者即可观赏到立体的影像。3D stereo display (3D stereo display) is to allow the left and right eyes to see the reduced left-eye image and the reduced right-eye image with an angle difference respectively, so that the viewer can see the three-dimensional image. In order to achieve this goal, one method is to let the display alternately display the reduced left-eye image and the reduced right-eye image, and the viewer wears a pair of LCD shutter glasses, the left and right lenses of which can alternately allow light to pass through, and switch The action of the display is synchronized with the vertical retrace of the display. In this way, when the switching frequency reaches a certain level, the viewer can watch the stereoscopic image.

由于显示立体影像需要较快的运算能力与较大的影像储存空间,因此在现有技术中,多种技术已被发展出来,以加快立体影像的数据运算速度,或是减少显示立体影像所需要存储器空间。例如,交错显示技术(interlace display technique)是将缩小左眼影像显示于显示器的奇数列,缩小右眼影像则显示于显示器的偶数列。如此,缩小左眼影像与缩小右眼影像的数据量均可减少为原本整个影像的一半。Since displaying stereoscopic images requires faster computing power and larger image storage space, in the prior art, a variety of technologies have been developed to speed up the data computing speed of stereoscopic images or reduce the need for displaying stereoscopic images. memory space. For example, the interlace display technique is to display the reduced left-eye image on the odd-numbered columns of the display, and the reduced right-eye image to display on the even-numbered columns of the display. In this way, the amount of data of the reduced left-eye image and the reduced right-eye image can be reduced to half of the original entire image.

请参照图1,以分辨率为10×10的显示器8(即,显示画面总共有10列)为例,当运用交错显示技术时,视频存储器(video memory)1储存了两个影像数据大小为10×5的缩小左眼影像11与缩小右眼影像12。在显示缩小左眼影像时,缩小左眼影像11的各列分别显示于显示器的第1、3、5、7及9列上,第2、4、6、8及10列则可为空白。相似地,在显示缩小右眼影像时,缩小右眼影像12的各列分别显示于显示器的第2、4、6、8及10列上,第1、3、5、7及9列可为空白。交错显示技术尚有多种不同的实施方式,例如列空白(line-blanking)与双重同步(sync-doubling)等。Please refer to FIG. 1, take a display 8 with a resolution of 10×10 (that is, there are 10 columns in the display screen) as an example, when the interlaced display technology is used, the video memory (video memory) 1 stores two image data with a size of 10×5 reduced left-eye image 11 and reduced right-eye image 12 . When displaying the reduced left-eye image, the columns of the reduced left-eye image 11 are displayed on the 1st, 3rd, 5th, 7th and 9th columns of the display, and the 2nd, 4th, 6th, 8th and 10th columns can be blank. Similarly, when displaying the reduced right-eye image, each row of the reduced right-eye image 12 is displayed on the 2nd, 4th, 6th, 8th and 10th row of the display, and the 1st, 3rd, 5th, 7th and 9th row can be blank. There are many different implementations of the interlaced display technology, such as line-blanking and sync-doubling.

然而,在现有技术中,以交错显示技术来显示3D影像时,缩小左眼影像与缩小右眼影像需事先处理。当欲实时且快速地产生3D立体影像,例如连续地产生3D动画的各个页框时,使用软件来实现交错显示技术会有反应速度过慢而导致画面闪烁(flickering)的问题。因此,如何加快交错显示技术的实时处理速度,已为一有待解决的重要课题。However, in the prior art, when displaying 3D images with the interlaced display technology, the left-eye image and the right-eye image need to be processed in advance. When a 3D stereoscopic image is to be generated quickly and in real time, for example, each page frame of a 3D animation is continuously generated, using software to implement the interlaced display technology has a problem that the response speed is too slow, resulting in flickering. Therefore, how to speed up the real-time processing speed of the interlaced display technology has become an important issue to be solved.

发明内容Contents of the invention

针对上述问题,本发明的目的为提供一种交错式立体影像的产生装置及方法,其能够加快交错式立体影像的实时处理速度,同时减少显示3D立体影像时所需的存储器。In view of the above problems, the object of the present invention is to provide a device and method for generating an interlaced stereoscopic image, which can accelerate the real-time processing speed of the interlaced stereoscopic image and reduce the memory required for displaying 3D stereoscopic images.

为达上述目的,依本发明的交错式立体影像的产生装置主要包括一立体影像引擎、一交错数据处理器以及一计数器。立体影像引擎基于一视频源数据产生一立体影像的一缩小左眼影像与一缩小右眼影像,缩小左眼影像与缩小右眼影像在垂直方向上的尺寸相较于视频源数据被缩小。交错数据处理器将缩小左眼影像与缩小右眼影像储存于两相邻的存储节段中,并于显示立体影像时扫描此两存储节段。计数器控制一显示区域的列号码,使缩小左眼影像与缩小右眼影像的各列能够以交错的方式抵达显示区域。To achieve the above purpose, the device for generating interlaced stereoscopic images according to the present invention mainly includes a stereoscopic image engine, an interlaced data processor and a counter. The stereoscopic image engine generates a reduced left-eye image and a reduced right-eye image of a stereoscopic image based on a video source data, and the vertical dimensions of the reduced left-eye image and the reduced right-eye image are reduced compared with the video source data. The interleaved data processor stores the reduced left-eye image and the reduced right-eye image in two adjacent storage segments, and scans the two storage segments when displaying stereoscopic images. The counter controls the number of columns in a display area, so that the columns of the reduced left-eye image and the reduced right-eye image can arrive at the display area in a staggered manner.

缩小左眼影像与缩小右眼影像于垂直方向上的尺寸可被缩小成显示区域于垂直方向上的尺寸的一半。缩小左眼影像与缩小右眼影像于水平方向上的尺寸则可与显示区域于水平方向上的尺寸相同。The vertical size of the reduced left-eye image and the reduced right-eye image can be reduced to half of the vertical size of the display area. The size of the reduced left-eye image and the reduced right-eye image in the horizontal direction may be the same as the size of the display area in the horizontal direction.

交错式立体影像的产生装置可还包括一存储装置,其储存前述的缩小左眼影像与缩小右眼影像。此存储装置可具有两个页框缓冲区,其一储存目前显示中的缩小左眼影像与缩小右眼影像,另一则储存接着显示的缩小左眼影像与缩小右眼影像。存储装置可采用动态随机存取存储器(DRAM)或同步动态随机存取存储器(SDRAM)等。The interlaced stereoscopic image generating device may further include a storage device for storing the aforementioned reduced left-eye image and reduced right-eye image. The storage device may have two frame buffers, one of which stores the reduced left-eye image and the reduced right-eye image currently being displayed, and the other stores the reduced left-eye image and reduced right-eye image to be displayed next. The storage device can be a dynamic random access memory (DRAM) or a synchronous dynamic random access memory (SDRAM).

显示区域可位于一设有微延迟器(micro-retarder)的显示器。微延迟器使显示区域的奇数列与偶数列的极化方向不同。如此,透过一左右镜片极化方向不同的极化眼镜,观赏者的左右眼将可看到不同的影像,即,左眼仅看到左眼影像,右眼仅看到右眼影像。The display area can be located on a display with a micro-retarder. The micro-retarder makes the odd and even columns of the display area have different polarization directions. In this way, through a pair of polarized glasses with different polarization directions of the left and right lenses, the left and right eyes of the viewer can see different images, that is, the left eye only sees the left eye image, and the right eye only sees the right eye image.

依本发明的交错式立体影像的产生方法,一立体影像的缩小左眼影像与缩小右眼影像在产生后被储存于两相邻的存储节段中。当显示立体影像时,此两存储节段被扫描。通过控制一显示区域的一列号码,本发明所提供的方法使缩小左眼影像与缩小右眼影像的各列能够以交错方式抵达显示区域。According to the method for generating an interlaced stereoscopic image of the present invention, the reduced left-eye image and the reduced right-eye image of a stereoscopic image are stored in two adjacent storage segments after generation. When displaying stereoscopic images, the two storage segments are scanned. By controlling a column number of a display area, the method provided by the present invention enables the columns of the reduced left-eye image and the reduced right-eye image to reach the display area in an alternate manner.

在开始扫瞄存储节段之前,控制列号码的计数器被归零。在显示缩小左眼影像或缩小右眼影像的其中一列之前,记数器则被加一。Before starting to scan the memory segment, the counter that controls the column number is reset to zero. The counter is incremented by one before displaying one of the columns of the reduced left-eye image or the reduced right-eye image.

当存储装置具有两个页框缓冲区时,在准备立体影像前,本发明所提供的方法可先决定在哪一个页框缓冲区储存处理中的立体影像。在存储节段的扫描结束后,本发明所提供的方法亦可判断是否切换至另一页框缓冲区。When the storage device has two frame buffers, before preparing the stereoscopic image, the method provided by the present invention can first determine which frame buffer is used to store the stereoscopic image being processed. After the scanning of the storage segment ends, the method provided by the present invention can also determine whether to switch to another frame buffer.

由于本发明以硬件的架构来实现交错式立体影像的显示,并通过将左眼影像与右眼影像储存于相邻的存储器节段,以及控制显示区域的列号码的方式来处理与显示立体影像,故影像处理与显示的效率可被提升,同时减少了存储器的使用量。Because the present invention implements the display of the interlaced stereoscopic image with a hardware framework, and processes and displays the stereoscopic image by storing the left-eye image and the right-eye image in adjacent memory segments and controlling the column number of the display area , so the efficiency of image processing and display can be improved, and the usage of memory can be reduced at the same time.

附图说明Description of drawings

下面结合附图及实施例对本发明进行详细说明:Below in conjunction with accompanying drawing and embodiment the present invention is described in detail:

图1为一示意图,显示现有技术中运用交错显示技术来显示立体影像的例子;FIG. 1 is a schematic diagram showing an example of using interlaced display technology to display stereoscopic images in the prior art;

图2为一方块图,显示依本发明较佳实施例的交错式立体影像产生装置的结构;FIG. 2 is a block diagram showing the structure of an interlaced stereoscopic image generating device according to a preferred embodiment of the present invention;

图3为一示意图,显示依本发明的较佳实施例中,交错式立体影像产生的过程;FIG. 3 is a schematic diagram showing the process of interlaced stereoscopic image generation in a preferred embodiment of the present invention;

图4为一流程图,显示依本发明较佳实施例的交错式立体影像的产生中,储存立体影像至存储装置的流程;FIG. 4 is a flowchart showing the process of storing a stereoscopic image to a storage device in the generation of an interlaced stereoscopic image according to a preferred embodiment of the present invention;

图5为一流程图,显示依本发明较佳实施例的交错式立体影像的产生中,显示立体影像至显示器的流程。FIG. 5 is a flowchart showing the process of displaying a stereoscopic image to a display in the generation of an interlaced stereoscopic image according to a preferred embodiment of the present invention.

图中符号说明:Explanation of symbols in the figure:

1         存储装置1 storage device

11        缩小左眼影像11 Zoom out left eye image

11a       缩小左眼影像11a Zoom out left eye image

11b       缩小左眼影像11b Zoom out left eye image

12        缩小右眼影像12 Zoom out the right eye image

12a       缩小右眼影像12a Zoom out the right eye image

12b       缩小右眼影像12b Zoom out the right eye image

14        视频源数据14 Video source data

2         存储装置控制器2 storage device controller

3         立体影像引擎3 Stereo image engine

4         交错数据处理器4 Interleaved data processor

401~405  立体影像的储存至存储装置的流程401~405 The process of storing the stereoscopic image to the storage device

501~511  立体影像的输出至显示器的流程501~511 The process of outputting the stereoscopic image to the display

6         计数器6 counters

8         显示器8 monitors

81        微延迟器81 Micro delayer

9         极化眼镜9 polarized glasses

具体实施方式Detailed ways

以下将参照相关附图,说明依本发明较佳实施例的交错式立体影像的产生装置及方法,其中相同的元件将以相同的参照符号加以说明。The apparatus and method for generating an interlaced stereoscopic image according to preferred embodiments of the present invention will be described below with reference to related drawings, wherein the same elements will be described with the same reference symbols.

请参照图2,依本发明较佳实施例的交错式立体影像的产生装置实施于一计算机系统中,且主要包括一存储装置1、一存储装置控制器2、一立体影像引擎(3D graphics engine)3、以及一交错数据处理器4。本装置与一显示器8以及一极化眼镜(polarized glasses)9配合。显示器8设有一微延迟器(micro-retarder)81。Please refer to Fig. 2, the generation device of the interlaced stereoscopic image according to the preferred embodiment of the present invention is implemented in a computer system, and mainly includes a storage device 1, a storage device controller 2, a stereoscopic image engine (3D graphics engine ) 3, and an interleaved data processor 4. The device cooperates with a display 8 and with polarized glasses 9 . The display 8 is provided with a micro-retarder 81 .

存储装置1可为任何一种能够储存影像数据的装置。例如动态随机存取存储器(DRAM)或同步动态随机存取存储器(SDRAM)等。在本实施中,存储装置1具有两个页框缓冲区,即页框缓冲区A与页框缓冲区B。当拨放立体动画时,页框缓冲区A储存目前正在显示的页框的缩小左眼影像11a与缩小右眼影像12a,页框缓冲区B则储存下一个准备要显示的页框的缩小左眼影像11b与缩小右眼影像12b。The storage device 1 can be any device capable of storing image data. For example, dynamic random access memory (DRAM) or synchronous dynamic random access memory (SDRAM). In this implementation, the storage device 1 has two page frame buffers, namely page frame buffer A and page frame buffer B. When playing the stereoscopic animation, the page frame buffer A stores the reduced left-eye image 11a and the reduced right-eye image 12a of the currently displayed page frame, and the page frame buffer B stores the reduced left-eye image of the next page frame to be displayed. Eye image 11b and reduced right eye image 12b.

存储装置控制器2控制存储装置1中的数据存取与搬移动作,其可接受并解译(interpret)其它元件的请求,以及确认数据在存储装置中的地址,以便由存储装置读取数据,或写入数据至存储装置中。The storage device controller 2 controls the data access and movement actions in the storage device 1, which accepts and interprets (interpret) the requests of other components, and confirms the address of the data in the storage device, so that the data is read by the storage device, Or write data to the storage device.

立体影像引擎3接收经由总线所传送的视频源数据(video sourcedata),并将其转换为具有角度差的缩小左眼影像与缩小右眼影像。立体影像引擎3可为一般设置于显示卡上,用以处理3D图形的微处理器,或是具有类似功能的软件或硬件模块。The stereoscopic image engine 3 receives the video source data transmitted via the bus, and converts it into reduced left-eye images and reduced right-eye images with angle differences. The stereoscopic image engine 3 can be a microprocessor generally disposed on a display card for processing 3D graphics, or a software or hardware module with similar functions.

在本实施中,显示器8的屏幕上设有一微延迟器(micro retarder)81,使得显示器的屏幕上奇数列与偶数列的极化方向不同。当观看显示器所显示画面时,观赏者戴着一极化眼镜(polarized glasses)9。极化眼镜9的左右镜片的极化方向不同,使得观赏者的左眼仅接收到奇数列的影像,右眼仅接收到偶数列的影像。需注意的是,显示器8为具微延迟器的LCD显示器,并根据LCD显示器本身的规格选择模拟或数字输入信号。In this implementation, a micro retarder (micro retarder) 81 is provided on the screen of the display 8, so that the polarization directions of odd columns and even columns on the screen of the display are different. When watching the picture displayed on the monitor, the viewer wears a pair of polarized glasses (polarized glasses) 9 . The polarization directions of the left and right lenses of the polarized glasses 9 are different, so that the left eye of the viewer only receives images of odd columns, and the right eye only receives images of even columns. It should be noted that the display 8 is an LCD display with a micro delay, and an analog or digital input signal is selected according to the specifications of the LCD display itself.

交错数据处理器4透过存储装置控制器2将缩小左眼影像与缩小右眼影像储存在两个相邻的存储节段中。请参照图3,在本实施例中,在产生立体影像时,视频源数据14的几何尺寸在垂直方向上会先被缩小成原来的一半。所以在产生缩小左眼影像11与缩小右眼影像12时,所产生的缩小左眼影像11与缩小右眼影像12在垂直方向上的尺寸会仅有视频源数据14的一半。交错数据处理器4会将缩小左眼影像11与缩小右眼影像12储存在存储装置1的两个页框缓冲区之一,且储存于两个相邻的存储节段中。The interleaved data processor 4 stores the reduced left-eye image and the reduced right-eye image in two adjacent storage segments through the storage device controller 2 . Please refer to FIG. 3 , in this embodiment, when generating a stereoscopic image, the geometric size of the video source data 14 is first reduced to half in the vertical direction. Therefore, when the reduced left-eye image 11 and the reduced right-eye image 12 are generated, the vertical size of the generated reduced left-eye image 11 and reduced right-eye image 12 is only half of the video source data 14 . The interleaved data processor 4 stores the reduced left-eye image 11 and the reduced right-eye image 12 in one of the two frame buffers of the storage device 1 and in two adjacent storage segments.

当输出影像至显示器8的显示区域时,由于缩小左眼影像11与缩小右眼影像12储存在相邻的存储节段中,故缩小左眼影像11与缩小右眼影像12会以交错的方式被读取。亦即,当扫描页框缓冲区的第一列时,缩小左眼影像11的第一列会先被扫描到,接着缩小右眼影像12的第一列会被扫描。如此,当输出到显示器8时,显示器8上显示区域的第一列会显示缩小左眼影像11的第一列,显示器8上显示区域的第二列则显示缩小右眼影像12的第一列。同理,当扫描页框缓冲区的第二列时,缩小左眼影像11的第二列会先被扫描到,接着缩小右眼影像12的第二列会被扫描。如此,当输出到显示器8时,显示器8上显示区域的第三列会显示缩小左眼影像11的第二列,显示区域的第四列则显示缩小右眼影像12的第二列。When the image is output to the display area of the display 8, since the reduced left-eye image 11 and the reduced right-eye image 12 are stored in adjacent storage segments, the reduced left-eye image 11 and the reduced right-eye image 12 will be interleaved. is read. That is, when scanning the first column of the frame buffer, the first column of the reduced left-eye image 11 will be scanned first, and then the first column of the reduced right-eye image 12 will be scanned. In this way, when output to the display 8, the first column of the display area on the display 8 will display the first column of the reduced left-eye image 11, and the second column of the display area on the display 8 will display the first column of the reduced right-eye image 12 . Similarly, when scanning the second column of the frame buffer, the second column of the reduced left-eye image 11 will be scanned first, and then the second column of the reduced right-eye image 12 will be scanned. In this way, when output to the display 8 , the third column of the display area on the display 8 will display the second column of the reduced left-eye image 11 , and the fourth column of the display area will display the second column of the reduced right-eye image 12 .

在扫描页框缓冲区时,计数器6控制目前显示器8所显示的列号码,使得依先入先出(FIFO,first-in,first-out)顺序传送的影像数据得以正确地显示于显示器8。When scanning the frame buffer, the counter 6 controls the column number currently displayed on the display 8, so that the image data transmitted in the first-in-first-out (FIFO, first-in, first-out) order can be correctly displayed on the display 8 .

当扫描完页框缓冲区的各列后,显示区域所显示的画面即如图3所示,奇数列显示缩小左眼影像11的各列,偶数列则显示缩小右眼影像12的各列。如先前所述,配合微延迟器81与极化眼镜9,观赏者的左眼会仅接收到奇数列的影像,右眼则仅接收到偶数列的影像。如此,观赏者将感知到一立体的影像。After the columns of the frame buffer are scanned, the screen displayed in the display area is as shown in FIG. 3 , the odd columns display the columns for reducing the left-eye image 11 , and the even columns display the columns for reducing the right-eye image 12 . As mentioned above, with the combination of the micro-retarder 81 and the polarizing glasses 9, the viewer's left eye will only receive the odd-numbered images, and the right eye will only receive the even-numbered images. In this way, the viewer will perceive a three-dimensional image.

请参照图4,当接收到视频源数据时,立体影像引擎会先缩小视频源数据在垂直方向上的几何尺寸成原来的一半(步骤401),然后再依视频源数据中的几何信息,产生一立体影像的一缩小左眼影像与一缩小右眼影像(步骤403)。由于在产生立体影像时,视频源数据在垂直方向上的几何尺寸会被缩小,所以缩小左眼影像与缩小右眼影像均为已缩小的影像。Please refer to Fig. 4, when receiving the video source data, the stereo image engine will first reduce the geometric size of the video source data in the vertical direction to half of the original (step 401), and then generate A reduced left-eye image and a reduced right-eye image of a stereoscopic image (step 403 ). Since the geometric size of the video source data in the vertical direction is reduced when the stereoscopic image is generated, the reduced left-eye image and the reduced right-eye image are both reduced images.

由于自本实施例中,页框缓冲区是采取双缓冲区架构,所以在产生缩小左眼影像与缩小右眼影像之前,需决定在哪一个页框缓冲区中储存处理中的立体影像(步骤402)。例如,若正在显示中的立体影像是由页框缓冲区A输出,则立体影像引擎3可将处理中的影像数据储存在页框缓冲区B中。当页框缓冲区B中的影像数据处理完毕后,显示器8即可输出页框缓冲区B中的影像数据。此时立体影像引擎3可将处理中的影像数据转而储存在页框缓冲区A中。Since in this embodiment, the frame buffer adopts a double-buffer structure, so before generating the reduced left-eye image and the reduced right-eye image, it is necessary to decide which frame buffer to store the stereoscopic image in processing (step 402). For example, if the 3D image being displayed is output from the frame buffer A, the 3D image engine 3 may store the processed image data in the frame buffer B. After the image data in the frame buffer B has been processed, the display 8 can output the image data in the frame buffer B. At this time, the stereoscopic image engine 3 can store the image data being processed in the frame buffer A instead.

在决定了储存影像数据的页框缓冲区后,处理中的缩小左眼影像与缩小右眼影像即被储存在页框缓冲区中相邻的的存储节段中(步骤404)。接着,协调显示器的更新速度等因素后,若欲处理下一页框,则回到步骤401,否则结束页框的准备流程(步骤405)。After the frame buffer for storing image data is determined, the reduced left-eye image and the reduced right-eye image being processed are stored in adjacent storage segments in the frame buffer (step 404 ). Then, after coordinating factors such as the update speed of the display, if the next page frame is to be processed, return to step 401, otherwise end the page frame preparation process (step 405).

请参照图5,当显示一立体影像时,依本发明较佳实施例的交错式立体影像的产生装置首先会将记数器归零(步骤501),然后从一页框缓冲区的起始位置开始扫描(步骤502)。由于一立体影像的缩小左眼影像与缩小右眼影像是储存在相邻的存储节段中,所以当扫描页框缓冲区的第一列时,缩小左眼影像的第一列与缩小右眼影像的第一列会依序被读取。此时,先将记数器加一(步骤503)使其数字由零变为一,并依据记数器的数字将缩小左眼影像的第一列显示于显示器的第一列(步骤504);然后再将记数器加一(步骤505)使其数字由一变为二,并依据记数器的数字将缩小右眼影像的第一列显示于显示器的第二列(步骤506)。Please refer to FIG. 5, when a stereoscopic image is displayed, the interlaced stereoscopic image generating device according to a preferred embodiment of the present invention will first reset the counter to zero (step 501), and then start from the beginning of a frame buffer The location starts scanning (step 502). Since the reduced left-eye image and the reduced right-eye image of a stereoscopic image are stored in adjacent storage segments, when the first column of the page frame buffer is scanned, the first column of the reduced left-eye image and the reduced right-eye image The first column of the image will be read sequentially. At this time, first add one to the counter (step 503) to make the number change from zero to one, and display the first column of the reduced left-eye image on the first column of the display according to the number of the counter (step 504) Then add one to the counter (step 505) to make its number change from one to two, and display the first column of the reduced right-eye image on the second column of the display (step 506) according to the number of the counter.

在扫描过页框显示区的第一列后,由于页框缓冲区的扫描尚未结束(步骤507),所以页框缓冲区的下一列,即第二列会继续被扫描(步骤510),并再将记数器加一,使记数器的数字由二变成三。如此,通过扫描页框缓冲区的各列,以及以记数器来控制显示器的显示列数,缩小左眼影像与缩小右眼影像将可以逐列交错的方式显示于显示器上。After scanning the first column of the page frame display area, because the scanning of the page frame buffer has not yet ended (step 507), so the next column of the page frame buffer, that is, the second column will continue to be scanned (step 510), and Then add one to the counter so that the number in the counter changes from two to three. In this way, by scanning each column of the frame buffer and using the counter to control the number of display columns of the display, the reduced left-eye image and the reduced right-eye image can be displayed on the display in a column-by-column interlaced manner.

若页框缓冲区已扫描结束,则判断是否切换至另一页框缓冲区(步骤508)。若另一页框缓冲区中的缩小左眼影像与缩小右眼影像已准备完毕,则进行页框缓冲区的切换动作(步骤511),例如,将起始扫描的存储装置地址指针指向另一页框缓冲区的起始地址。If the page frame buffer has been scanned, it is determined whether to switch to another page frame buffer (step 508). If the reduced left-eye image and the reduced right-eye image in another frame buffer have been prepared, then the switching action of the frame buffer is performed (step 511), for example, the storage device address pointer of the initial scan is pointed to another The starting address of the page frame buffer.

若目前的页框缓冲区已扫描完毕,又不切换至另一页框缓冲区,则判断是否已拨放完毕。若不切换至另一页框缓冲区的原因,是目前的页框缓冲区中所储存的数据已是最后一个页框的数据,则结束整个流程。若不切换至另一页框缓冲区的原因,是下一页框缓冲区中的数据尚未准备好,则目前页框缓冲区中的缩小左眼影像与缩小右眼影像将再次显示于显示器。If the current page frame buffer has been scanned and is not switched to another page frame buffer, it is judged whether playback has been completed. If the reason for not switching to another page frame buffer is that the data stored in the current page frame buffer is the data of the last page frame, then the whole process is ended. If the reason for not switching to another frame buffer is that the data in the next frame buffer is not ready, then the reduced left-eye image and the reduced right-eye image in the current frame buffer will be displayed on the display again.

依据本实施例,在连续拨放多个页框,例如拨放动画时,上述图4与图5的流程可能会同时进行。换言之,本实施例所揭露的交错式立体影像的产生方法同时在一页框缓冲区准备立体影像数据,以及显示另一页框缓冲区中的影像数据至显示器。如此,可加快影像的处理速度,减少在拨放动画时影像延迟的发生机率。According to this embodiment, when playing multiple page frames continuously, such as playing animation, the above-mentioned processes in FIG. 4 and FIG. 5 may be performed simultaneously. In other words, the method for generating an interlaced stereoscopic image disclosed in this embodiment simultaneously prepares stereoscopic image data in one frame buffer and displays the image data in another frame buffer to the display. In this way, the image processing speed can be accelerated, and the occurrence probability of image delay when playing animation is reduced.

需注意的是,本领域技术人员对上述内容进行各种等效的修改与变更,而不超出本发明的精神与范畴。例如,本发明所提供的交错式立体影像的产生装置亦可实施于电视机、电子游戏机或其它任何一种具有影像显示功能的电器用品中。此外,在上述的实施例中,存储装置是采用双缓冲区结构。然而,本领域技术人员亦可采用其它的缓冲区结构,例如使用单一页框缓冲区来显示立体影像。It should be noted that those skilled in the art can make various equivalent modifications and changes to the above content without departing from the spirit and scope of the present invention. For example, the device for generating an interlaced stereoscopic image provided by the present invention can also be implemented in a television set, an electronic game machine or any other electrical appliance with image display function. In addition, in the above-mentioned embodiments, the storage device adopts a double buffer structure. However, those skilled in the art may also adopt other buffer structures, such as using a single frame buffer to display stereoscopic images.

因此,以上所述仅为举例性,而非为限制性。任何未脱离本发明的精神与范畴,而对其进行的等效修改或变更,均应包含于权利要求的范围中。Therefore, the above description is only illustrative, not restrictive. Any equivalent modification or change without departing from the spirit and scope of the present invention shall be included in the scope of the claims.

Claims (21)

1. the generation device of an interleave type stereo image comprises:
One stereopsis engine, it produces one of a stereopsis based on a video source data and dwindles left-eye images and and dwindle right-eye image, and this dwindles left-eye images and this, and to dwindle right-eye image size in vertical direction reduced compared to this video source data;
One intercrossed data processor, it dwindles left-eye images and this with this and dwindles right-eye image and be stored in the two adjacent storage sections, and scans this storage sections when showing this stereopsis;
One counter, the column number that it controls a viewing area makes this dwindle left-eye images and this each row that dwindles right-eye image can arrive at this viewing area with interlace mode; And
One memory storage, it stores this and dwindles left-eye images and this dwindles right-eye image.
2. the generation device of interleave type stereo image as claimed in claim 1 is characterized in that: this dwindles left-eye images and dwindles right-eye image with this and become half of the size of this viewing area on vertical direction in the size on the vertical direction is reduced.
3. the generation device of interleave type stereo image as claimed in claim 1 is characterized in that: this dwindle left-eye images and this dwindle right-eye image in the size on the horizontal direction and this viewing area measure-alike on horizontal direction.
4. the generation device of interleave type stereo image as claimed in claim 1, it is characterized in that: this memory storage has a page frame buffer zone, and this dwindles left-eye images and this and dwindles right-eye image and be stored in this page frame buffer zone.
5. the generation device of interleave type stereo image as claimed in claim 1, it is characterized in that: this memory storage has two page frame buffer zones, dwindling left-eye images and dwindling right-eye image during one of this page frame buffer zone stores and shows at present, another of this page frame buffer zone store dwindling left-eye images and dwindling right-eye image of then showing.
6. the generation device of interleave type stereo image as claimed in claim 1 is characterized in that: also comprise: a storage controller, its control in this memory storage data access with move action.
7. the generation device of interleave type stereo image as claimed in claim 1, it is characterized in that: this memory storage comprises a dynamic RAM.
8. the generation device of interleave type stereo image as claimed in claim 1, it is characterized in that: this memory storage comprises a synchronous dynamic RAM.
9. the generation device of interleave type stereo image as claimed in claim 1, it is characterized in that: this viewing area is positioned at a display, and this display is provided with a little delayer, makes the odd column of this viewing area different with the polarised direction of even column.
10. computer system comprises:
One memory storage, it has at least one page frame buffer zone;
One storage controller;
One stereopsis engine, it produces one of a stereopsis based on a video source data and dwindles left-eye images and and dwindle right-eye image, and this dwindles left-eye images and this, and to dwindle right-eye image size in vertical direction reduced compared to this video source data size in vertical direction;
One intercrossed data processor, it sees through this storage controller and will dwindle left-eye images at this and dwindle right-eye image with this and be stored in two adjacent in this page frame buffer zone storage sections, and scans this storage sections when this stereopsis of demonstration; And
One counter, the column number that it controls a viewing area makes this dwindle left-eye images and this each row that dwindles right-eye image can arrive at this viewing area with interlace mode in through after the conversion of this numeral/digital quantizer.
11. computer system as claimed in claim 10 is characterized in that: the number of the page frame buffer zone that this memory storage had is two.
12. computer system as claimed in claim 10 is characterized in that: this memory storage comprises a dynamic RAM.
13. computer system as claimed in claim 10 is characterized in that: this memory storage comprises a synchronous dynamic RAM.
14. computer system as claimed in claim 10 is characterized in that: also comprise:
One display, this viewing area is positioned at this display, and this display is provided with a little delayer, makes the odd column of this viewing area different with the polarised direction of even column.
15. the production method of an interleave type stereo image comprises:
Produce one of a stereopsis based on a video source data and dwindle left-eye images and and dwindle right-eye image, this dwindles left-eye images and this, and to dwindle right-eye image size in vertical direction reduced compared to this video source data;
This is dwindled left-eye images and this dwindles right-eye image and is stored in the two adjacent storage sections; And
Scan this storage sections, and the column number by control one viewing area, each that makes this dwindle that left-eye images dwindles right-eye image with this is listed as and can arrives at this viewing area with interlace mode.
16. the production method of interleave type stereo image as claimed in claim 15 is characterized in that: this dwindles left-eye images and dwindles right-eye image with this and become half of the size of this viewing area on vertical direction in the size on the vertical direction is reduced.
17. the production method of interleave type stereo image as claimed in claim 15 is characterized in that: this dwindle left-eye images and this dwindle right-eye image in the size on the horizontal direction and this viewing area measure-alike on horizontal direction.
18. the production method of interleave type stereo image as claimed in claim 15 is characterized in that: also comprise:
The stereopsis of decision in which page frame buffer zone storage is handled.
19. the production method of interleave type stereo image as claimed in claim 15 is characterized in that: this column number is to control by a counter.
20. the production method of interleave type stereo image as claimed in claim 19 is characterized in that: this step of controlling this column number comprises:
Before beginning to scan this storage sections, this counter is made zero; And
Show this dwindle left-eye images maybe this dwindle wherein row of right-eye image before, this register is added one.
21. the production method of interleave type stereo image as claimed in claim 15 is characterized in that: this adjacent storage sections is arranged in a page frame buffer zone, and this method also comprises:
Behind the end of scan of this storage sections, judge whether to switch to another page frame buffer zone.
CN 02121909 2002-05-27 2002-05-27 Device and method for generating interlaced stereoscopic images Expired - Fee Related CN1254773C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 02121909 CN1254773C (en) 2002-05-27 2002-05-27 Device and method for generating interlaced stereoscopic images

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 02121909 CN1254773C (en) 2002-05-27 2002-05-27 Device and method for generating interlaced stereoscopic images

Publications (2)

Publication Number Publication Date
CN1462981A CN1462981A (en) 2003-12-24
CN1254773C true CN1254773C (en) 2006-05-03

Family

ID=29743079

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 02121909 Expired - Fee Related CN1254773C (en) 2002-05-27 2002-05-27 Device and method for generating interlaced stereoscopic images

Country Status (1)

Country Link
CN (1) CN1254773C (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4361435B2 (en) * 2004-07-14 2009-11-11 株式会社エヌ・ティ・ティ・ドコモ Moving picture decoding method, moving picture decoding program, moving picture decoding apparatus, moving picture encoding method, moving picture encoding program, and moving picture encoding apparatus
CN102300103B (en) * 2010-06-25 2013-08-14 深圳Tcl新技术有限公司 Method for converting 2D (Two-Dimensional) content into 3D (Three-Dimensional) contents
CN102137268B (en) * 2011-04-08 2013-01-30 清华大学 Line-staggered and tessellated rendering method and device for three-dimensional video
CN102780901B (en) * 2012-05-02 2017-04-12 新奥特(北京)视频技术有限公司 Method for optimizing memory in three-dimensional (3D) television
CN103428463B (en) * 2012-05-19 2016-10-12 腾讯科技(深圳)有限公司 3D video source stores method and apparatus and 3D video broadcasting method and device
CN105243999A (en) * 2014-07-10 2016-01-13 捷达创新股份有限公司 Driving display method of liquid crystal display

Also Published As

Publication number Publication date
CN1462981A (en) 2003-12-24

Similar Documents

Publication Publication Date Title
JP5426078B2 (en) Time-division stereoscopic video display apparatus and driving method thereof
CN1290326C (en) Motion and edge-adaptive signal frame frequency up-conversion method and system
CN1741621A (en) Method of generating a stereoscopic image signal and method of scaling the signal
CN102427549A (en) Method for reducing picture crosstalk of 3D television
US20120120190A1 (en) Display device for use in a frame sequential 3d display system and related 3d display system
CN102291587A (en) Full high-definition 3D (Three Dimensional) video processing method
CN1607840A (en) Apparatus and method for generating 3D image signal using space-division method
CN1254773C (en) Device and method for generating interlaced stereoscopic images
US7034819B2 (en) Apparatus and method for generating an interleaved stereo image
CN1160969C (en) Method and circuit arrangement for image format conversion of three-dimensional electronic images produced by line polarization
CN1367611A (en) Three-dimensional video image digital coding method
EP2309766A2 (en) Method and system for rendering 3D graphics based on 3D display capabilities
US20080094468A1 (en) Method for displaying stereoscopic image and display system thereof
US20120120191A1 (en) Image processor for use in a frame sequential 3d display system and related 3d display system
CN1136520C (en) Frame synchronizing and frequency doubling treatment method
CN1822657A (en) Method and device for displaying frame rate converted video on interlaced display device
CN117424989A (en) Image data processing method, device, electronic equipment and readable storage medium
US8896615B2 (en) Image processing device, projector, and image processing method
CN102843565B (en) A kind of 2D image turns the method for 3D rendering
CN102256152B (en) Equipment and method for processing three-dimensional image
CN101193322B (en) Stereoscopic image display method and display system applying same
TWI280044B (en) Methods and apparatus for generating an interleaved stereo image
CN117119164B (en) Video display method, display device, storage medium and television
KR102492367B1 (en) Image data generating method and stereoscopic image display system using the same
JP2010087720A (en) Device and method for signal processing that converts display scanning method

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: 20060503