KR20100095321A - Method and apparatus for generating 3d graphics - Google Patents
Method and apparatus for generating 3d graphics Download PDFInfo
- Publication number
- KR20100095321A KR20100095321A KR1020090014542A KR20090014542A KR20100095321A KR 20100095321 A KR20100095321 A KR 20100095321A KR 1020090014542 A KR1020090014542 A KR 1020090014542A KR 20090014542 A KR20090014542 A KR 20090014542A KR 20100095321 A KR20100095321 A KR 20100095321A
- Authority
- KR
- South Korea
- Prior art keywords
- graphic
- generating
- graphics
- configuration information
- dimensional
- Prior art date
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T15/00—3D [Three Dimensional] image rendering
Landscapes
- Engineering & Computer Science (AREA)
- Computer Graphics (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Processing Or Creating Images (AREA)
- Testing, Inspecting, Measuring Of Stereoscopic Televisions And Televisions (AREA)
Abstract
Description
본 발명은 3차원 그래픽 생성 방법 및 장치에 대한 것으로, 보다 구체적으로 2차원 그래픽을 생성하기 위한 자바 어플리케이션을 실행하여 3차원 그래픽을 생성하는 방법 및 장치에 대한 것이다. The present invention relates to a method and apparatus for generating 3D graphics, and more particularly, to a method and apparatus for generating 3D graphics by executing a Java application for generating 2D graphics.
디지털 기술의 발달로 3차원 영상 기술이 널리 보급되고 있다. 3차원 영상 기술은 2차원 영상에 깊이에 대한 정보를 부여하여 보다 사실적인 영상을 표현하는 기술로서 현장에서 실물을 보는 듯한 사실감, 현실감을 제공하여 통신, 게임, 의료, 방송 등 다양한 분야에서 응용되고 있다. With the development of digital technology, three-dimensional image technology has been widely used. 3D image technology is a technology that expresses more realistic image by giving depth information to 2D image, and it is applied in various fields such as communication, game, medical, and broadcasting by providing realism and reality as if seeing the real thing in the field. have.
사람의 눈은 가로 방향으로 소정 거리만큼 떨어져 있으므로 좌안과 우안이 보는 2차원 영상이 서로 다른데 이를 양안시차라고 한다. 뇌는 서로 다른 두 개의 2차원 영상을 융합하여 원근감과 실재감이 있는 3차원 영상을 생성한다. 양안시차를 이용하여 3차원 영상을 구현하는 방법에는 안경을 착용하는 방법과, 안경을 착용하지 않고 렌티큘라 렌즈(lenticular lens), barallax barrier, barallax illumination 등이 구비된 장치를 이용하는 방법이 있다. Since the human eye is separated by a predetermined distance in the horizontal direction, the two-dimensional images seen by the left and right eyes are different from each other. This is called binocular disparity. The brain fuses two different two-dimensional images to produce a three-dimensional image with perspective and reality. Methods of implementing a 3D image using binocular disparity include a method of wearing glasses and a method of using a device having a lenticular lens, a barallax barrier, a barallax illumination, and the like without wearing the glasses.
본 발명은 2차원 그래픽을 생성하기 위한 자바 어플리케이션을 실행하여 3차원 그래픽을 생성하는 방법 및 장치를 제공하기 위한 것이다. The present invention provides a method and apparatus for generating three-dimensional graphics by executing a Java application for generating two-dimensional graphics.
상기 과제를 해결하기 위해 본 발명의 일 측면에 따르면, 3차원 그래픽을 생성할 수 있는지를 판단하는 단계, 상기 3차원 그래픽을 생성할 수 있는 경우, 뎁쓰 정보를 추출하는 단계, 2차원 그래픽 구성 정보와 상기 뎁쓰 정보를 이용하여 3차원 그래픽 구성 정보를 생성하는 단계 및 상기 3차원 그래픽 구성 정보를 이용하여 좌, 우안용 그래픽을 생성하는 단계를 포함하는 3차원 그래픽을 생성하는 방법을 제공할 수 있다.According to an aspect of the present invention to solve the above problems, determining whether to generate a three-dimensional graphics, if the three-dimensional graphics can be generated, extracting depth information, two-dimensional graphics configuration information And generating 3D graphic configuration information by using the depth information, and generating left and right eye graphics using the 3D graphic configuration information. .
바람직한 실시 예에서, 상기 3차원 그래픽을 생성할 수 있는지를 판단하는 단계는 재생 장치 내의 재생 장치 설정 값 저장용 메모리 영역으로부터 3차원 그래픽 생성 가능 여부 플래그를 추출하는 단계 및 상기 3차원 그래픽 생성 가능 여부 플래그를 이용하여 상기 3차원 그래픽을 생성할 수 있는지를 판단하는 단계를 포함할 수 있다. 또한, 상기 뎁쓰 정보를 추출하는 단계는 재생 장치 내의 재생 상태 저장용 메모리 영역으로부터 상기 뎁쓰 정보를 추출하는 단계를 포함할 수 있다. In a preferred embodiment, the determining of whether the 3D graphic can be generated may include extracting a 3D graphic possibility flag from a memory area for storing a setting value of a playback device in a playback device, and whether the 3D graphic can be generated. The method may include determining whether the 3D graphic can be generated using a flag. The extracting of the depth information may include extracting the depth information from a memory area for reproducing state storage in a reproducing apparatus.
또한, 상기 뎁쓰 정보를 추출하는 단계 이전에, 매체에 기록된 그래픽 표시용 어플리케이션에 포함된 재생상태 저장용 메모리 영역 값 변경 API를 이용하여 상기 메모리 영역에 상기 뎁쓰 정보를 저장하는 단계를 더 포함 할 수 있다. 또한, 상기 3차원 그래픽 구성 정보는 좌안용 그래픽 구성 정보 및 우안용 그래픽 구성 정보를 포함하고, 상기 3차원 그래픽 구성 정보를 생성하는 단계는 상기 2차원 그 래픽 구성 정보로부터 그래픽 출력 위치 값을 추출하는 단계 및 상기 뎁쓰 정보를 이용하여 상기 그래픽 출력 위치 값을 제1 위치 값 및 제2 위치 값으로 변환하고, 상기 제1 및 제2 위치 값 중 하나씩을 포함하는 상기 좌안용 및 우안용 그래픽 구성 정보를 생성하는 단계를 포함 할 수 있다. The method may further include storing the depth information in the memory area by using the reproduction state storage memory area value changing API included in the graphic display application recorded on the medium before extracting the depth information. Can be. The 3D graphic configuration information may include left eye graphic configuration information and right eye graphic configuration information. The generating of the 3D graphic configuration information may include extracting a graphic output position value from the 2D graphic configuration information. Converting the graphic output position value into a first position value and a second position value using the depth information, and converting the left eye and right eye graphic configuration information including one of the first and second position values. It may include the step of generating.
또한, 상기 좌안용 및 우안용 그래픽 구성 정보를 생성하는 단계는 재생 장치 내의 재생 상태 저장용 메모리 영역으로부터, 상기 좌, 우안용 그래픽이 양의 시차로 생성되어야 하는지 음의 시차로 생성되어야 하는지를 나타내는 시차 표시 플래그를 추출하는 단계 및 상기 시차 표시 플래그에 따라, 상기 제1 및 제2 위치 값 중 상기 좌안용 및 우안용 그래픽 구성 정보에 각각 포함될 위치 값을 정하는 단계를 포함 할 수 있다. The generating of the left and right eye graphic configuration information may further include disparity indicating whether the left and right eye graphics should be generated with a positive parallax or a negative parallax from a memory area for storing a playback state in a playback device. The method may include extracting a display flag and determining a position value to be included in the left eye and right eye graphic configuration information of the first and second position values, respectively, according to the disparity display flag.
또한, 상기 시차 표시 플래그를 추출하는 단계 이전에, 매체에 기록된 그래픽 표시용 어플리케이션에 포함된 재생상태 저장용 메모리 영역 값 변경 API를 이용하여 상기 메모리 영역에 상기 시차 표시 플래그를 저장하는 단계를 더 포함 할 수 있다. The method may further include storing the parallax indication flag in the memory area by using a reproduction state storage memory area value changing API included in a graphic display application recorded on a medium before extracting the parallax indication flag. May contain
또한, 상기 좌안용 및 우안용 그래픽 구성 정보를 생성하는 단계는 재생 장치 내의 재생 상태 저장용 메모리 영역으로부터, 상기 그래픽 데이터가 어느 시점을 기준으로 제작되었는지를 알려주는 그래픽 생성 기준 정보를 추출하는 단계를 포함 할 수 있다. The generating of the left and right eye graphic configuration information may include extracting graphic generation reference information indicating at which point in time the graphic data is produced, from a memory area for storing a playback state in a playback device. May contain
또한, 상기 그래픽 생성 기준 정보를 추출하는 단계 이전에, 매체에 기록된 그래픽 표시용 어플리케이션에 포함된 재생상태 저장용 메모리 영역 값 변경 API를 이용하여 상기 메모리 영역에 상기 그래픽 화면 생성 기준 정보 정보를 저장하는 단계를 더 포함 할 수 있다. 또한, 상기 좌, 우안용 그래픽을 생성하는 단계는 상기 좌, 우안용 그래픽을 두 개의 BD-J 그래픽 플레인에 하나씩 그리는 단계를 포함 할 수 있다. Also, before the extracting of the graphic generation reference information, the graphic screen generation reference information information is stored in the memory area by using a memory area value changing API for storing the playback state included in the graphic display application recorded on the medium. The step may further include. In addition, the generating of the left and right eye graphics may include drawing the left and right eye graphics on two BD-J graphics planes one by one.
본 발명의 다른 측면에 따르면, 2차원 그래픽을 생성하기 위한 자바 어플리케이션을 실행하여 3차원 그래픽을 생성하는 장치에 있어서, 3차원 그래픽을 생성할 수 있는지를 판단하고, 생성이 가능한 경우 뎁쓰 정보를 추출하고, 2차원 그래픽 구성 정보와 상기 뎁쓰 정보를 이용하여 3차원 그래픽 구성 정보를 생성하고, 상기 3차원 그래픽 구성 정보를 이용하여 좌, 우안용 그래픽을 생성하는 3차원 그래픽 구성 정보 처리부 및 상기 좌, 우안용 그래픽이 각각 저장되는 두 개의 그래픽 플레인을 포함하는 2차원 그래픽을 생성하기 위한 자바 어플리케이션을 실행하여 3차원 그래픽을 생성하는 장치를 제공할 수 있다. According to another aspect of the present invention, in the apparatus for generating a three-dimensional graphics by executing a Java application for generating the two-dimensional graphics, it is determined whether the three-dimensional graphics can be generated, and extracts the depth information when the generation is possible 3D graphics configuration information processing unit for generating 3D graphic configuration information using 2D graphic configuration information and the depth information, and generating left and right eye graphics using the 3D graphic configuration information. An apparatus for generating a 3D graphic may be provided by executing a Java application for generating a 2D graphic including two graphic planes in which a right eye graphic is stored.
본 발명의 또 다른 측면에 따르면, 그래픽 표시용 어플리케이션에 포함된 재생상태 저장용 메모리 영역 값 변경 API를 포함하는 기록 매체에 있어서, 상기 재생상태 저장용 메모리 영역 값 변경 API는 3차원 그래픽을 생성하기 위한 뎁쓰 정보, 상기 그래픽 데이터가 어느 시점을 기준으로 제작되었는지를 알려주기 위한 그래픽 생성 기준 정보, 좌, 우안용 그래픽이 양의 시차로 생성되어야 하는지 음의 시차로 생성되어야 하는지를 나타내는 시차 표시 플래그 중 하나 이상을 설정하기 위한, 자바 어플리케이션에 의해 실행되는 컴퓨터로 읽을 수 있는 기록 매체를 제공할 수 있다.According to another aspect of the present invention, in a recording medium including a playback state storage memory region value changing API included in a graphic display application, the playback state storage memory region value changing API is used to generate a three-dimensional graphic. One of the depth indication flag indicating whether the graphic data is generated with a positive parallax or a negative parallax, and depth generation information for indicating at what time the graphic data is produced based on A computer-readable recording medium executed by a Java application for setting the above can be provided.
본 발명의 또 다른 측면에 따르면, 3차원 그래픽을 생성할 수 있는지를 판단하는 단계, 상기 3차원 그래픽을 생성할 수 있는 경우, 뎁쓰 정보를 추출하는 단계, 2차원 그래픽 구성 정보와 상기 뎁쓰 정보를 이용하여 3차원 그래픽 구성 정보를 생성하는 단계 및 상기 3차원 그래픽 구성 정보를 이용하여 좌, 우안용 그래픽을 생성하는 단계를 포함하는, 2차원 그래픽을 생성하기 위한 자바 어플리케이션을 실행하여 3차원 그래픽을 생성하는 방법을 실행하기 위한 프로그램을 저장한 컴퓨터로 판독 가능한 기록 매체를 제공할 수 있다.According to another aspect of the invention, the step of determining whether the three-dimensional graphics can be generated, if the three-dimensional graphics can be generated, extracting the depth information, the two-dimensional graphics configuration information and the depth information Generating 3D graphic configuration information using the 3D graphic configuration information; and generating left and right eye graphics using the 3D graphic configuration information. A computer-readable recording medium having stored thereon a program for executing the generating method can be provided.
본 발명에 따르면, 2차원 그래픽을 생성하기 위한 자바 어플리케이션을 실행하여 3차원 그래픽을 생성하는 방법 및 장치를 제공할 수 있다. According to the present invention, it is possible to provide a method and apparatus for generating 3D graphics by executing a Java application for generating 2D graphics.
이하, 첨부된 도면을 참조하여 본 발명의 바람직한 실시 예들을 상세히 설명하기로 한다. Hereinafter, exemplary embodiments of the present invention will be described in detail with reference to the accompanying drawings.
도 1은 본 발명의 일 실시 예에 따른 3차원 그래픽 생성 장치의 내부 블록도이다. 3차원 그래픽 생성 장치는 자바 모듈(100), 3차원 구성 정보 생성부(200), 메모리부(300) 및 좌, 우 그래픽 플레인(400)을 포함한다. 1 is a block diagram illustrating an apparatus for generating a 3D graphic according to an exemplary embodiment. The apparatus for generating 3D graphics includes a Java
2차원 영상에 입체감을 주기 위해서는 2차원 영상에 깊이감을 부여해야 한다. 사람이 화면을 볼 때, 화면에 투사된 영상이 두 눈에 맺히는 데, 눈에 맺힌 영상의 두 점 사이의 거리를 시차라고 한다. 시차는 양의 시차(positive parallax), 영의 시차(zero parallax), 음의 시차(negative parallax)로 구분된다. 양의 시차는 영상이 화면 안쪽에 맺히는 경우의 시차를 말하며 시차가 눈 사이의 거리와 같 거나 그보다 작을 때를 말한다. 시차 값이 커질수록 영상이 화면보다 더 깊게 위치한 듯한 입체감을 준다. In order to give a 3D effect to a 2D image, a depth must be given to the 2D image. When a person looks at the screen, the image projected on the screen is visible in both eyes. The distance between two points of the image in the eye is called parallax. Parallax is divided into positive parallax, zero parallax, and negative parallax. Positive parallax refers to the parallax when the image is inside the screen and when the parallax is less than or equal to the distance between eyes. The larger the parallax value, the more stereoscopic the image appears to be than the screen.
영상이 화면 평면에 2차원으로 맺힌 경우의 시차는 0이 된다. 시차가 0인 경우, 영상이 화면 평면에 맺히므로 사용자는 입체감을 느끼지 못하게 된다. 음의 시차는 영상이 화면보다 앞쪽에 있는 경우의 시차를 말하고 시선이 교차할 때 발생하여 마치 물체가 튀어나와있는 듯한 입체감을 준다. The parallax is zero when the image is formed in two dimensions on the screen plane. If the parallax is zero, the image is formed on the screen plane so that the user does not feel a three-dimensional effect. Negative parallax refers to the parallax when the image is in front of the screen and occurs when the line of sight intersects, giving a stereoscopic feeling as if an object is popping out.
비디오 데이터는 자바(Java)와 같은 프로그램 요소에 의해 표시되는 그래픽컬 오버레이(graphical overlay)와 함께 재생될 수 있다. 비디오 데이터가 3차원 영상으로 재생되는 경우, 비디오 데이터와 함께 재생되는 그래픽컬 오버레이 또한 3차원으로 재생할 수 있는 방법이 모색된다. Video data may be played with a graphical overlay displayed by a program element such as Java. When the video data is reproduced as a 3D image, a method for reproducing the graphic overlay reproduced with the video data in 3D is also sought.
3차원 그래픽 생성 장치에서 BD-J 타이틀이 재생되고 BD-J 그래픽이 재생되어야 하는 경우, 자바 모듈(100)은 디스크에 기록된 그래픽 데이터를 BD-J 캐시(cache)에 로딩한다. 자바 모듈(100)은 어플리케이션(application)에서 호출하는 drawing 및/혹은 loadImage 등의 API에 의하여 캐시에 저장되어 있는 그래픽 데이터를 읽고, 호출된 API에 따라 그래픽을 처리한다. When the BD-J title is reproduced in the three-dimensional graphic generating device and the BD-J graphic is to be reproduced, the Java
도 1에서 3차원 그래픽 생성 장치에는 자바 모듈(100)과 3차원 그래픽 구성정보 생성부(200) 사이에 점선으로 BD-J GP(Graphic Plane) 및 HGraphics Device가 도시되어 있다. 점선으로 도시된 BD-J GP(Graphic Plane) 및 HGraphics Device는 일반적으로 2차원 그래픽 생성 장치에서 2차원 그래픽을 생성할 때 사용하는 블록이다. 도시된 점선 내의 BD-J GP(Graphic Plane)은 자바 모듈(100)에 의해 그래픽 이 그려지는 플레인이고, HGraphics Device는 BD-J Havi Device의 하나로, API 내 포함된 그래픽 구성 정보를 바탕으로 플레인에 그래픽을 그리는 장치이다. 즉, 자바 모듈(100)은 2차원 구성 정보를 이용하여 2차원 그래픽을 생성한다. In FIG. 1, a BD-J GP (Graphic Plane) and an HGraphics Device are illustrated in a dotted line between the Java
그래픽이 3차원으로 생성되기 위해서는 좌안 영상 및 우안용 그래픽이 생성되어야 한다. 그러나 이를 위해서는 자바 모듈(100)이 API가 좌안용 그래픽을 그리기 위한 것인지 또는 우안용 그래픽을 그리기 위한 것인지를 결정하는 parameter를 추가로 정의하는 것과 같이, API의 확장 혹은 추가 API가 필요하게 된다. 그러나 하위 블루레이 디스크 플레이어와의 호환성을 위해서는 새로운 API를 정의하지 않고 종래의 API를 이용하면서도 그래피컬 오버레이를 3차원 영상으로 재생하기 위한 방안이 모색된다.In order for a graphic to be generated in three dimensions, a left eye image and a right eye graphic should be generated. However, this requires an extension or additional API of the API, such as the Java
하위 플레이어와의 호환성을 유지하면서 2차원 그래픽을 생성하기 위한 자바 어플리케이션을 실행하여 3차원 그래픽을 생성하기 위해, 본 발명의 3차원 그래픽 생성 장치는 3차원 구성 정보 생성부(200), 메모리부(300) 및 좌, 우 그래픽 플레인(400)를 이용한다.In order to generate a three-dimensional graphics by executing a Java application for generating two-dimensional graphics while maintaining compatibility with the lower player, the three-dimensional graphics generating apparatus of the present invention, the three-dimensional configuration
메모리부(300)에는 재생 장치 설정 값 저장용 메모리 영역 및 재생 상태 저장용 메모리 영역이 포함되어 있다. 재생 장치 설정 값 저장용 메모리 영역은 예컨대 플레이어 세팅 레지스터(Player Setting Register)가 될 수 있으며 도 1에서는 PSR A로 도시하였다. 재생 장치 설정 값 저장용 메모리 영역은 디스크 내의 내비게이션 커맨드나 API 커맨드를 통해 레지스터 안의 내용을 바꿀 수 없는 레지스터로, 플레이어가 출시될 때 설정된 값들이 저장되어 있다. The
본 발명에서 재생 장치 설정 값 저장용 메모리 영역에는 3차원 그래픽 생성이 가능한지 여부를 표시하는 3차원 그래픽 생성 가능 여부 플래그가 저장되어 있다. In the present invention, a 3D graphic generation availability flag indicating whether 3D graphic generation is possible is stored in the memory area for storing the reproduction device setting value.
3차원 구성 정보 생성부(200)는 메모리부(300)에 3차원 그래픽 생성 가능 여부 플래그가 포함되어 있는 경우, 이를 추출하여 3차원 그래픽 생성 장치가 3차원 그래픽을 생성할 수 있는지를 판단할 수 있다.When the 3D
재생 상태 저장용 메모리 영역은 예컨대 플레이백 스테이터스 레지스터(Playback Status Register)가 될 수 있으며 도 1에서는 이를 PSR B로 도시하였다. 재생 상태 저장용 메모리 영역은 재생 상태에 따라 값을 맘대로 바꿀 수 있는 레지스터이다. The memory area for storing the playback status may be, for example, a Playback Status Register, which is shown as PSR B in FIG. The memory area for reproducing state storage is a register whose value can be changed at will according to the reproducing state.
도 1에서, BD에는 저자에 의해 작성된 어플리케이션이 기록되어 있고, 어플리케이션에는 플레이백 스테이터스 레지스터 값을 설정하기 위한 어플리케이션과 그래픽 표시용 어플리케이션이 삽입되어 있다. 플레이백 스테이터스 레지스터 값을 설정하기 위한 어플리케이션에는 플레이백 스테이터스 레지스터 값 변경을 명령하는 API, 즉, 재생상태 저장용 메모리 영역 값 변경 API가 포함되어 있다. 자바 모듈(100)은 어플리케이션에 포함된 재생상태 저장용 메모리 영역 값 변경 API를 이용하여 메모리 영역(300)에 소정 정보를 기록하여 레지스터 값이 세팅되도록 할 수 있다. In Fig. 1, an application created by the author is recorded in the BD, and an application for setting a playback status register value and an application for graphic display are inserted in the application. An application for setting the playback status register value includes an API for instructing a playback status register value change, that is, an API for changing the memory area value for storing the playback state. The
본 발명에서, 디스크에 기록된 어플리케이션 내의 재생상태 저장용 메모리 영역 값 변경 API는 3차원 그래픽을 생성하기 위한 뎁쓰 정보, 그래픽 데이터가 어 느 시점을 기준으로 제작되었는지를 알려주기 위한 그래픽 생성 기준 정보, 좌, 우안용 그래픽이 양의 시차로 생성되어야 하는지 음의 시차로 생성되어야 하는지를 나타내는 시차 표시 플래그 중 하나 이상을 재생상태 저장용 메모리 영역에 기록하기 위해 사용될 수 있다. In the present invention, the memory area value changing API for storing the playback state in the application recorded on the disk includes depth information for generating three-dimensional graphics, graphic generation reference information for informing at which point the graphic data is produced, One or more of the parallax indication flags indicating whether the left and right eye graphics should be generated with a positive parallax or a negative parallax may be used to record in the reproducing state storage memory area.
자바 모듈(100)은 매체에 기록된 그래픽 표시용 어플리케이션에 포함된 재생상태 저장용 메모리 영역 값 변경 API를 이용하여 메모리 영역(300)에 뎁쓰 정보, 그래픽 데이터가 어느 시점을 기준으로 제작되었는지를 알려주기 위한 그래픽 생성 기준 정보, 좌, 우안용 그래픽이 양의 시차로 생성되어야 하는지 음의 시차로 생성되어야 하는지를 나타내는 시차 표시 플래그 중 하나 이상을 저장한다. The
재생상태 저장용 메모리 영역에 뎁쓰 정보가 저장되어 있는 경우, 3차원 그래픽 구성 정보 생성부(300)는 재생상태 저장용 메모리 영역으로부터 뎁쓰 정보를 추출한다. 3차원 그래픽 구성 정보 생성부(300)는 2차원 그래픽 생성을 위해 사용되는 2차원 구성 정보를 뎁쓰 정보를 이용하여 3차원 구성 정보로 변환한다. 3차원 구성 정보는 좌안용 그래픽 생성을 위한 좌안용 그래픽 구성 정보 및 우안용 그래픽 생성을 위한 우안용 그래픽 구성 정보를 포함한다. When the depth information is stored in the playback state storage memory area, the 3D graphic configuration
3차원 그래픽 구성 정보 생성부(300)는 2차원 그래픽 구성 정보로부터 그래픽 출력 위치 값을 추출한다. 그래픽 출력 위치 값은 2차원 그래픽이 플레인에 생성되는 위치를 나타낸다. 3차원 그래픽 구성 정보 생성부(300)는 뎁쓰 정보를 이용하여 그래픽 출력 위치 값을 제1 위치 값 및 제2 위치 값으로 변환한다. 한 예로, 제1 위치 값 및 제2 위치 값은 각각 그래픽 출력 위치 값에 X 축으로 소정 값을 더 한 값과 뺀 값이 될 수 있다. The 3D graphic
3차원 그래픽 구성 정보 생성부(300)는 제1 및 제2 위치 값 중 하나씩을 포함하는 좌안용 및 우안용 그래픽 구성 정보를 생성한다. The 3D graphic configuration
3차원 그래픽 구성 정보 생성부(300)는 좌안용 그래픽 구성 정보를 이용하여 좌안용 그래픽을 그래픽 플레인(400)의 좌안용 플레인에 생성한다. 또한, 3차원 그래픽 구성 정보 생성부(300)는 우안용 그래픽 구성 정보를 이용하여 우안용 그래픽을 그래픽 플레인(400)의 우안용 플레인에 생성한다.The 3D graphic
재생상태 저장용 메모리 영역에 좌, 우안용 그래픽이 양의 시차로 생성되어야 하는지 음의 시차로 생성되어야 하는지를 나타내는 시차 표시 플래그가 저장되어 있는 경우, 3차원 그래픽 구성 정보 생성부(300)는 시차 표시 플래그를 추출하여 그래픽의 위치 이동 값을 조절할 수 있다. 즉, 시차 표시 플래그에 의해 표시되는 시차가 양의 시차인 경우, 영상이 화면 안쪽으로 맺혀야 하므로 3차원 그래픽 구성 정보 생성부(300)는 좌안용 그래픽을 소정 값만큼 좌측으로 이동한 위치에, 우안용 그래픽을 소정 값만큼 우측으로 이동한 위치에 생성하여야 한다. 시차 표시 플래그에 의해 표시되는 시차가 음의 시차인 경우, 영상이 화면 밖으로 맺혀야 하므로 3차원 그래픽 구성 정보 생성부(300)는 좌안용 그래픽을 소정 값만큼 우측으로 이동하고, 우안용 그래픽을 소정 값만큼 좌측으로 이동하여 생성하여야 한다. When the time difference display flag indicating whether the left and right eye graphics should be generated with a positive parallax or a negative parallax is stored in the memory area for storing the playback state, the three-dimensional graphic configuration
재생상태 저장용 메모리 영역에 그래픽 데이터가 어느 시점을 기준으로 제작되었는지를 알려주는 그래픽 생성 기준 정보가 포함되어 있는 경우, 3차원 그래픽 구성 정보 생성부(300)는 그래픽 생성 기준 정보를 메모리부(300)로부터 추출하여, 그래픽이 좌안 영상을 기준으로 생성되었는지 또는 우안 영상을 기준으로 생성되었는지, 또는 통상의 2차원 영상의 중심을 기준으로 생성되었는지를 파악할 수 있다. When the memory area for reproducing state storage includes graphic generation reference information indicating at what point the graphic data is produced, the 3D graphic configuration
그래픽 생성 기준 정보 또는 시차 표시 플래그가 메모리부(300)에서 추출되기 위해서는, 그 전에 자바 모듈(100)이 디스크에 기록된 그래픽 표시용 어플리케이션에 포함된 재생상태 저장용 메모리 영역 값 변경 API를 이용하여 메모리 영역에 해당 정보를 저장해야 한다. In order for the graphic generation reference information or the parallax indication flag to be extracted from the
이와 같이, 본 발명의 실시 예에 따르면, 3차원 그래픽 생성 장치는 3차원 구성 정보 생성을 위한 소정의 정보가 기록된 재생 상태 저장용 메모리 영역을 구비할 수 있다. 재생 상태 저장용 메모리 영역에 소정의 정보가 저장되도록 하기 위해, 디스크에는 그래픽 표시용 어플리케이션에 뎁쓰 정보 설정 등을 위한 재생상태 저장용 메모리 영역 값 변경 API가 저장되어야 한다. 이에 의해 API를 변형하지 않고도, 종래의 API를 이용하여 그래픽이 3차원으로 재생되도록 할 수 있다. 또한, 3차원 그래픽 생성 장치는 재생 상태 저장용 메모리 영역에 구비된 정보를 이용하여 3차원 그래픽 구성 정보를 생성하고 이를 이용하여 좌안용 그래픽 및 우안용 그래픽을 생성하여 그래픽이 3차원으로 재생되도록 할 수 있다. As described above, according to an embodiment of the present disclosure, the apparatus for generating 3D graphics may include a memory area for reproducing state storing predetermined information for generating 3D configuration information. In order for the predetermined information to be stored in the reproduction state storage memory area, the disc should store the reproduction state storage memory area value change API for setting depth information in the graphic display application. This allows graphics to be reproduced in three dimensions using conventional APIs without modifying the API. In addition, the 3D graphics generating apparatus generates 3D graphic configuration information by using the information provided in the memory area for storing the playback state, and generates a left eye graphic and a right eye graphic by using the same to enable the graphic to be reproduced in 3D. Can be.
도 2 내지 4는 본 발명의 실시 예들에 따른 메모리 영역(300)의 레지스터를 도시한 도면이다. 도 2는, 재생 장치 설정 값 저장용 메모리 영역을 도시한 것으로, 전체 32비트중 1비트(예를들어, "b0")에 CD capability, 즉, 3차원 생성 가능 여부 플래그가 설정되어 있다. 해당 비트가 "b0"이면 3차원 그래픽 생성이 불가능함을 나타내고, 해당 비트가 1b이면 3차원 그래픽 생성이 가능함을 나타낸다. 2 to 4 are diagrams illustrating a register of the
도 3은 뎁쓰 정보 및 시차 표시 플래그가 저장된 재생 상태 저장용 메모리 영역을 도시한 것이다. 도 3에서 재생 상태 저장용 메모리 영역은 전체 32비트로, 이 중 31비트에는 뎁쓰 정보가 설정되고, 한 비트에는 시차 표시 플래그가 설정되어 있음을 알 수 있다. dir_flag는 현재 그리고자 하는 그래픽 성분이 양의 시차, 즉, 스크린 안쪽으로 입체감을 갖는 경우인지, 음의 시차, 즉, 스크린 밖으로 입체감을 갖는 경우인지를 나타내는 플래그로써, 해당 플래그 값에 따라서 수평 이동 방향을 결정한다. 3 illustrates a memory area for reproducing state storage in which depth information and parallax indication flags are stored. In FIG. 3, it is understood that the memory area for reproducing state storage is 32 bits in total, of which 31 bits of depth information are set and one of the bits has a disparity display flag. dir_flag is a flag indicating whether the graphic component to be drawn currently has a positive parallax, that is, a three-dimensional effect inside the screen, or a negative parallax, that is, a three-dimensional image out of the screen. Determine.
dir_flag가 0b인 경우 3차원 그래픽 구성 정보 생성부(200)는 어플리케이션에 의해 지정된 성분의 좌표를 좌안용 BD-J Graphics Plane(400)에서는 shift 값 또는 depth 값만큼 좌측으로 이동하고 우안용 BD-J Graphics Plane(400)에서는 우측으로 이동한다. 1b인 경우 이와 반대로 이동하여 시차에 따른 수평 이동 방향을 결정한다. When dir_flag is 0b, the 3D graphics
도 4는 뎁쓰 정보, 시차 표시 플래그, 및 그래픽 생성 기준 정보가 저장되어있는 재생 상태 저장용 메모리 영역을 도시한 것이다. 도 4에서, 재생 상태 저장용 메모리 영역 32비트 중, 29비트에는 뎁쓰 정보가 뎁쓰 값 또는 위치 이동 값으로 할당되고, 1비트에는 시차 표시 플래그가 설정되고, 2비트에는 그래픽 생성 기준 정보가 할당되어 있음을 알 수 있다. 시차 표시 플래그는 자바 어플리케이션에 의해 표시될 2차원 그래픽이 어떤 시점으로 제작되었는지를 나타내는 플래그로써, 종래와 같이 center 시점을 기준으로 제작된 그래픽인지, 좌안용 혹은 우안용 시점으로 제작된 그래픽인지를 나타낸다. 4 illustrates a memory area for reproducing state storing depth information, parallax indication flag, and graphics generation reference information. In Fig. 4, in 32 bits of the memory area for reproducing state storage, 29 bits are assigned depth information as a depth value or a position shift value, 1 bit is set with a parallax indication flag, and 2 bits are assigned with graphic generation reference information. It can be seen that. The disparity display flag is a flag indicating at what point a two-dimensional graphic to be displayed by a Java application is produced, and indicates whether the graphic is produced based on a center viewpoint or a graphic produced for a left eye or right eye as in the prior art. .
도 5는 본 발명의 일 실시 예에 따른 3차원 그래픽 생성 방법을 도시한 순서도이다. 도 5를 참조하면, 3차원 구성 정보 생성부(200)는 재생 장치 설정 값 저장용 메모리 영역(300)으로부터 3차원 그래픽 생성 가능 여부 플래그를 추출하고, 그래픽이 3차원으로 생성될 수 있는지를 판단한다(단계 510). 그래픽이 3차원으로 생성될 수 없는 경우, 자바 모듈(100)은 2차원 그래픽 구성 정보를 이용하여 그래픽 플레인에 2차원 그래픽을 생성한다(단계 550). 5 is a flowchart illustrating a 3D graphic generating method according to an exemplary embodiment. Referring to FIG. 5, the 3D configuration
그래픽이 3차원으로 생성될 수 있는 경우, 3차원 구성 정보 생성부(200)는 재생상태 저장용 메모리 영역(300)에서 뎁쓰 정보를 추출한다(단계 520). If the graphic can be generated in three dimensions, the three-dimensional configuration
3차원 구성 정보 생성부(200)는 추출한 뎁쓰 정보와 자바 모듈(100)에 의해 처리된 2차원 그래픽 구성 정보를 이용하여 3차원 그래픽 구성 정보를 생성한다(단계 530). 3차원 구성 정보 생성부(200)는 생성된 3차원 그래픽 구성 정보를 이용하여 좌, 우 그래픽 플레인(400)에 좌안용 그래픽 및 우안용 그래픽을 각각 생성한다(단계 540). The 3D
이제까지 본 발명에 대하여 그 바람직한 실시 예들을 중심으로 살펴보았다. 본 발명이 속하는 기술 분야에서 통상의 지식을 가진 자는 본 발명이 본 발명의 본질적인 특성에서 벗어나지 않는 범위에서 변형된 형태로 구현될 수 있음을 이해할 수 있을 것이다. 그러므로 개시된 실시예들은 한정적인 관점이 아니라 설명적인 관점에서 고려되어야 한다. 본 발명의 범위는 전술한 설명이 아니라 특허청구범위에 나타나 있으며, 그와 동등한 범위 내에 있는 모든 차이점은 본 발명에 포함된 것으로 해석되어야 할 것이다.So far I looked at the center of the preferred embodiment for the present invention. Those skilled in the art will appreciate that the present invention can be implemented in a modified form without departing from the essential features of the present invention. Therefore, the disclosed embodiments should be considered in descriptive sense only and not for purposes of limitation. The scope of the present invention is shown in the claims rather than the foregoing description, and all differences within the scope will be construed as being included in the present invention.
도 1은 도 1은 본 발명의 실시 예에 따른 3차원 그래픽 생성 장치의 내부 블록도이다.1 is a block diagram illustrating an apparatus for generating a 3D graphic according to an exemplary embodiment of the present invention.
도 2는 본 발명의 실시 예에 따른 재생 장치 설정 값 저장용 메모리 영역을 도시한 것이다.2 is a diagram illustrating a memory area for storing a reproducing apparatus setting value according to an exemplary embodiment of the present invention.
도 3은 본 발명의 실시 예에 따른 뎁쓰 정보 및 시차 표시 플래그가 저장된 재생 상태 저장용 메모리 영역을 도시한 것이다.3 illustrates a memory area for reproducing state storing depth information and parallax indication flag according to an exemplary embodiment of the present invention.
도 4는 본 발명의 실시 예에 따른 뎁쓰 정보, 시차 표시 플래그, 및 그래픽 생성 기준 정보가 저장되어있는 재생 상태 저장용 메모리 영역을 도시한 것이다.4 illustrates a memory area for reproducing state storing depth information, parallax indication flag, and graphic generation reference information according to an exemplary embodiment of the present invention.
도 5는 본 발명의 실시 예에 따른 3차원 그래픽 생성 방법을 도시한 순서도이다.5 is a flowchart illustrating a 3D graphic generating method according to an exemplary embodiment of the present invention.
Claims (18)
Priority Applications (9)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020090014542A KR101539232B1 (en) | 2009-02-20 | 2009-02-20 | Method and apparatus for generating 3D graphics |
MYPI2011003817 MY152817A (en) | 2009-02-17 | 2010-02-16 | Graphic image processing method and apparatus |
CN201080008013.3A CN102318351B (en) | 2009-02-17 | 2010-02-16 | Graphics and Image Processing and equipment |
BRPI1008575A BRPI1008575A2 (en) | 2009-02-17 | 2010-02-16 | method of processing a graphic stream, apparatus for processing a graphic stream, and computer readable storage media |
EP10743913A EP2400767A4 (en) | 2009-02-17 | 2010-02-16 | Graphic image processing method and apparatus |
JP2011550061A JP5789518B2 (en) | 2009-02-17 | 2010-02-16 | Graphic screen processing method and apparatus |
PCT/KR2010/000931 WO2010095838A2 (en) | 2009-02-17 | 2010-02-16 | Graphic image processing method and apparatus |
US13/210,434 US8497858B2 (en) | 2009-02-17 | 2011-08-16 | Graphic image processing method and apparatus |
US13/928,861 US9035942B2 (en) | 2009-02-17 | 2013-06-27 | Graphic image processing method and apparatus |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020090014542A KR101539232B1 (en) | 2009-02-20 | 2009-02-20 | Method and apparatus for generating 3D graphics |
Publications (2)
Publication Number | Publication Date |
---|---|
KR20100095321A true KR20100095321A (en) | 2010-08-30 |
KR101539232B1 KR101539232B1 (en) | 2015-07-24 |
Family
ID=42759080
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
KR1020090014542A KR101539232B1 (en) | 2009-02-17 | 2009-02-20 | Method and apparatus for generating 3D graphics |
Country Status (1)
Country | Link |
---|---|
KR (1) | KR101539232B1 (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US9948913B2 (en) | 2014-12-24 | 2018-04-17 | Samsung Electronics Co., Ltd. | Image processing method and apparatus for processing an image pair |
Family Cites Families (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR100436904B1 (en) * | 2002-09-06 | 2004-06-23 | 강호석 | Method for generating stereoscopic image from 2D images |
US20070247477A1 (en) * | 2006-04-21 | 2007-10-25 | Lowry Gregory N | Method and apparatus for processing, displaying and viewing stereoscopic 3D images |
JP2010510558A (en) * | 2006-10-11 | 2010-04-02 | コーニンクレッカ フィリップス エレクトロニクス エヌ ヴィ | Creating 3D graphics data |
US8594180B2 (en) * | 2007-02-21 | 2013-11-26 | Qualcomm Incorporated | 3D video encoding |
-
2009
- 2009-02-20 KR KR1020090014542A patent/KR101539232B1/en active IP Right Grant
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US9948913B2 (en) | 2014-12-24 | 2018-04-17 | Samsung Electronics Co., Ltd. | Image processing method and apparatus for processing an image pair |
Also Published As
Publication number | Publication date |
---|---|
KR101539232B1 (en) | 2015-07-24 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
TWI507961B (en) | Method for generating graphical user interface representation and related device and non-transitory computer readable medium | |
JP5789518B2 (en) | Graphic screen processing method and apparatus | |
JP4755565B2 (en) | Stereoscopic image processing device | |
JP5341946B2 (en) | Stereoscopic playback method and stereoscopic playback device | |
JP5820276B2 (en) | Combining 3D images and graphical data | |
JP4861309B2 (en) | Ghost artifact reduction for rendering 2.5D graphics | |
WO2010084724A1 (en) | Image processing device, program, image processing method, recording method, and recording medium | |
JP5593333B2 (en) | Video processing method and apparatus | |
EP2242262A2 (en) | Data structure, recording medium, playback apparatus and method, and program | |
JP2013504244A (en) | Video image double speed reproduction method and apparatus | |
JP5396877B2 (en) | Image processing apparatus, program, image processing method, and recording method | |
US9628770B2 (en) | System and method for stereoscopic 3-D rendering | |
JP2013544381A (en) | 3D menu control | |
JP2012513146A (en) | Control display parameter settings | |
KR101539232B1 (en) | Method and apparatus for generating 3D graphics | |
KR20100036683A (en) | Method and apparatus for output image | |
JP7448856B2 (en) | Gaze reproduction system, gaze reproduction method, and program | |
JP4827881B2 (en) | Video file processing method and video transmission / reception playback system | |
CN105432081A (en) | Three-dimensional image generating device, three-dimensional image generating method, program, and information storage medium | |
CA2818537C (en) | System and method for stereoscopic 3-d rendering | |
KR101314613B1 (en) | method for displaying an image, apparatus for displaying an image, and recording medium | |
JP2010224190A (en) | Image processing apparatus, program, and image processing method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A201 | Request for examination | ||
E902 | Notification of reason for refusal | ||
E701 | Decision to grant or registration of patent right | ||
GRNT | Written decision to grant | ||
FPAY | Annual fee payment |
Payment date: 20180628 Year of fee payment: 4 |
|
FPAY | Annual fee payment |
Payment date: 20190627 Year of fee payment: 5 |