41 lines
1.0 KiB
C
41 lines
1.0 KiB
C
|
|
#pragma once
|
|||
|
|
|
|||
|
|
#if defined(SG_API_LIBRARY)
|
|||
|
|
# define SG_APISHARED_EXPORT __declspec(dllexport)
|
|||
|
|
#else
|
|||
|
|
# define SG_APISHARED_EXPORT __declspec(dllimport)
|
|||
|
|
#endif
|
|||
|
|
|
|||
|
|
#define OUTPUT_DEBUG 0
|
|||
|
|
|
|||
|
|
#include "SG_baseDataType.h"
|
|||
|
|
#include <vector>
|
|||
|
|
|
|||
|
|
#define _OUTPUT_LINE_PROC_RESULT 1
|
|||
|
|
|
|||
|
|
typedef struct
|
|||
|
|
{
|
|||
|
|
double sieveDiameter; //ɸ<><C9B8><EFBFBD><EFBFBD>˿ֱ<CBBF><D6B1>
|
|||
|
|
double sieveHoleSize; //ɸ<><C9B8><EFBFBD><EFBFBD><D7BE><EFBFBD><EFBFBD>ı߳<C4B1>
|
|||
|
|
SSG_outlierFilterParam filterParam;
|
|||
|
|
SSG_slopeParam slopeParam;
|
|||
|
|
SSG_treeGrowParam growParam;
|
|||
|
|
}SSG_sieveNodeDetectionParam;
|
|||
|
|
|
|||
|
|
SG_APISHARED_EXPORT void sg_lineDataR(SVzNL3DLaserLine* a_line,
|
|||
|
|
const double* camPoseR,
|
|||
|
|
double groundH);
|
|||
|
|
|
|||
|
|
SG_APISHARED_EXPORT void sg_getSieveNodes(
|
|||
|
|
SVzNL3DLaserLine* laser3DPoints,
|
|||
|
|
int lineNum,
|
|||
|
|
const SSG_sieveNodeDetectionParam sieveDetectParam,
|
|||
|
|
std::vector<SVzNL3DPoint>& nodePos);
|
|||
|
|
|
|||
|
|
//<2F><><EFBFBD><EFBFBD>һ<EFBFBD><D2BB>ƽ<EFBFBD><C6BD><EFBFBD><EFBFBD>ƽ<EFBFBD><C6BD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
|
//<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ROI<4F><49><EFBFBD>ڵĵ<DAB5><C4B5><EFBFBD><EFBFBD><EFBFBD>ƽ<EFBFBD><C6BD><EFBFBD><EFBFBD><EFBFBD>ϣ<EFBFBD><CFA3><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ƽ<EFBFBD><C6BD><EFBFBD><EFBFBD>
|
|||
|
|
//<2F><>ת<EFBFBD><D7AA><EFBFBD><EFBFBD>Ϊ<EFBFBD><CEAA>ƽ<EFBFBD><C6BD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ƽ<EFBFBD>淨<EFBFBD><E6B7A8><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ϊ<EFBFBD><CEAA>ֱ<EFBFBD><D6B1><EFBFBD><EFBFBD><EFBFBD>IJ<EFBFBD><C4B2><EFBFBD>
|
|||
|
|
SG_APISHARED_EXPORT SSG_planeCalibPara sg_getSieveBaseCalibPara(
|
|||
|
|
SVzNL3DLaserLine* laser3DPoints,
|
|||
|
|
int lineNum,
|
|||
|
|
std::vector<SVzNL3DRangeD>& ROIs);
|