更新轮眉检测算法

This commit is contained in:
yiyi 2026-01-08 00:52:01 +08:00
parent b72226f4cf
commit d4d0e23523
13 changed files with 24 additions and 8 deletions

View File

@ -3,8 +3,8 @@
#define WHEELMEASURE_VERSION_STRING "1.0.1" #define WHEELMEASURE_VERSION_STRING "1.0.1"
#define WHEELMEASURE_BUILD_STRING "4" #define WHEELMEASURE_BUILD_STRING "5"
#define WHEELMEASURE_FULL_VERSION_STRING "V1.0.1.4" #define WHEELMEASURE_FULL_VERSION_STRING "V" WHEELMEASURE_VERSION_STRING "_" WHEELMEASURE_BUILD_STRING
// 获取版本信息的便捷函数 // 获取版本信息的便捷函数
inline const char* GetWheelMeasureVersion() { inline const char* GetWheelMeasureVersion() {

View File

@ -1,4 +1,7 @@
# 1.0.1 # 1.0.1
## build_5 2026-01-17
1. 更新算法 1.3.0
## build_4 ## build_4
1. 增加debug功能在检测前存储点云 1. 增加debug功能在检测前存储点云

View File

@ -7,7 +7,7 @@
<x>0</x> <x>0</x>
<y>0</y> <y>0</y>
<width>659</width> <width>659</width>
<height>400</height> <height>453</height>
</rect> </rect>
</property> </property>
<property name="windowTitle"> <property name="windowTitle">
@ -65,7 +65,7 @@
<property name="geometry"> <property name="geometry">
<rect> <rect>
<x>170</x> <x>170</x>
<y>350</y> <y>400</y>
<width>101</width> <width>101</width>
<height>38</height> <height>38</height>
</rect> </rect>
@ -86,7 +86,7 @@
<property name="geometry"> <property name="geometry">
<rect> <rect>
<x>380</x> <x>380</x>
<y>350</y> <y>400</y>
<width>111</width> <width>111</width>
<height>38</height> <height>38</height>
</rect> </rect>
@ -109,7 +109,7 @@
<x>130</x> <x>130</x>
<y>110</y> <y>110</y>
<width>511</width> <width>511</width>
<height>221</height> <height>271</height>
</rect> </rect>
</property> </property>
<property name="font"> <property name="font">
@ -135,7 +135,7 @@ padding: 5px;</string>
<rect> <rect>
<x>20</x> <x>20</x>
<y>60</y> <y>60</y>
<width>621</width> <width>634</width>
<height>41</height> <height>41</height>
</rect> </rect>
</property> </property>

View File

@ -72,7 +72,7 @@ struct WheelCornerParam
double minEndingGap = 20.0; // y方向最短结束间隙 double minEndingGap = 20.0; // y方向最短结束间隙
double minEndingGap_z = 20.0; // z方向最短结束间隙 double minEndingGap_z = 20.0; // z方向最短结束间隙
double scale = 50.0; // 计算方向角的窗口比例 double scale = 50.0; // 计算方向角的窗口比例
double cornerTh = 60.0; // 空角阈值,大于此阈值为有效空点 double cornerTh = 45.0; // 空角阈值,大于此阈值为有效空点
double jumpCornerTh_1 = 10.0; // 判断空角是否为跳变的阈值 double jumpCornerTh_1 = 10.0; // 判断空角是否为跳变的阈值
double jumpCornerTh_2 = 60.0; // 判断空角是否为跳变的阈值 double jumpCornerTh_2 = 60.0; // 判断空角是否为跳变的阈值
}; };

View File

@ -265,6 +265,18 @@ typedef struct
int angleChkScalePos; //仅用于加速angleCheck的速度 int angleChkScalePos; //仅用于加速angleCheck的速度
}SSG_featureTree; }SSG_featureTree;
typedef struct
{
int treeState;
int treeType;
int sLineIdx;
int eLineIdx;
double tree_value;
SSG_ROIRectD roi;
std::vector< SSG_basicFeatureGap> treeNodes;
int angleChkScalePos; //仅用于加速angleCheck的速度
}SSG_gapFeatureTree;
typedef struct typedef struct
{ {
int treeState; int treeState;
@ -531,4 +543,5 @@ typedef struct
int clusterIdx; int clusterIdx;
int ptSize; int ptSize;
SVzNL3DRangeD roi3D; SVzNL3DRangeD roi3D;
SVzNLRect roi2D;
}SWD_clustersInfo; }SWD_clustersInfo;