KR101039132B1 - A Rasterizer For 2D Vector Graphics And Method - Google Patents

A Rasterizer For 2D Vector Graphics And Method Download PDF

Info

Publication number
KR101039132B1
KR101039132B1 KR1020080111717A KR20080111717A KR101039132B1 KR 101039132 B1 KR101039132 B1 KR 101039132B1 KR 1020080111717 A KR1020080111717 A KR 1020080111717A KR 20080111717 A KR20080111717 A KR 20080111717A KR 101039132 B1 KR101039132 B1 KR 101039132B1
Authority
KR
South Korea
Prior art keywords
cell
coordinate
information
cells
coordinates
Prior art date
Application number
KR1020080111717A
Other languages
Korean (ko)
Other versions
KR20100052850A (en
Inventor
정철호
서운식
Original Assignee
엠진 (주)
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 엠진 (주) filed Critical 엠진 (주)
Priority to KR1020080111717A priority Critical patent/KR101039132B1/en
Publication of KR20100052850A publication Critical patent/KR20100052850A/en
Application granted granted Critical
Publication of KR101039132B1 publication Critical patent/KR101039132B1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T11/002D [Two Dimensional] image generation
    • G06T11/40Filling a planar surface by adding surface attributes, e.g. colour or texture
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T1/00General purpose image data processing
    • G06T1/60Memory management
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T11/002D [Two Dimensional] image generation
    • G06T11/20Drawing from basic elements, e.g. lines or circles
    • G06T11/203Drawing of straight lines or curves
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T9/00Image coding
    • G06T9/20Contour coding, e.g. using detection of edges

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Multimedia (AREA)
  • Image Processing (AREA)

Abstract

본 발명은 벡터 그래픽 처리를 위한 라스터라이저에 관한 것으로서, 벡터 좌표로 구성된 도형정보로부터 에지를 구성하는 셀 정보를 생성하는 셀 정보 생성부, 상기 생성된 셀들의 위치좌표를 메모리 어드레스 정보로 변환하여 X좌표 또는 Y좌표가 같은 셀의 좌표정보를 같은 라인에 그룹화하여 순차적으로 메인 메모리에 저장하는 주소 변환부, X좌표별로 유효비트 기록 영역이 할당되어 해당 위치의 X좌표에 셀이 존재하는 경우 해당 X좌표에 유효비트가 기록되는 X 인덱스 보드, 상기 메인 메모리로부터 각 라인별로 셀의 좌표정보를 추출하여 추출된 각 셀의 X좌표에 기초하여 상기 X 인덱스 보드의 해당 X좌표에 유효비트를 기록하는 X축 인덱스부 및 상기 X축 인덱스 보드의 유효비트를 참조하여 시작셀과 마감셀을 추출하여 스팬을 생성하는 스팬 생성부를 포함하는 것을 특징으로 한다.BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a rasterizer for vector graphics processing, comprising: a cell information generation unit for generating cell information constituting an edge from figure information consisting of vector coordinates, and converting the position coordinates of the generated cells into memory address information An address translator that groups the coordinate information of cells with the same X coordinate or Y coordinate in the same line and stores them in the main memory sequentially.When a valid bit recording area is allocated for each X coordinate, the cells exist in the X coordinate at the corresponding position. An X index board in which valid bits are written in X coordinates, and extracting coordinate information of cells for each line from the main memory, and writing valid bits in the corresponding X coordinates of the X index board based on the X coordinates of each extracted cell Span generation by generating the span by extracting the start cell and the finish cell with reference to the X-axis index part and the valid bits of the X-axis index board. It characterized in that it comprises a.

상기와 같은 본 발명에 따르면, 사용메모리 공간을 최적화하는 주소변환 메모리 배치법(Adress Translation Menory Mapping)과 데이터 정렬을 위한 연산기가 필요없는 고정위치 참조방식(Index Boarding Method)을 사용하여 벡터 그래픽 처리를 수행함으로써 적은 자원의 소프트웨어 또는 작은 크기의 하드웨어로 고성능의 벡터 그래픽 처리가 가능한 효과가 있다.According to the present invention as described above, vector graphics processing is performed using an address translation memory mapping method that optimizes a used memory space and an index boarding method that does not require an operator for data alignment. This allows high-performance vector graphics processing with less resource software or smaller hardware.

벡터, 그래픽, 라스터라이저, 가속기, 스캔, 컨버전.  Vector, graphics, rasterizer, accelerator, scan, conversion.

Description

2차원 벡터 그래픽 처리를 위한 라스터라이저 및 그 방법{A Rasterizer For 2D Vector Graphics And Method}Rasterizer and its method for processing two-dimensional vector graphics {A Rasterizer For 2D Vector Graphics And Method}

본 발명은 2차원 벡터 그래픽 처리를 위한 라스터라이저 및 그 방법에 관한 것으로서, 보다 상세하게는 사용메모리 공간을 최적화하는 주소변환 메모리 배치법(Adress Translation Menory Mapping)과 데이터 정렬을 위한 연산기가 필요없는 고정위치 참조방식(Index Boarding Method)을 사용하여 벡터 그래픽 처리를 수행함으로써 적은 자원의 소프트웨어 또는 작은 크기의 하드웨어로 고성능의 벡터 그래픽 처리가 가능하도록 하는 장치 및 방법에 관한 것이다.The present invention relates to a rasterizer for two-dimensional vector graphics processing and a method thereof, and more particularly, address translation memory layout (Odress Translation Menory Mapping) for optimizing the memory space used, and fixed to eliminate the need for an operator for data alignment. The present invention relates to an apparatus and a method for performing high-performance vector graphics processing using low resource software or small size hardware by performing vector graphics processing using an index boarding method.

벡터그래픽은 주어진 2차원이나 3차원 공간에 선이나 형상을 배치하는데 있어 일련의 명령들이나 수학적 표현을 통해 디지털 이미지를 만드는 것으로서, 그래픽 파일이 일련의 벡터 서술문의 형태로 창작되고 저장된다. 예를 들면, 벡터 그래픽 파일에는 선을 그리기 위해 각 비트들이 저장되어 있는 대신에, 연결될 일련의 점의 위치가 들어있다. 그로 인해 파일 크기가 작아지는 결과를 가져온다. Vector graphics are the creation of digital images through a series of commands or mathematical expressions for placing lines or shapes in a given two-dimensional or three-dimensional space. Graphics files are created and stored in the form of a series of vector statements. For example, a vector graphics file contains the location of a series of points to be connected, instead of storing each bit for drawing a line. This results in a smaller file size.

어느 순간에 벡터 이미지는 래스터 이미지로 변환되며, 각각의 비트맵은 표시공간에 직접 사상된다. 어도비 일러스트레이터나 코렐드로우와 같은 도구로 작성된 대부분의 이미지는 벡터 이미지 파일의 형태이다. At some point, the vector image is converted into a raster image, with each bitmap mapped directly into the display space. Most images created with tools like Adobe Illustrator and CorelDraw are in the form of vector image files.

애니메이션 이미지 또한 대부분 벡터 파일로 만들어진다. 쇽웨이브의 플래시는 2차원이나 3차원 애니메이션을 만들 수 있는 제품이며, 벡터 파일의 형태로 사용자에게 보내진 다음, 도착하자마자 래스터로 변환된다. Animated images are also mostly made of vector files. Shockwave's Flash is capable of creating two- and three-dimensional animations that are sent to the user in the form of a vector file and then converted to raster upon arrival.

이러한 벡터 그래픽을 처리하기 위한 방법으로는 스캔 컨버전(Scan Conversion) 알고리즘이 주로 사용되는데 이는 소프트웨어적인 처리 기법이 주로 이용된다.As a method for processing such vector graphics, a scan conversion algorithm is mainly used, which is mainly a software processing technique.

근래 벡터 그래픽을 이용한 컨텐츠가 복잡해지고 플래시/SVG 플레이어 등의 활용이 다양해짐에 따라 하드웨어 가속기가 요구되고 있다.Recently, hardware accelerators are required as contents using vector graphics become more complicated and applications of flash / SVG players are diversified.

하드웨어 가속방법은 폴리곤 테슬레이션(Polygon Tessellation) 방식과 스캔 컨버전 방식이 주로 사용된다.The hardware acceleration method is mainly a polygon tessellation method and a scan conversion method.

폴리곤 테슬레이션 방식은 벡터 좌표(위치좌표와 연결정보)로 구성된 도형정보에 기초하여 표시될 대상을 다수의 폴리곤의 조합으로 분할하여 각 폴리곤 내부를 색채움하는 방식으로서 하드웨어가 복잡하고 전력 소비가 많아 모바일기기와 같은 컴팩트한 기기에는 적합하지 않은 단점이 있다.The polygon tessellation method divides the object to be displayed into a combination of a plurality of polygons based on the figure information consisting of vector coordinates (position coordinates and connection information) and fills each polygon inside. The disadvantage is that it is not suitable for compact devices such as devices.

도 1은 스캔 컨버전 방식에 따른 벡터 그래픽 처리방법을 예시적으로 설명하기 위한 도면이다.1 is a diagram for exemplarily describing a vector graphic processing method according to a scan conversion method.

도 1을 참조하면 스캔 컨버전 방식은 우선, Y축을 따라 Ymin에서 Ymax까지 스캔을 해가면서 해당 스캔라인에 꼭지점이 있는 경우 해당 스캔라인의 Y좌표값에 해당 꼭지점과 연결되는 에지의 경로(예를 들면 D점에서 DC와 DE)를 표시한 에지 테이블을 생성하고, 모든 스캔라인마다 현재 스캔라인과 교차하는 에지의 경로와 교차점 좌표 및 기울기를 기록한 액티브 에지 테이블을 생성한 후, X축 정렬을 거쳐 스팬을 결정하게 된다.Referring to FIG. 1, the scan conversion method first scans from Ymin to Ymax along the Y axis, and has a vertex in the scan line, and a path of an edge connected to the vertex in the Y coordinate value of the scan line (for example, Create an edge table showing DC and DE) at point D, and create an active edge table that records the path, intersection coordinates, and slope of the edge that intersects the current scan line for every scan line, and then spans through X-axis alignment. Will be determined.

즉, 스캔 컨버전 방식은 한 스캔라인(Y축)과 교차하는 교차점(X축)을 찾고 도형의 내부/외부를 판별하여 내부의 모든 픽셀에 지정된 색으로 칠하는 방식이다.In other words, the scan conversion method is a method of finding an intersection point (X axis) intersecting a scan line (Y axis), determining the inside / outside of a figure, and painting all pixels inside with a specified color.

그러나, 이러한 방식은 각 도형과 스캔라인의 교차점들의 집합이 주어진 도형에 따라 가변적이기 때문에 이를 처리하는 하드웨어를 결정하기 어렵고, 각 정보들을 해당 스캔라인별로 정리하는데 시간이 많이 소요되고 복잡한 하드웨어를 필요로 하는 단점이 있다. However, this method is difficult to determine the hardware to process because the set of intersection points of each figure and the scan line is variable according to the given figure, and it takes time-consuming and complicated hardware to organize each information by the corresponding scan line. There is a disadvantage.

본 발명은 상기와 같은 문제점을 해결하기 위해 안출된 것으로서, 본 발명의 목적은 사용메모리 공간을 최적화하는 주소변환 메모리 배치법(Adress Translation Menory Mapping)과 데이터 정렬을 위한 연산기가 필요없는 고정위치 참조방식(Index Boarding Method)을 사용하여 벡터 그래픽 처리를 수행함으로써 적은 자원의 소프트웨어 또는 작은 크기의 하드웨어로 고성능의 벡터 그래픽 처리가 가능하도록 하는 것이다. SUMMARY OF THE INVENTION The present invention has been made to solve the above problems, and an object of the present invention is to address address memory allocation (Adress Translation Menory Mapping) to optimize the used memory space and a fixed position reference method that does not require an operator for data alignment. By performing vector graphics processing using the Index Boarding Method, high-performance vector graphics processing is possible with a small amount of software or a small amount of hardware.

상기와 같은 목적을 달성하기 위한 본 발명의 일측면에 따르면, 벡터 좌표로 구성된 도형정보로부터 에지를 구성하는 셀 정보를 생성하는 셀 정보 생성부, 상기 생성된 셀들의 위치좌표를 메모리 어드레스 정보로 변환하여 X좌표 또는 Y좌표가 같은 셀의 좌표정보를 같은 라인에 그룹화하여 순차적으로 메인 메모리에 저장하는 주소 변환부, X좌표별로 유효비트 기록 영역이 할당되어 해당 위치의 X좌표에 셀이 존재하는 경우 해당 X좌표에 유효비트가 기록되는 X 인덱스 보드, 상기 메인 메모리로부터 각 라인별로 셀의 좌표정보를 추출하여 추출된 각 셀의 X좌표에 기초하여 상기 X 인덱스 보드의 해당 X좌표에 유효비트를 기록하는 X축 인덱스부 및 상기 X축 인덱스 보드의 유효비트를 참조하여 시작셀과 마감셀을 추출하여 스팬을 생성하는 스팬 생성부를 포함하는 것을 특징으로 하는 2차원 벡터 그래픽 처리를 위한 라스터라이저가 제공된다.According to an aspect of the present invention for achieving the above object, a cell information generation unit for generating cell information constituting the edge from the figure information consisting of the vector coordinates, converting the position coordinates of the generated cells to memory address information Address conversion unit that groups the coordinate information of cells with the same X coordinate or Y coordinate in the same line and stores them in the main memory sequentially, and when a valid bit recording area is allocated for each X coordinate, and the cell exists at the X coordinate of the corresponding position. An X index board in which valid bits are written in the corresponding X coordinates, and the valid bits are recorded in the corresponding X coordinates of the X index board based on the X coordinates of each cell extracted by extracting coordinate information of cells for each line from the main memory. A span generation unit for generating a span by extracting a start cell and a finish cell with reference to an X-axis index unit and a valid bit of the X-axis index board The raster riser for 2D vector graphics processing, comprising is provided.

여기서, 상기 주소 변환부는 상기 생성된 셀들의 위치좌표를 메모리 어드레스 정보로 변환하는 과정에서 셀 프로파일 정보(셀 개수 등)를 Y좌표별로 기록한 Y축 인덱스 보드를 생성하는 것이 바람직하다.The address conversion unit may generate a Y-axis index board that records cell profile information (number of cells, etc.) for each Y coordinate in the process of converting the position coordinates of the generated cells into memory address information.

그리고, 상기 Y축 인덱스 보드는 메인 메모리 내에 생성되는 것도 가능하다. The Y-axis index board may be generated in the main memory.

또한, 상기 메인 메모리에서 상기 메모리 어드레스 정보가 저장되는 영역은 화면의 해상도에 따라 X축 또는 Y축 중 어느 한축의 최대변위값에 해당하는 개수의 어드레스를 1개의 라인으로 설정되고 나머지 한축의 최대변위값에 해당하는 개수만큼의 라인이 구비되어 X좌표 또는 Y좌표가 같은 셀의 좌표정보를 같은 라인에 그룹 화하여 저장되는 것이 바람직하다. In addition, the area where the memory address information is stored in the main memory has a number of addresses corresponding to the maximum displacement value of either one of the X-axis or the Y-axis according to the resolution of the screen as one line, and the maximum displacement of the other axis. The number of lines corresponding to the value is preferably provided so that the coordinate information of a cell having the same X coordinate or Y coordinate is grouped and stored in the same line.

또한, 상기 X축 인덱스 보드는 셀이 존재하는 각 X좌표마다 안티 애일리어싱(Anti Ailasing) 정보를 표시하는 안티 애일리어싱 기록 영역이 더 구비되는 것이 보다 바람직하다. In addition, the X-axis index board is further preferably provided with an anti-aliasing recording area for displaying anti-aliasing information for each X-coordinate in which a cell exists.

상기와 같은 목적을 달성하기 위한 본 발명의 다른 일 측면에 따르면, 벡터 좌표로 구성된 도형정보로부터 에지를 구성하는 셀 정보를 생성하는 셀 정보 생성부, 상기 생성된 셀들의 위치좌표를 메모리 어드레스 정보로 변환하여 화면 해상도 또는 상기 셀들의 위치좌표의 X축 및 Y축의 최대 및 최소변위에 의해 형성되는 2차원 공간에 대응하는 크기의 메모리 영역에 저장하는 주소 변환부, 상기 생성된 셀들의 위치좌표를 메모리 어드레스 정보로 변환하는 과정에서 셀 프로파일 정보가 Y좌표별로 기록되는 Y축 인덱스 보드부 및 상기 메모리 영역에 저장된 셀의 위치좌표와 상기 Y축 인덱스 보드에 기록된 셀 프로파일 정보를 참조하여 시작셀과 마감셀을 추출하여 스팬을 생성하는 스팬 생성부를 포함하는 것을 특징으로 하는 2차원 벡터 그래픽 처리를 위한 라스터라이저가 제공된다.According to another aspect of the present invention for achieving the above object, a cell information generation unit for generating cell information constituting the edge from the figure information consisting of the vector coordinates, the position coordinates of the generated cells as the memory address information An address conversion unit for converting the data into a memory area having a size corresponding to a two-dimensional space formed by screen resolution or maximum and minimum displacements of the X and Y axes of the position coordinates of the cells, and storing the position coordinates of the generated cells In the process of converting the address information into the Y-axis index board unit in which the cell profile information is recorded for each Y-coordinate and the position coordinates of the cells stored in the memory area and the cell profile information recorded in the Y-axis index board, the start cell and the end. And a span generator for extracting cells to generate spans. Rasterizers are provided.

여기서, 상기 프로파일 정보는 Y좌표별 해당 셀 개수, X축 최대변위, X축 최소변위, Y축 최대변위, Y축 최소변위를 포함하는 것이 바람직하다.Here, the profile information preferably includes the number of cells corresponding to the Y coordinate, the maximum X-axis displacement, the minimum X-axis displacement, the maximum Y-axis displacement, and the minimum Y-axis displacement.

상기와 같은 목적을 달성하기 위한 본 발명의 또 다른 일 측면에 따르면, 벡터 좌표로 구성된 도형정보로부터 에지를 구성하는 셀의 위치정보를 추출하는 제 1 단계, 상기 생성된 셀들의 위치좌표를 메모리 어드레스 정보로 변환하여 X좌표 또는 Y좌표가 같은 셀의 좌표정보를 같은 라인에 그룹화하여 순차적으로 저장하는 제 2 단계, 라인별로 셀의 좌표정보를 추출하여 각 X좌표별로 해당하는 셀이 있는지 여부를 유효비트로서 기록하는 제 3 단계 및 상기 유효비트를 참조하여 시작셀과 마감셀을 추출하여 스팬을 생성하는 제 4 단계를 포함하는 것을 특징으로 하는 2차원 벡터 그래픽 처리방법이 제공된다. According to another aspect of the present invention for achieving the above object, a first step of extracting the position information of the cells constituting the edge from the figure information consisting of the vector coordinates, the position coordinates of the generated cells to the memory address The second step of converting the coordinate information of cells with the same X coordinate or Y coordinate into the same line and storing them sequentially, and extracting the coordinate information of the cells for each line to determine whether there is a corresponding cell for each X coordinate. And a fourth step of generating a span by extracting a start cell and a finish cell with reference to the valid bit, as a third step of writing as a bit.

여기서, 상기 제 2 단계와 3단계 사이에는 상기 추출된 셀들의 위치좌표를 메모리 어드레스 정보로 변환하는 과정에서 셀 프로파일 정보를 Y좌표별로 기록하는 제 5 단계가 더 포함되고, 상기 제 4 단계는 상기 유효비트와 상기 제 5 단계에서 기록된 셀 프로파일 정보를 참조하여 스팬을 생성하는 것이 바람직하다. The method may further include a fifth step of recording cell profile information for each Y coordinate in the process of converting the position coordinates of the extracted cells into memory address information between the second and third steps. It is preferable to generate the span with reference to the valid bit and the cell profile information recorded in the fifth step.

상기와 같은 목적을 달성하기 위한 본 발명의 또 다른 일 측면에 따르면, 벡터 좌표로 구성된 도형정보로부터 에지를 구성하는 셀의 위치정보를 추출하는 제 1 단계, 상기 생성된 셀들의 위치좌표를 메모리 어드레스 정보로 변환하여 화면 해상도 또는 상기 셀들의 위치좌표의 X축 및 Y축의 최대 및 최소변위에 의해 형성되는 2차원 공간에 대응하는 크기의 메모리 영역에 저장하는 제 2 단계, 상기 생성된 셀들의 위치좌표를 메모리 어드레스 정보로 변환하는 과정에서 셀 프로파일 정보를 Y좌표별로 기록한 Y축 인덱스 보드를 생성하는 제 3 단계 및 상기 메모리 영역에 저장된 셀의 위치좌표와 상기 Y축 인덱스 보드에 기록된 셀 프로파일 정보를 참조하여 시작셀과 마감셀을 추출하여 스팬을 생성하는 제 3 단계를 포함하는 것을 특징으로 하는 2차원 벡터 그래픽 처리방법이 제공된다.According to another aspect of the present invention for achieving the above object, a first step of extracting the position information of the cells constituting the edge from the figure information consisting of the vector coordinates, the position coordinates of the generated cells to the memory address A second step of converting the information into a memory area having a size corresponding to a two-dimensional space formed by screen resolution or maximum and minimum displacements of the X and Y axes of the position coordinates of the cells; The third step of generating a Y-axis index board recording the cell profile information for each Y coordinate in the process of converting the data into memory address information and the position coordinates of the cells stored in the memory area and the cell profile information recorded on the Y-axis index board. A two-dimensional vector comprising a third step of generating a span by extracting a start cell and a finish cell with reference A graphics processing method is provided.

상기와 같은 본 발명에 따르면, 사용메모리 공간을 최적화하는 주소변환 메모리 배치법(Adress Translation Menory Mapping)과 데이터 정렬을 위한 연산기가 필요없는 고정위치 참조방식(Index Boarding Method)을 사용하여 벡터 그래픽 처리를 수행함으로써 적은 자원의 소프트웨어 또는 작은 크기의 하드웨어로 고성능의 벡터 그래픽 처리가 가능한 효과가 있다.According to the present invention as described above, vector graphics processing is performed using an address translation memory mapping method that optimizes a used memory space and an index boarding method that does not require an operator for data alignment. This allows high-performance vector graphics processing with less resource software or smaller hardware.

이하에서는 첨부된 도면을 참조하여 본 발명의 바람직한 일 실시예를 상세하게 설명하기로 한다. Hereinafter, a preferred embodiment of the present invention will be described in detail with reference to the accompanying drawings.

도 2는 본 발명에 따른 2차원 벡터 그래픽 처리를 위한 라스터라이저의 내부 구성을 도시한 구성 블록도이다.2 is a block diagram showing the internal configuration of a rasterizer for two-dimensional vector graphics processing according to the present invention.

도 2를 참조하면, 본 발명에 따른 2차원 벡터 그래픽 처리를 위한 라스터라이저는 셀 정보 생성부(10), 주소 변환부(20), 메인 메모리(30), Y축 인덱스 보드(40), X축 인덱스부(50), X축 인덱스 보드(60) 및 스팬 생성부(70)를 포함하여 구성된다.Referring to FIG. 2, the rasterizer for two-dimensional vector graphics processing according to the present invention includes a cell information generation unit 10, an address conversion unit 20, a main memory 30, a Y-axis index board 40, The X-axis index unit 50, the X-axis index board 60, and the span generator 70 are configured to be included.

셀 정보 생성부(10)는 벡터 좌표로 구성된 도형정보로부터 에지를 구성하는 셀 정보를 생성한다. 즉, 도형정보는 복수개의 꼭지점의 위치좌표와 각 꼭지점 간의 연결 정보를 포함하며, 셀 정보 생성부(10)는 이러한 꼭지점의 위치좌표와 포인 트 간의 연결정보에 기초하여 각 꼭지점들을 연결하는 에지를 구성하는 각 셀의 위치좌표들을 추출한다.The cell information generation unit 10 generates cell information constituting an edge from figure information composed of vector coordinates. That is, the figure information includes the position coordinates of the plurality of vertices and the connection information between each vertex, and the cell information generation unit 10 connects the edges connecting the vertices based on the connection information between the position coordinates and the points of the vertices. Extract positional coordinates of each cell.

주소 변환부(20)는 셀 정보 생성부(10)에서 생성된 셀들의 위치좌표를 메모리 어드레스 정보로 변환하여 X좌표 또는 Y좌표가 같은 셀의 좌표정보를 같은 라인에 그룹화하여 메인 메모리(30)에 저장하는 기능과 생성된 셀들의 위치좌표를 메모리 어드레스 정보로 변환하는 과정에서 셀 프로파일 정보를 기록한 Y축 인덱스 보드(40)를 생성하는 기능을 수행하는 것이다. The address conversion unit 20 converts the position coordinates of the cells generated by the cell information generation unit 10 into memory address information to group the coordinate information of cells having the same X coordinate or the Y coordinate on the same line and to the main memory 30. And a function of generating the Y-axis index board 40 recording the cell profile information in the process of converting the position coordinates of the generated cells into the memory address information.

X축 인덱스 보드(60)는 X좌표별로 유효비트 기록 영역이 할당되어 해당 위치의 X좌표에 셀이 존재하는 경우 해당 X좌표에 유효비트가 기록되는 것이고, X축 인덱스부(50)는 메인 메모리(30)로부터 각 라인별로 셀의 좌표정보를 추출하여 추출된 각 셀의 X좌표에 기초하여 X 인덱스 보드(60)의 해당 X좌표에 유효비트를 기록하는 것으로서 이들의 기능에 대해서는 도 5에서 상세하게 설명하기로 한다. In the X-axis index board 60, when a valid bit recording area is allocated for each X coordinate, and a cell exists in the X coordinate of the corresponding position, the valid bit is recorded in the corresponding X coordinate, and the X axis index unit 50 includes the main memory. Extracting the coordinate information of the cell for each line from the line 30 and writing the valid bits in the corresponding X coordinate of the X index board 60 based on the extracted X coordinate of each cell. I will explain.

스팬 생성부(70)는 메인 메모리(30)에 저장된 각 셀 정보와 X축 인덱스 보드(60)의 유효비트를 참조하여 시작셀과 마감셀을 추출하여 스팬을 생성하는 부분이다.The span generator 70 extracts a start cell and a finish cell with reference to each cell information stored in the main memory 30 and valid bits of the X-axis index board 60 to generate a span.

도 3a는 X-max 배치법에 따라 셀 좌표의 위치정보가 메인 메모리(30)에 저장되는 방식을 설명하기 위한 도면이다.FIG. 3A is a diagram for describing a method of storing location information of cell coordinates in the main memory 30 according to an X-max arrangement method.

도 3a에 도시된 바와 같이, X-max 배치법은 2차원 셀 위치정보를 메모리 어드레스로 변환하는 방법 중 하나로서, 하나의 Y좌표값(예를 들면 Y2)에 위치할 수 있는 점의 개수를 Xmax(X축의 최대변위)개로 한정하여 이를 하나의 라인으로 할당하고 Y축의 좌표수를 Yr개라고 할 때 Yr개의 라인을 할당하여 주어진 셀의 위치좌표를 해당 라인에 기록한 것으로서 해상도에 따라 그 위치가 달라지게 된다. 본 실시예에서는 1024 × 480의 해상도를 기준으로 하여 Xmax값을 1024로 결정하였다. As shown in FIG. 3A, the X-max positioning method is a method of converting two-dimensional cell position information into a memory address, and counts the number of points that can be located at one Y coordinate value (for example, Y 2 ). It is limited to Xmax (maximum displacement of X axis) and assigns it as one line, and when Yr coordinate number is Yr, Yr lines are allocated and the position coordinates of a given cell are recorded in the corresponding line. Will be different. In this embodiment, the Xmax value is determined as 1024 based on the resolution of 1024 x 480.

도 3a에서는 y0 라인에 x0y0, x1y0, x4y0, x5y0, xmaxy0 의 5개의 셀이 존재하는 것을 예시하였으며, Y축을 기준으로 셀의 위치좌표들이 어드레스별로 정렬되어 저장되어 있으므로 이러한 주소 변환 메모리 배치법을 사용할 경우 종래 스캔 컨버전 방식에 따른 Y축 정렬 작업이 요구되지 않게 된다. 특히, 특정 Y좌표에 해당하는 셀 좌표를 다 읽은 후에는 다음 Y좌표의 시작 어드레스를 알고 있으므로 데이터 판독 속도가 매우 빠른 장점이 있다. 즉, y0 라인에 속하는 셀 좌표들을 모두 읽은 경우에는 y1 라인의 시작 어드레스가 Cx2000임을 알고 있으므로 바로 해당 어드레스를 접근하여 셀 좌표들을 판독하게 되는 것이다.To y 0 line in Fig. 3a x 0 y 0, x 1 y 0, x 4 y 0, For example, there are 5 cells of x 5 y 0 and x max y 0. Since the position coordinates of the cells are stored by address based on the Y axis, the address translation memory arrangement method may be used according to the conventional scan conversion method. Y-axis alignment is not required. In particular, after reading the cell coordinates corresponding to a specific Y coordinate, since the start address of the next Y coordinate is known, the data reading speed is very fast. That is, when all the cell coordinates belonging to the line y 0 are read, the start address of the line y 1 is known as Cx2000, and thus the cell addresses are read by accessing the corresponding address.

도 3b는 Y-folding 배치법에 따라 셀 좌표의 위치정보가 메인 메모리에 저장되는 방식을 설명하기 위한 도면이다.3B is a diagram for describing a method of storing location information of cell coordinates in a main memory according to a Y-folding arrangement method.

도 3a에 도시된 바와 같이, Y-folding 배치법은 2차원 셀 위치정보를 메모리 어드레스로 변환하는 다른 방법 중 하나로서, 셀의 위치좌표를 하나의 X좌표값(예를 들면 X2)에 위치할 수 있는 점의 개수를 Yr(Y축의 최대변위)개로 한정하여 X축을 중심으로 주어진 셀의 위치좌표를 기록한 것으로서, 본 실시예에서는 1024 × 480 의 해상도를 기준으로 하여 Yr값을 480으로 결정하였다.As shown in FIG. 3A, the Y-folding positioning method is another method of converting two-dimensional cell position information into a memory address, and the position coordinate of the cell is located at one X coordinate value (for example, X 2 ). The number of possible points is limited to Yr (maximum displacement of Y axis), and the position coordinates of a given cell are recorded around the X axis. In this embodiment, the Yr value is determined to be 480 based on a resolution of 1024 × 480.

Y-folding 배치법은 X축을 기준으로 셀의 위치좌표를 기록한 것이 Xmax 배치법과 상이하다. Xmax 배치법에서는 하나의 스캔라인에 기록될 수 있는 점의 개수가 1024개로 제한되어 에지가 특정 스캔라인을 기준으로 교차점이 많은 경우에는 모든 점을 표시할 수 없게 되는 단점이 있으나, Y-folding 배치법에 의할 경우 통상적으로 Y축의 좌표수(예를 들면 480)가 X축의 좌표수(예를 들면 1024)보다 적으므로 X축라인을 위해 할당하는 메모리의 양이 적고 X축의 좌표수를 보다 큰 값으로 설정할 수 있는 장점이 있다. The Y-folding layout method differs from the Xmax layout method in that the positional coordinates of cells are recorded based on the X axis. In the Xmax layout method, the number of points that can be recorded in one scan line is limited to 1024, so when the edge has many intersection points based on a specific scan line, all points cannot be displayed. In this case, since the number of coordinates on the Y axis (for example, 480) is smaller than the number of coordinates on the X axis (for example, 1024), the amount of memory allocated for the X axis line is small and the number of coordinates on the X axis is larger. There is an advantage that can be set.

도 4는 Y축 인덱스 보드의 데이터 구조를 도시한 것이다.4 shows a data structure of a Y-axis index board.

도 4에 도시된 바와 같이, Y축 인덱스 보드(40)에는 각 Y좌표별 셀 프로파일 정보가 기록된다. As shown in FIG. 4, cell profile information for each Y coordinate is recorded in the Y-axis index board 40.

여기서, Y축 인덱스 보드(40)는 메인 메모리(30) 내에 생성되도록 하여 X축 인덱스부(50)에서 각 셀들의 위치좌표와 Y축 인덱스 보드(40)에 기록된 값을 함께 독출하도록 하는 것도 가능하다.Here, the Y-axis index board 40 is generated in the main memory 30 so that the X-axis index unit 50 reads the position coordinates of the cells and the values recorded in the Y-axis index board 40 together. It is possible.

이는 후술하는 X축 인덱스 보드(60)를 통한 X축 정렬시 메인 메모리(30)의 검색 시간을 단축하기 위한 것으로서 도 5에서 설명하기로 한다.This is to shorten the search time of the main memory 30 when the X-axis is aligned through the X-axis index board 60 which will be described later.

도 5는 X축 인덱스 보드의 데이터 구조를 도시한 것이다.5 shows a data structure of an X-axis index board.

도 5에 도시된 바와 같이, X축 인덱스 보드(60)는 각 X좌표별로 메모리가 할당되어 현재 검색중인 Y좌표의 해당 라인에 위치하는 셀의 존재 여부를 표시하는 유효비트가 기록되는 부분과 해당 셀의 안티 애일리어싱(Anti Ailasing) 정보를 표시하는 안티 애일리어싱 정보가 기록되는 부분을 포함한다.As shown in FIG. 5, the X-axis index board 60 has a portion in which memory is allocated for each X-coordinate and a portion in which a valid bit indicating whether there is a cell located in a corresponding line of the Y-coordinate currently being searched is recorded. And a portion in which anti-aliasing information indicating anti-aliasing information of a cell is recorded.

X축 인덱스부(50)는 Y축을 기준으로 정렬된 셀 정보들을 라인 별로 독출하면서 해당라인에 위치하는 셀의 X좌표를 X축 인덱스 보드(60)의 유효비트로 기록하고, 해당 셀에 안티 애일리어싱 정보가 존재하는 경우 이를 같이 표시하게 된다. X축 인덱스부(50)에는 유효비트, 안티애일리어싱 정보 외에 화면 표시에 필요한 각종 정보가 저장될 수 있다.The X-axis index unit 50 reads cell information arranged on the Y axis line by line and records the X coordinate of the cell located in the line as a valid bit of the X-axis index board 60, and stores the anti-alias in the corresponding cell. If there is information, it is displayed together. In addition to the valid bit and antialiasing information, the X-axis index unit 50 may store various kinds of information necessary for screen display.

X축 인덱스 보드(60)는 검색하는 라인이 변경될 때마다 기록되는 값이 갱신된다. The X-axis index board 60 is updated every time a line to be searched is changed.

스팬 생성부(70)는 X축 인덱스 보드(60)에 기록된 값을 참조하여 홀수번째 유효비트를 갖는 셀과 다음 셀 간을 연결하는 스팬을 생성하게 된다. The span generator 70 generates a span that connects a cell having an odd-numbered valid bit and a next cell with reference to a value recorded in the X-axis index board 60.

도 6은 본 발명에 따른 그래픽 처리 방법이 수행되는 알고리즘의 개념도이다. 도 6의 실시예에서는 주소변환 메모리 배치법으로서 Xmax 배치법을 예시하여 설명하기로 한다.6 is a conceptual diagram of an algorithm in which a graphic processing method according to the present invention is performed. In the embodiment of Fig. 6, the Xmax placement method will be described as an example of the address translation memory placement method.

도 6을 참조하면, 꼭지점을 이루는 복수개의 기준점과 기준점 간의 연결정 보(직선, 커브 등)가 벡터좌표로 기록된 도형 정보가 셀 정보 생성부(10)로 입력되면, 셀 정보 생성부(10)는 기준점과 이들 간의 연결정보에 기초하여 도형의 에지를 구성하는 셀의 위치좌표값을 추출한다.Referring to FIG. 6, when graphic information in which connection information (straight line, curve, etc.) between a plurality of reference points constituting vertices and reference points is recorded as vector coordinates is input to the cell information generator 10, the cell information generator 10 ) Extracts the position coordinate values of the cells constituting the edge of the figure based on the reference point and the connection information therebetween.

추출된 셀의 위치좌표값은 주소 변환부(20)로 입력되고, 주소 변환부(20)는 도 3a와 같이, Y좌표가 같은 셀의 좌표정보들을 같은 라인으로 그룹화하여 메인 메모리에 저장한다. 이로써 셀들은 Y축을 기준으로 순서적으로 정렬되어 저장되어 있으므로 종래와 같은 별도의 Y 정렬 작업이 요구되지 않아 처리 시간이 단축된다.The position coordinate values of the extracted cells are input to the address conversion unit 20, and the address conversion unit 20 groups the coordinate information of cells having the same Y coordinate in the same line and stores them in the main line as shown in FIG. 3A. As a result, since the cells are stored in a sorted order on the Y axis, a separate Y sorting operation is not required as in the related art, thereby reducing processing time.

주소 변환부(20)는 이와 동시에 셀 프로파일 정보를 Y축 인덱스 보드(40)에 기록하는 Y축 인덱싱 기능을 수행하여 X축 정렬시의 검색시간을 단축시키도록 한다.At the same time, the address conversion unit 20 performs the Y-axis indexing function for recording the cell profile information on the Y-axis index board 40 so as to shorten the search time during the X-axis alignment.

X축 인덱스부(50)는 메인 메모리(30)에 저장되어 있는 Y축 정렬된 셀의 위치좌표 정보를 각 라인(Y좌표)별로 읽어오면서 X 인덱스 보드(60)의 각 X좌표에 해당하는 셀이 존재하는 경우 해당 X좌표에 유효비트를 기록하여 Y축만으로 정렬된 각 셀들을 X축으로 정렬시키게 된다. The X-axis index unit 50 reads the position coordinate information of the Y-axis aligned cells stored in the main memory 30 for each line (Y coordinate), and corresponds to a cell corresponding to each X coordinate of the X index board 60. If is present, the valid bits are written in the corresponding X coordinate to align the cells aligned on the Y axis with the X axis.

스팬 생성부(70)는 X축 인덱서부(50)로부터 독출되는 하나의 처리 라인(Y좌표)마다 Y 인덱스 보드(40) 및 X 인덱스 보드(60)에 기록된 값을 참조하여 해당 라인에 위치하는 셀의 개수 및 각 셀의 X좌표를 독출하여 홀수번째 유효비트를 갖는 셀과 다음 셀 간을 연결하는 스팬을 생성하게 된다.The span generator 70 is located on the line with reference to the values recorded in the Y index board 40 and the X index board 60 for each processing line (Y coordinate) read out from the X-axis indexer 50. The number of cells to be read and the X coordinate of each cell are read to generate a span that connects a cell having an odd number of significant bits to a next cell.

도 7은 본 발명의 다른 일 실시예에 따른 2차원 벡터 그래픽 처리를 위한 라 스터라이저의 내부 구성을 도시한 구성 블록도이다.7 is a block diagram illustrating an internal configuration of a rasterizer for two-dimensional vector graphics processing according to another embodiment of the present invention.

도 7의 실시예는 메인 메모리에 셀의 위치정보가 저장되는 방식 및 Y축 인덱스 보드(40)에 저장되는 데이터의 종류가 기본 실시예와 상이하고 X축 인덱스부와 X축 인덱스 보드의 구성이 생략되어 있는 것이 기본 실시예와 다르다.In the embodiment of FIG. 7, the position information of the cell is stored in the main memory and the type of data stored in the Y-axis index board 40 are different from those of the basic embodiment, and the X-axis index unit and the X-axis index board are configured. What is omitted differs from the basic embodiment.

보다 상술하면, 본 실시예에서는 메인 메모리 상에 셀의 위치좌표를 저장하는 방식으로서, 화면 해상도(Xmax, Ymax)에 대응하는 크기의 메모리 영역을 확보하는 방식(즉, 예를 들면 1024 × 480개의 메모리 어드레스) 또는 셀 프로파일 정보(Xmin, Xmax, Ymin, Ymax)를 이용하여 셀이 차지하는 2차원 공간에 대응되는 크기의 메모리 영역이 확보되도록 하는 방식(즉, (Xmax-Xmin) × (Ymax-Ymin)개의 메모리 어드레스)을 사용하여 화면의 위치좌표와 메모리의 저장 영역을 일대일 매칭시켜 사용하도록 하는 것이다.More specifically, in the present embodiment, as a method of storing the position coordinates of the cells in the main memory, a method of securing a memory area having a size corresponding to the screen resolution (Xmax, Ymax) (i.e., 1024 x 480 By using memory address) or cell profile information (Xmin, Xmax, Ymin, Ymax), a memory area having a size corresponding to the two-dimensional space occupied by the cell is secured (that is, (Xmax-Xmin) × (Ymax-Ymin (1) memory addresses) to match the screen position coordinates with the storage area of the memory in a one-to-one correspondence.

이러한 경우 Y축 인덱스 보드(40)에 저장되는 셀 프로파일 정보에는 셀 개수 외에 Xmin, Xmax, Ymin, Ymax 등의 최대변위 정보가 포함된다.In this case, the cell profile information stored in the Y-axis index board 40 includes the maximum displacement information such as Xmin, Xmax, Ymin, and Ymax in addition to the number of cells.

스팬 생성부(70)는 메인 메모리(30)에 저장되어 있는 각 셀의 위치정보와 Y축 인덱스 보드(40)에 저장되어 있는 셀 프로파일 정보를 참조하여 스팬을 생성하며, 본 실시예에서는 셀의 위치정보가 메인 메모리(30) 상의 정해진 위치에 저장되므로 별도의 X축 인덱싱 기능이 요구되지 않는 점이 기본 실시예와 상이하다. The span generator 70 generates a span by referring to position information of each cell stored in the main memory 30 and cell profile information stored in the Y-axis index board 40. In this embodiment, Since the positional information is stored at a predetermined position on the main memory 30, it is different from the basic embodiment in that a separate X-axis indexing function is not required.

본 실시예에서는 셀정보 생성부(10)에서 벡터 좌표로 구성된 도형정보로부터 에지를 구성하는 셀의 위치정보를 추출하는 단계, 주소변환부(20)에서 생성된 셀들의 위치좌표를 메모리 어드레스 정보로 변환하여 화면 해상도 또는 상기 셀들의 위 치좌표의 X축 및 Y축의 최대 및 최소변위에 의해 형성되는 2차원 공간에 대응하는 크기의 메모리 영역에 저장하는 단계, 주소 변환부(20)에서 생성된 셀들의 위치좌표를 메모리 어드레스 정보로 변환하는 과정에서 셀 프로파일 정보를 Y좌표별로 기록한 Y축 인덱스 보드를 생성하는 단계 및 스팬 생성부(70)에서 상기 메모리 영역에 저장된 셀의 위치좌표와 상기 Y축 인덱스 보드에 기록된 셀 프로파일 정보를 참조하여 시작셀과 마감셀을 추출하여 스팬을 생성하는 단계를 통해 처리된다.In the present embodiment, the cell information generating unit 10 extracts the position information of the cells constituting the edge from the figure information composed of the vector coordinates, and the position coordinates of the cells generated by the address conversion unit 20 as the memory address information. Converting and storing the image in a memory area having a size corresponding to a two-dimensional space formed by screen resolution or maximum and minimum displacements of the X and Y axes of the position coordinates of the cells, and the cells generated by the address conversion unit 20. Generating a Y-axis index board recording cell profile information for each Y-coordinate in a process of converting the position coordinates of the memory into memory address information and the position coordinates of the cells stored in the memory area and the Y-axis index in the span generator 70. The process is performed by generating a span by extracting a start cell and a finish cell with reference to cell profile information recorded on the board.

비록 본 발명이 상기 언급된 바람직한 실시예와 관련하여 설명되어졌지만, 발명의 요지와 범위로부터 벗어남이 없이 다양한 수정이나 변형을 하는 것이 가능하다. 따라서 첨부된 특허청구의 범위는 본 발명의 요지에서 속하는 이러한 수정이나 변형을 포함할 것이다.Although the present invention has been described in connection with the above-mentioned preferred embodiments, it is possible to make various modifications or variations without departing from the spirit and scope of the invention. Accordingly, the appended claims are intended to cover such modifications or changes as fall within the scope of the invention.

도 1은 스캔 컨버전 방식에 따른 벡터 그래픽 처리방법을 예시적으로 설명하기 위한 도면이다.1 is a diagram for exemplarily describing a vector graphic processing method according to a scan conversion method.

도 2는 본 발명에 따른 2차원 벡터 그래픽 처리를 위한 라스터라이저의 내부 구성을 도시한 구성 블록도이다.2 is a block diagram showing the internal configuration of a rasterizer for two-dimensional vector graphics processing according to the present invention.

도 3a는 X-max 배치법에 따라 셀 좌표의 위치정보가 메인 메모리에 저장되는 방식을 설명하기 위한 도면이다.FIG. 3A is a diagram for describing a method of storing location information of cell coordinates in a main memory according to an X-max arrangement method.

도 3b는 Y-folding 배치법에 따라 셀 좌표의 위치정보가 메인 메모리에 저장되는 방식을 설명하기 위한 도면이다.3B is a diagram for describing a method of storing location information of cell coordinates in a main memory according to a Y-folding arrangement method.

도 4는 Y축 인덱스 보드의 데이터 구조를 도시한 것이다.4 shows a data structure of a Y-axis index board.

도 5는 X축 인덱스 보드의 데이터 구조를 도시한 것이다.5 shows a data structure of an X-axis index board.

도 6은 본 발명에 따른 그래픽 처리 방법이 수행되는 알고리즘의 개념도이다.6 is a conceptual diagram of an algorithm in which a graphic processing method according to the present invention is performed.

도 7은 본 발명의 다른 일 실시예에 따른 2차원 벡터 그래픽 처리를 위한 라스터라이저의 내부 구성을 도시한 구성 블록도이다.7 is a block diagram illustrating an internal configuration of a rasterizer for two-dimensional vector graphics processing according to another embodiment of the present invention.

<주요도면부호에 관한 설명><Description of main drawing code>

10 : 셀정보 생성부10: cell information generation unit

20 : 주소 변환부20: address conversion unit

30 : 메인 메모리30: main memory

40 : Y축 인덱스 보드40: Y axis index board

50 : X축 인덱스부50: X axis index portion

60 : X축 인덱스 보드60: X axis index board

70 : 스팬 생성부70: span generator

Claims (10)

벡터 좌표로 구성된 도형정보로부터 에지를 구성하는 셀 정보를 생성하는 셀 정보 생성부;A cell information generation unit generating cell information constituting an edge from figure information composed of vector coordinates; 상기 생성된 셀들의 위치좌표를 메모리 어드레스 정보로 변환하여 Y좌표가 같은 셀의 좌표정보를 같은 라인에 그룹화하여 순차적으로 메인 메모리에 저장하는 주소 변환부;An address conversion unit for converting the position coordinates of the generated cells into memory address information and grouping coordinate information of cells having the same Y coordinate in the same line and sequentially storing the coordinate information in the main memory; X좌표별로 유효비트 기록 영역이 할당되어 해당 위치의 X좌표에 셀이 존재하는 경우 해당 X좌표에 유효비트가 기록되는 X 인덱스 보드;An X index board in which a valid bit recording area is allocated for each X coordinate and a valid bit is recorded in the corresponding X coordinate when a cell exists in the X coordinate of the corresponding position; 상기 메인 메모리로부터 각 라인별로 셀의 좌표정보를 추출하여 추출된 각 셀의 X좌표에 기초하여 상기 X 인덱스 보드의 해당 X좌표에 유효비트를 기록하는 X축 인덱스부; 및An X-axis index unit configured to extract coordinate information of cells for each line from the main memory and write valid bits in corresponding X coordinates of the X index board based on the extracted X coordinates of each cell; And 상기 X축 인덱스 보드의 유효비트를 참조하여 시작셀과 마감셀을 추출하여 스팬을 생성하는 스팬 생성부를 포함하는 것을 특징으로 하는 2차원 벡터 그래픽 처리를 위한 라스터라이저.And a span generator configured to generate a span by extracting a start cell and a finish cell with reference to a valid bit of the X-axis index board. 제 1 항에 있어서,The method of claim 1, 상기 주소 변환부는 상기 생성된 셀들의 위치좌표를 메모리 어드레스 정보로 변환하는 과정에서 셀 프로파일 정보를 Y좌표별로 기록한 Y축 인덱스 보드를 생성 하는 것을 특징으로 하는 2차원 벡터 그래픽 처리를 위한 라스터라이저. And the address conversion unit generates a Y-axis index board recording cell profile information for each Y coordinate in the process of converting the position coordinates of the generated cells into memory address information. 제 2 항에 있어서,The method of claim 2, 상기 Y축 인덱스 보드는 메인 메모리 내에 생성되는 것을 특징으로 하는 2차원 벡터 그래픽 처리를 위한 라스터라이저. And the Y-axis index board is generated in a main memory. 제 1 항에 있어서,The method of claim 1, 상기 메인 메모리에서 상기 메모리 어드레스 정보가 저장되는 영역은The area in which the memory address information is stored in the main memory is 화면의 해상도에 따라 X축 또는 Y축 중 어느 한축의 최대변위값에 해당하는 개수의 어드레스를 1개의 라인으로 설정되고 나머지 한축의 최대변위값에 해당하는 개수만큼의 라인이 구비되어 X좌표 또는 Y좌표가 같은 셀의 좌표정보를 같은 라인에 그룹화하여 저장되는 것을 특징으로 하는 2차원 벡터 그래픽 처리를 위한 라스터라이저.According to the resolution of the screen, the number of addresses corresponding to the maximum displacement value of either one of the X axis or the Y axis is set to one line, and the number of lines corresponding to the maximum displacement value of the other axis is provided so that the X coordinate or Y Rasterizer for processing two-dimensional vector graphics, characterized in that the coordinate information of the same cell grouped in the same line and stored. 제 1 항에 있어서,The method of claim 1, 상기 X축 인덱스 보드는 셀이 존재하는 각 X좌표마다 안티 애일리어싱(Anti Ailasing) 정보를 표시하는 안티 애일리어싱 기록 영역 및 화면 표시에 필요한 정 보를 기록하는 영역이 더 구비되는 것을 특징으로 하는 2차원 벡터 그래픽 처리를 위한 라스터라이저. The X-axis index board further includes an anti-aliasing recording area for displaying anti-aliasing information and an area for recording information necessary for screen display for each X-coordinate in which a cell exists. Rasterizer for 2-D vector graphics processing. 벡터 좌표로 구성된 도형정보로부터 에지를 구성하는 셀 정보를 생성하는 셀 정보 생성부;A cell information generation unit generating cell information constituting an edge from figure information composed of vector coordinates; 상기 생성된 셀들의 위치좌표를 메모리 어드레스 정보로 변환하여 화면 해상도 또는 상기 셀들의 위치좌표의 X축 및 Y축의 최대 및 최소변위에 의해 형성되는 2차원 공간에 대응하는 크기의 메모리 영역에 저장하는 주소 변환부;An address that converts the generated position coordinates of the cells into memory address information and stores them in a memory area having a size corresponding to a two-dimensional space formed by screen resolution or the maximum and minimum displacements of the X and Y axes of the position coordinates of the cells. A conversion unit; 상기 생성된 셀들의 위치좌표를 메모리 어드레스 정보로 변환하는 과정에서 셀 프로파일 정보가 Y좌표별로 기록되는 Y축 인덱스 보드; 및A Y-axis index board in which cell profile information is recorded for each Y-coordinate in the process of converting the positional coordinates of the generated cells into memory address information; And 상기 메모리 영역에 저장된 셀의 위치좌표와 상기 Y축 인덱스 보드에 기록된 셀 프로파일 정보를 참조하여 시작셀과 마감셀을 추출하여 스팬을 생성하는 스팬 생성부를 포함하는 것을 특징으로 하는 2차원 벡터 그래픽 처리를 위한 라스터라이저.And a span generation unit configured to generate a span by extracting a start cell and a finish cell by referring to the position coordinates of the cells stored in the memory area and the cell profile information recorded on the Y-axis index board. Rasterizer for 제 6 항에 있어서,The method of claim 6, 상기 프로파일 정보는 Y좌표별 해당 셀 개수, X축 최대변위, X축 최소변위, Y축 최대변위, Y축 최소변위를 포함하는 것을 특징으로 하는 2차원 벡터 그래픽 처 리를 위한 라스터라이저.The profile information includes a rasterizer for two-dimensional vector graphics processing, including the number of cells corresponding to each Y coordinate, the maximum X-axis displacement, the minimum X-axis displacement, the maximum Y-axis displacement, and the minimum Y-axis displacement. 벡터 좌표로 구성된 도형정보로부터 에지를 구성하는 셀의 위치좌표를 추출하는 제 1 단계;Extracting a position coordinate of a cell constituting an edge from figure information composed of vector coordinates; 상기 추출된 셀들의 위치좌표를 메모리 어드레스 정보로 변환하여 Y좌표가 같은 셀의 좌표정보를 같은 라인에 그룹화하여 순차적으로 저장하는 제 2 단계;A second step of converting the position coordinates of the extracted cells into memory address information and sequentially storing coordinate information of cells having the same Y coordinate in the same line; 라인별로 셀의 좌표정보를 추출하여 각 X좌표마다 해당 X좌표값을 갖는 셀이 있는지 여부를 유효비트로서 기록하는 제 3 단계; 및Extracting the coordinate information of the cell for each line and recording whether there is a cell having the corresponding X coordinate value for each X coordinate as a valid bit; And 상기 유효비트를 참조하여 시작셀과 마감셀을 추출하여 스팬을 생성하는 제 4 단계를 포함하는 것을 특징으로 하는 2차원 벡터 그래픽 처리방법. And a fourth step of generating a span by extracting a start cell and a finish cell with reference to the valid bit. 제 8 항에 있어서,The method of claim 8, 상기 제 2 단계와 3단계 사이에는 Between the second and third steps 상기 추출된 셀들의 위치좌표를 메모리 어드레스 정보로 변환하는 과정에서 셀 프로파일 정보를 Y좌표별로 기록하는 제 5 단계가 더 포함되고,A fifth step of recording cell profile information for each Y coordinate in the process of converting the position coordinates of the extracted cells into memory address information; 상기 제 4 단계는 상기 유효비트와 상기 제 5 단계에서 기록된 Y좌표별 셀의 개수 정보를 참조하여 스팬을 생성하는 것을 특징으로 하는 2차원 벡터 그래픽 처 리방법. In the fourth step, the span is generated by referring to the valid bits and information about the number of cells per Y coordinate recorded in the fifth step. 벡터 좌표로 구성된 도형정보로부터 에지를 구성하는 셀의 위치좌표를 추출하는 제 1 단계;Extracting a position coordinate of a cell constituting an edge from figure information composed of vector coordinates; 상기 추출된 셀들의 위치좌표를 메모리 어드레스 정보로 변환하여 화면 해상도 또는 상기 셀들의 위치좌표의 X축 및 Y축의 최대 및 최소변위에 의해 형성되는 2차원 공간에 대응하는 크기의 메모리 영역에 저장하는 제 2 단계;Converting the coordinates of the extracted cells into memory address information and storing the extracted coordinates in a memory area having a size corresponding to a two-dimensional space formed by screen resolution or maximum and minimum displacements of the X and Y axes of the coordinates of the cells; Two steps; 상기 추출된 셀들의 위치좌표를 메모리 어드레스 정보로 변환하는 과정에서 셀 프로파일 정보를 Y좌표별로 기록한 Y축 인덱스 보드를 생성하는 제 3 단계; 및Generating a Y-axis index board recording cell profile information for each Y-coordinate in a process of converting the positional coordinates of the extracted cells into memory address information; And 상기 메모리 영역에 저장된 셀의 위치좌표와 상기 Y축 인덱스 보드에 기록된 셀 프로파일 정보를 참조하여 시작셀과 마감셀을 추출하여 스팬을 생성하는 제 3 단계를 포함하는 것을 특징으로 하는 2차원 벡터 그래픽 처리방법. And a third step of generating a span by extracting a start cell and a finish cell with reference to the position coordinates of the cells stored in the memory area and the cell profile information recorded on the Y-axis index board. Treatment method.
KR1020080111717A 2008-11-11 2008-11-11 A Rasterizer For 2D Vector Graphics And Method KR101039132B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020080111717A KR101039132B1 (en) 2008-11-11 2008-11-11 A Rasterizer For 2D Vector Graphics And Method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020080111717A KR101039132B1 (en) 2008-11-11 2008-11-11 A Rasterizer For 2D Vector Graphics And Method

Publications (2)

Publication Number Publication Date
KR20100052850A KR20100052850A (en) 2010-05-20
KR101039132B1 true KR101039132B1 (en) 2011-06-03

Family

ID=42278043

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020080111717A KR101039132B1 (en) 2008-11-11 2008-11-11 A Rasterizer For 2D Vector Graphics And Method

Country Status (1)

Country Link
KR (1) KR101039132B1 (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20120090354A (en) 2011-02-07 2012-08-17 삼성전자주식회사 Edge management unit for 2-dimension vector graphics, graphic processing apparatus and method thereof
KR101338370B1 (en) * 2012-04-27 2013-12-10 주식회사 컴퍼니원헌드레드 Batch rendering method using graphic processing unit of two dimension vector graphics
CN113947516A (en) * 2020-07-17 2022-01-18 芯原微电子(上海)股份有限公司 Vector graphics data processing method, vector graphics data processing system, vector graphics data processing medium, and vector graphics processing apparatus
CN113947515A (en) * 2020-07-17 2022-01-18 芯原微电子(上海)股份有限公司 Subdivision curve data processing implementation method, subdivision curve data processing implementation system, subdivision curve data processing medium and vector graphics processing device
CN113947519A (en) * 2020-07-17 2022-01-18 芯原微电子(上海)股份有限公司 Subdivision curve data processing method, subdivision curve data processing system, subdivision curve data processing medium, and vector graphics processing apparatus

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20050024619A (en) * 2003-09-05 2005-03-10 펜탁스 인더스트리얼 인스트루먼츠 가부시키가이샤 Vector-graphic data processing method and drawing apparatus
KR20050025069A (en) * 2003-09-05 2005-03-11 펜탁스 인더스트리얼 인스트루먼츠 가부시키가이샤 Multi-exposure drawing method and apparatus thereof
KR100803947B1 (en) 2006-12-01 2008-02-15 주식회사 코아로직 Apparatus and method for open vector graphic application program interface translation, mobiile terminal, and record medium on which the method is recorded

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20050024619A (en) * 2003-09-05 2005-03-10 펜탁스 인더스트리얼 인스트루먼츠 가부시키가이샤 Vector-graphic data processing method and drawing apparatus
KR20050025069A (en) * 2003-09-05 2005-03-11 펜탁스 인더스트리얼 인스트루먼츠 가부시키가이샤 Multi-exposure drawing method and apparatus thereof
KR100803947B1 (en) 2006-12-01 2008-02-15 주식회사 코아로직 Apparatus and method for open vector graphic application program interface translation, mobiile terminal, and record medium on which the method is recorded

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
박정훈, 이광엽, 정태의, "모바일 기기를 위한 스캔라인 엣지 플래그 방식의 2D 벡터 그래픽 레스터라이저 설계", 한국해양정보통신학회 2008년도 춘계종합학술대회 A, pp. 298-301, 2008.5.

Also Published As

Publication number Publication date
KR20100052850A (en) 2010-05-20

Similar Documents

Publication Publication Date Title
CN104183005B (en) Graphics processing unit and rendering intent based on segment
US9916674B2 (en) Baking path rendering objects into compact and efficient memory representations
KR101349171B1 (en) 3-dimensional graphics accelerator and method of distributing pixel thereof
JP4280270B2 (en) Method for unindexing geometric primitives, rasterization device, and computer-readable medium
EP0454136A2 (en) Method and apparatus for generating three dimensional graphic symbols
KR101136737B1 (en) Method of and appartus for processing graphics
US20050231506A1 (en) Triangle identification buffer
US10540789B2 (en) Line stylization through graphics processor unit (GPU) textures
KR101039132B1 (en) A Rasterizer For 2D Vector Graphics And Method
JPH0572627B2 (en)
JP3586991B2 (en) Texture data reading device and rendering device
US20040036674A1 (en) Apparatus and method for associating voxel information with display positions
CN109636894B (en) Dynamic three-dimensional thermodynamic calculation method and system based on pixel rasterization
JP2009099098A (en) Computer graphics drawing device and drawing method
JP2882465B2 (en) Image generation method and apparatus
CN115701305A (en) Shadow screening
KR100453530B1 (en) Apparatus and method for drawing three dimensional graphics by converting two dimensional polygon data to three dimensional polygon data
KR20010012841A (en) Image processor and image processing method
US6614443B1 (en) Method and system for addressing graphics data for efficient data access
US20030231176A1 (en) Memory access device, semiconductor device, memory access method, computer program and recording medium
US20030231180A1 (en) Image processing apparatus and method of same
US6545675B1 (en) Three-dimensional graphics system, processor and recording medium
US7372466B2 (en) Image processing apparatus and method of same
GB2245806A (en) Generating an image
JPS63137378A (en) Graphics processing system

Legal Events

Date Code Title Description
A201 Request for examination
E902 Notification of reason for refusal
E902 Notification of reason for refusal
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: 20140502

Year of fee payment: 4

FPAY Annual fee payment

Payment date: 20150528

Year of fee payment: 5

FPAY Annual fee payment

Payment date: 20160527

Year of fee payment: 6

LAPS Lapse due to unpaid annual fee