[go: up one dir, main page]

CN105444701A - Method and device for measuring area area - Google Patents

Method and device for measuring area area Download PDF

Info

Publication number
CN105444701A
CN105444701A CN201510891172.7A CN201510891172A CN105444701A CN 105444701 A CN105444701 A CN 105444701A CN 201510891172 A CN201510891172 A CN 201510891172A CN 105444701 A CN105444701 A CN 105444701A
Authority
CN
China
Prior art keywords
area
measured
region
coordinate
coordinate information
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.)
Pending
Application number
CN201510891172.7A
Other languages
Chinese (zh)
Inventor
吴丁丁
何磊
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp Ltd
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 Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201510891172.7A priority Critical patent/CN105444701A/en
Publication of CN105444701A publication Critical patent/CN105444701A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01BMEASURING LENGTH, THICKNESS OR SIMILAR LINEAR DIMENSIONS; MEASURING ANGLES; MEASURING AREAS; MEASURING IRREGULARITIES OF SURFACES OR CONTOURS
    • G01B11/00Measuring arrangements characterised by the use of optical techniques
    • G01B11/28Measuring arrangements characterised by the use of optical techniques for measuring areas

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Length Measuring Devices By Optical Means (AREA)

Abstract

The invention discloses a method and a device for measuring area of a region, wherein the method comprises the steps of obtaining the region to be measured; establishing a coordinate model based on a terminal infrared sensing mode; determining a positioning point of a region to be measured under a coordinate model and coordinate information of the positioning point; and measuring the area of the area to be measured according to the coordinate information and a preset calculation formula. The embodiment of the invention establishes a coordinate model based on a terminal infrared sensing mode, then determines the locating point of the area to be measured under the coordinate model and the coordinate information of the locating point, and finally automatically measures the area of the area to be measured according to the coordinate information through a preset calculation formula.

Description

一种区域面积的测量方法及装置Method and device for measuring area area

技术领域technical field

本发明属于面积测量技术领域,尤其涉及一种区域面积的测量方法及装置。The invention belongs to the technical field of area measurement, in particular to a method and device for measuring area area.

背景技术Background technique

随着城市化的提高,人们买房子以及店铺的需求也在提高,通常在买房子或者看房子的时候都需要经过验房,也就是测量房屋面积。With the improvement of urbanization, people's demand for buying houses and shops is also increasing. Usually, when buying a house or looking at a house, it is necessary to go through a house inspection, that is, to measure the area of the house.

目前较为常用的测量房屋面积的方法是人工使用尺或者测距仪进行测量,然后将测量结果记录下来,根据记录结果再计算面积进行核对,从而完成房屋面积测量。At present, the more commonly used method of measuring the area of a house is to manually use a ruler or a distance meter to measure, then record the measurement results, and then calculate the area according to the recorded results for verification, thereby completing the house area measurement.

在对现有技术的研究和实践过程中,本发明的发明人发现,由于测量过程中尺寸是人工抄写,花费的时间较长,效率较低;并且,房屋当中有些边角不易计算,容易出错,得到的测量结果精确度不高。In the process of research and practice of the prior art, the inventor of the present invention found that, since the size is manually copied during the measurement process, it takes a long time and the efficiency is low; moreover, some corners of the house are not easy to calculate and are prone to errors , the accuracy of the measurement results obtained is not high.

发明内容Contents of the invention

本发明的目的在于提供一种区域面积的测量方法及装置,旨在减少网络带宽占用率,提高数据的时效性。The object of the present invention is to provide a method and device for measuring an area, aiming at reducing the network bandwidth occupancy rate and improving the timeliness of data.

为解决上述技术问题,本发明实施例提供以下技术方案:In order to solve the above technical problems, embodiments of the present invention provide the following technical solutions:

一种区域面积的测量方法,其中包括:A method of measuring the area of an area comprising:

获取待测量区域;Obtain the area to be measured;

基于终端红外传感方式,建立坐标模型;Based on the terminal infrared sensing method, establish a coordinate model;

确定所述待测量区域在所述坐标模型下的定位点以及所述定位点的坐标信息;determining an anchor point of the area to be measured under the coordinate model and coordinate information of the anchor point;

根据所述坐标信息,并通过预设计算公式对所述待测量区域的面积进行测量。The area of the region to be measured is measured according to the coordinate information and by a preset calculation formula.

为解决上述技术问题,本发明实施例还提供以下技术方案:In order to solve the above technical problems, embodiments of the present invention also provide the following technical solutions:

一种区域面积的测量装置,其特征在于,包括:A measuring device for an area, characterized in that it comprises:

获取单元,用于获取待测量区域;an acquisition unit, configured to acquire the area to be measured;

模型建立单元,用于基于终端红外传感方式,建立坐标模型;A model building unit is used to create a coordinate model based on the terminal infrared sensing method;

确定单元,用于确定所述待测量区域在所述坐标模型下的定位点以及所述定位点的坐标信息;a determining unit, configured to determine an anchor point of the area to be measured under the coordinate model and coordinate information of the anchor point;

测量单元,用于根据所述坐标信息,并通过预设计算公式对所述待测量区域的面积进行测量。The measuring unit is configured to measure the area of the region to be measured according to the coordinate information and by a preset calculation formula.

相对于现有技术,本发明实施例,基于终端红外传感方式,建立坐标模型,其后,确定待测量区域在该坐标模型下的定位点以及定位点的坐标信息,最后根据坐标信息,通过预设计算公式自动的对待测量区域的面积进行测量,相对于基于人工进行面积测量的方式,提高了测量的效率以及测量结果的精确度。Compared with the prior art, the embodiment of the present invention establishes a coordinate model based on the terminal infrared sensing method, then determines the positioning point of the area to be measured under the coordinate model and the coordinate information of the positioning point, and finally according to the coordinate information, through The preset calculation formula automatically measures the area of the area to be measured, which improves the efficiency of measurement and the accuracy of the measurement results compared to the method of area measurement based on manual work.

附图说明Description of drawings

下面结合附图,通过对本发明的具体实施方式详细描述,将使本发明的技术方案及其它有益效果显而易见。The technical solutions and other beneficial effects of the present invention will be apparent through the detailed description of specific embodiments of the present invention in conjunction with the accompanying drawings.

图1是本发明第一实施例提供的区域面积的测量方法的流程示意图;Fig. 1 is a schematic flow chart of the method for measuring the area area provided by the first embodiment of the present invention;

图2a为本发明第二实施例提供的区域面积的测量方法的流程示意图;Fig. 2a is a schematic flow chart of the method for measuring the area area provided by the second embodiment of the present invention;

图2b为本发明第二实施例提供的区域面积测量的示意图;Fig. 2b is a schematic diagram of the area measurement provided by the second embodiment of the present invention;

图3a为本发明第三实施例提供的区域面积的测量装置的结构示意图;Fig. 3a is a schematic structural diagram of a measuring device for area area provided by the third embodiment of the present invention;

图3b为本发明第三实施例提供的区域面积的测量装置的另一结构示意图。Fig. 3b is another structural schematic diagram of the area measuring device provided by the third embodiment of the present invention.

具体实施方式detailed description

请参照图式,其中相同的组件符号代表相同的组件,本发明的原理是以实施在一适当的运算环境中来举例说明。以下的说明是基于所例示的本发明具体实施例,其不应被视为限制本发明未在此详述的其它具体实施例。Referring to the drawings, wherein like reference numerals represent like components, the principles of the present invention are exemplified when implemented in a suitable computing environment. The following description is based on illustrated specific embodiments of the invention, which should not be construed as limiting other specific embodiments of the invention not described in detail herein.

在以下的说明中,本发明的具体实施例将参考由一部或多部计算机所执行的步骤及符号来说明,除非另有述明。因此,这些步骤及操作将有数次提到由计算机执行,本文所指的计算机执行包括了由代表了以一结构化型式中的数据的电子信号的计算机处理单元的操作。此操作转换该数据或将其维持在该计算机的内存系统中的位置处,其可重新配置或另外以本领域测试人员所熟知的方式来改变该计算机的运作。该数据所维持的数据结构为该内存的实体位置,其具有由该数据格式所定义的特定特性。但是,本发明原理以上述文字来说明,其并不代表为一种限制,本领域测试人员将可了解到以下所述的多种步骤及操作亦可实施在硬件当中。In the following description, specific embodiments of the present invention will be described with reference to steps and symbols executed by one or more computers, unless otherwise stated. Accordingly, these steps and operations will several times be referred to as being computer-implemented, which herein refers to operations by a computer processing unit of electronic signals representing data in a structured form. This operation transforms the data or maintains it at a location in the computer's memory system that can reconfigure or otherwise alter the operation of the computer in a manner well known to testers in the art. The data structures maintained by the data are physical locations in the memory that have certain characteristics defined by the data format. However, the principles of the present invention are described in the above words, which are not meant to be a limitation. Those skilled in the art will understand that the various steps and operations described below can also be implemented in hardware.

本发明的原理使用许多其它泛用性或特定目的运算、通信环境或组态来进行操作。所熟知的适合用于本发明的运算系统、环境与组态的范例可包括(但不限于)手持电话、个人计算机、服务器、多处理器系统、微电脑为主的系统、主架构型计算机、及分布式运算环境,其中包括了任何的上述系统或装置。The principles of the invention operate with numerous other general purpose or special purpose computing, communication environments or configurations. Examples of well-known computing systems, environments, and configurations suitable for use with the present invention may include, but are not limited to, handheld phones, personal computers, servers, multiprocessor systems, microcomputer-based systems, mainframe computers, and A distributed computing environment, including any of the above systems or devices.

以下将分别进行详细说明。The details will be described respectively below.

第一实施例first embodiment

在本实施例中,将从区域面积的测量装置的角度进行描述,该区域面积的测量装置具体可以集成在终端(如平板电脑,手机等)中。In this embodiment, description will be made from the perspective of the measuring device for the area area, and the measuring device for the area area may specifically be integrated in a terminal (such as a tablet computer, a mobile phone, etc.).

一种区域面积的测量方法,包括:获取待测量区域;基于终端红外传感方式,建立坐标模型;确定所述待测量区域在所述坐标模型下的定位点以及所述定位点的坐标信息;根据所述坐标信息,并通过预设计算公式对所述待测量区域的面积进行测量。A method for measuring an area, comprising: acquiring an area to be measured; establishing a coordinate model based on a terminal infrared sensing method; determining an anchor point of the area to be measured under the coordinate model and coordinate information of the anchor point; The area of the region to be measured is measured according to the coordinate information and by a preset calculation formula.

请参阅图1,图1是本发明第一实施例提供的区域面积的测量方法的流程示意图,具体流程可以包括:Please refer to FIG. 1. FIG. 1 is a schematic flow chart of the method for measuring the area area provided by the first embodiment of the present invention. The specific process may include:

在步骤S101中,获取待测量区域。In step S101, a region to be measured is obtained.

在步骤S102中,基于终端红外传感方式,建立坐标模型。In step S102, a coordinate model is established based on the terminal infrared sensing method.

在步骤S103中,确定待测量区域在该坐标模型下的定位点以及定位点的坐标信息。In step S103, the positioning point of the area to be measured under the coordinate model and the coordinate information of the positioning point are determined.

其中,所述步骤S101至步骤S103可具体为:Wherein, the steps S101 to S103 may specifically be:

基于终端红外传感方式,建立二维坐标模型,设定横轴以及竖轴。Based on the terminal infrared sensing method, a two-dimensional coordinate model is established, and the horizontal axis and vertical axis are set.

比如,终端(如平板电脑、手机等)的红外装置开启,建立二维坐标模型,并设定X轴以及Y轴,并利用红外,将需要测量的区域(如房屋、商铺等)投影到该二维坐标模型中,从而进行定位和计算。For example, turn on the infrared device of the terminal (such as tablet computer, mobile phone, etc.), establish a two-dimensional coordinate model, and set the X axis and Y axis, and use infrared to project the area to be measured (such as houses, shops, etc.) In the two-dimensional coordinate model, positioning and calculation are carried out.

进一步的,确定待测量区域在该坐标模型下的定位点以及所述定位点的坐标信息的方式可以具体如下:Further, the manner of determining the positioning point of the area to be measured under the coordinate model and the coordinate information of the positioning point can be specifically as follows:

(1)将待测量区域投影到坐标模型下的四个象限内;(1) project the region to be measured into four quadrants under the coordinate model;

即,将待测量区域投影到二维坐标模型的四个象限内;That is, project the area to be measured into four quadrants of the two-dimensional coordinate model;

(2)将待测量区域的墙角点确定为待测量区域在该坐标模型下的定位点;(2) determining the corner point of the area to be measured as the anchor point of the area to be measured under the coordinate model;

(3)根据所述定位点以及定位点在各象限内的位置,确定对应的坐标信息。(3) Determine corresponding coordinate information according to the positioning point and the position of the positioning point in each quadrant.

也就是说,在四个象限内,分别将待测量区域的墙角点确定为测量的定位点,记录下每个定位点在各象限内的位置,从而得到对应的坐标信息。That is to say, in the four quadrants, the corner points of the area to be measured are respectively determined as the positioning points for measurement, and the position of each positioning point in each quadrant is recorded, so as to obtain the corresponding coordinate information.

在步骤S104中,根据坐标信息,并通过预设计算公式对待测量区域的面积进行测量。In step S104, the area of the area to be measured is measured according to the coordinate information and by a preset calculation formula.

可以理解的是,根据坐标信息进行面积测量可以具体如下:It can be understood that the area measurement according to the coordinate information can be specifically as follows:

a、根据坐标信息计算出所述待测量区域的长度以及宽度;a. Calculate the length and width of the area to be measured according to the coordinate information;

b、根据长度以及宽度,并通过预设计算公式对所述待测量区域的面积进行测量。b. Measure the area of the region to be measured according to the length and width, and through a preset calculation formula.

可具体的,比如,根据坐标信息计算出各象限内所占据的测量区域的长度以及宽度;根据长度以及宽度,并通过预设计算公式,计算各个部分的面积;最后,通过各部分面积相加,实现了待测量区域的面积的测量。Specifically, for example, calculate the length and width of the measurement area occupied by each quadrant according to the coordinate information; calculate the area of each part according to the length and width, and through the preset calculation formula; finally, add the area of each part , realizing the measurement of the area of the area to be measured.

优选的,在执行“根据长度以及宽度,并通过预设计算公式对所述待测量区域的面积进行测量”的步骤之前,还可以包括:Preferably, before performing the step of "measuring the area of the region to be measured according to the length and width, and through a preset calculation formula", it may also include:

对待测量区域在对应象限内的形状类型进行检测,并根据检测结果,确定对应的预设计算公式。Detect the shape type of the area to be measured in the corresponding quadrant, and determine the corresponding preset calculation formula according to the detection result.

比如,若确定出形状类型为长方形,则计算公式为长度与宽度的乘积,若确定出形状类型为三角形,则计算公式为长度与宽度的乘积的一半,等等,若遇到形状类型为不规则形状的,可以先对其进行拆分,对各部分进行分别计算等,此处对此不作具体限定。For example, if the shape type is determined to be a rectangle, the calculation formula is the product of the length and width; if the shape type is determined to be a triangle, the calculation formula is half of the product of the length and width, and so on. For a regular shape, it can be split first, and each part can be calculated separately, which is not specifically limited here.

由上述可知,本实施例提供的区域面积的测量方法,基于终端红外传感方式,建立坐标模型,其后,确定待测量区域在该坐标模型下的定位点以及定位点的坐标信息,最后根据坐标信息,通过预设计算公式自动的对待测量区域的面积进行测量,相对于基于人工进行面积测量的方式,提高了测量的效率以及测量结果的精确度。It can be seen from the above that the method for measuring the area area provided by this embodiment is based on the terminal infrared sensing method to establish a coordinate model, and then determine the positioning point and the coordinate information of the positioning point of the area to be measured under the coordinate model, and finally according to Coordinate information automatically measures the area of the area to be measured through the preset calculation formula, which improves the efficiency of measurement and the accuracy of measurement results compared to the method of area measurement based on manual work.

第二实施例second embodiment

根据第一实施例所描述的方法,以下将举例作进一步详细说明。According to the method described in the first embodiment, an example will be given below for further detailed description.

请参阅图2a,图2a为本发明第二实施例提供的区域面积的测量方法的流程示意图,具体流程可以包括:Please refer to Fig. 2a, Fig. 2a is a schematic flow diagram of the method for measuring the area area provided by the second embodiment of the present invention, and the specific flow may include:

在步骤S201中,开启手机红外传感装置。In step S201, the infrared sensing device of the mobile phone is turned on.

在步骤S202中,记录待测量房屋各个墙角位置的坐标信息。In step S202, the coordinate information of each corner position of the house to be measured is recorded.

其中,所述步骤S201与步骤S202可具体为:Wherein, the steps S201 and S202 may specifically be:

首先,手机的红外装置开启,建立模型,设定X轴和Y轴,将需要测量的房屋投影到该坐标模型的四个象限内;如图2b所示,为待测量房屋在坐标模型的投影示意。First, turn on the infrared device of the mobile phone, build a model, set the X axis and Y axis, and project the house to be measured into the four quadrants of the coordinate model; as shown in Figure 2b, it is the projection of the house to be measured on the coordinate model hint.

其后,将待测量房屋的墙角点确定为待测量房屋在该坐标模型下的定位点,如图2b所示,定位点分别为a-f六个定位点,记录下每个定位点在各象限内的坐标信息。Then, determine the corner point of the house to be measured as the anchor point of the house to be measured under the coordinate model, as shown in Figure 2b, the anchor points are six anchor points a-f, and record that each anchor point is in each quadrant coordinate information.

在步骤S203中,根据坐标信息,利用对应的计算公式测量出该待测量房屋的面积。In step S203, according to the coordinate information, the area of the house to be measured is measured using a corresponding calculation formula.

比如,把这些定位点坐标图以及坐标信息发送到手机的数据库里面,然后手机内部的算法公式通过坐标信息,计算出各象限内所占据的测量房屋的长度以及宽度等,其后根据长度以及宽度,并通过预设计算公式,计算各个部分的面积,通过各部分面积相加,实现了待测量区域的面积的测量。For example, send the coordinate maps and coordinate information of these positioning points to the database of the mobile phone, and then the algorithm formula inside the mobile phone uses the coordinate information to calculate the length and width of the measured houses occupied in each quadrant, and then according to the length and width , and calculate the area of each part through the preset calculation formula, and realize the measurement of the area of the area to be measured by adding the areas of each part.

进一步的,一般情况下,若象限内的区域形状为规则形状,则面积计算公式可以为:长x宽=面积,从而计算出面积大小;若遇到形状类型为不规则形状的,可以先对其进行拆分,对各部分进行分别计算。Further, in general, if the shape of the area in the quadrant is a regular shape, the area calculation formula can be: length x width = area, so as to calculate the size of the area; if the shape type is an irregular shape, you can first calculate the area It is split and each part is calculated separately.

又比如,若象限内区域出现斜角,可以把该象限内区域分割为三角形和长方形的模式进行测量,这样可以分别算出各部分面积大小;若象限内区域出现有弧形,针对该弧形边,可以采用多取点的方式,利用圆的面积计算公式S=ΠR2/2算出该象限内区域的面积大小等等,从而实现对整个房屋面积的测量。For another example, if there is an oblique angle in the area in the quadrant, the area in the quadrant can be divided into triangles and rectangles for measurement, so that the area of each part can be calculated separately; if there is an arc in the area in the quadrant, for the arc edge , can adopt the way of taking more points, and use the circle area calculation formula S=ΠR2/2 to calculate the area size of the area in the quadrant, etc., so as to realize the measurement of the entire house area.

可以理解的是,该实施例中没有详述的部分可参见第一实施例中的相关内容,此处不再赘述。It can be understood that, for parts not described in detail in this embodiment, reference may be made to relevant content in the first embodiment, and details are not repeated here.

由上述可知,本实施例提供的区域面积的测量方法,基于终端红外传感方式,建立坐标模型,其后,确定待测量区域在该坐标模型下的定位点以及定位点的坐标信息,最后根据坐标信息,通过预设计算公式自动的对待测量区域的面积进行测量,相对于基于人工进行面积测量的方式,提高了测量的效率以及测量结果的精确度;进一步的,该发明很好利用了手机的红外功能,通过建模的方式测量房屋的面积大小,这样可以随时测量房屋的面积,尤其是在看一些房子的时候,便于随身携带,操作简单易懂,迅速算出面积,有利于直接评估房屋,成本大大降低。It can be seen from the above that the method for measuring the area area provided by this embodiment is based on the terminal infrared sensing method to establish a coordinate model, and then determine the positioning point and the coordinate information of the positioning point of the area to be measured under the coordinate model, and finally according to The coordinate information automatically measures the area of the area to be measured through the preset calculation formula, which improves the efficiency of the measurement and the accuracy of the measurement results compared to the method of area measurement based on manual work; further, the invention makes good use of the mobile phone The infrared function measures the size of the house by modeling, so that the area of the house can be measured at any time, especially when looking at some houses, it is easy to carry around, the operation is simple and easy to understand, and the area can be calculated quickly, which is conducive to direct evaluation of the house , the cost is greatly reduced.

第三实施例third embodiment

为便于更好的实施本发明实施例提供的区域面积的测量方法,本发明实施例还提供一种基于上述区域面积的测量方法的装置。其中名词的含义与上述区域面积的测量的方法中相同,具体实现细节可以参考方法实施例中的说明。In order to facilitate better implementation of the area area measurement method provided by the embodiment of the present invention, the embodiment of the present invention further provides a device based on the above area area measurement method. The meanings of the nouns are the same as those in the method for measuring the area above, and for specific implementation details, please refer to the descriptions in the method embodiments.

请参阅图3a,图3a为本发明实施例提供的区域面积的测量装置的结构示意图,该装置可以包括获取单元301、模型建立单元302、确定单元303以及测量单元304。Please refer to FIG. 3 a . FIG. 3 a is a schematic structural diagram of an area measuring device provided by an embodiment of the present invention. The device may include an acquisition unit 301 , a model building unit 302 , a determination unit 303 and a measurement unit 304 .

其中,所述获取单元301,用于获取待测量区域;模型建立单元302,用于基于终端红外传感方式,建立坐标模型。Wherein, the acquisition unit 301 is used to acquire the region to be measured; the model establishment unit 302 is used to establish a coordinate model based on the terminal infrared sensing method.

所述模型建立单元302,可以具体用于基于终端红外传感方式,建立二维坐标模型,设定横轴以及竖轴。The model building unit 302 may be specifically configured to create a two-dimensional coordinate model based on the terminal infrared sensing method, and set the horizontal axis and the vertical axis.

比如,终端(如平板电脑、手机等)的红外装置开启,建立二维坐标模型,并设定X轴以及Y轴,并利用红外,将需要测量的区域(如房屋、商铺等)投影到该二维坐标模型中,从而进行定位和计算。For example, turn on the infrared device of the terminal (such as tablet computer, mobile phone, etc.), establish a two-dimensional coordinate model, and set the X axis and Y axis, and use infrared to project the area to be measured (such as houses, shops, etc.) In the two-dimensional coordinate model, positioning and calculation are carried out.

确定单元303,用于确定所述待测量区域在所述坐标模型下的定位点以及所述定位点的坐标信息;测量单元304,用于根据所述坐标信息,并通过预设计算公式对所述待测量区域的面积进行测量。The determining unit 303 is configured to determine the positioning point of the region to be measured under the coordinate model and the coordinate information of the positioning point; the measuring unit 304 is configured to calculate the coordinate information according to the coordinate information and through a preset calculation formula. Measure the area of the area to be measured.

可一并参考图3b,为本发明实施例提供的区域面积的测量装置的另一结构示意图,所述确定单元303可以包括:Refer to FIG. 3b together, which is another structural schematic diagram of the area measuring device provided by the embodiment of the present invention. The determination unit 303 may include:

(1)投影子单元3031,用于将所述待测量区域投影到所述坐标模型下的四个象限内;(1) a projection subunit 3031, configured to project the region to be measured into four quadrants under the coordinate model;

即,将待测量区域投影到二维坐标模型的四个象限内;That is, project the area to be measured into four quadrants of the two-dimensional coordinate model;

(2)第一确定子单元3032,用于将所述待测量区域的墙角点确定为待测量区域在所述坐标模型下的定位点;(2) a first determining subunit 3032, configured to determine the corner point of the area to be measured as an anchor point of the area to be measured under the coordinate model;

(3)第二确定子单元3033,用于根据所述定位点以及定位点在各象限内的位置,确定对应的坐标信息。(3) The second determining subunit 3033 is configured to determine corresponding coordinate information according to the positioning point and the position of the positioning point in each quadrant.

也就是说,在四个象限内,分别将待测量区域的墙角点确定为测量的定位点,记录下每个定位点在各象限内的位置,从而得到对应的坐标信息。That is to say, in the four quadrants, the corner points of the area to be measured are respectively determined as the positioning points for measurement, and the position of each positioning point in each quadrant is recorded, so as to obtain the corresponding coordinate information.

进一步的,所述测量单元304可以具体用于,根据所述坐标信息计算出所述待测量区域的长度以及宽度,根据所述长度以及宽度,并通过预设计算公式对所述待测量区域的面积进行测量。Further, the measuring unit 304 may be specifically configured to calculate the length and width of the area to be measured according to the coordinate information, and calculate the length and width of the area to be measured according to the length and width through a preset calculation formula. area is measured.

可具体的,比如,根据坐标信息计算出各象限内所占据的测量区域的长度以及宽度;根据长度以及宽度,并通过预设计算公式,计算各个部分的面积;最后,通过各部分面积相加,实现了待测量区域的面积的测量。Specifically, for example, calculate the length and width of the measurement area occupied by each quadrant according to the coordinate information; calculate the area of each part according to the length and width, and through the preset calculation formula; finally, add the area of each part , realizing the measurement of the area of the area to be measured.

优选的,所述装置还可以包括:Preferably, the device may also include:

检测确定单元305,用于对所述待测量区域在对应象限内的形状类型进行检测,根据检测结果,确定对应的预设计算公式。The detection and determination unit 305 is configured to detect the shape type of the area to be measured in the corresponding quadrant, and determine the corresponding preset calculation formula according to the detection result.

比如,若确定出形状类型为长方形,则计算公式为长度与宽度的乘积,若确定出形状类型为三角形,则计算公式为长度与宽度的乘积的一半,等等,若遇到形状类型为不规则形状的,可以先对其进行拆分,对各部分进行分别计算等,此处对此不作具体限定。For example, if the shape type is determined to be a rectangle, the calculation formula is the product of the length and width; if the shape type is determined to be a triangle, the calculation formula is half of the product of the length and width, and so on. For a regular shape, it can be split first, and each part can be calculated separately, which is not specifically limited here.

具体实施时,以上各个单元可以作为独立的实体来实现,也可以进行任意组合,作为同一或若干个实体来实现,以上各个单元的具体实施可参见前面的方法实施例,在此不再赘述。During specific implementation, each of the above units may be implemented as an independent entity, or may be combined arbitrarily as the same or several entities. The specific implementation of each of the above units may refer to the previous method embodiments, and will not be repeated here.

该区域面积的测量装置具体可以集成在终端(如平板电脑,手机等)中。Specifically, the device for measuring the area of the area may be integrated in a terminal (such as a tablet computer, a mobile phone, etc.).

由上述可知,本实施例提供的区域面积的测量装置,基于终端红外传感方式,建立坐标模型,其后,确定待测量区域在该坐标模型下的定位点以及定位点的坐标信息,最后根据坐标信息,通过预设计算公式自动的对待测量区域的面积进行测量,相对于基于人工进行面积测量的方式,提高了测量的效率以及测量结果的精确度。As can be seen from the above, the area area measurement device provided in this embodiment establishes a coordinate model based on the terminal infrared sensing method, and then determines the positioning point and the coordinate information of the positioning point of the area to be measured under the coordinate model, and finally according to Coordinate information automatically measures the area of the area to be measured through the preset calculation formula, which improves the efficiency of measurement and the accuracy of measurement results compared to the method of area measurement based on manual work.

在上述实施例中,对各个实施例的描述都各有侧重,某个实施例中没有详述的部分,可以参见上文针对区域面积的测量方法的详细描述,此处不再赘述。In the above-mentioned embodiments, the description of each embodiment has its own emphasis. For the part not described in detail in a certain embodiment, please refer to the detailed description of the measurement method for the area above, and will not be repeated here.

本发明实施例提供的所述区域面积的测量装置,譬如为计算机、平板电脑、具有触摸功能的手机等等,所述区域面积的测量装置与上文实施例中的区域面积的测量方法属于同一构思,在所述区域面积的测量装置上可以运行所述区域面积的测量方法实施例中提供的任一方法,其具体实现过程详见所述区域面积的测量方法实施例,此处不再赘述。The measuring device for the area area provided in the embodiment of the present invention is, for example, a computer, a tablet computer, a mobile phone with a touch function, etc., and the measuring device for the area area is the same as the measuring method for the area area in the above embodiment. It is conceived that any method provided in the embodiment of the method for measuring the area area can be run on the measuring device for the area area, and its specific implementation process can be found in the embodiment of the method for measuring the area area, and will not be repeated here. .

需要说明的是,对本发明所述区域面积的测量方法而言,本领域普通测试人员可以理解实现本发明实施例所述区域面积的测量方法的全部或部分流程,是可以通过计算机程序来控制相关的硬件来完成,所述计算机程序可存储于一计算机可读取存储介质中,如存储在终端的存储器中,并被该终端内的至少一个处理器执行,在执行过程中可包括如所述区域面积的测量方法的实施例的流程。其中,所述的存储介质可为磁碟、光盘、只读存储器(ROM,ReadOnlyMemory)、随机存取记忆体(RAM,RandomAccessMemory)等。It should be noted that, for the method for measuring the area of the area described in the present invention, ordinary testers in the field can understand that all or part of the flow of the method for measuring the area of the area described in the embodiment of the present invention can be controlled by a computer program. hardware, the computer program can be stored in a computer-readable storage medium, such as stored in the memory of the terminal, and executed by at least one processor in the terminal, and the execution process can include as described Flowchart of an embodiment of the method for measuring the area area. Wherein, the storage medium may be a magnetic disk, an optical disk, a read only memory (ROM, ReadOnlyMemory), a random access memory (RAM, RandomAccessMemory) and the like.

对本发明实施例的所述区域面积的测量装置而言,其各功能模块可以集成在一个处理芯片中,也可以是各个模块单独物理存在,也可以两个或两个以上模块集成在一个模块中。上述集成的模块既可以采用硬件的形式实现,也可以采用软件功能模块的形式实现。所述集成的模块如果以软件功能模块的形式实现并作为独立的产品销售或使用时,也可以存储在一个计算机可读取存储介质中,所述存储介质譬如为只读存储器,磁盘或光盘等。For the measuring device of the area in the embodiment of the present invention, its various functional modules can be integrated into one processing chip, or each module can exist separately physically, or two or more modules can be integrated into one module . The above-mentioned integrated modules can be implemented in the form of hardware or in the form of software function modules. If the integrated modules are implemented in the form of software function modules and sold or used as independent products, they can also be stored in a computer-readable storage medium, such as read-only memory, magnetic disk or optical disk, etc. .

以上对本发明实施例所提供的一种区域面积的测量方法及装置进行了详细介绍,本文中应用了具体个例对本发明的原理及实施方式进行了阐述,以上实施例的说明只是用于帮助理解本发明的方法及其核心思想;同时,对于本领域的技术人员,依据本发明的思想,在具体实施方式及应用范围上均会有改变之处,综上所述,本说明书内容不应理解为对本发明的限制。The method and device for measuring the area of an area provided by the embodiment of the present invention have been described above in detail. In this paper, specific examples are used to illustrate the principle and implementation of the present invention. The description of the above embodiment is only used to help understanding The method of the present invention and its core idea; at the same time, for those skilled in the art, according to the idea of the present invention, there will be changes in the specific implementation and scope of application. In summary, the content of this specification should not be understood To limit the present invention.

Claims (10)

1. a measuring method for region area, is characterized in that, comprising:
Obtain region to be measured;
Based on terminal infrared sensing mode, set up coordinate model;
Determine the anchor point of described region to be measured under described coordinate model and the coordinate information of described anchor point;
According to described coordinate information, and measure by presetting the area of computing formula to described region to be measured.
2. the measuring method of region area according to claim 1, is characterized in that, described based on terminal infrared sensing mode, sets up coordinate model, comprising:
Based on terminal infrared sensing mode, set up two-dimensional coordinate model, setting transverse axis and vertical pivot.
3. the measuring method of region area according to claim 2, is characterized in that, describedly determines the anchor point of described region to be measured under described coordinate model and the coordinate information of described anchor point, comprising:
By described region projection to be measured in the quadrant of four under described coordinate model;
The corner point in described region to be measured is defined as the anchor point of region to be measured under described coordinate model;
The position in all quadrants according to described anchor point and anchor point, determines corresponding coordinate information.
4. the measuring method of the region area according to any one of claims 1 to 3, is characterized in that, described according to described coordinate information, and measures by presetting the area of computing formula to described region to be measured, comprising:
Length and the width in described region to be measured is calculated according to described coordinate information;
According to described length and width, and measure by presetting the area of computing formula to described region to be measured.
5. the measuring method of region area according to claim 4, is characterized in that, described according to described length and width, and before being measured by the default area of computing formula to described region to be measured, also comprises:
The shape type of described region to be measured in respective quadrants is detected;
According to testing result, determine corresponding default computing formula.
6. a measurement mechanism for region area, is characterized in that, comprising:
Acquiring unit, for obtaining region to be measured;
Unit set up by model, for based on terminal infrared sensing mode, sets up coordinate model;
Determining unit, for determining the anchor point of described region to be measured under described coordinate model and the coordinate information of described anchor point;
Measuring unit, for according to described coordinate information, and measures by presetting the area of computing formula to described region to be measured.
7. the measurement mechanism of region area according to claim 6, is characterized in that, unit set up by described model, specifically for based on terminal infrared sensing mode, sets up two-dimensional coordinate model, setting transverse axis and vertical pivot.
8. the measurement mechanism of region area according to claim 7, is characterized in that, described determining unit comprises:
Projection subelement, for by described region projection to be measured in the quadrant of four under described coordinate model;
First determines subelement, for the corner point in described region to be measured is defined as the anchor point of region to be measured under described coordinate model;
Second determines subelement, for the position in all quadrants according to described anchor point and anchor point, determines corresponding coordinate information.
9. the measurement mechanism of the region area according to any one of claim 6 to 8, it is characterized in that, described measuring unit specifically for, length and the width in described region to be measured is calculated according to described coordinate information, according to described length and width, and measure by presetting the area of computing formula to described region to be measured.
10. the measurement mechanism of region area according to claim 9, is characterized in that, described device also comprises:
Detecting determining unit, for detecting the shape type of described region to be measured in respective quadrants, according to testing result, determining corresponding default computing formula.
CN201510891172.7A 2015-12-04 2015-12-04 Method and device for measuring area area Pending CN105444701A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510891172.7A CN105444701A (en) 2015-12-04 2015-12-04 Method and device for measuring area area

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510891172.7A CN105444701A (en) 2015-12-04 2015-12-04 Method and device for measuring area area

Publications (1)

Publication Number Publication Date
CN105444701A true CN105444701A (en) 2016-03-30

Family

ID=55555178

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510891172.7A Pending CN105444701A (en) 2015-12-04 2015-12-04 Method and device for measuring area area

Country Status (1)

Country Link
CN (1) CN105444701A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105893567A (en) * 2016-03-31 2016-08-24 中国农业大学 Determination method and device for geographical region areas
CN106482700A (en) * 2016-10-12 2017-03-08 东南大学 A kind of digitized House Property Area Surveying measuring method of sketch direct mapping
CN109101952A (en) * 2018-09-04 2018-12-28 北京邮电大学 Objects recognition method, apparatus, system and server based on mobile Internet
US10788322B2 (en) * 2012-09-25 2020-09-29 Trimble Jena Gmbh Method and apparatus for assigning measuring points to a set of fixed points
CN117474975A (en) * 2023-11-21 2024-01-30 广西壮族自治区自然资源信息中心 A method and tool for measuring sugar cane area

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1567192A (en) * 2003-07-03 2005-01-19 程欣 Surveying calculation system assembly for floor area of building
CN101701813A (en) * 2009-11-18 2010-05-05 陈凌 Land area intelligent measuring device and method
CN202814363U (en) * 2012-06-13 2013-03-20 哈尔滨工程大学 Automatic area measurement instrument
CN103017693A (en) * 2012-12-03 2013-04-03 广东欧珀移动通信有限公司 Method for measuring area of smart phone
CN103673997A (en) * 2012-09-25 2014-03-26 特里伯耶拿有限公司 Method and apparatus for assigning measuring points to a set of fixed points

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1567192A (en) * 2003-07-03 2005-01-19 程欣 Surveying calculation system assembly for floor area of building
CN101701813A (en) * 2009-11-18 2010-05-05 陈凌 Land area intelligent measuring device and method
CN202814363U (en) * 2012-06-13 2013-03-20 哈尔滨工程大学 Automatic area measurement instrument
CN103673997A (en) * 2012-09-25 2014-03-26 特里伯耶拿有限公司 Method and apparatus for assigning measuring points to a set of fixed points
CN103017693A (en) * 2012-12-03 2013-04-03 广东欧珀移动通信有限公司 Method for measuring area of smart phone

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
李世国等: "《交互设计》", 31 January 2012 *

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10788322B2 (en) * 2012-09-25 2020-09-29 Trimble Jena Gmbh Method and apparatus for assigning measuring points to a set of fixed points
CN105893567A (en) * 2016-03-31 2016-08-24 中国农业大学 Determination method and device for geographical region areas
CN106482700A (en) * 2016-10-12 2017-03-08 东南大学 A kind of digitized House Property Area Surveying measuring method of sketch direct mapping
CN106482700B (en) * 2016-10-12 2019-06-04 东南大学 A digital real estate area measurement method with direct drawing of sketches
CN109101952A (en) * 2018-09-04 2018-12-28 北京邮电大学 Objects recognition method, apparatus, system and server based on mobile Internet
CN117474975A (en) * 2023-11-21 2024-01-30 广西壮族自治区自然资源信息中心 A method and tool for measuring sugar cane area

Similar Documents

Publication Publication Date Title
CN105444701A (en) Method and device for measuring area area
WO2020206666A1 (en) Depth estimation method and apparatus employing speckle image and face recognition system
CN101819501A (en) Device and electronic product for realizing virtual keyboard and implementation method thereof
CN110210141A (en) Model collision detection method, device and electronic equipment based on BIM technology
CN105224133B (en) A kind of pressure calibration method and device
CN106657988A (en) Camera test method and device capable of automatically positioning test chart card, and computer equipment
CN107218887A (en) A kind of method and apparatus for being used to measure dimension of object
KR20250016256A (en) Calibration method, device and electronic apparatus of external parameters of linear profilometer
CN105571614A (en) Magnetic sensor calibration method and device
CN107479765B (en) Coordinate calibration method and device based on touch pad
CN116740114B (en) A target object boundary fitting method and device based on convex hull detection
WO2024130945A1 (en) Handwriting data processing method and apparatus, and electronic device and storage medium
CN107958236B (en) Face recognition sample image generation method and terminal
CN104750395B (en) User interface adjusts system and its method of adjustment
CN115079636A (en) Workpiece coordinate system establishing method based on numerical control system and related equipment thereof
CN102339169A (en) Method for calibrating large-sized multipoint touch system
US9741135B2 (en) Method for measuring object and smart device
WO2023151568A1 (en) Method for measuring size of object, storage medium, and electronic device
CN110779467A (en) Shadow phase error compensation method and device
CN105183160B (en) A kind of information processing method and electronic equipment
CN111951349A (en) A method, device and electronic device for adjusting the vertex type of a graph
CN104540098B (en) Location positioning method, system and server based on crowdsourcing
CN115620254A (en) Evaluation method, device, equipment and storage medium for lane line detection
US9134839B2 (en) Electronic device with touch screen and method for determining relative position of the electronic device with respect to another electronic device
KR102835618B1 (en) Method, device and computer-readable recording medium for creating a measurement line for measuring flow rate according to water level change of a river using a video recording

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20160330

RJ01 Rejection of invention patent application after publication