algoLib/sourceCode/channelSpaceMeasure_Export.h

33 lines
752 B
C
Raw Normal View History

#pragma once
#include "SG_algo_Export.h"
#include <vector>
#define _OUTPUT_DEBUG_DATA 1
typedef struct
{
SVzNLRangeD channelWidthRng;
SVzNLRangeD channleSpaceRng;
}SSX_channelParam;
typedef struct
{
double channelSpace;
double channelWidth[2];
double channelDepth[2];
}SSX_channelInfo;
//<2F><><EFBFBD><EFBFBD><E6B1BE>
SG_APISHARED_EXPORT const char* wd_ChannelSPaceMeasureVersion(void);
//<2F><>ȡ<EFBFBD>۵<EFBFBD><DBB5><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ⱥͼ<C8BA><CDBC><EFBFBD>
SG_APISHARED_EXPORT SSX_channelInfo sx_channelSpaceMeasure(
std::vector< std::vector<SVzNL3DPosition>>& scanLines,
bool isHorizonScan, //true:<3A><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ƽ<EFBFBD>в۵<D0B2><DBB5><EFBFBD>false:<3A><><EFBFBD><EFBFBD><EFBFBD>ߴ<EFBFBD>ֱ<EFBFBD>۵<EFBFBD>
const SSG_cornerParam cornerPara,
const SSG_outlierFilterParam filterParam,
const SSG_treeGrowParam growParam,
const SSX_channelParam channelParam,
int* errCode);