KR100275274B1 - Method for reducting volume of the mesh data - Google Patents

Method for reducting volume of the mesh data Download PDF

Info

Publication number
KR100275274B1
KR100275274B1 KR1019970078375A KR19970078375A KR100275274B1 KR 100275274 B1 KR100275274 B1 KR 100275274B1 KR 1019970078375 A KR1019970078375 A KR 1019970078375A KR 19970078375 A KR19970078375 A KR 19970078375A KR 100275274 B1 KR100275274 B1 KR 100275274B1
Authority
KR
South Korea
Prior art keywords
mesh
index
vertex
column
vertices
Prior art date
Application number
KR1019970078375A
Other languages
Korean (ko)
Other versions
KR19990058284A (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 KR1019970078375A priority Critical patent/KR100275274B1/en
Priority to GB9814206A priority patent/GB2333019A/en
Publication of KR19990058284A publication Critical patent/KR19990058284A/en
Application granted granted Critical
Publication of KR100275274B1 publication Critical patent/KR100275274B1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T9/00Image coding
    • G06T9/001Model-based coding, e.g. wire frame

Abstract

PURPOSE: A mesh data amount reducing method is provided to reduce a mesh data amount by selecting a vertex, with one vertex skipped by a row/column unit with regard to a generated mesh. CONSTITUTION: Vertexes having the first index, which exists in the first column with regard to an initial generated mesh, is selected one by one using distance data(401). A loop is formed based on the selected vertex and a data amount is reduced(402). Vertexes having the second index, which exists in the first column with regard to the firstly updated mesh, is selected one by one using distance data(404). A loop is formed based on the selected vertex and a data amount is reduced(405). Vertexes having the first index, which exists in the second column with regard to the secondly updated mesh, is selected one by one using distance data(407). A loop is formed based on the selected vertex and a data amount is reduced(408). Vertexes having the second index, which exists in the second column with regard to the thirdly updated mesh, is selected one by one using distance data(410). A loop is formed based on the selected vertex and a data amount is reduced(411).

Description

메쉬 데이터량 감축방법How to reduce the amount of mesh data

본 발명은 거리데이타를 획득하여 메쉬를 생성하는 방법에 관한 것으로서, 특히, 생성된 메쉬의 데이터량을 최소화할 수 있도록 감축하는 메쉬 데이터량 감축방법에 관한 것이다.The present invention relates to a method of generating a mesh by obtaining distance data, and more particularly, to a method of reducing a mesh data amount for reducing a data amount of a generated mesh.

일반적으로 거리데이타를 획득하여 해당되는 면에 대한 메쉬를 생성하는 것은, 3차원 모델링할 때 주로 이용되는 기술이다. 그러나 메쉬를 생성하기 위하여 획득되는 거리데이타량이 많아, 실시간 처리 및 전반적인 비용절감을 위해 데이터량을 줄이고자 하는 노력이 계속되고 있다.In general, generating distance mesh by acquiring distance data is a technique mainly used in 3D modeling. However, since the amount of distance data acquired to generate the mesh is large, efforts are being made to reduce the amount of data for real time processing and overall cost reduction.

이러한 노력의 일환으로 거리데이타에 의해 형성된 메쉬의 데이터량을 줄이는 기술이 제안된 바 있다. 메쉬 데이터량을 줄이는 기술이 도입된 기존의 매쉬생성과정은 도 1에 도시된 바와 같은 과정으로 이루어진다.As part of this effort, a technique for reducing the amount of data of the mesh formed by the distance data has been proposed. The existing mesh generation process in which the technique of reducing the amount of mesh data is introduced is performed as shown in FIG. 1.

즉, 제 102 단계에서 기존의 알려진 방식에 의하여 모델링하고자 하는 대상물에 대한 거리데이타를 획득한다. 그리고 제 104 단계로 진행되어 획득된 거리데이타를 이용하여 초기의 매쉬를 생성한다. 그 다음 제 106 단계에서 생성된 메쉬에 대한 데이터량 감축처리가 이루어진다.That is, in step 102, distance data of an object to be modeled is obtained by using a known method. In operation 104, the initial mesh is generated using the obtained distance data. Then, a data amount reduction process is performed on the mesh generated in step 106.

제 106 단계에서 이루어지는 메쉬에 대한 데이터량 감축처리는 도 2에 도시된 바와 같이 이루어진다. 즉, 제 202 단계에서 초기 메쉬상에서 첫 번째 인덱스를 갖는 꼭지점(Vertex)을 선택하고, 제 204 단계로 진행되어 선택된 꼭지점을 중심으로 존재하는 주변의 면들로 하나의 루프(Loop)를 형성한다.A data amount reduction process for the mesh made in step 106 is performed as shown in FIG. That is, in step 202, a vertex having the first index on the initial mesh is selected, and in step 204, a loop is formed from the peripheral surfaces existing around the selected vertex.

그리고 제 206 단계로 진행되어 형성된 루프가 완전한 루프를 이루는 지를 체크한다. 여기서 완전한 루프는 하나의 폐루프를 의미한다. 따라서 모서리나 최외각면에 존재하는 꼭지점을 중심으로 할 경우에는 완전한 루프가 형성되지 않는다. 제 206 단계의 체크결과, 형성된 루프가 완전한 루프인 경우에는 제 208 단계로 진행되어 형성된 루프상의 이면각(Feature Edge)의 개수를 검출한다. 검출된 이면각의 개수가 '2'이면, 제 210 단계를 통해 제 212 단계로 진행되어 검출된 이면각을 스프리트(Split) 라인으로하여 루프를 자른다. 그리고 제 214 단계로 진행되어 제 204 단계에서 형성되었던 루프에 대한 재 메쉬생성처리를 한다. 이 재 메쉬생성처리는 일명 재삼각형화(Re-Triangulation)라고도 한다. 이는 일반적으로 메쉬가 삼각형구조로 형성되기 때문이다.The flow proceeds to step 206 to check whether the formed loop is a complete loop. A complete loop here means one closed loop. Therefore, a complete loop does not form when centering on vertices existing at edges or outermost surfaces. As a result of the check in step 206, if the formed loop is a complete loop, the process proceeds to step 208 to detect the number of feature edges on the formed loop. If the number of detected back angles is '2', the process proceeds to step 212 through step 210 and cuts the loop using the detected back angles as a split line. In operation 214, the mesh reprocessing process is performed on the loop formed in operation 204. This remeshing process is also known as Re-Triangulation. This is because the mesh is generally formed in a triangular structure.

해당 루프에 대한 재 메쉬생성처리가 완료되면, 제 216 단계를 통해 제 218 단계로 진행된다. 제 218 단계에서는 재 메쉬생성처리 결과를 이용하여 해당 루프에 대한 꼭지점 및 메쉬구조에 대한 데이터를 갱신한다. 그 다음 제 220 단계로 진행되어 다음 선택될 꼭지점이 존재하는 지를 체크한다. 체크결과, 다음 선택될 꼭지점이 존재하는 경우에는 제 222 단계로 진행되어 다음 순번의 꼭지점을 선택하고, 제 204 단계로 리턴되어 상술한 과정을 반복 수행한다.When the remesh generation process for the loop is completed, the process proceeds to step 218 through step 216. In step 218, data about the vertex and the mesh structure for the corresponding loop are updated using the remesh generation process result. In operation 220, it is checked whether a vertex to be selected next exists. As a result of the check, if there is a vertex to be selected next, the process proceeds to step 222 to select a next vertex, and returns to step 204 to repeat the above-described process.

한편, 완전한 루프로 판단된 상태에서 검출된 이면각의 개수를 체크한 결과, 해당 이면각의 개수가 '0'인 경우에는 해당 루프가 하나의 면으로 표현될 수 있는 것을 의미하므로 제 214 단계로 진행되어 형성된 루프가 하나의 면으로 형성되도록 재 메쉬생성처리를 한다. 그러나 해당 루프가 완전한 루프로 형성된 상태에서 검출된 이면각의 개수가 '2'도 아니고 '0'도 아닌 경우에는 제 220 단계로 진행되어 바로 다음에 선택될 꼭지점이 존재하는 지를 체크하는 단계로 진행된다. 이는 형성된 루프내에 존재하는 면을 그대로 유지한다는 것을 의미이다.On the other hand, as a result of checking the number of detected backside angles in the state determined as a complete loop, if the number of the backside angles is '0', it means that the corresponding loop can be expressed as one plane. Re-mesh generation process is performed so that the formed loop is formed in one surface. However, if the number of detected backside angles is not '2' or '0' when the loop is formed as a complete loop, the process proceeds to step 220 to check whether there is a vertex to be selected next. do. This means that the faces that exist in the loops that are formed remain intact.

또한, 제 206 단계의 체크결과, 형성된 루프가 완전한 루프가 아닌 경우에는 제 226 단계로 진행되어 형성된 루프가 불완전한 루프인 지를 체크한다. 체크결과, 불완전한 루프도 아닌 경우에는 해당 꼭지점에 대한 감축처리는 무시하고, 제 220 단계로 진행되어 상술한 바와 같이 처리된다. 그러나 제 226 단계의 체크결과, 형성된 루프가 불완전한 루프인 경우에는 제 228 단계로 진행되어 해당 루프의 이면각의 개수를 검출한다. 검출된 이면각의 개수가 '1'인 경우에는 제 230 단계를 통해 제 212 단계로 진행되어 이면각이 존재하는 면을 중심으로 루프를 자르는 작업을 수행한다. 그러나 제 228 단계에서 검출된 이면각의 개수가 1이 아닌 경우에는 제 224 단계로 진행되어 상술한 바와 같이 처리한다.In addition, as a result of checking in step 206, if the formed loop is not a complete loop, the process proceeds to step 226 to check whether the formed loop is an incomplete loop. As a result of the check, if it is not an incomplete loop, the reduction processing for the corresponding vertex is ignored and the process proceeds to step 220 and the processing is performed as described above. However, as a result of the check in step 226, if the formed loop is an incomplete loop, the process proceeds to step 228 to detect the number of backside angles of the corresponding loop. If the number of detected back angles is '1', the process proceeds to step 212 through step 230 and cuts the loop around the surface where the back angle exists. However, if the number of backside angles detected in step 228 is not 1, the process proceeds to step 224 and processes as described above.

이와 같이 초기에 생성된 메쉬의 전영역에 대한 데이터량 감축처리가 완료되면(더이상 선택할 꼭지점이 존재하지 않는 것으로 판단되면), 메쉬 데이터량 감축처리작업은 종료되고, 도 1의 제 108 단계로 진행되어 이와 같은 처리작업에 의해 갱신된 메쉬를 최종 메쉬로 생성한다.When the data amount reduction process for the entire area of the initially generated mesh is completed (if it is determined that there is no vertex to be selected anymore), the mesh data amount reduction process is terminated, and the process proceeds to step 108 of FIG. 1. Then, the mesh updated by the processing is generated as the final mesh.

그러나 상술한 방식은 단순히 인덱스를 기준으로 메쉬상에 존재하는 모든 꼭지점을 순차적으로 선택하여 수행하도록 되어 있어, 이에 대한 효율적인 방식연구가 계속 이루어지고 있다.However, the above-described method simply selects and executes all vertices present on the mesh based on an index, and thus, an efficient method study for this is being continued.

본 발명은 상술한 추세에 따라 안출한 것으로서, 생성된 메쉬에 대하여 열 및/또는 행단위로 한 꼭지점을 건너 뛰면서 꼭지점을 선택하여 메쉬 데이터량을 감축하기 위한 메쉬 데이터량 감축방법을 제공하는 데 있다.The present invention has been made in accordance with the above-described trend, and provides a mesh data amount reduction method for reducing a mesh data amount by selecting a vertex while skipping a vertex in a column and / or row unit with respect to a generated mesh.

상기 목적들을 제공하기 위하여 본 발명에 따른 메쉬 데이터량 감축방법은, 대상물에 대해 획득된 거리데이타를 이용하여 해당되는 메쉬를 생성하는 장치에 있어서, 거리데이타를 이용하여 생성된 초기 메쉬에 대하여 제 1 소정 열에 존재하는 제 1 소정 인덱스를 갖는 꼭지점들을 하나씩 선택하고, 선택된 꼭지점을 기반으로 루프를 형성하면서 데이터량을 감축하는 제 1 감축처리단계; 제 1 감축처리단계를 통해 1차적으로 갱신된 메쉬에 대하여, 제 1 소정 열에 존재하는 제 2 소정 인덱스를 갖는 꼭지점들을 하나씩 선택하고, 선택된 꼭지점을 기반으로 루프를 형성하면서 데이터량을 감축하는 제 2 감축처리단계; 제 2 감축처리단계를 통해 2차적으로 갱신된 메쉬에 대하여, 제 2 소정 열에 존재하는 제 1 소정 인덱스를 갖는 꼭지점들을 하나씩 선택하고, 선택된 꼭지점을 기반으로 루프를 형성하면서 데이터량을 감축하는 제 3 감축처리단계; 제 3 감축처리단계를 통해 3차적으로 갱신된 메쉬에 대하여, 제 2 소정 열에 존재하는 제 2 소정 인덱스를 갖는 꼭지점들을 하나씩 선택하고, 선택된 꼭지점을 기반으로 루프를 형성하면서 데이터량을 감축하는 제 4 감축처리단계를 포함하여 수행되는 것을 특징으로 한다.In order to provide the above objects, the mesh data amount reduction method according to the present invention is a device for generating a corresponding mesh using distance data obtained for an object, the method comprising: a first mesh for an initial mesh generated using distance data; A first reduction processing step of selecting vertices having a first predetermined index existing in a predetermined column one by one, and reducing a data amount while forming a loop based on the selected vertices; A second for selecting vertices having a second predetermined index existing in the first predetermined column one by one for the mesh updated primarily through the first reduction processing step, and reducing a data amount while forming a loop based on the selected vertices A reduction treatment step; A third for selecting vertices having a first predetermined index existing in the second predetermined column one by one for the mesh updated second through the second reduction processing step, and reducing a data amount while forming a loop based on the selected vertices A reduction treatment step; A fourth step of selecting vertices having a second predetermined index existing in the second predetermined column one by one for the mesh updated through the third reduction processing step, and reducing the amount of data while forming a loop based on the selected vertices; It is characterized in that it is carried out including a reduction treatment step.

도 1은 일반적인 메쉬생성과정에 대한 동작 흐름도이고,1 is an operation flowchart for a general mesh generation process,

도 2는 기존의 메쉬 데이타량 감축방법에 대한 상세 흐름도이고,2 is a detailed flowchart of an existing method for reducing mesh data amount;

도 3은 본 발명에 따른 방법을 수행하기 위한 시스템의 개략적인 블록도이고,3 is a schematic block diagram of a system for performing a method according to the invention,

도 4는 본 발명에 따른 메쉬 데이터량 감축방법에 대한 상세 흐름도이다.4 is a detailed flowchart of a mesh data amount reduction method according to the present invention.

<도면의 주요부분에 대한 부호의 설명><Description of the code | symbol about the principal part of drawing>

302:명령인가부 304:모델 생성부302: command authorization unit 304: model generation unit

306:프로세서 308:저장부306: processor 308: storage unit

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

도 3은 본 발명에 따른 메쉬 데이터량 감축방법을 수행하기 위한 시스템의 블록도로서, 사용자의 명령을 인가하기 위한 명령인가부(302), 기존의 방식대로 모델링하고자 하는 대상물에 대한 거리데이타를 획득하는 거리데이타 획득부(304), 명령인가부(302)를 통해 인가되는 사용자 명령과 거리데이타 획득부(304)로부터 획득된 거리데이타에 의하여 해당되는 메쉬를 생성하고, 본 발명에 따라 메쉬 데이터량에 대한 감축처리를 하는 프로세서(306), 프로세서(306)에 의해 제어되어 메쉬에 관련된 정보를 저장하는 저장부(308)로 구성된다.3 is a block diagram of a system for performing a method of reducing a mesh data amount according to the present invention, wherein the command application unit 302 for applying a user command obtains distance data of an object to be modeled according to a conventional method. According to the present invention, a mesh is generated according to the user command applied through the distance data acquisition unit 304 and the command application unit 302 and the distance data acquired from the distance data acquisition unit 304. And a storage unit 308 controlled by the processor 306 to store information related to the mesh.

도 4는 본 발명에 따른 메쉬 데이터량 감축방법에 대한 동작 흐름도이다.4 is a flowchart illustrating a method of reducing mesh data amount according to the present invention.

그러면 도 3 및 도 2를 참조하여 도 4에 도시된 메쉬 데이터량 감축방법에 대한 동작을 설명하기로 한다.Next, an operation of the mesh data amount reduction method illustrated in FIG. 4 will be described with reference to FIGS. 3 and 2.

먼저, 명령인가부(302)를 통해 특정 대상물에 대한 모델링이 요구되고, 거리데이타 획득부(304)로부터 해당 대상물에 대한 거리데이타가 획득되어 전송되면, 프로세서(306)는 종전과 같이 초기의 메쉬를 생성하고, 생성된 초기의 메쉬를 저장부(308)에 저장한다.First, when modeling of a specific object is required through the command applier 302, and distance data about the object is obtained and transmitted from the distance data acquisition unit 304, the processor 306 performs the initial mesh as before. Generates and stores the generated initial mesh in the storage unit 308.

그 다음 프로세서(306)는 생성된 초기의 메쉬에 대해 도 4에 도시된 바와 같이 데이터량 감축처리를 수행한다.Processor 306 then performs a data amount reduction process on the generated initial mesh as shown in FIG.

즉, 제 401 단계에서 프로세서(306)는 저장부(308)에 저장되어 있는 초기 메쉬에 대하여 짝수열의 짝수인덱스를 갖는 꼭지점(Vertex)을 순차적으로 하나씩 선택하도록 처리한다. 여기서 꼭지점의 인덱스는 메쉬 생성을 위한 꼭지점 리스트 형성시 설정되는 정보이다. 따라서 처음에 제 401 단계에서 선택되는 꼭지점은 2열상에 첫 번째 짝수인덱스를 갖는 꼭지점이 된다. 이와 같이 하나의 꼭지점이 선택되면, 프로세서(306)는 제 402 단계로 진행되어 선택된 꼭지점의 인덱스를 기반으로 메쉬데이타량 감축처리를 수행한다.That is, in step 401, the processor 306 processes to sequentially select vertices having even numbers of even indexes with respect to the initial mesh stored in the storage unit 308. Here, the index of the vertex is information set when forming a vertex list for generating a mesh. Therefore, the vertex initially selected in step 401 becomes a vertex having the first even index on the second column. When one vertex is selected as described above, the processor 306 proceeds to step 402 to perform a mesh data amount reduction process based on the index of the selected vertex.

이 때 제 402 단계에서 이루어지는 감축처리는 도 2의 제 204 단계 내지 제 218 단계와 제 226 단계 내지 제 230 단계와 동일한 과정으로 이루어진다. 즉, 제 401 단계에서 하나의 꼭지점이 선택되면, 제 204 단계로 진행되어 선택된 꼭지점의 인덱스를 기반으로 루프를 형성한다. 그리고 제 206 단계로 진행되어 형성된 루프가 완전한 루프인지를 체크한다. 체크결과, 완전한 루프인 경우에는 제 208 단계로 진행되어 해당 루프에 존재하는 이면각(Feature Edge)의 개수를 검출한다. 그리고 검출된 개수가 '2'이면, 제 210 단계를 통해 제 212 단계로 진행되어 검출된 이면각을 스프리트(Split)라인으로 설정하여 스프리트처리를 하고, 제 214 단계로 진행되어 형성된 루프에 대해 재 메쉬를 생성한다. 재 메쉬생성이 완료되면, 제 216 단계를 통해 제 218 단계로 진행되어 저장부(308)에 저장되어 있는 해당 루프에 대한 꼭지점의 인덱스 및 메쉬 구조정보를 갱신한 다음 제 403 단계로 진행된다.At this time, the reduction processing performed in step 402 is performed in the same process as steps 204 through 218 and 226 through 230 of FIG. 2. That is, when one vertex is selected in step 401, the process proceeds to step 204 to form a loop based on the index of the selected vertex. The flow proceeds to step 206 to check whether the formed loop is a complete loop. As a result of the check, if the complete loop, the flow proceeds to step 208 to detect the number of feature edges present in the loop. If the detected number is '2', the process proceeds to step 212 through step 210 to set the detected back angle as a split line to perform a split process, and to proceed to step 214 to repeat the loop formed. Create a mesh. When re-mesh generation is completed, the process proceeds to step 218 through step 216, and updates the index and mesh structure information of the vertex for the corresponding loop stored in the storage unit 308, and then proceeds to step 403.

선택된 꼭지점의 인덱스를 기반으로 형성된 루프가 완전한 루프인 상태에서 검출된 이면각이 0이면 제 210 단계에서 제 224 단계를 경유하여 제 214 단계로 진행되어 상술한 바와 같이 처리된다. 그리고 상술한 바와 같이 해당 루프에 대한 꼭지점의 인덱스 및 메쉬구조정보가 갱신되면, 제 403 단계로 진행된다.If the detected backside angle is 0 when the loop formed based on the index of the selected vertex is a complete loop, the process proceeds from step 210 to step 214 via step 224 and is processed as described above. As described above, when the index and the mesh structure information of the vertex for the corresponding loop are updated, the process proceeds to step 403.

만약 선택된 꼭지점의 인덱스를 기반으로 형성된 루프가 완전한 루프가 아닌 경우에는 상술한 도 2 설명시와 같이 제 226 단계 내지 제 230 단계를 경유하여 처리되고, 해당 루프에 대한 꼭지점의 인덱스 및 메쉬구조정보가 갱신되면, 제 403 단계로 진행된다.If the loop formed based on the index of the selected vertex is not a complete loop, it is processed through steps 226 to 230 as described above with reference to FIG. 2, and the index and mesh structure information of the vertex for the corresponding loop is processed. If so, the flow proceeds to step 403.

제 403 단계에서 프로세서(306)는 전 메쉬상에 모든 짝수열의 짝수인덱스를 갖는 꼭지점에 대한 선택이 이루어졌는 지를 체크한다. 체크결과, 아직 선택되지 않은 꼭지점의 인덱스가 존재하면 제 401 단계로 리턴되어 다음 순번에 해당되는 짝수열의 짝수인덱스를 갖는 꼭지점을 선택하여 상술한 과정을 반복 수행한다. 여기서 다음 순번에 해당되는 짝수 인덱스의 꼭지점은 제 401 단계에서 2열상에 첫 번째 짝수인덱스를 갖는 꼭지점이 선택된 경우에 2열상에 두 번째 짝수인덱스를 갖는 꼭지점이 된다. 그러나 2열상에 더 이상의 짝수인덱스를 갖는 꼭지점이 존재하지 않는 경우에 4열의 첫 번째 짝수인덱스를 갖는 꼭지점이 된다.In step 403, the processor 306 checks whether a selection has been made for a vertex having all even columns of even indexes on the entire mesh. As a result of the check, if there is an index of a vertex that is not yet selected, the process returns to step 401 and selects a vertex having an even index of even columns corresponding to the next sequence and repeats the above-described process. Here, the vertex of the even index corresponding to the next sequence is a vertex having the second even index on the second column when the vertex having the first even index on the second column is selected in step 401. However, if there are no vertices with even numbers on the second column, then the vertex with the first even index on column 4 is obtained.

이와 같은 선택작업으로 제 401 단계에서 마지막 짝수열의 마지막으로 짝수인덱스를 갖는 꼭지점이 선택되고, 선택된 꼭지점의 인덱스를 기반으로 메쉬 데이터량 감축처리가 이루어지면, 제 403 단계에서 프로세서(306)는 해당 메쉬상에 존재하는 모든 짝수열의 짝수인덱스를 갖는 꼭지점이 선택된 것으로 판단하고, 제 404 단계로 진행된다.When the vertex having the even index is the last of the last even column in step 401 and the mesh data amount reduction processing is performed based on the index of the selected vertex in step 401, the processor 306 determines the mesh in step 403. It is determined that a vertex having even indexes of all even columns present in the image is selected, and the process proceeds to step 404.

제 404 단계에서 프로세서(306)는 제 401 단계 내지 제 403 단계를 통해 저장부(308)에 1차적으로 데이터량이 감소된 형태로 갱신된 메쉬에 대해 짝수열의 홀수인덱스를 갖는 꼭지점을 순차적으로 하나씩 선택하도록 처리한다. 따라서 제 404 단계에서 처음 선택되는 꼭지점은, 1차적으로 갱신된 메쉬상의 2열의 첫 번째 홀수 인덱스를 갖는 꼭지점이 된다.In operation 404, the processor 306 sequentially selects vertices having an even number of odd indexes, one by one, for the mesh updated to the storage unit 308 in a form in which the amount of data is reduced in the storage unit 308 through steps 401 to 403. FIG. Do it. Accordingly, the vertex first selected in step 404 becomes a vertex having the first odd index of two rows on the mesh that is primarily updated.

이와 같이 하나의 꼭지점이 선택되면, 프로세서(306)는 제 405 단계로 진행되어 선택된 꼭지점의 인덱스를 기반으로 상술한 제 402 단계에서와 같이 해당 루프를 형성하여 메쉬 데이터량 감축처리를 수행한다. 선택된 꼭지점의 인덱스를 기반으로 한 메쉬 데이터량 감축처리가 완료되면, 프로세서(306)는 제 406 단계로 진행되어 1차 갱신된 메쉬를 구성하는 모든 짝수열의 홀수 인덱스를 갖는 꼭지점이 선택되었는 지를 체크한다.When one vertex is selected as described above, the processor 306 proceeds to step 405 and performs a mesh data amount reduction process by forming a corresponding loop as in step 402 based on the index of the selected vertex. When the mesh data amount reduction process based on the index of the selected vertex is completed, the processor 306 proceeds to step 406 and checks whether vertices having odd indexes of all even columns constituting the primary updated mesh are selected. .

체크결과, 선택되지 않은 꼭지점이 존재하는 경우에 프로세서(306)는 제 404 단계로 리턴되어 다음 순번의 짝수 열의 홀수 인덱스를 갖는 꼭지점을 선택한다. 즉, 제 404 단계에서 이전에 선택되었던 꼭지점이 1차적으로 갱신된 메쉬상에 존재하는 첫 번째 짝수열의 첫 번째 홀수 인덱스를 갖는 꼭지점인 경우에, 현재 선택되는 꼭지점은 첫 번째 짝수열의 두 번째로 존재하는 홀수 인덱스를 갖는 꼭지점이 된다. 그러나 이 때 첫 번째 짝수열(예를 들어 2열)에 더 이상의 홀수 인덱스를 갖는 꼭지점이 존재하지 않는 경우에, 두 번째 짝수열(예를 들어 4열)에 존재하는 첫 번째 홀수 인덱스를 갖는 꼭지점이 선택된다. 이와 같은 순서로 선택되어 1차적으로 갱신된 메쉬상의 마지막 짝수열의 마지막 홀수 인덱스를 갖는 꼭지점이 선택되면, 프로세서(306)는 제 406 단계에서 제 407 단계로 진행된다.If there is a check point that is not selected, the processor 306 returns to step 404 to select a vertex having an odd index of the next even numbered column. That is, in the case where the vertex previously selected in operation 404 is a vertex having the first odd index of the first even column existing on the first updated mesh, the currently selected vertex is the second of the first even column. To be a vertex with an odd index. However, if there are no vertices with more odd indexes in the first even column (for example 2), then vertices with the first odd indexes in the second even column (for example 4) Is selected. If a vertex having the last odd index of the last even column on the mesh that is selected in this order and primarily updated is selected, the processor 306 proceeds from step 406 to step 407.

제 407 단계에서 프로세서(306)는 제 404 단계 내지 제 406 단계를 통해 2차적으로 갱신되어 저장부(308)에 저장된 메쉬에 대해, 홀수열의 짝수 인덱스를 갖는 꼭지점을 하나씩 선택한다. 즉, 2차적으로 갱신되어 저장부(308)상에 저장되어 있는 메쉬를 구성하는 홀수열의 짝수 인덱스를 갖는 꼭지점들이 순차적으로 선택된다.In operation 407, the processor 306 selects vertices having even-numbered even indexes, one by one, for the meshes updated second through steps 404 to 406 and stored in the storage unit 308. In other words, vertices having an even index of odd columns constituting a mesh that is updated secondarily and stored on the storage unit 308 are sequentially selected.

이와 같은 방식으로 하나의 꼭지점이 선택되면, 프로세서(306)는 제 408 단계로 진행되어 상술한 제 402 단계 및 제 403 단계에서 이루어진 것과 같이 선택된 꼭지점의 인덱스를 기반으로 루프를 형성하여 메쉬 데이터량 감축처리를 한다. 선택된 꼭지점에 대한 메쉬 데이터량 감축처리가 완료되면, 프로세서(306)는 제 409 단계로 진행되어 2차적으로 갱신된 메쉬상에 홀수열의 짝수 인덱스를 갖는 모든 꼭지점이 선택되었는 지를 체크한다.When one vertex is selected in this manner, the processor 306 proceeds to step 408 to form a loop based on the indexes of the selected vertices as described in steps 402 and 403 to reduce the amount of mesh data. Do the processing. When the mesh data amount reduction process for the selected vertex is completed, the processor 306 proceeds to step 409 and checks whether all vertices having an even index of odd columns are selected on the second updated mesh.

이 때 제 407 단계에서 마지막 홀수열의 마지막 짝수 인덱스를 갖는 꼭지점이 선택되지 않았으면, 제 409 단계에서 프로세서(306)는 아직 선택되지 않은 꼭지점이 존재하는 것으로 판단하여 제 407 단계로 리턴되어 다음 순번의 꼭지점을 선택한다. 즉, 제 407 단계에서 이전에 선택되었던 꼭지점이 첫 번째 홀수 열(예를 들어 1열)의 첫 번째 짝수인덱스를 갖는 꼭지점이 선택된 경우에, 첫 번째 홀수 열의 두 번째 짝수 인덱스를 갖는 꼭지점을 선택한다. 그리고, 첫 번째 홀수 열의 짝수 인덱스를 갖는 꼭지점이 모두 선택된 경우에, 두 번째 홀수 열의 첫 번째 짝수 인덱스를 갖는 꼭지점이 선택된다.In this case, if a vertex having the last even index of the last odd column is not selected in step 407, the processor 306 determines that there is a vertex that is not yet selected in step 409, and returns to step 407 to perform the next sequence Select a vertex. That is, when a vertex having the first even index of the first odd column (for example, column 1) is selected in step 407, the vertex having the second even index of the first odd column is selected. . In addition, when all vertices having even indexes of the first odd column are selected, the vertices having first even indexes of the second odd column are selected.

이와 같은 선택처리에 의하여, 2차적으로 갱신된 메쉬에 존재하는 모든 홀수열의 짝수 인덱스를 갖는 꼭지점에 대한 선택이 이루어진 경우에, 프로세서(306)는 제 409 단계에서 제 410 단계로 진행된다.In this case, when a selection is made on a vertex having an even index of all odd columns existing in the secondary updated mesh, the processor 306 proceeds from step 409 to step 410.

제 410 단계에서 프로세서 프로세서(306)는 제 407 단계 내지 제 409 단계를 통해 3차적으로 갱신되어 저장부(308)에 저장된 메쉬에 대해, 홀수열의 홀수 인덱스를 갖는 꼭지점을 하나씩 선택한다. 즉, 3차적으로 갱신되어 저장부(308)상에 저장되어 있는 메쉬를 구성하는 홀수열의 짝수 인덱스를 갖는 꼭지점들을 하나씩 순차적으로 선택한다.In step 410, the processor processor 306 selects vertices having odd indexes of odd columns, one by one, for the meshes updated in steps 407 to 409 and stored in the storage unit 308. That is, vertices having an even index of odd columns, which are updated in a third order and constitute a mesh stored on the storage unit 308, are sequentially selected one by one.

이와 같은 방식으로 하나의 꼭지점이 선택되면, 프로세서(306)는 제 411 단계로 진행되어 상술한 제 402 단계, 제 405 단계 및 제 408 단계에서 이루어진 것과 같이 선택된 꼭지점의 인덱스를 기반으로 루프를 형성하여 메쉬 데이터량 감축처리를 한다. 선택된 꼭지점에 대한 메쉬 데이터량 감축처리가 완료되면, 프로세서(306)는 제 412 단계로 진행되어 3차적으로 갱신된 메쉬상에 홀수열의 홀수 인덱스를 갖는 모든 꼭지점이 선택되었는 지를 체크한다.In this manner, when one vertex is selected, the processor 306 proceeds to step 411 to form a loop based on the index of the selected vertex as in the above-described steps 402, 405, and 408. Reduce the mesh data amount. When the mesh data amount reduction process for the selected vertex is completed, the processor 306 proceeds to step 412 and checks whether all vertices having an odd index of odd columns are selected on the third updated mesh.

체크결과, 3차적으로 갱신된 메쉬상에 존재하는 홀수열의 홀수 인덱스를 갖는 모든 꼭지점이 선택되지 않은 경우에, 프로세서(306)는 제 410 단계로 리턴되어 다음 순번의 꼭지점을 선택한다. 즉, 제 410 단계에서 이전에 선택되었던 꼭지점이 3차적으로 갱신된 메쉬에서 첫 번째 홀수 열의 첫 번째 홀수 인덱스를 갖는 꼭지점이 선택된 경우에, 첫 번째 홀수 열의 두 번째 홀수 인덱스를 갖는 꼭지점이 선택된다.As a result of the check, if all vertices having an odd index of odd columns existing on the third updated mesh are not selected, the processor 306 returns to step 410 to select the next vertex. That is, in the case where a vertex having the first odd index of the first odd column is selected in the mesh in which the vertex previously selected in step 410 is updated in the third step, the vertex having the second odd index of the first odd column is selected.

이와 같은 선택처리에 의하여, 3차적으로 갱신된 메쉬에 존재하는 모든 홀수열의 홀수 인덱스를 갖는 꼭지점이 선택되면, 프로세서(306)는 메쉬 데이터량 감축작업을 종료한다. 따라서 저장부(308)에는 4차례에 걸친 메쉬 데이터량 감축처리로 획득된 메쉬가 저장된다.If a vertex having an odd index of all odd columns existing in the third updated mesh is selected by the selection process, the processor 306 ends the mesh data amount reduction operation. Therefore, the storage unit 308 stores the mesh obtained by the mesh data amount reduction processing for four times.

그리고, 도 4에 도시된 실시예는, 처음에는 짝수열의 짝수 인덱스를 갖는 꼭지점을 하나씩 선택하여 처리하고, 다음에는 짝수열의 홀수 인덱스를 갖는 꼭지점을 하나씩 선택하여 처리한 뒤, 홀수열의 짝수 인덱스를 갖는 꼭지점을 하나씩 선택하여 처리하고, 그 다음에는 홀수열의 홀수 인덱스를 갖는 꼭지점을 하나씩 선택하여 처리하는 방식으로 구현되어 있으나 그 처리순서는 변경될 수 있다. 단, 짝수열의 짝수 인덱스의 꼭지점에 대해 처리하고 홀수열의 짝수 인덱스의 꼭지점에 대해 처리하다가 다시 짝수열의 홀수 인덱스의 꼭지점을 처리하는 방식으로 설정될 수는 없다. 따라서 홀수열차원에서 짝수 인덱스를 갖는 꼭지점과 홀수 인덱스를 갖는 꼭지점에 대한 처리순서가 바뀔 수 있고, 짝수열차원에서 짝수 인덱스를 갖는 꼭지점과 홀수 인덱스를 갖는 꼭지점에 대한 처리순서가 바뀔수 있고, 홀수열차원과 짝수열 차원에 대한 처리순서가 바뀔수는 있으나 홀수열 차원과 짝수열차원에 관계없이 홀수 인덱스와 짝수 인덱스 차원으로 순서가 설정될 수는 없다.In the embodiment shown in FIG. 4, first, the vertices having the even indexes of the even columns are selected and processed one by one, and then the vertices having the even indexes of the even columns are selected one by one and processed. The vertices are selected and processed one by one, and then the vertices having odd indexes of odd columns are selected and processed one by one, but the processing order may be changed. However, it may not be set in such a manner that it processes the vertices of even indexes of even columns, vertices of even indexes of odd columns, and processes vertices of even indexes of even columns. Therefore, the processing order for vertices with even indexes and vertices with odd indexes in odd-numbered dimensions may be changed, the processing order for vertices with even indexes and vertices with odd indexes in even-numbered dimensions may be changed, and odd trains The order of processing for the circle and even-order dimensions can be changed, but the order cannot be set to odd and even-index dimensions, regardless of the odd and even-order dimensions.

이상에서 설명한 바와 같이 본 발명은 거리데이타를 이용하여 대상물에 대한 메쉬를 생성할 때, 짝수열과 홀수열차원으로 짝수 인덱스를 갖는 꼭지점과 홀수 인덱스를 갖는 꼭지점조건을 이용하여 메쉬 데이터량을 감축하기 위한 꼭지점 선택조건을 4가지로 분류하여 메쉬 데이터량 감축처리를 수행함으로써, 새로운 메쉬 데이터량 감축방식을 제공하는 효과가 있다.As described above, according to the present invention, when generating a mesh for an object using distance data, the mesh data is reduced by using vertices having even indexes and vertex conditions having odd indexes in even and odd column dimensions. By classifying the vertex selection conditions into four types and performing the mesh data amount reduction process, there is an effect of providing a new mesh data amount reduction method.

Claims (3)

대상물에 대해 획득된 거리데이타를 이용하여 해당되는 메쉬를 생성하는 장치에 있어서,In the apparatus for generating a corresponding mesh using the distance data obtained for the object, 상기 거리데이타를 이용하여 생성된 초기 메쉬에 대하여 제 1 소정 열에 존재하는 제 1 소정 인덱스를 갖는 꼭지점들을 하나씩 선택하고, 선택된 꼭지점을 기반으로 루프를 형성하면서 데이터량을 감축하는 제 1 감축처리단계;A first reduction processing step of selecting vertices each having a first predetermined index existing in a first predetermined column with respect to the initial mesh generated using the distance data, and reducing a data amount by forming a loop based on the selected vertices; 상기 제 1 감축처리단계를 통해 1차적으로 갱신된 메쉬에 대하여, 상기 제 1 소정 열에 존재하는 제 2 소정 인덱스를 갖는 꼭지점들을 하나씩 선택하고, 선택된 꼭지점을 기반으로 루프를 형성하면서 데이터량을 감축하는 제 2 감축처리단계;Selecting vertices having a second predetermined index existing in the first predetermined column one by one for the mesh updated primarily through the first reduction processing step, and reducing the amount of data by forming a loop based on the selected vertices A second reduction treatment step; 상기 제 2 감축처리단계를 통해 2차적으로 갱신된 메쉬에 대하여, 상기 제 2 소정 열에 존재하는 제 1 소정 인덱스를 갖는 꼭지점들을 하나씩 선택하고, 선택된 꼭지점을 기반으로 루프를 형성하면서 데이터량을 감축하는 제 3 감축처리단계;Selecting vertices having a first predetermined index existing in the second predetermined column one by one for the mesh updated second through the second reduction processing step, and reducing the amount of data while forming a loop based on the selected vertices A third reduction treatment step; 상기 제 3 감축처리단계를 통해 3차적으로 갱신된 메쉬에 대하여, 상기 제 2 소정 열에 존재하는 제 2 소정 인덱스를 갖는 꼭지점들을 하나씩 선택하고, 선택된 꼭지점을 기반으로 루프를 형성하면서 데이터량을 감축하는 제 4 감축처리단계를 포함하여 수행되는 것을 특징으로 하는 메쉬 데이터량 감축방법.Selecting vertices having a second predetermined index existing in the second predetermined column one by one with respect to the mesh updated through the third reduction processing step, and reducing a data amount by forming a loop based on the selected vertices And a fourth reduction processing step. 제 1 항에 있어서, 상기 메쉬 데이터량 감축방법은 상기 제 1 소정 열은 짝수 열로 설정하고, 상기 제 2 소정 열은 홀수 열로 설정하고, 상기 제 1 소정 인덱스는 짝수 인덱스와 홀수 인덱스중 하나의 인덱스를 설정하고, 상기 제 2 소정 인덱스는 상기 제 1 소정 인덱스로 설정된 인덱스와 상대적인 인덱스를 설정하여 운영되는 것을 특징으로 하는 메쉬 데이터량 감축방법.The method of claim 1, wherein the mesh data amount reduction method sets the first predetermined column to an even column, the second predetermined column to an odd column, and the first predetermined index is one of an even index and an odd index. And the second predetermined index is operated by setting an index relative to the index set as the first predetermined index. 제 1 항에 있어서, 상기 메쉬 데이터량 감축방법은 상기 제 1 소정 열은 홀수 열로 설정하고, 상기 제 2 소정 열은 짝수 열로 설정하고, 상기 제 1 소정 인덱스는 짝수 인덱스와 홀수 인덱스중 하나의 인덱스를 설정하고, 상기 제 2 소정 인덱스는 상기 제 1 소정 인덱스로 설정된 인덱스와 상대적인 인덱스를 설정하여 운영되는 것을 특징으로 하는 메쉬 데이터량 감축방법.The method of claim 1, wherein the mesh data amount reduction method sets the first predetermined column to an odd column, the second predetermined column to an even column, and the first predetermined index is one of an even index and an odd index. And the second predetermined index is operated by setting an index relative to the index set as the first predetermined index.
KR1019970078375A 1997-12-30 1997-12-30 Method for reducting volume of the mesh data KR100275274B1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
KR1019970078375A KR100275274B1 (en) 1997-12-30 1997-12-30 Method for reducting volume of the mesh data
GB9814206A GB2333019A (en) 1997-12-30 1998-06-30 Triangular mesh decimation method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1019970078375A KR100275274B1 (en) 1997-12-30 1997-12-30 Method for reducting volume of the mesh data

Publications (2)

Publication Number Publication Date
KR19990058284A KR19990058284A (en) 1999-07-15
KR100275274B1 true KR100275274B1 (en) 2000-12-15

Family

ID=19529832

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1019970078375A KR100275274B1 (en) 1997-12-30 1997-12-30 Method for reducting volume of the mesh data

Country Status (2)

Country Link
KR (1) KR100275274B1 (en)
GB (1) GB2333019A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2004065854A1 (en) * 2003-01-18 2004-08-05 Tae-Ryong Song Fan-combined heater

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
FR3035990A1 (en) 2015-05-07 2016-11-11 Inst Mines Telecom METHOD FOR SIMPLIFYING THE MODEL OF GEOMETRY
CN106683190B (en) * 2016-12-29 2019-10-22 中国科学院长春光学精密机械与物理研究所 A kind of generation method and system of triangle gridding

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2004065854A1 (en) * 2003-01-18 2004-08-05 Tae-Ryong Song Fan-combined heater

Also Published As

Publication number Publication date
GB9814206D0 (en) 1998-08-26
KR19990058284A (en) 1999-07-15
GB2333019A (en) 1999-07-07

Similar Documents

Publication Publication Date Title
JP3962361B2 (en) Phase determining device, decomposable shape generating device, structural mesh generating device, phase determining method, decomposable shape generating method, computer executable program for executing the phase determining method, and decomposable shape generating method Computer executable program and structured mesh generation system
Gajer et al. Grip: Graph drawing with intelligent placement
CA1301352C (en) Method and apparatus for generating a mesh for finite element analysis
JP7343963B2 (en) Dataset for learning functions that take images as input
CN116597039B (en) Image generation method and server
JP2941653B2 (en) Analytical mesh generator
JPH10255081A (en) Image processing method and image processor
US20090076754A1 (en) Methods, systems and apparatuses for modeling optical images
KR101853237B1 (en) 3D geometry denoising method and apparatus using deep learning
KR100275274B1 (en) Method for reducting volume of the mesh data
US20040128648A1 (en) Face correlation between computer aided design models
CA3081445A1 (en) System and method for tracing polygons in design files
KR101919085B1 (en) Apparatus and method for simplification of 3D mesh data
Wang et al. Control point removal algorithm for T-spline surfaces
CN115100058A (en) Image reflection removing method and system based on neural network and related equipment
KR100237659B1 (en) Figure editing apparatus and method for displaying edited objects in a form different from objects not yet edited
CN112419216A (en) Image interference removing method and device, electronic equipment and computer readable storage medium
JP2001092805A (en) Device and method for generating analytical mesh and recording medium
McKay et al. Computer aided design: an early shape synthesis system
KR20240024586A (en) Electronic device capable of predicting parameters for a cad program corresponding to a figure image through generation of an artificial intelligence-based parameter prediction model and the operating method thereof
Si et al. On tetrahedralisations of generalised Chazelle polyhedra with interior Steiner points
JPH05225290A (en) Shape correction system by three dimensional parametric function
JPH0378090A (en) Design history managing system for three-dimensional shape
Vasylkiv et al. Creating Parametric Drawing
CN113706530A (en) Surface defect region segmentation model generation method and device based on network structure

Legal Events

Date Code Title Description
A201 Request for examination
E701 Decision to grant or registration of patent right
GRNT Written decision to grant
FPAY Annual fee payment

Payment date: 20110901

Year of fee payment: 12

FPAY Annual fee payment

Payment date: 20120903

Year of fee payment: 13

LAPS Lapse due to unpaid annual fee