Get Average Normal and Center

Function: Get the normal and center point of the point cloud average

Input Parameters:

Name Type Valid Range Default Value Meaning

With Normal Point Cloud

NormalPoints

None

None

With Normal Point Cloud

Output Parameters:

Name Type Valid Range Default Value Meaning

[Average]

List

None

None

The average normal direction of the directional point cloud, the format is N * 3, N represents multiple point clouds, and 3 represents the xyz value of each point cloud normal direction

Point cloud center point

List

None

None

Point cloud center point, format Nx3, N represents multiple point clouds, 3 represents the xyz value of each point cloud center point

Parameter Settings:

Name Type Valid Range Default Value Meaning

Average normal method

String

['Direct Mean', 'Clustered Mean']

Clustered Mean

The normal calculation method of the point cloud average. The direct average is the normal calculation average for all, and the clustering average is the clustering

Center point type

String

['Point cloud mean', 'Point cloud median', 'Max-Min Median']

Point cloud mean

Returns the type of the result center, the point cloud mean refers to the center mean of the point cloud that returns the bounding box, the median of the point cloud returns the median of the point cloud that calculates the bounding box, the maximum and minimum median refers to the sum of the maximum and minimum values of the points in the fitting plane divided by 2

Cluster comparison threshold

Float

[0, 1000]

0.1

Clustering comparison threshold, effective when the average normal method is the clustering average, this value will be used to compare the gap between the current normal and the clustered results, generally use the default value