CN115457219B - Protection method for ancient building wood structure in building cultural heritage - Google Patents
Protection method for ancient building wood structure in building cultural heritage Download PDFInfo
- Publication number
- CN115457219B CN115457219B CN202211310543.4A CN202211310543A CN115457219B CN 115457219 B CN115457219 B CN 115457219B CN 202211310543 A CN202211310543 A CN 202211310543A CN 115457219 B CN115457219 B CN 115457219B
- Authority
- CN
- China
- Prior art keywords
- building wood
- building
- ancient
- point
- coordinates
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 239000002023 wood Substances 0.000 title claims abstract description 124
- 238000000034 method Methods 0.000 title claims abstract description 50
- 230000006870 function Effects 0.000 claims abstract description 64
- 239000013598 vector Substances 0.000 claims abstract description 59
- 238000012545 processing Methods 0.000 claims abstract description 11
- 230000014509 gene expression Effects 0.000 claims description 2
- 238000012986 modification Methods 0.000 claims 1
- 230000004048 modification Effects 0.000 claims 1
- 238000010606 normalization Methods 0.000 claims 1
- 238000004422 calculation algorithm Methods 0.000 abstract description 3
- 238000011160 research Methods 0.000 description 7
- 238000010586 diagram Methods 0.000 description 5
- 239000003086 colorant Substances 0.000 description 4
- 238000012937 correction Methods 0.000 description 3
- 238000005094 computer simulation Methods 0.000 description 2
- 230000000007 visual effect Effects 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000004364 calculation method Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 230000007613 environmental effect Effects 0.000 description 1
- 238000010801 machine learning Methods 0.000 description 1
- 238000005259 measurement Methods 0.000 description 1
- 238000005457 optimization Methods 0.000 description 1
- 238000007747 plating Methods 0.000 description 1
- 238000001556 precipitation Methods 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T17/00—Three dimensional [3D] modelling, e.g. data description of 3D objects
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F30/00—Computer-aided design [CAD]
- G06F30/10—Geometric CAD
- G06F30/13—Architectural design, e.g. computer-aided architectural design [CAAD] related to design of buildings, bridges, landscapes, production plants or roads
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T2207/00—Indexing scheme for image analysis or image enhancement
- G06T2207/10—Image acquisition modality
- G06T2207/10028—Range image; Depth image; 3D point clouds
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T2207/00—Indexing scheme for image analysis or image enhancement
- G06T2207/30—Subject of image; Context of image processing
- G06T2207/30181—Earth observation
- G06T2207/30184—Infrastructure
Landscapes
- Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- Geometry (AREA)
- Theoretical Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Computer Hardware Design (AREA)
- Civil Engineering (AREA)
- Architecture (AREA)
- Software Systems (AREA)
- Computer Graphics (AREA)
- Structural Engineering (AREA)
- Computational Mathematics (AREA)
- Mathematical Analysis (AREA)
- Mathematical Optimization (AREA)
- Pure & Applied Mathematics (AREA)
- Evolutionary Computation (AREA)
- General Engineering & Computer Science (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
Description
技术领域technical field
本发明涉及古建筑木结构保护方法领域,特别涉及一种建筑文化遗产中的古建筑木结构的保护方法。The invention relates to the field of protection methods for ancient building wooden structures, in particular to a protection method for ancient building wooden structures in architectural cultural heritage.
背景技术Background technique
我国是一个历史悠久的大国,两千年的历史文化沉淀为我国遗留下来了巨大的财富,其中就包括技术财富,这些都是不可多得的珍宝。对于技术财富,从古至今技术在不断的进行更替,而房屋等建筑的技术,随着不断更替的同时,古人也留下了诸多值得我们后人所学习和传承的地方。my country is a big country with a long history. Two thousand years of historical and cultural precipitation has left behind huge wealth for our country, including technological wealth, which are rare treasures. As for technological wealth, technology has been constantly changing from ancient times to the present, and the technology of buildings and other buildings has been constantly changing. At the same time, the ancients have left many places worthy of learning and inheritance by our descendants.
对于古建筑,我们在传承的时候,主要需要从两个方面着手,第一是研究,第二是保护。对于古代的木质建筑,大多使用的是隼牟结构等一些专有的结构设计,对于这一类古建筑木结构,我们首先要学习其结构以及结构的连接关系,在学以致用融会贯通的基础上对其进行应用,最后将这些进行合理的保护,进而做到古建筑木结构的传承。For ancient buildings, when we inherit them, we mainly need to start from two aspects, the first is research, and the second is protection. For ancient wooden buildings, most of them use some proprietary structural designs such as the Falcon structure. For this type of ancient wooden structures, we must first learn their structures and their connection relationships, and use what we have learned to apply them. It is applied, and finally these are reasonably protected, so as to achieve the inheritance of ancient wooden structures.
目前,在对于古建筑木结构的保护中,通常所使用的保护方法也不唯一,都是根据古建筑木结构的具体结构,对其进行合适的保护,这样就需对已有的古建筑木结构进行尽可能少的拆解或者不拆解,这样才能通过减少使用的方式对古建筑进行良好的保存。但是这样虽然可以将古建筑木结构进行良好的保存,但是却十分的不利于研究人员对其进行研究,也就不能做到良好的对古建筑木结构进行传承。At present, in the protection of ancient building wooden structures, the protection methods usually used are not unique. They are all based on the specific structure of ancient building wooden structures, and they are properly protected. In this way, the existing ancient building wooden structures need to be protected. The structure should be dismantled as little or not as possible, so that the ancient buildings can be well preserved by reducing the use. However, although this can preserve the wooden structure of ancient buildings well, it is very unfavorable for researchers to study it, and it cannot achieve a good inheritance of wooden structures of ancient buildings.
针对上述的问题,目前有学者提出,可以通过制作仿品的方式对古建筑木结构进行研究,在根据研究的结果选择合适的保护方式,从而对古建筑木结构进行保护。但是这样的方式需要对古建筑木结构进行实际的测量和等比例的还原,在古建筑木结构中原本就精细的部件就需要仿制的更加精细,需要耗费大量的工时,严重降低了工作的效率,同时也需要人为的通过对仿制品进行分析,才能得到对于古建筑木结构的保护方式。而如果使用计算机对古建筑木结构进行模拟,则仅仅只是节约了仿制出古建筑木结构的时间,对于分析得到古建筑木结构得到保护方式的时间并没有起到节约的效果。In view of the above problems, some scholars currently propose that the wooden structure of ancient buildings can be studied by making imitations, and the appropriate protection method can be selected according to the research results, so as to protect the wooden structure of ancient buildings. However, this method requires actual measurement and proportional restoration of the wooden structure of ancient buildings. The original fine parts in the wooden structure of ancient buildings need to be imitated more finely, which requires a lot of man-hours and seriously reduces the work efficiency. , At the same time, it is also necessary to artificially analyze the imitation products in order to obtain the protection method for the wooden structure of ancient buildings. However, if the computer is used to simulate the wooden structure of ancient buildings, it only saves the time of imitating the wooden structure of ancient buildings, and does not save the time of analyzing the way in which the wooden structures of ancient buildings are protected.
发明内容Contents of the invention
本发明的目的是克服上述现有技术中存在的问题,提供一种建筑文化遗产中的古建筑木结构的保护方法,通过计算机中模拟的古建筑木结构进行算法的处理得到古建筑木结构的保护方式,使得节约了人为进行大量工作的时间,在良好保护好文物的同时提升了对于古建筑木结构研究的效率。The purpose of the present invention is to overcome the problems existing in the above-mentioned prior art, provide a kind of protection method of the ancient architectural wooden structure in the architectural cultural heritage, carry out the processing of algorithm by the ancient architectural wooden structure simulated in the computer and obtain the ancient architectural wooden structure The protection method saves a lot of time for man-made work, and improves the efficiency of research on ancient wooden structures while protecting cultural relics.
为此,本发明提供一种建筑文化遗产中的古建筑木结构的保护方法,包括如下步骤:For this reason, the present invention provides a kind of protection method of ancient architectural wooden structure in architectural cultural heritage, comprises the steps:
接收计算机模拟的古建筑木结构,并且分离出古建筑木结构中的各个建筑木,建立三维点云坐标系,将古建筑木结构中的每一个所述建筑木对应的点云坐标分别进行聚类;Receive the computer-simulated ancient wooden structure, and separate each building wood in the ancient building wooden structure, establish a three-dimensional point cloud coordinate system, and collect the point cloud coordinates corresponding to each of the ancient building wooden structures respectively kind;
将每一个所述建筑木对应的点云坐标进行线条处理,得到每一个所述建筑木对应的线条以及线条的表示函数,并得到根据线条的表示函数得到其对应的代表坐标点;Perform line processing on the point cloud coordinates corresponding to each of the building blocks, obtain a line corresponding to each of the building blocks and a representation function of the line, and obtain its corresponding representative coordinate point according to the representation function of the line;
依次绘制每个代表坐标点到坐标原点之间的向量得到各个建筑木对应的位置向量并将各个位置向量进行归一化处理,根据古建筑木结构中所有的位置向量得到古建筑木结构的类型;Draw the vectors between each representative coordinate point and the coordinate origin in turn to obtain the corresponding position vectors of each building wood and normalize each position vector, and obtain the type of ancient building wood structure according to all the position vectors in the ancient building wood structure ;
根据古建筑木结构的类型调取对应的数据库,所述数据库用于存储函数以及函数对应的保护方式;Call the corresponding database according to the type of ancient building wooden structure, and the database is used to store functions and protection methods corresponding to the functions;
将所述古建筑木结构中的全部函数依次匹配所述数据库中的函数,并得到其对应的保护方式,将全部的保护方式合并并输出。All the functions in the wooden structure of the ancient building are sequentially matched with the functions in the database, and the corresponding protection methods are obtained, and all the protection methods are combined and output.
进一步,所述线条处理,包括如下步骤:Further, the line processing includes the following steps:
提取所述建筑木的三维点云坐标的边缘坐标,根据其边缘坐标得到其对应的三维形状,根据所述建筑木对应的三维形状绘制其对应的三维线条图;Extracting the edge coordinates of the three-dimensional point cloud coordinates of the building wood, obtaining its corresponding three-dimensional shape according to its edge coordinates, and drawing its corresponding three-dimensional line drawing according to the corresponding three-dimensional shape of the building wood;
将绘制好的三维线条图填充虚拟点云得到虚拟建筑木,获取虚拟建筑木的点云数量;Fill the drawn three-dimensional line drawing into the virtual point cloud to obtain the virtual building wood, and obtain the number of point clouds of the virtual building wood;
获取所述建筑木的点云数量,根据所述建筑木的点云数量调节所述虚拟建筑木的点云数量,使得所述虚拟建筑木的点云数量与所述建筑木的点云数量达到设定的比例范围;Obtain the number of point clouds of the building wood, adjust the number of point clouds of the virtual building wood according to the number of point clouds of the building wood, so that the number of point clouds of the virtual building wood and the number of point clouds of the building wood reach The set ratio range;
输出调节后的所述建筑木的点云,并根据此得到其边缘坐标,输出对应的三维线条图为所述建筑木对应的线条。Output the adjusted point cloud of the building wood, and obtain its edge coordinates according to it, and output the corresponding three-dimensional line drawing as the corresponding line of the building wood.
更进一步,在根据边缘坐标得到对应的三维形状的时候,包括如下步骤:Furthermore, when obtaining the corresponding three-dimensional shape according to the edge coordinates, the following steps are included:
将所述边缘坐标组成的面分为若干个平面,相邻的平面相交;Divide the surface formed by the edge coordinates into several planes, and adjacent planes intersect;
在每个相交的平面的交线上取一点记为交线点,将至少三个平面相交的点记为交面点;Take a point on the intersection line of each intersecting plane and record it as the intersection point, and record the point where at least three planes intersect as the intersection point;
依次将相邻的交线点和交线点、交面点和交面点、交面点和交线点连接,所连接的点组成的线位于所连接的点所在的平面上;Connect adjacent intersection points and intersection points, intersection points and intersection points, intersection points and intersection points in turn, and the line formed by the connected points is located on the plane where the connected points are located;
输出连接后的各个点的三维图形为所述三维形状。The three-dimensional graphics of the connected points are output as the three-dimensional shape.
更进一步,所述交线点为相交的平面的交线上的中点。Furthermore, the point of intersection is a midpoint on the intersection of intersecting planes.
进一步,根据线条的表示函数得到对应的代表坐标点的时候,包括如下步骤:Further, when the corresponding representative coordinate points are obtained according to the representation function of the line, the following steps are included:
计算函数的中心坐标,并且得到函数上的各个坐标点;Calculate the central coordinates of the function and get each coordinate point on the function;
得到各个中心坐标到函数中各坐标点的向量为其对应的函数向量;Get the vector from each center coordinate to each coordinate point in the function as its corresponding function vector;
将各个所述函数向量进行向量的和运算得到函数统一向量;Carrying out a vector sum operation on each of the function vectors to obtain a function uniform vector;
根据所述中心坐标和所述函数统一向量得到所述代表坐标点的坐标。The coordinates of the representative coordinate point are obtained according to the central coordinates and the uniform vector of the function.
更进一步,在计算函数的中心坐标的时候,所述中心坐标的横坐标为函数上各个点的坐标的横坐标的平均数,所述中心坐标的纵坐标为函数上各个点的坐标的纵坐标的平均数。Furthermore, when calculating the central coordinate of the function, the abscissa of the central coordinate is the average of the abscissa of the coordinates of each point on the function, and the ordinate of the central coordinate is the ordinate of the coordinates of each point on the function the average of .
进一步,所述古建筑木结构中的每一个所述建筑木对应的线条均使用不同的颜色进行表示。Further, the lines corresponding to each building wood in the ancient building wooden structure are represented by different colors.
进一步,所述数据库还用于存储古建筑木结构的类型和对应的向量范围,在根据位置向量得到古建筑木结构的类型的时候,包括如下步骤:Further, the database is also used to store the type of the ancient wooden structure and the corresponding vector range, and when obtaining the type of the ancient wooden structure according to the position vector, the following steps are included:
将古建筑木结构中的各个位置向量的终点坐标提取出来;Extract the end point coordinates of each position vector in the wooden structure of the ancient building;
根据各个终点坐标在所述数据库中匹配对应的向量范围;matching the corresponding vector range in the database according to the coordinates of each end point;
输出匹配成功的向量范围对应的古建筑木结构的类型。Output the type of ancient building timber structure corresponding to the successful vector range.
进一步,所述数据库还能够接受用户对其进行更新和修正。Further, the database can also be updated and corrected by users.
本发明提供的一种建筑文化遗产中的古建筑木结构的保护方法,具有如下A kind of protection method of ancient architectural wooden structure in architectural cultural heritage provided by the present invention has the following functions:
有益效果:Beneficial effect:
本发明通过计算机中模拟的古建筑木结构进行算法的处理得到古建筑木结构的保护方式,使得节约了人为进行大量工作的时间,在良好保护好文物的同时提升了对于古建筑木结构研究的效率;The invention obtains the protection mode of the ancient building wooden structure through algorithm processing of the ancient building wooden structure simulated in the computer, which saves a lot of time for man-made work, and improves the research efficiency of the ancient building wooden structure while protecting the cultural relics well. efficiency;
本发明在使用计算机进行保护方式的判断的时候,通过计算机模拟的每一个建筑木的拐角点和特征点通过坐标进行表示,就可以将各个建筑木的空间位置展现出来,之后根据建筑木的空间位置和其具体形状线条表示的代表点,就可以将古建筑木结构中的全部古建筑木通过函数的方式表示,进而通过函数之间的关系得到保护的方式,从而使得将计算机模拟的方式进行延续,起到在良好保护好文物的同时提升了对于古建筑木结构研究效率的作用;When the present invention uses a computer to judge the protection mode, the corner points and feature points of each building wood simulated by the computer are represented by coordinates, so that the spatial positions of each building wood can be displayed, and then according to the space of the building wood The positions and the representative points represented by their specific shapes and lines can represent all the ancient building wood in the ancient building wooden structure in the form of functions, and then the relationship between functions can be protected, so that the computer simulation can be carried out Continuation plays a role in improving the efficiency of research on wooden structures of ancient buildings while protecting cultural relics well;
本发明通过不同的颜色标记将古建筑木结构中各个建筑木区别开来,这样也可以从视觉的效果,使得让研究人员清楚直观的看到古建筑木结构中各个古建筑木之间的结构关系,通过形状线条表示的方式让研究人员可以清楚直观的看到古建筑木结构的本质,以及不同颜色表示的形状线条之间的结构关系,有助于研究人员对计算机得出的保护方式的理解,也便于研究人员后续对于古建筑木结构的保护方式的修正。The present invention distinguishes each building wood in the ancient building wood structure through different color marks, so that the visual effect can also be used to allow researchers to clearly and intuitively see the structure between the ancient building wood structures The relationship between shapes and lines allows researchers to clearly and intuitively see the essence of the wooden structure of ancient buildings, as well as the structural relationship between shapes and lines represented by different colors, which will help researchers to understand the protection methods derived by computers. Understanding is also convenient for researchers to make subsequent corrections to the protection methods of ancient wooden structures.
附图说明Description of drawings
图1为本发明的整体方法流程示意框图;Fig. 1 is a schematic block diagram of the overall method flow of the present invention;
图2为本发明中线条处理的方法流程示意框图;Fig. 2 is a schematic block diagram of the method flow process of line processing in the present invention;
图3为本发明在根据边缘坐标得到对应的三维形状的方法流程示意框图;Fig. 3 is a schematic block diagram of the method flow for obtaining the corresponding three-dimensional shape according to the edge coordinates of the present invention;
图4为本发明在根据线条的表示函数得到对应的代表坐标点的方法流程示意框图;Fig. 4 is a schematic block diagram of the method flow for obtaining corresponding representative coordinate points according to the representation function of the lines in the present invention;
图5为本发明在根据位置向量得到古建筑木结构的类型的方法流程示意框图。Fig. 5 is a schematic block diagram of the method for obtaining the type of ancient building wooden structure according to the position vector of the present invention.
具体实施方式Detailed ways
下面结合附图,对本发明的一个具体实施方式进行详细描述,但应当理解本发明的保护范围并不受具体实施方式的限制。A specific embodiment of the present invention will be described in detail below in conjunction with the accompanying drawings, but it should be understood that the protection scope of the present invention is not limited by the specific embodiment.
具体的,如图1-5所示,本发明实施例提供了一种建筑文化遗产中的古建筑木结构的保护方法,包括如下步骤:Specifically, as shown in Figures 1-5, an embodiment of the present invention provides a method for protecting an ancient wooden structure in architectural cultural heritage, including the following steps:
(一)接收计算机模拟的古建筑木结构,并且分离出古建筑木结构中的各个建筑木,建立三维点云坐标系,将古建筑木结构中的每一个所述建筑木对应的点云坐标分别进行聚类;(1) Receive the ancient building wood structure simulated by computer, and separate each building wood in the ancient building wood structure, establish a three-dimensional point cloud coordinate system, and point cloud coordinates corresponding to each said building wood in the ancient building wood structure clustering separately;
(二)将每一个所述建筑木对应的点云坐标进行线条处理,得到每一个所述建筑木对应的线条以及线条的表示函数,并得到根据线条的表示函数得到其对应的代表坐标点;(2) Carry out line processing to the point cloud coordinates corresponding to each of the building blocks, obtain the corresponding lines of each of the building blocks and the representation function of the lines, and obtain their corresponding representative coordinate points according to the representation functions of the lines;
(三)依次绘制每个代表坐标点到坐标原点之间的向量得到各个建筑木对应的位置向量并将各个位置向量进行归一化处理,根据古建筑木结构中所有的位置向量得到古建筑木结构的类型;(3) Draw the vectors between each representative coordinate point and the coordinate origin in turn to obtain the corresponding position vectors of each building wood and normalize each position vector, and obtain the ancient building wood according to all the position vectors in the ancient building wood structure the type of structure;
(四)根据古建筑木结构的类型调取对应的数据库,所述数据库用于存储函数以及函数对应的保护方式;(4) According to the type of the ancient building wooden structure, the corresponding database is called, and the database is used to store functions and protection methods corresponding to the functions;
(五)将所述古建筑木结构中的全部函数依次匹配所述数据库中的函数,并得到其对应的保护方式,将全部的保护方式合并并输出。(5) matching all the functions in the wooden structure of the ancient building with the functions in the database in sequence, and obtaining the corresponding protection methods, merging and outputting all the protection methods.
上述技术方案中,步骤(一)至步骤(五)按照逻辑顺序依次进行,本发明通过点云数据的对古建筑木结构中的各个建筑木进行表示,这样只需要从计算机中导出对应的信息接口,之后本发明通过线条的方式将古建筑木结构中的各个建筑木进行表示,这样就可以使得在研究的时候,清楚的了解各个建筑木的位置已经相邻的建筑木之间的结构关系,同时相邻的建筑木对应的线条之间具有空隙,这样就可以使得研究人员可以清楚的看出相邻的建筑木之间的结构关系。同时,为了起到更好的保护效果,我们从数据的角度判断对于古建筑木结构的保护方式,也就是将上述的线条通过函数的方式表示,由于线条在三维坐标系中,则必定具有表达式,这样就可以直接的确定出该古建筑木结构中各个建筑木的代表坐标点,这样结合原点就可以得到各个建筑木的向量,也就是本发明中的位置向量,进而通过位置向量之间的关系,得到本发明的古建筑木结构的保护方式,对于不同位置的建筑木,这样所具有的保护方式就会是对于整个古建筑木结构的保护方式。本发明的保护方式使用文字描述的具体保护操作过程,例如将古建筑木结构中的各个建筑木进行镀层,或者将各个古建筑木结构中的部分建筑木进行无氧环境保护。In the above technical solution, steps (1) to (5) are carried out sequentially in a logical order. The present invention uses point cloud data to represent each building wood in the ancient building wood structure, so that only the corresponding information needs to be derived from the computer After that, the present invention expresses each building wood in the ancient building wood structure by means of lines, so that when researching, it is possible to clearly understand the structural relationship between the positions of each building wood and the adjacent building wood , at the same time there is a gap between the lines corresponding to the adjacent building wood, so that the researchers can clearly see the structural relationship between the adjacent building wood. At the same time, in order to achieve a better protection effect, we judge the protection method for ancient wooden structures from the perspective of data, that is, express the above-mentioned lines through functions. Since the lines are in the three-dimensional coordinate system, they must have expressions In this way, the representative coordinate points of each building wood in the ancient building wood structure can be directly determined, so that the vectors of each building wood can be obtained by combining the origin, which is the position vector in the present invention, and then through the relationship between the position vectors relationship, obtain the protection mode of the ancient building wooden structure of the present invention, for the building wood in different positions, the protection mode that has like this will be the protection mode for the whole ancient building wooden structure. The protection method of the present invention uses a specific protection operation process described in words, such as plating each building wood in the ancient building wooden structure, or performing anaerobic environmental protection on some building wood in each ancient building wooden structure.
本发明在使用计算机进行保护方式的判断的时候,通过计算机模拟的每一个建筑木的拐角点和特征点通过坐标进行表示,就可以将各个建筑木的空间位置展现出来,之后根据建筑木的空间位置和其具体形状线条表示的代表点,就可以将古建筑木结构中的全部古建筑木通过函数的方式表示,进而通过函数之间的关系得到保护的方式,从而使得将计算机模拟的方式进行延续,起到在良好保护好文物的同时提升了对于古建筑木结构研究效率的作用。When the present invention uses a computer to judge the protection mode, the corner points and feature points of each building wood simulated by the computer are represented by coordinates, so that the spatial positions of each building wood can be displayed, and then according to the space of the building wood The positions and the representative points represented by their specific shapes and lines can represent all the ancient building wood in the ancient building wooden structure in the form of functions, and then the relationship between functions can be protected, so that the computer simulation can be carried out Continuation plays a role in improving the efficiency of research on wooden structures of ancient buildings while protecting cultural relics well.
在本发明的实施例中,为了将上述技术方案进行详细的介绍,其中的所述线条处理,包括如下步骤:In an embodiment of the present invention, in order to introduce the above technical solution in detail, the line processing includes the following steps:
(1)提取所述建筑木的三维点云坐标的边缘坐标,根据其边缘坐标得到其对应的三维形状,根据所述建筑木对应的三维形状绘制其对应的三维线条图;(1) extract the edge coordinates of the three-dimensional point cloud coordinates of the building wood, obtain its corresponding three-dimensional shape according to its edge coordinates, draw its corresponding three-dimensional line drawing according to the corresponding three-dimensional shape of the building wood;
(2)将绘制好的三维线条图填充虚拟点云得到虚拟建筑木,获取虚拟建筑木的点云数量;(2) fill the virtual point cloud with the drawn three-dimensional line drawing to obtain the virtual building wood, and obtain the number of point clouds of the virtual building wood;
(3)获取所述建筑木的点云数量,根据所述建筑木的点云数量调节所述虚拟建筑木的点云数量,使得所述虚拟建筑木的点云数量与所述建筑木的点云数量达到设定的比例范围;(3) Obtain the point cloud quantity of the building wood, adjust the point cloud quantity of the virtual building wood according to the point cloud quantity of the building wood, so that the point cloud quantity of the virtual building wood is the same as the point cloud quantity of the building wood The number of clouds reaches the set ratio range;
(4)输出调节后的所述建筑木的点云,并根据此得到其边缘坐标,输出对应的三维线条图为所述建筑木对应的线条。(4) Output the adjusted point cloud of the building wood, and obtain its edge coordinates according to this, and output the corresponding three-dimensional line drawing as the corresponding line of the building wood.
上述技术方案中,步骤(1)至步骤(4)按照逻辑顺序依次进行,通过对所述建筑木的三维点云坐标的边缘坐标进行提取,就可以得到该建筑木的三维形状,此时得到的是该建筑木的边缘轮廓,根据此绘制其对应的三维线条图,例如根据正方体绘制出其边缘的棱,就可以从视觉上得到正方体的三维线条图,并将绘制到的三维线条图填充,这样就可以在点云坐标中得到对应的点云数量。通过调节绘制的虚拟建筑木的点云数量,也就是调节绘制出的三维线条图的尺寸大小,这样当调节之后的三维线条图就可以用于表示建筑木对应的线条,并且使得建筑木对应的线条与建筑木的位置和大小之间的关系相当,进而使得建筑木对应的线条与建筑木所在的位置的中间,在研究人员观察的时候,就可以清楚的观看到各个线条之间的关系,清楚的看到各个完整的线条。步骤(3)中设定的比例范围,一般为40%左右,由实施人员进行设定。In the above technical solution, steps (1) to (4) are carried out sequentially in a logical order, and by extracting the edge coordinates of the three-dimensional point cloud coordinates of the building wood, the three-dimensional shape of the building wood can be obtained. What is the edge profile of the building wood, draw its corresponding three-dimensional line drawing based on this, for example, draw the edge of its edge according to the cube, you can visually get the three-dimensional line drawing of the cube, and fill the drawn three-dimensional line drawing , so that the corresponding number of point clouds can be obtained in the point cloud coordinates. By adjusting the point cloud number of the drawn virtual building wood, that is, adjusting the size of the drawn three-dimensional line drawing, the adjusted three-dimensional line drawing can be used to represent the corresponding lines of the building wood, and make the corresponding The relationship between the line and the position and size of the building wood is equivalent, so that the line corresponding to the building wood is in the middle of the position of the building wood. When the researchers observe, they can clearly see the relationship between the lines. Clearly see each complete line. The ratio range set in step (3) is generally about 40%, and is set by the implementer.
同时,作为上述技术方案的优选,为了使得上述的技术方案更好的实施,在根据边缘坐标得到对应的三维形状的时候,包括如下步骤:At the same time, as an optimization of the above technical solution, in order to make the above technical solution better implemented, when obtaining the corresponding three-dimensional shape according to the edge coordinates, the following steps are included:
<一>将所述边缘坐标组成的面分为若干个平面,相邻的平面相交;<1> Divide the surface formed by the edge coordinates into several planes, and the adjacent planes intersect;
<二>在每个相交的平面的交线上取一点记为交线点,将至少三个平面相交的点记为交面点;<2> Take a point on the intersection line of each intersecting plane and record it as the intersection point, and record the point where at least three planes intersect as the intersection point;
<三>依次将相邻的交线点和交线点、交面点和交面点、交面点和交线点连接,所连接的点组成的线位于所连接的点所在的平面上;<3> Connect adjacent intersection points with intersection points, intersection points with intersection points, intersection points with intersection points in turn, and the line formed by the connected points is located on the plane where the connected points are located;
<四>输出连接后的各个点的三维图形为所述三维形状。<4> Output the 3D graphics of each connected point as the 3D shape.
上述技术方案中,步骤<一>至步骤<四>按照逻辑顺序依次进行,通过平面之间的交线进行记录,遍历建筑木的外表面的各个平面,这样就可以得到各个交线,本发明是通过检点的方式,组成的交线,这样所得到的交线更加的完善,也就可以更好的组成三维形状,对于曲线中平面的数量,这就需要根据平面的分辨率精度进行确定。由此得到的三维形状,可以更好的复原原始的建筑木的三维形状。据此方式绘制出的示例,将圆环绘制为一个圆。In the above technical solution, step <1> to step <4> are carried out sequentially according to the logical sequence, and the intersection lines between the planes are recorded, and each plane of the outer surface of the building wood is traversed, so that each intersection line can be obtained. The present invention It is the intersection line formed by checking points, so that the obtained intersection line is more perfect, and it can better form a three-dimensional shape. As for the number of planes in the curve, this needs to be determined according to the resolution accuracy of the plane. The resulting three-dimensional shape can better restore the three-dimensional shape of the original building wood. According to the example drawn in this way, the torus is drawn as a circle.
同时,作为上述技术方案的优选,所述交线点为相交的平面的交线上的中点。这样就可以使得各个点在连接的时候,做组成的三维形状中的图形能够位于同一平面上的,就在同一平面上,而且所得的的三维形状相对于建筑木的位置剧中表示的建筑木的位置的中央。At the same time, as a preference of the above technical solution, the point of intersection is a midpoint on the intersection of intersecting planes. In this way, when each point is connected, the figures in the formed three-dimensional shape can be located on the same plane, on the same plane, and the position of the obtained three-dimensional shape relative to the building wood shown in the play the center of the location.
另外,为了使得在得到代表坐标点的时候,更加的具有真实准确性,在本发明的实施例中,根据线条的表示函数得到对应的代表坐标点的时候,包括如下步骤:In addition, in order to make the representative coordinate point more real and accurate, in the embodiment of the present invention, when the corresponding representative coordinate point is obtained according to the representation function of the line, the following steps are included:
<1>计算函数的中心坐标,并且得到函数上的各个坐标点;<1>Calculate the central coordinates of the function, and get each coordinate point on the function;
<2>得到各个中心坐标到函数中各坐标点的向量为其对应的函数向量;<2> Obtain the vector from each center coordinate to each coordinate point in the function as its corresponding function vector;
<3>将各个所述函数向量进行向量的和运算得到函数统一向量;<3> carry out the sum operation of vector to each described function vector to obtain the function uniform vector;
<4>根据所述中心坐标和所述函数统一向量得到所述代表坐标点的坐标。<4> Obtain the coordinates of the representative coordinate point according to the central coordinates and the uniform vector of the function.
上述技术方案中,步骤<1>至步骤<4>按照逻辑顺序依次进行,通过向量的方式确定建筑木的代表坐标点,这样就将建筑木的形状也进行了考虑,在对其考虑的时候,通过向量的加和的得到最终的和向量,也就是函数统一向量,通过考虑建筑木的外形结构,得到其对应的代表坐标点,相对于传统使用横坐标和纵坐标的平均数或者中值数更加的具有建筑木位置的准确性,因为通过该运算的过程,其中就包含了对于各个点的向量的位置表示,而各个点的向量,也就是建筑木各个点的方向和方向上的量的表示,能够表现去具体的形状和结构关系。In the above technical solution, step <1> to step <4> are carried out sequentially in a logical order, and the representative coordinate points of the building wood are determined by means of vectors, so that the shape of the building wood is also considered, and when it is considered , the final sum vector is obtained through the sum of the vectors, that is, the uniform vector of the function. By considering the shape and structure of the building wood, the corresponding representative coordinate points are obtained. Compared with the traditional average or median of the abscissa and ordinate The number has the accuracy of the position of the building wood, because through the operation process, it contains the position representation of the vector of each point, and the vector of each point is the direction and direction of each point of the building wood. The representation of can express the specific shape and structural relationship.
同时,作为上述技术方案的优选,在计算函数的中心坐标的时候,所述中心坐标的横坐标为函数上各个点的坐标的横坐标的平均数,所述中心坐标的纵坐标为函数上各个点的坐标的纵坐标的平均数。由此,本发明使用的代表坐标点即是对于函数的中心坐标的修正,使得其所更能够代表建筑木的位置关系。At the same time, as a preference of the above technical solution, when calculating the central coordinate of the function, the abscissa of the central coordinate is the average of the abscissas of the coordinates of each point on the function, and the ordinate of the central coordinate is the average of the coordinates of each point on the function. The mean of the ordinates of the point's coordinates. Therefore, the representative coordinate point used in the present invention is the correction of the central coordinate of the function, so that it can better represent the positional relationship of the building wood.
在本发明的实施例中,所述古建筑木结构中的每一个所述建筑木对应的线条均使用不同的颜色进行表示。本发明通过不同的颜色标记将古建筑木结构中各个建筑木区别开来,这样也可以从视觉的效果,使得让研究人员清楚直观的看到古建筑木结构中各个古建筑木之间的结构关系,通过形状线条表示的方式让研究人员可以清楚直观的看到古建筑木结构的本质,以及不同颜色表示的形状线条之间的结构关系,有助于研究人员对计算机得出的保护方式的理解,也便于研究人员后续对于古建筑木结构的保护方式的修正。In the embodiment of the present invention, the lines corresponding to each of the building trees in the ancient building wooden structure are represented by different colors. The present invention distinguishes each building wood in the ancient building wood structure through different color marks, so that the visual effect can also be used to allow researchers to clearly and intuitively see the structure between the ancient building wood structures The relationship between shapes and lines allows researchers to clearly and intuitively see the essence of the wooden structure of ancient buildings, as well as the structural relationship between shapes and lines represented by different colors, which will help researchers to understand the protection methods derived by computers. Understanding is also convenient for researchers to make subsequent corrections to the protection methods of ancient wooden structures.
另外,在本发明的实施例中,所述数据库还用于存储古建筑木结构的类型和对应的向量范围,在根据位置向量得到古建筑木结构的类型的时候,包括如下步骤:In addition, in an embodiment of the present invention, the database is also used to store the type of ancient building wooden structure and the corresponding vector range, and when obtaining the type of ancient building wooden structure according to the position vector, the following steps are included:
-1-将古建筑木结构中的各个位置向量的终点坐标提取出来;-1- Extract the end point coordinates of each position vector in the wooden structure of the ancient building;
-2-根据各个终点坐标在所述数据库中匹配对应的向量范围;-2- Match the corresponding vector range in the database according to the coordinates of each end point;
-3-输出匹配成功的向量范围对应的古建筑木结构的类型。-3- Output the type of ancient wooden structure corresponding to the successful vector range.
上述技术方案中,步骤-1-至步骤-3-按照逻辑顺序依次进行,本发明中的向量范围表示的是方向相同,其方向上的量在设定的范围内,该范围的保护方法是相同的,因此,在满足相同的向量范围的时候,认为其为相同的古建筑木结构的类型,这样就采取对应相同到的方式对其保护。In the above-mentioned technical solution, step-1- to step-3-are carried out sequentially according to the logical sequence, the vector range in the present invention means that the direction is the same, and the amount in the direction is within the set range, the protection method of this range is The same, therefore, when meeting the same vector range, it is considered to be the same type of ancient building wooden structure, so it is protected in the same way.
在本发明的实施例中,所述数据库还能够接受用户对其进行更新和修正。这样就可以使得将发明所可以提供的保护方式始终为最新的方式,同时由于接收修订,还可以跟计划保护方式对其进行及时的调整。In an embodiment of the present invention, the database can also be updated and corrected by users. In this way, the protection method that can be provided by the invention can always be the latest method, and at the same time, due to receiving revisions, it can also be adjusted in time with the planned protection method.
在本发明中,所对于保护方式是通过计算机经过运算之后得到的,在研究人员研究的过程中,还支持研究人员对其进行修正,并将修正之后的结果进行存储,也可以引入机器学习的方式对其进行选择性的学习,用于更新和调整本发明所提供的技术方案。In the present invention, the protection method is obtained through computer calculations. During the research process, researchers are also supported to modify it and store the corrected results. Machine learning can also be introduced. It can be selectively studied in a manner to update and adjust the technical solutions provided by the present invention.
以上公开的仅为本发明的几个具体实施例,但是,本发明实施例并非局限于此,任何本领域的技术人员能思之的变化都应落入本发明的保护范围。The above disclosures are only a few specific embodiments of the present invention, however, the embodiments of the present invention are not limited thereto, and any changes conceivable by those skilled in the art shall fall within the protection scope of the present invention.
Claims (7)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202211310543.4A CN115457219B (en) | 2022-10-25 | 2022-10-25 | Protection method for ancient building wood structure in building cultural heritage |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202211310543.4A CN115457219B (en) | 2022-10-25 | 2022-10-25 | Protection method for ancient building wood structure in building cultural heritage |
Publications (2)
Publication Number | Publication Date |
---|---|
CN115457219A CN115457219A (en) | 2022-12-09 |
CN115457219B true CN115457219B (en) | 2023-08-15 |
Family
ID=84310778
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202211310543.4A Active CN115457219B (en) | 2022-10-25 | 2022-10-25 | Protection method for ancient building wood structure in building cultural heritage |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN115457219B (en) |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103279983A (en) * | 2013-05-31 | 2013-09-04 | 西安理工大学 | China Tang dynasty style historic building modeling method |
CN109523554A (en) * | 2018-11-16 | 2019-03-26 | 北京建筑大学 | A kind of ancient building point cloud automatic division method based on the wooden component |
CN109916323A (en) * | 2019-03-07 | 2019-06-21 | 北京申信达成科技有限公司 | A kind of method and device of tower ancient building deformation monitoring and analysis |
CN110750830A (en) * | 2019-10-18 | 2020-02-04 | 北京申信达成科技有限公司 | Wood structure ancient building health state assessment method based on normal cloud model |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110163863B (en) * | 2018-11-06 | 2022-11-04 | 腾讯科技(深圳)有限公司 | Three-dimensional object segmentation method, apparatus, and medium |
-
2022
- 2022-10-25 CN CN202211310543.4A patent/CN115457219B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103279983A (en) * | 2013-05-31 | 2013-09-04 | 西安理工大学 | China Tang dynasty style historic building modeling method |
CN109523554A (en) * | 2018-11-16 | 2019-03-26 | 北京建筑大学 | A kind of ancient building point cloud automatic division method based on the wooden component |
CN109916323A (en) * | 2019-03-07 | 2019-06-21 | 北京申信达成科技有限公司 | A kind of method and device of tower ancient building deformation monitoring and analysis |
CN110750830A (en) * | 2019-10-18 | 2020-02-04 | 北京申信达成科技有限公司 | Wood structure ancient building health state assessment method based on normal cloud model |
Non-Patent Citations (1)
Title |
---|
一种古建筑点云数据的语义分割算法;张瑞菊;周欣;赵江洪;曹闵;;武汉大学学报(信息科学版)(第05期) * |
Also Published As
Publication number | Publication date |
---|---|
CN115457219A (en) | 2022-12-09 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN102254343B (en) | A 3D Mesh Model Skeleton Extraction Method Based on Convex Hull and OBB | |
CN108399649A (en) | A kind of single picture three-dimensional facial reconstruction method based on cascade Recurrent networks | |
Zhao | Application of 3D CAD in landscape architecture design and optimization of hierarchical details | |
CN102509357B (en) | Stroke-based Pencil Sketch Simulation and Drawing System | |
JP2011512606A (en) | Geospace modeling system and related methods for providing tree trunks and branches by simulation for groups of crown vegetation points | |
CN113223159B (en) | Single remote sensing image three-dimensional modeling method based on target texture virtualization processing | |
CN102663800A (en) | City building complex and rendering method considering city image | |
CN101599181A (en) | A real-time rendering method of algebraic B-spline surface | |
CN103093498A (en) | A 3D Face Automatic Standardization Method Based on Planar Triangular Mesh Template | |
CN112991300B (en) | A single wood skeleton extraction and visualization method based on neighborhood features | |
CN101286241A (en) | A Fast Modeling Method of 3D Building Based on Stereo Image Pair | |
CN105205861A (en) | Tree three-dimensional visualization model realization method based on Sphere-Board | |
CN105975655A (en) | BIM-based parametric modeling method for imitated Tang and Song dynasty ancient building special-shaped roof tiles | |
CN115661404A (en) | Multi-fine-grain tree real scene parametric modeling method | |
CN118279091A (en) | Intelligent monitoring method and system for construction progress of assembled bridge | |
CN107102991A (en) | A kind of shaft tower parametric modeling method in three-dimension GIS system | |
CN115018982A (en) | Digital tree twinning method based on foundation laser radar point cloud | |
CN115457219B (en) | Protection method for ancient building wood structure in building cultural heritage | |
CN105243137A (en) | Draft-based three-dimensional model retrieval viewpoint selection method | |
CN111047684A (en) | Model simplification method based on three-dimensional model characteristics | |
CN118351226A (en) | Building fine decoration management method and system based on VR technology | |
CN114220316B (en) | Universal flight simulator vision system | |
CN113838199B (en) | Three-dimensional terrain generation method | |
CN106909730A (en) | Three-dimensional model building emulation mode and system based on homotopy mapping algorithm | |
CN113888486A (en) | Method for assisting vectorization and DLG quality inspection based on three-dimensional model |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
EE01 | Entry into force of recordation of patent licensing contract |
Application publication date: 20221209 Assignee: Inner Mongolia Gaolunte Construction Co.,Ltd. Assignor: INNER MONGOLIA University OF TECHNOLOGY Contract record no.: X2024150000002 Denomination of invention: A method for protecting ancient wooden structures in architectural cultural heritage Granted publication date: 20230815 License type: Common License Record date: 20240529 |
|
EE01 | Entry into force of recordation of patent licensing contract |