From dfc4c73ac5873f9f91b485f56ee5d6ca62cff5f7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=B0=E4=BB=94?= Date: Mon, 26 Oct 2026 15:32:38 +0800 Subject: [PATCH] =?UTF-8?q?fix:beltTearingDetection=201.0.3=20=E7=AE=97?= =?UTF-8?q?=E6=B3=95=E6=8E=A5=E5=8F=A3lineIdx=20=E4=B8=BAint=20=E5=AD=98?= =?UTF-8?q?=E5=9C=A8=E9=9A=90=E6=82=A3=E3=80=82=E4=BF=AE=E6=94=B9=E4=B8=BA?= =?UTF-8?q?=E4=BA=86unsigned=20long=20long?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- sourceCode/beltTearingDetection.cpp | 5 +++-- sourceCode/beltTearingDetection_Export.h | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/sourceCode/beltTearingDetection.cpp b/sourceCode/beltTearingDetection.cpp index 4e130ed..8905756 100644 --- a/sourceCode/beltTearingDetection.cpp +++ b/sourceCode/beltTearingDetection.cpp @@ -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& hLineWorkers, diff --git a/sourceCode/beltTearingDetection_Export.h b/sourceCode/beltTearingDetection_Export.h index 4ffdbd2..0a804ee 100644 --- a/sourceCode/beltTearingDetection_Export.h +++ b/sourceCode/beltTearingDetection_Export.h @@ -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& hLineWorkers,