fix:beltTearingDetection 1.0.3 算法接口lineIdx 为int 存在隐患。修改为了unsigned long long

This commit is contained in:
杰仔 2026-10-26 15:32:38 +08:00
parent 4815340e01
commit dfc4c73ac5
2 changed files with 4 additions and 3 deletions

View File

@ -8,7 +8,8 @@
//version 1.0.0 : 皮带撕裂版本添加版本号后的基础版本
//version 1.0.1 : 添加撕裂Y方向最小和最大宽度, 以及非贯穿撕裂最小深度,用于滤除点云波动和雨刷运动时产生的虚拟Gap(中信重工)
//version 1.0.2 : 修改参数tearingMinLen的使用:原来ROI宽度和高度只要有一个满足门限,现在修改为只限制宽度(长度)
std::string m_strVersion = "BeltTearing 1.0.2";
//version 1.0.3 : 修改了线号类型从int 改为了 ulonglong
std::string m_strVersion = "BeltTearing 1.0.3";
const char* sg_beltTearingVersion(void)
{
return m_strVersion.c_str();
@ -711,7 +712,7 @@ SSG_tearProcessInfo* _getProcInfo(
//生长时,通过ROI判断是否有匹配的生长树。水平Feature的生长不记录开始和结束扫描线号
void sg_detectBeltTearing(
SVzNL3DLaserLine* laser3DPoints, //一条扫描线
int inputLineIdx,
unsigned long long inputLineIdx,
int nPointCount, //每条扫描线的点数量。当采用Grid数据格式时,每条扫描线的点的数量是相同的。必须使用Grid格式
int* errCode,
std::vector<SSG_hLineProInfo>& hLineWorkers,

View File

@ -83,7 +83,7 @@ SG_APISHARED_EXPORT const char* sg_beltTearingVersion(void);
SG_APISHARED_EXPORT void sg_detectBeltTearing(
SVzNL3DLaserLine* laser3DPoints, //一条扫描线
int lineIdx,
unsigned long long lineIdx,
int nPointCount, //每条扫描线的点数量。当采用Grid数据格式时,每条扫描线的点的数量是相同的。必须使用Grid格式
int* errCode,
std::vector<SSG_hLineProInfo>& hLineWorkers,