KR20100019116A - Apparatus and method for processing mipmap image - Google Patents

Apparatus and method for processing mipmap image Download PDF

Info

Publication number
KR20100019116A
KR20100019116A KR1020080077982A KR20080077982A KR20100019116A KR 20100019116 A KR20100019116 A KR 20100019116A KR 1020080077982 A KR1020080077982 A KR 1020080077982A KR 20080077982 A KR20080077982 A KR 20080077982A KR 20100019116 A KR20100019116 A KR 20100019116A
Authority
KR
South Korea
Prior art keywords
image
texture
level
texture image
mipmap
Prior art date
Application number
KR1020080077982A
Other languages
Korean (ko)
Other versions
KR100977396B1 (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 KR1020080077982A priority Critical patent/KR100977396B1/en
Publication of KR20100019116A publication Critical patent/KR20100019116A/en
Application granted granted Critical
Publication of KR100977396B1 publication Critical patent/KR100977396B1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T15/003D [Three Dimensional] image rendering
    • G06T15/04Texture mapping
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T5/00Image enhancement or restoration
    • G06T5/40Image enhancement or restoration by the use of histogram techniques
    • G06T5/70
    • G06T5/73
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2210/00Indexing scheme for image generation or computer graphics
    • G06T2210/36Level of detail

Abstract

PURPOSE: An apparatus for processing mipmap image is provided to generate texture image of improved picture quality. CONSTITUTION: An image generation unit(110) generates texture image each level by enlarging or reducing basic texture image. The image generation unit set basic texture image to reference level. The image generation unit generates texture image of next level by enlarging or reducing texture image. An image filter unit(130) performs image filtering process to texture image each level.

Description

밉맵 이미지 처리 장치 및 그 방법{APPARATUS AND METHOD FOR PROCESSING MIPMAP IMAGE}Mipmap image processing apparatus and method thereof {APPARATUS AND METHOD FOR PROCESSING MIPMAP IMAGE}

본 발명은 3차원 그래픽 처리 장치에 관한 것으로, 더욱 상세하게는 3차원 그래픽의 텍스처 맵핑(texture mapping)에 이용하기 위한 밉맵 이미지(mipmap image) 처리 장치 및 그 방법에 관한 것이다.The present invention relates to a three-dimensional graphics processing apparatus, and more particularly to a mipmap image processing apparatus and method for use in texture mapping of three-dimensional graphics.

위치기반 서비스의 기술발전에 따라 차량 등을 비롯한 이동체의 현재 위치를 표시하는 여러 가지 내비게이션 시스템이 개발되어 시판되고 있다.With the development of location-based services, various navigation systems are being developed and marketed to display the current location of moving objects including vehicles.

이들 내비게이션 시스템은 통상적으로 표시패널의 화면에 지도 이미지를 표시하고 그 지도 이미지에 이동체의 주행방향을 화살표로 표시하거나 또는 이동체의 현재 위치를 표시하면서 주행경로를 안내하고 있다.These navigation systems typically display a map image on the screen of the display panel and guide the driving route while displaying the driving direction of the moving object on the map image with an arrow or displaying the current position of the moving object.

최근에는 컴퓨터의 성능 확장과 더불어 조감도(bird's eye view)와 같은 가상의 3차원 효과를 가질 수 있도록 3차원 컴퓨터 그래픽을 이용한 3차원의 지도 이미지를 이동체의 현재 위치와 함께 표시하는 3차원 내비게이션 시스템이 등장하고 있다.Recently, a 3D navigation system that displays a 3D map image using 3D computer graphics together with the current position of a moving object to have a virtual 3D effect such as a bird's eye view as well as computer performance expansion. It is appearing.

3차원 내비게이션 시스템은 원근 투영법의 3차원 화면에 지명을 함께 표시 하기 위하여 지명을 텍스트가 아닌 이미지의 형태로 미리 저장한 후 이를 폴리곤 즉, 건물에 텍스처 맵핑(texture mapping)시켜 표시하거나, 2차원 지도에서의 지명 좌표에 비례한 의사 좌표를 사용하여 표시할 수 있다.The 3D navigation system stores names in advance in the form of images rather than text to display them together in a perspective 3D screen, and displays them by texture mapping on polygons, ie buildings, or 2D maps. It can be represented using pseudo coordinates proportional to the geographical coordinates of Esau.

3차원 컴퓨터 그래픽은 3차원의 좌표를 가지는 모델링 데이터를 시점 등에 대한 정보에 기초하여 만들어질 수 있으며, 텍스처 맵핑은 현재의 모든 3차원 컴퓨터 그래픽에서 채택하는 방법으로 3차원의 객체에 2차원의 텍스처를 입힘으로써 적은 폴리곤으로 추상화된 객체가 보다 세밀하고 현실적인 표현을 갖도록 하는 방법이다.Three-dimensional computer graphics can be created based on information about the viewpoint, such as modeling data having three-dimensional coordinates, texture mapping is a method adopted by all current three-dimensional computer graphics, two-dimensional texture to three-dimensional objects By using, we can make objects abstracted by fewer polygons to have a more detailed and realistic representation.

3차원 컴퓨터 그래픽의 텍스처 맵핑 분야에서, 밉맵(mipmap)은 랜더링(rendering) 속도를 향상시키기 위한 목적으로 기본 텍스처와 이를 연속적으로 미리 축소시킨 텍스처들로 이루어진 비트맵 이미지의 집합으로 이루어진 것이다.In the field of texture mapping of three-dimensional computer graphics, mipmaps consist of a set of bitmap images consisting of a base texture and successive pre-shrink textures for the purpose of improving the rendering speed.

일반적으로, 밉맵을 이용하여 텍스처를 맵핑하는 방법에 있어서 밉맵을 선택하는 방법은 폴리곤 별로 대응되는 밉맵의 레벨을 선택하여 맵핑하는 방식과 픽셀의 깊이 정보를 이용하여 밉맵 레벨을 선택하여 맵핑하는 방식이 있다.In general, in the method of mapping a texture using a mipmap, a method of selecting a mipmap includes selecting and mapping a level of a mipmap corresponding to each polygon, and selecting and mapping a mipmap level using pixel depth information. have.

이 중 전자의 방법에 의한 텍스처 맵핑 방식은 폴리곤의 크기에 대응할 수 있도록 텍스처 이미지의 크기를 각기 다르게 한 밉맵을 미리 제작한 후 원하는 폴리곤의 크기와 가장 비슷한 크기의 텍스처 이미지를 우선적으로 선택하여 텍스처 맵핑을 수행하게 된다.The texture mapping method using the former method is to pre-create a mipmap with different texture image sizes so as to correspond to the polygon size, and then select a texture image with a size that most closely matches the desired polygon size. Will be performed.

그러나, 상기 밉맵을 제작하기 위하여 원본 이미지를 확대 또는 축소하는 과정에서 이미지의 화질 저하가 심해질 수 있으며 세밀한 표현을 요구하는 이미지 의 경우 실시간 계산 처리로 인하여 이미지 자체의 모양이 변형될 수 있다.However, in the process of enlarging or reducing the original image in order to produce the mipmap, image degradation may be severe, and in the case of an image requiring detailed expression, the shape of the image itself may be deformed due to the real-time calculation process.

본 발명은 3차원 컴퓨터 그래픽의 텍스처 맵핑에 이용하고자 하는 밉맵을 레벨 별로 보다 개선된 화질의 텍스처 이미지를 생성하여 제작하기 위한 밉맵 이미지 처리 장치 및 그 방법을 제공한다.The present invention provides a mipmap image processing apparatus and method for generating and producing a texture image of improved quality for each level of a mipmap to be used for texture mapping of 3D computer graphics.

본 발명의 일실시예에 따른 밉맵 이미지 처리 장치는 기본 텍스처 이미지를 확대 또는 축소하여 레벨 별 텍스처 이미지를 생성하는 이미지 생성부; 및, 상기 생성된 각 레벨 별 텍스처 이미지에 대하여 이미지 필터링 처리를 수행하는 이미지 필터부를 포함하고, 상기 이미지 필터링 처리가 수행된 레벨 별 텍스처 이미지를 텍스처 맵핑에 이용하기 위한 밉맵으로 제작할 수 있다.An apparatus for processing mipmap images according to an embodiment of the present invention includes an image generator for generating a texture image for each level by enlarging or reducing a basic texture image; And an image filter configured to perform an image filtering process on the generated texture image for each level, and may produce a mipmap for use in texture mapping of the texture image for each level on which the image filtering process is performed.

본 발명의 일실시예에 따른 밉맵 이미지 처리 방법은 기본 텍스처 이미지를 확대 또는 축소하여 레벨 별 텍스처 이미지를 생성하는 단계; 상기 생성된 각 레벨 별 텍스처 이미지에 대하여 이미지 필터링 처리를 수행하는 단계; 및, 상기 이미지 필터링 처리가 수행된 레벨 별 텍스처 이미지를 텍스처 맵핑에 이용하기 위한 밉맵으로 제작하는 단계를 포함할 수 있다.Mipmap image processing method according to an embodiment of the present invention comprises the steps of generating a texture image for each level by enlarging or reducing the base texture image; Performing an image filtering process on the generated texture image for each level; And producing a mipmap for use in texture mapping of the texture image for each level on which the image filtering process is performed.

본 발명에 의하면, 소정의 이미지 필터링 처리를 통해 각 레벨 별 텍스처 이미지를 생성한 후 텍스처 맵핑을 위한 밉맵을 제작함으로써 3차원 이미지의 화질을 보장할 수 있다.According to the present invention, the image quality of the 3D image can be guaranteed by generating a texture image for each level through a predetermined image filtering process and then producing a mipmap for texture mapping.

본 발명에 의하면, 3차원 컴퓨터 그래픽을 이용하여 3차원 이미지를 제공하는 어플리케이션의 경우 텍스처 맵핑 과정에서 이미지의 품질 개선을 위한 별도의 이미지 처리를 하지 않아도 되므로 시스템 성능을 향상시킬 수 있다.According to the present invention, an application for providing a 3D image using 3D computer graphics may improve system performance since a separate image processing may not be performed to improve image quality during a texture mapping process.

이하에서는, 첨부한 도면을 참조하여 본 발명에 따른 밉맵 이미지 처리 장치 및 그 방법을 상세하게 설명하기로 한다.Hereinafter, a mipmap image processing apparatus and a method thereof according to the present invention will be described in detail with reference to the accompanying drawings.

본 발명은 3차원 컴퓨터 그래픽의 텍스처 맵핑 분야에서 텍스처 맵핑에 이용되는 밉맵(mipmap)을 제작하기 위한 밉맵 이미지 처리 장치에 관한 것으로, 밉맵을 구성하는 텍스처 이미지의 화질을 개선하기 위한 밉맵 이미지 처리 기법을 제안한 것이다.The present invention relates to a mipmap image processing apparatus for manufacturing a mipmap used for texture mapping in the field of texture mapping of 3D computer graphics. The present invention relates to a mipmap image processing technique for improving the image quality of a texture image constituting a mipmap. It is suggested.

일반적으로, 밉맵은 폴리곤의 크기에 대응될 수 있는 적어도 두 개 이상의 텍스처 이미지를 미리 제작하여 구성한 것이다. 그리고, 상기 밉맵을 이용하여 텍스처 맵핑을 수행할 경우 텍스처 이미지 중 원하는 폴리곤의 크기와 가장 비슷한 크기의 텍스처를 선택하여 이용할 수 있다.In general, mipmaps are constructed by prefabricating at least two texture images that can correspond to the size of a polygon. When texture mapping is performed using the mipmap, a texture having a size most similar to a desired polygon size among texture images may be selected and used.

도 1은 본 발명의 일실시예에 따른 밉맵 이미지 처리 장치의 내부 구성을 도시한 도면이다.1 is a diagram illustrating an internal configuration of a mipmap image processing apparatus according to an embodiment of the present invention.

도시한 바와 같이, 본 발명의 일실시예에 따른 밉맵 이미지 처리 장치(100)는 텍스처 맵핑에 이용되는 밉맵을 제작하기 위한 구성으로, 이미지 생성부(110)와, 이미지 필터부(130)와, 이미지 저장부(150)를 포함할 수 있다.As shown, the mipmap image processing apparatus 100 according to an embodiment of the present invention is a configuration for manufacturing a mipmap used for texture mapping, and includes an image generator 110, an image filter 130, The image storage unit 150 may be included.

본 발명의 밉맵 이미지 처리 장치(100)는 텍스처 맵핑에 이용하고자 하는 밉맵을 제작하는 역할을 수행하며, 특히 상기 밉맵을 구성하는 텍스처 이미지를 생성한 후 소정의 이미지 필터링 처리를 통해 상기 생성된 텍스처 이미지의 화질을 개선하는 역할을 수행할 수 있다.The mipmap image processing apparatus 100 of the present invention plays a role of manufacturing a mipmap to be used for texture mapping, and in particular, generates a texture image constituting the mipmap, and then performs the predetermined image filtering to generate the generated texture image. It can serve to improve the quality of the.

이미지 생성부(110)는 적어도 두 개 이상의 동일한 텍스처 이미지를 서로 다른 크기로 생성하는 역할을 수행한다. 이를 위하여, 상기 이미지 생성부(110)는 미리 정해진 기본 텍스처 이미지(original texture image)를 확대 또는 축소하여 레벨 별 텍스처 이미지를 생성할 수 있다.The image generator 110 generates at least two or more identical texture images having different sizes. To this end, the image generator 110 may generate a texture image for each level by enlarging or reducing a predetermined original texture image.

예를 들어, 상기 기본 텍스처 이미지를 기준 레벨(0레벨)로 설정하고 0레벨의 텍스처 이미지를 1/4 크기로 줄여 다음 레벨인 1레벨의 텍스처 이미지를 생성하고 다시 1레벨의 텍스처 이미지를 1/4 크기로 줄여 2레벨의 텍스처 이미지를 생성할 수 있다. 즉, 기본 텍스처 이미지를 기준으로 이전 레벨에 비해 레벨은 증가시키고 텍스처 이미지의 크기는 줄여가는 방식으로 밉맵을 구성하는데 필요한 레벨 별 텍스처 이미지를 생성할 수 있다.For example, set the base texture image to the reference level (0 level), reduce the 0 level texture image to 1/4 size to generate the next level, the 1st level texture image, and then 1 level texture image. You can reduce the size to 4 to create two levels of texture images. That is, based on the base texture image, it is possible to generate a texture image for each level necessary for constructing the mipmap by increasing the level and reducing the size of the texture image compared to the previous level.

상기 이미지 생성부(110)에서 생성된 텍스처 이미지는 기본 텍스처 이미지를 확대 또는 축소 과정에서 이미지의 화질이 저하될 수 있고 이미지 자체의 모양이 변형될 수 있다.The texture image generated by the image generator 110 may deteriorate the quality of the image and may change the shape of the image itself in the process of enlarging or reducing the basic texture image.

이미지 필터부(130)는 상기 이미지 생성부(110)를 거쳐 생성된 텍스처 이미지의 화질을 개선하는 역할을 수행한다. 상기 이미지 필터부(130)는 다양한 방식의 이미지 필터 기법을 통해 상기 이미지 생성부(110)에서 생성된 각 레벨 별 텍스처 이미지를 보완할 수 있다.The image filter 130 plays a role of improving the image quality of the texture image generated through the image generator 110. The image filter unit 130 may complement the texture image for each level generated by the image generator 110 through various image filter techniques.

다시 말해, 상기 이미지 필터부(130)는 상기 텍스처 이미지의 잡음을 제거하거나 왜곡으로 인한 이미지 변형을 복원하기 위한 소정의 이미지 필터링 알고리즘을 수행한다.In other words, the image filter unit 130 performs a predetermined image filtering algorithm for removing noise of the texture image or restoring image distortion due to distortion.

도 2에 도시한 바와 같이, 상기 이미지 필터부(130)는 외곽선(edge) 강조 필터(131), 평균값 필터(average filter)(132), 밝기 조절 필터(brightness filter)(133), 히스토그램 평준화 필터(histogram equalization filter)(134) 중 적어도 하나로 구성될 수 있다. 물론, 이 외에도 이미지의 화질 개선을 위해 적용 가능한 이미지 필터 기법을 사용할 수 있음은 당연하다.As shown in FIG. 2, the image filter unit 130 includes an edge enhancement filter 131, an average filter 132, a brightness filter 133, and a histogram equalization filter. (histogram equalization filter) 134 may be configured as at least one. Of course, it is natural that an applicable image filter technique may be used to improve image quality.

상기 외곽선 강조 필터(131)는 상기 텍스처 이미지에서 그레이 레벨이 급격하게 변하는 부분을 감지하여 상기 감지된 부분 즉, 외곽선을 강조하는 이미지 필터 기법을 적용한 것으로, 이미지의 외곽선 강조를 통해 상기 텍스처 이미지의 화질을 개선할 수 있다. 이때, 상기 외곽선 강조 필터(131)는 샤픈 필터(sharpen filter)를 사용할 수 있다.The outline enhancement filter 131 applies an image filter technique that detects a portion where the gray level rapidly changes in the texture image and emphasizes the detected portion, that is, an outline, and the image quality of the texture image through the outline enhancement of the image. Can be improved. In this case, the outline enhancement filter 131 may use a sharpen filter.

상기 평균값 필터(132)는 상기 텍스처 이미지에서 기준 이하의 픽셀 값을 주위 픽셀 값들의 평균 값으로 대체하는 이미지 필터 기법을 적용한 것으로, 이미지의 화질을 보다 부드럽게 표현함으로써 상기 텍스처 이미지의 화질을 개선할 수 있다.The average value filter 132 applies an image filter technique that replaces a sub-pixel value in the texture image with an average value of surrounding pixel values. The average value filter 132 may improve the quality of the texture image by expressing the image quality more smoothly. have.

상기 밝기 조절 필터(133)는 상기 텍스처 이미지의 픽셀 값을 전체적으로 일정 값만큼 승산하여 처리하는 이미지 필터 기법을 적용한 것으로, 이미지의 밝기를 조절함으로써 상기 텍스처 이미지의 화질을 개선할 수 있다.The brightness filter 133 applies an image filter technique that multiplies the pixel value of the texture image by a predetermined value, and may improve the quality of the texture image by adjusting the brightness of the image.

상기 히스토그램 평준화 필터(134)는 상기 텍스처 이미지에서 명암도에 따른 픽셀의 수를 고르게 분포시키는 이미지 필터 기법을 적용한 것으로, 이미지의 명암 대비(contrast)를 조절함으로써 상기 텍스처 이미지의 화질을 개선할 수 있다.The histogram leveling filter 134 applies an image filter technique for evenly distributing the number of pixels according to the contrast in the texture image. The histogram leveling filter 134 may improve the image quality of the texture image by adjusting the contrast of the image.

즉, 상기 이미지 필터부(130)는 상기 이미지 생성부(110)를 통해 생성된 각 레벨 별 텍스처 이미지에 상기한 이미지 필터 기법을 적용하여 이미지 필터링 처리를 수행할 경우 잡음이나 왜곡으로 인해 변형된 텍스처 이미지를 복원할 수 있다.That is, the image filter unit 130 is a texture that is deformed due to noise or distortion when the image filtering process is performed by applying the image filter technique to the texture image for each level generated by the image generator 110. You can restore the image.

이미지 저장부(150)는 상기 이미지 필터부(130)를 거쳐 이미지 필터링 처리가 수행된 레벨 별 텍스처 이미지를 텍스처 맵핑 분야에서 이용할 수 있도록 밉맵으로 제작하는 역할을 수행한다. 다시 말해, 상기 이미지 저장부(150)는 이미지 필터링 처리가 완료된 레벨 별 텍스처 이미지를 하나의 이미지 파일로 생성하여 저장한다.The image storage unit 150 performs a mip map to use the texture image for each level subjected to the image filtering process through the image filter unit 130 in the texture mapping field. In other words, the image storage unit 150 generates and stores a texture image for each level on which the image filtering process is completed, as a single image file.

상기한 밉맵 이미지 처리 장치(100)를 통해 제작된 밉맵은 3차원 그래픽의 텍스처 맵핑에 적용하기 위하여 미리 제작하며, 텍스처 맵핑시 미리 제작된 레벨 별 텍스처 이미지에서 원하는 폴리곤의 크기에 대응되는 텍스처 이미지를 이용하여 텍스처를 맵핑할 수 있다.The mipmaps produced by the mipmap image processing apparatus 100 are pre-fabricated to be applied to the texture mapping of the 3D graphics, and the texture image corresponding to the desired polygon size is generated from the pre-produced level-specific texture images during texture mapping. Can be used to map textures.

이하, 상기한 본 발명의 밉맵 이미지 처리 장치를 통한 밉맵 이미지 처리 방법의 전 과정을 설명한다.Hereinafter, the entire process of the mipmap image processing method through the mipmap image processing apparatus of the present invention described above will be described.

도 3은 본 발명에 일실시예에 따른 밉맵 이미지 처리 방법의 전 과정을 도시한 도면이다.3 is a diagram illustrating the entire process of the mipmap image processing method according to an embodiment of the present invention.

단계(S310)에서 밉맵 이미지 처리 장치는 소정의 텍스처 맵핑에 이용하기 위한 밉맵을 미리 제작하기 위하여 폴리곤의 크기에 대응될 수 있도록 적어도 두 개 이상의 동일한 텍스처 이미지를 서로 다른 크기로 생성한다.In operation S310, the mipmap image processing apparatus generates at least two or more identical texture images having different sizes so as to correspond to the size of the polygon in order to prepare a mipmap for use in a predetermined texture mapping.

상기 단계(S310)에서는 미리 정해진 기본 텍스처 이미지를 확대 또는 축소하여 레벨 별 텍스처 이미지를 생성할 수 있다. 예를 들어, 상기 기본 텍스처 이미지를 기준 레벨(0레벨)로 설정하고 0레벨의 텍스처 이미지를 1/4 크기로 줄여 다음 레벨인 1레벨의 텍스처 이미지를 생성하고 다시 1레벨의 텍스처 이미지를 1/4 크기로 줄여 2레벨의 텍스처 이미지를 생성한다. 즉, 기본 텍스처 이미지를 기준으로 이미지 크기를 줄여가는 방식으로 밉맵을 구성하는데 필요한 레벨 별 텍스처 이미지를 생성할 수 있다.In operation S310, a texture image for each level may be generated by enlarging or reducing a predetermined basic texture image. For example, set the base texture image to the reference level (0 level), reduce the 0 level texture image to 1/4 size to generate the next level, the 1st level texture image, and then 1 level texture image. Reduce the size to 4 to create a 2 level texture image. In other words, it is possible to generate a texture image for each level required to construct a mipmap by reducing the image size based on the basic texture image.

단계(S320)에서 밉맵 이미지 처리 장치는 상기 단계(S310)에서 생성된 각 레벨 별 텍스처 이미지에 대하여 소정의 이미지 필터링 처리를 수행한다. 상기 레벨 별 텍스처 이미지를 생성하는 과정에서 잡음이나 왜곡으로 인한 이미지 변형이 발생할 수 있기 때문에 이를 복원하기 위하여 상기 단계(S320)를 통해 이미지 화질을 개선하는 과정이 필요하다.In operation S320, the mipmap image processing apparatus performs a predetermined image filtering process on the texture image for each level generated in operation S310. Since image distortion may occur due to noise or distortion in the process of generating the texture image for each level, a process of improving the image quality through the step S320 is required to restore the texture image.

상기 단계(S320)에서는 다양한 방식의 이미지 필터링 알고리즘을 통해 상기 단계(S310)에서 생성된 각 레벨 별 텍스처 이미지의 화질을 개선할 수 있다.In step S320, the image quality of each level generated in step S310 may be improved through various image filtering algorithms.

이와 같이, 상기 텍스처 이미지의 화질을 개선하기 위한 상기 단계(S320)에서의 이미지 필터링 알고리즘에 대해서는 도 4 내지 도 8을 참조하여 더욱 자세히 설명하기로 한다.As such, the image filtering algorithm in the step S320 for improving the quality of the texture image will be described in more detail with reference to FIGS. 4 to 8.

단계(S330)에서 밉맵 이미지 처리 장치는 상기 단계(S320)를 거쳐 이미지 필터링 처리가 수행된 레벨 별 텍스처 이미지를 텍스처 맵핑에 이용할 수 있도록 밉맵으로 제작한다. 다시 말해, 상기 단계(S330)에서는 이미지 필터링 처리가 완료된 레벨 별 텍스처 이미지를 하나의 이미지 파일로 생성하여 저장한다. 밉맵은 레벨 별 텍스처 이미지를 생성하여 미리 제작한 것으로, 텍스처 맵핑시 미리 제작된 레벨 별 텍스처 이미지에서 원하는 폴리곤의 크기에 대응되는 텍스처 이미지를 이용하여 텍스처를 맵핑할 수 있다.In operation S330, the mipmap image processing apparatus generates a mipmap so that the texture image for each level subjected to the image filtering process may be used for texture mapping through the operation S320. In other words, in step S330, a texture image for each level on which the image filtering process is completed is generated and stored as one image file. Mipmaps are generated in advance by generating a texture image for each level. When texture mapping, a texture may be mapped using a texture image corresponding to a desired polygon size in the previously produced level texture image.

상기 단계(S320)에서의 이미지 필터링 알고리즘을 상세하게 설명한다.The image filtering algorithm in step S320 will be described in detail.

상기 단계(S320)에서는 잡음이나 왜곡으로 인한 이미지 변형을 복원하기 위하여 다양한 이미지 필터링 알고리즘을 적용할 수 있다.In operation S320, various image filtering algorithms may be applied to restore image distortion due to noise or distortion.

도 4는 텍스처 이미지의 화질 개선을 위한 외곽선 강조 알고리즘을 설명하기 위한 도면이다.4 is a view for explaining an outline enhancement algorithm for improving the quality of a texture image.

단계(S401)에서 상기 밉맵 이미지 처리 장치는 텍스처 이미지에서 외곽선을 추출한 후 추출된 외곽선을 강조하는 외곽선 강조 알고리즘을 수행할 수 있다. 특히, 상기 외곽선 강조 알고리즘은 샤픈 필터 기법을 적용할 수 있다.In operation S401, the mipmap image processing apparatus may perform an outline enhancement algorithm that extracts an outline from a texture image and then emphasizes the extracted outline. In particular, the outline enhancement algorithm may apply a sharp filter technique.

도 5에서 오른쪽 이미지(501)는 기본 텍스처 이미지를 축소해가면서 생성된 소정 레벨의 텍스처 이미지에 해당하며, 왼쪽 이미지(502)는 외곽선 필터링 알고리즘을 통해 이미지 필터링 처리를 수행한 텍스처 이미지에 해당한다. 즉, 상기한 외곽선 강조 기법을 통해 이미지 변형 문제를 상당부분 보완함으로써 텍스처 이미지의 화질이 개선됨을 알 수 있다.In FIG. 5, the right image 501 corresponds to a texture image of a predetermined level generated while the base texture image is reduced, and the left image 502 corresponds to a texture image that has been subjected to image filtering through an outline filtering algorithm. In other words, it can be seen that the image quality of the texture image is improved by substantially compensating the image deformation problem through the outline enhancement method.

도 6은 텍스처 이미지의 화질 개선을 위한 평균값 필터 알고리즘을 설명하기 위한 도면이다.6 is a diagram for describing an average value filter algorithm for improving image quality of a texture image.

단계(S601)에서 상기 밉맵 이미지 처리 장치는 텍스처 이미지에서 기준 이하의 픽셀 값을 주위 픽셀 값들의 평균 값으로 대체하는 평균값 필터 알고리즘을 수행할 수 있다. 상기 밉맵 이미지 처리 장치는 상기한 평균값 필터 알고리즘을 통해 이미지의 화질을 보다 부드럽게 표현함으로써 밉맵을 제작하기 위한 레벨 별 텍스처 이미지의 화질을 개선할 수 있다.In operation S601, the mipmap image processing apparatus may perform an average value filter algorithm that replaces a sub-pixel value in the texture image with an average value of surrounding pixel values. The mipmap image processing apparatus may improve the quality of the texture image for each level for producing the mipmap by expressing the image quality of the image more smoothly through the average value filter algorithm.

도 7은 텍스처 이미지의 화질 개선을 위한 밝기 조절 필터 알고리즘을 설명하기 위한 도면이다.7 is a diagram for describing a brightness control filter algorithm for improving the quality of a texture image.

단계(S701)에서 상기 밉맵 이미지 처리 장치는 텍스처 이미지의 픽셀 값들을 전체적으로 일정 값만큼 승산하여 처리하는 밝기 조절 필터 알고리즘을 수행할 수 있다. 상기 밉맵 이미지 처리 장치는 상기한 밝기 조절 필터 알고리즘을 통해 이미지의 밝기를 조절하는 방식을 이용하여 밉맵을 제작하기 위한 레벨 별 텍스처 이미지의 화질을 개선할 수 있다.In operation S701, the mipmap image processing apparatus may perform a brightness control filter algorithm that multiplies the pixel values of the texture image by a predetermined value. The mipmap image processing apparatus may improve the quality of the texture image for each level for producing the mipmap by using the method of adjusting the brightness of the image through the brightness filter filter algorithm.

도 8은 텍스처 이미지의 화질 개선을 위한 히스토그램 평준화 알고리즘을 설명하기 위한 도면이다.8 is a diagram for describing a histogram equalization algorithm for improving image quality of a texture image.

단계(S801)에서 상기 밉맵 이미지 처리 장치는 텍스처 이미지에서 명암도에 따른 픽셀의 수를 고르게 분포시키는 히스토그램 평준화 알고리즘을 수행할 수 있다. 상기 밉맵 이미지 처리 장치는 상기한 히스토그램 평준화 알고리즘을 통해 이미지의 명암 대비를 조절함으로써 밉맵을 제작하기 위한 레벨 별 텍스처 이미지의 화질을 개선할 수 있다.In operation S801, the mipmap image processing apparatus may perform a histogram equalization algorithm for evenly distributing the number of pixels according to contrast in the texture image. The mipmap image processing apparatus may improve the quality of the texture image for each level for producing the mipmap by adjusting the contrast of the image through the histogram equalization algorithm.

따라서, 본 발명의 밉맵 이미지 처리 장치는 밉맵을 제작하는 과정에서 각 레벨 별 텍스처 이미지를 생성한 후 상기한 이미지 필터링 처리를 거칠 경우 텍스처 이미지의 화질을 개선할 수 있으며 결과적으로 밉맵의 품질을 향상시킬 수 있다.Therefore, the mipmap image processing apparatus of the present invention can improve the quality of the texture image when the texture filtering for each level is generated in the process of producing the mipmap and the image filtering process is performed as a result, thereby improving the quality of the mipmap. Can be.

본 발명에 따른 밉맵 이미지 처리 방법은 다양한 컴퓨터 수단을 통하여 수행될 수 있는 프로그램 명령 형태로 구현되어 컴퓨터 판독 가능 매체에 기록될 수 있다. 상기 컴퓨터 판독 가능 매체는 프로그램 명령, 데이터 파일, 데이터 구조 등을 단독으로 또는 조합하여 포함할 수 있다. 상기 매체에 기록되는 프로그램 명령은 본 발명을 위하여 특별히 설계되고 구성된 것들이거나 컴퓨터 소프트웨어 당업자에게 공지되어 사용 가능한 것일 수도 있다. 컴퓨터 판독 가능 기록 매체의 예에는 하드 디스크, 플로피 디스크 및 자기 테이프와 같은 자기 매체(magnetic media), CD-ROM, DVD와 같은 광기록 매체(optical media), 플롭티컬 디스크(floptical disk)와 같은 자기-광 매체(magneto-optical media), 및 롬(ROM), 램(RAM), 플래시 메모리 등과 같은 프로그램 명령을 저장하고 수행하도록 특별히 구성된 하드웨어 장치가 포함된다. 프로그램 명령의 예에는 컴파일러에 의해 만들어지는 것과 같은 기계어 코드뿐만 아니라 인터프리터 등을 사용해서 컴퓨터에 의해서 실행될 수 있는 고급 언어 코드를 포함한다. 상기된 하드웨어 장치는 본 발명의 동작을 수행하기 위해 하나 이상의 소프트웨어 모듈로서 작동하도록 구성될 수 있으며, 그 역도 마찬가지이다.The mipmap image processing method according to the present invention can be implemented in the form of program instructions that can be executed by various computer means and recorded on a computer readable medium. The computer readable medium may include program instructions, data files, data structures, etc. alone or in combination. Program instructions recorded on the media may be those specially designed and constructed for the purposes of the present invention, or they may be of the kind well-known and available to those having skill in the computer software arts. Examples of computer-readable recording media include magnetic media such as hard disks, floppy disks, and magnetic tape, optical media such as CD-ROMs, DVDs, and magnetic disks, such as floppy disks. Magneto-optical media, and hardware devices specifically configured to store and execute program instructions, such as ROM, RAM, flash memory, and the like. Examples of program instructions include not only machine code generated by a compiler, but also high-level language code that can be executed by a computer using an interpreter or the like. The hardware device described above may be configured to operate as one or more software modules to perform the operations of the present invention, and vice versa.

이상과 같이 본 발명은 비록 한정된 실시예와 도면에 의해 설명되었으나, 본 발명은 상기의 실시예에 한정되는 것은 아니며, 본 발명이 속하는 분야에서 통상의 지식을 가진 자라면 이러한 기재로부터 다양한 수정 및 변형이 가능하다. As described above, the present invention has been described by way of limited embodiments and drawings, but the present invention is not limited to the above embodiments, and those skilled in the art to which the present invention pertains various modifications and variations from such descriptions. This is possible.

그러므로, 본 발명의 범위는 설명된 실시예에 국한되어 정해져서는 아니되며, 후술하는 특허청구범위뿐 아니라 이 특허청구범위와 균등한 것들에 의해 정해져야 한다.Therefore, the scope of the present invention should not be limited to the described embodiments, but should be determined not only by the claims below but also by the equivalents of the claims.

도 1은 본 발명의 일실시예에 따른 밉맵 이미지 처리 장치의 내부 구성을 도시한 도면이다.1 is a diagram illustrating an internal configuration of a mipmap image processing apparatus according to an embodiment of the present invention.

도 2는 밉맵 제작을 위한 텍스처 이미지의 화질을 보완하는 구성을 설명하기 위한 도면이다.2 is a view for explaining a configuration that complements the image quality of the texture image for mipmap production.

도 3은 본 발명에 일실시예에 따른 밉맵 이미지 처리 방법의 전 과정을 도시한 도면이다.3 is a diagram illustrating the entire process of the mipmap image processing method according to an embodiment of the present invention.

도 4는 텍스처 이미지의 화질 개선을 위한 외곽선 강조 알고리즘을 설명하기 위한 도면이다.4 is a view for explaining an outline enhancement algorithm for improving the quality of a texture image.

도 5는 외곽선 강조 알고리즘에 따른 텍스처 이미지의 화질 개선 상태를 설명하기 위한 도면이다.FIG. 5 is a diagram illustrating an image quality improvement state of a texture image according to an outline enhancement algorithm.

도 6은 텍스처 이미지의 화질 개선을 위한 평균값 필터 알고리즘을 설명하기 위한 도면이다.6 is a diagram for describing an average value filter algorithm for improving image quality of a texture image.

도 7은 텍스처 이미지의 화질 개선을 위한 밝기 조절 필터 알고리즘을 설명하기 위한 도면이다.7 is a diagram for describing a brightness control filter algorithm for improving the quality of a texture image.

도 8은 텍스처 이미지의 화질 개선을 위한 히스토그램 평준화 알고리즘을 설명하기 위한 도면이다.8 is a diagram for describing a histogram equalization algorithm for improving image quality of a texture image.

<도면의 주요 부분에 대한 부호의 설명><Explanation of symbols for the main parts of the drawings>

100: 밉맵 이미지 처리 장치100: mipmap image processing device

110: 이미지 생성부110: image generating unit

130: 이미지 필터부130: image filter unit

131: 외곽선 강조 필터131: outline highlight filter

132: 평균값 필터132: average value filter

133: 밝기 조절 필터133: brightness control filter

134: 히스토그램 평준화 필터134: histogram equalization filter

Claims (19)

기본 텍스처 이미지를 확대 또는 축소하여 레벨 별 텍스처 이미지를 생성하는 이미지 생성부; 및,An image generator for generating a texture image for each level by enlarging or reducing the basic texture image; And, 상기 생성된 레벨 별 텍스처 이미지에 대하여 이미지 필터링 처리를 수행하는 이미지 필터부An image filter unit which performs an image filtering process on the generated texture image for each level 를 포함하고,Including, 상기 이미지 필터링 처리가 수행된 레벨 별 텍스처 이미지를 텍스처 맵핑(texture mapping)에 이용하기 위한 밉맵(mipmap)으로 제작하는, 밉맵 이미지 처리 장치.A mipmap image processing apparatus for producing a level-specific texture image subjected to the image filtering process as a mipmap for use in texture mapping. 제1항에 있어서,The method of claim 1, 상기 이미지 생성부는,The image generator, 상기 기본 텍스처 이미지를 기준 레벨로 설정하고 이전 레벨의 텍스처 이미지를 확대 또는 축소하여 다음 레벨의 텍스처 이미지를 생성하는, 밉맵 이미지 처리 장치.Setting the base texture image as a reference level and enlarging or reducing the texture image of the previous level to generate the texture image of the next level. 제1항에 있어서,The method of claim 1, 상기 이미지 필터부는,The image filter unit, 상기 레벨 별 텍스처 이미지의 잡음을 제거하거나 왜곡으로 인한 이미지 변 형을 복원하기 위한 이미지 필터링 알고리즘을 수행하는, 밉맵 이미지 처리 장치.And an image filtering algorithm for removing noise of the level-specific texture image or restoring image distortion due to distortion. 제3항에 있어서,The method of claim 3, 상기 이미지 필터부는,The image filter unit, 상기 텍스처 이미지의 외곽선을 강조하는 외곽선 강조 필터를 포함하는, 밉맵 이미지 처리 장치.And an outline enhancement filter for highlighting an outline of the texture image. 제4항에 있어서,The method of claim 4, wherein 상기 외곽선 강조 필터는,The outline enhancement filter, 샤픈 필터(sharpen filter)를 포함하는, 밉맵 이미지 처리 장치.Mipmap image processing device including a sharpen filter. 제3항에 있어서,The method of claim 3, 상기 이미지 필터부는,The image filter unit, 상기 텍스처 이미지에서 기준 이하의 픽셀 값을 평균값으로 대체하는 평균값 필터(average filter)를 포함하는, 밉맵 이미지 처리 장치.And an average filter for replacing sub-pixel values in the texture image with average values. 제3항에 있어서,The method of claim 3, 상기 이미지 필터부는,The image filter unit, 상기 텍스처 이미지의 픽셀 값을 전체적으로 조절하는 밝기 조절 필터(brightness filter)를 포함하는, 밉맵 이미지 처리 장치.And a brightness filter for globally adjusting pixel values of the texture image. 제3항에 있어서,The method of claim 3, 상기 이미지 필터부는,The image filter unit, 상기 텍스처 이미지에서 명암도에 따른 픽셀 수를 고르게 분포시키는 히스토그램 평준화(histogram equalization) 필터를 포함하는, 밉맵 이미지 처리 장치.And a histogram equalization filter for evenly distributing the number of pixels according to the contrast in the texture image. 제1항에 있어서,The method of claim 1, 상기 이미지 필터링 처리가 수행된 레벨 별 텍스처 이미지를 하나의 이미지 파일로 생성하여 저장하는 이미지 저장부An image storage unit generating and storing a texture image for each level on which the image filtering process is performed, as a single image file 를 더 포함하는 밉맵 이미지 처리 장치.Mipmap image processing device further comprising. 기본 텍스처 이미지를 확대 또는 축소하여 레벨 별 텍스처 이미지를 생성하는 단계;Generating a texture image for each level by enlarging or reducing the base texture image; 상기 생성된 레벨 별 텍스처 이미지에 대하여 이미지 필터링 처리를 수행하는 단계; 및,Performing an image filtering process on the generated level-specific texture image; And, 상기 이미지 필터링 처리가 수행된 레벨 별 텍스처 이미지를 텍스처 맵핑에 이용하기 위한 밉맵으로 제작하는 단계Producing a mipmap for use in texture mapping of the texture image for each level subjected to the image filtering process 를 포함하는 밉맵 이미지 처리 방법.Mipmap image processing method comprising a. 제10항에 있어서,The method of claim 10, 상기 레벨 별 이미지를 생성하는 단계는,Generating the image for each level, 상기 기본 텍스처 이미지를 기준 레벨로 설정하는 단계와,Setting the base texture image to a reference level; 상기 기준 레벨을 기준으로 이전 레벨의 텍스처 이미지를 확대 또는 축소하여 다음 레벨의 텍스처 이미지를 생성하는 단계Generating a texture image of the next level by enlarging or reducing the texture image of the previous level based on the reference level. 를 포함하는, 밉맵 이미지 처리 방법.Including a mipmap image processing method. 제10항에 있어서,The method of claim 10, 상기 이미지 필터링 처리를 수행하는 단계는,The performing of the image filtering process, 상기 레벨 별 텍스처 이미지의 잡음을 제거하거나 왜곡으로 인한 이미지 변형을 복원하기 위한 이미지 필터링 알고리즘을 수행하는, 밉맵 이미지 처리 방법.Performing an image filtering algorithm to remove noise of the level-by-level texture image or to restore image distortion due to distortion. 제12항에 있어서,The method of claim 12, 상기 이미지 필터링 알고리즘은,The image filtering algorithm, 상기 텍스처 이미지의 외곽선을 강조하는 외곽선 강조 알고리즘을 포함하는, 밉맵 이미지 처리 방법.And an outline enhancement algorithm for emphasizing the outline of the texture image. 제13항에 있어서,The method of claim 13, 상기 외곽선 강조 알고리즘은,The outline enhancement algorithm, 샤픈 필터 알고리즘을 적용하는, 밉맵 이미지 처리 방법.A mipmap image processing method using a sharp filter algorithm. 제12항에 있어서,The method of claim 12, 상기 이미지 필터링 알고리즘은,The image filtering algorithm, 상기 텍스처 이미지에서 기준 이하의 픽셀 값을 평균값으로 대체하는 평균값 필터 알고리즘을 포함하는, 밉맵 이미지 처리 방법.And an average value filter algorithm for substituting sub-pixel values in the texture image with average values. 제12항에 있어서,The method of claim 12, 상기 이미지 필터링 알고리즘은,The image filtering algorithm, 상기 텍스처 이미지의 픽셀 값을 전체적으로 조절하는 밝기 조절 필터 알고리즘을 포함하는, 밉맵 이미지 처리 방법.And a brightness control filter algorithm for globally adjusting pixel values of the texture image. 제12항에 있어서,The method of claim 12, 상기 이미지 필터링 알고리즘은,The image filtering algorithm, 상기 텍스처 이미지에서 명암도에 따른 픽셀 수를 고르게 분포시키는 히스토그램 평준화 알고리즘을 포함하는, 밉맵 이미지 처리 방법.And a histogram equalization algorithm that evenly distributes the number of pixels according to contrast in the texture image. 제10항에 있어서,The method of claim 10, 상기 밉맵을 제작하는 단계는,Producing the mipmap, 상기 레벨 별 텍스처 이미지를 하나의 이미지 파일로 생성하여 저장하는, 밉맵 이미지 처리 방법.And generating and storing the texture image for each level as one image file. 제10항 내지 제18항 중 어느 한 항의 방법을 수행하는 프로그램을 기록한 컴퓨터 판독 가능 기록 매체.19. A computer readable recording medium having recorded thereon a program for performing the method of any one of claims 10-18.
KR1020080077982A 2008-08-08 2008-08-08 Apparatus and method for processing mipmap image KR100977396B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020080077982A KR100977396B1 (en) 2008-08-08 2008-08-08 Apparatus and method for processing mipmap image

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020080077982A KR100977396B1 (en) 2008-08-08 2008-08-08 Apparatus and method for processing mipmap image

Publications (2)

Publication Number Publication Date
KR20100019116A true KR20100019116A (en) 2010-02-18
KR100977396B1 KR100977396B1 (en) 2010-08-24

Family

ID=42089631

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020080077982A KR100977396B1 (en) 2008-08-08 2008-08-08 Apparatus and method for processing mipmap image

Country Status (1)

Country Link
KR (1) KR100977396B1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2022520264A (en) * 2019-05-05 2022-03-29 ▲騰▼▲訊▼科技(深▲セン▼)有限公司 Image brightness adjustment methods and devices, electronic devices and computer programs

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000155850A (en) 1998-11-20 2000-06-06 Sony Corp Texture mapping device and rendering device equipped with the same device and information processor
JP4670185B2 (en) 2001-06-04 2011-04-13 ソニー株式会社 Image generating apparatus, image processing apparatus, and methods thereof

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2022520264A (en) * 2019-05-05 2022-03-29 ▲騰▼▲訊▼科技(深▲セン▼)有限公司 Image brightness adjustment methods and devices, electronic devices and computer programs

Also Published As

Publication number Publication date
KR100977396B1 (en) 2010-08-24

Similar Documents

Publication Publication Date Title
US8970580B2 (en) Method, apparatus and computer-readable medium rendering three-dimensional (3D) graphics
CN104331918B (en) Based on earth&#39;s surface occlusion culling and accelerated method outside depth map real-time rendering room
US9275493B2 (en) Rendering vector maps in a geographic information system
JP6333840B2 (en) Method for forming shell mesh based on optimized polygons
US20040179262A1 (en) Open GL
CN108230435B (en) Graphics processing using cube map textures
GB2500284A (en) Object list tile based computer graphics using modified primitives
EP2860700B1 (en) Image processing apparatus and method
KR20150039495A (en) Apparatus and Method for rendering a current frame using an image of previous tile
US8717358B2 (en) Image processing apparatus and method
US10217259B2 (en) Method of and apparatus for graphics processing
KR20230007358A (en) Multilayer Reprojection Techniques for Augmented Reality
Wilson et al. Rendering complexity in computer-generated pen-and-ink illustrations
US7012614B2 (en) Texture roaming via dimension elevation
KR20150108241A (en) Apparatus and method of fast and natural terrain generation
EP1922700B1 (en) 2d/3d combined rendering
US10740955B2 (en) Systems and methods for real-time large-scale point cloud surface reconstruction
US10872473B2 (en) Edge welding of geometries having differing resolutions
KR20070061336A (en) A efficient view-dependent lod(level of detail) lendering method of terrain
KR100977396B1 (en) Apparatus and method for processing mipmap image
KR20160068204A (en) Data processing method for mesh geometry and computer readable storage medium of recording the same
KR102322847B1 (en) Method for providing advertisement in virtual reality, server for providing virtual reality and computer program for the same
US20050017982A1 (en) Dynamic imposter generation with MIP map anti-aliasing
KR100848687B1 (en) 3-dimension graphic processing apparatus and operating method thereof
KR100624455B1 (en) Lightmap processing method in 3 dimensional graphics environment and apparatus therefor

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

Year of fee payment: 4

FPAY Annual fee payment

Payment date: 20150723

Year of fee payment: 6

FPAY Annual fee payment

Payment date: 20160712

Year of fee payment: 7

FPAY Annual fee payment

Payment date: 20170804

Year of fee payment: 8

FPAY Annual fee payment

Payment date: 20190814

Year of fee payment: 10