-
Notifications
You must be signed in to change notification settings - Fork 4
/
process.h
33 lines (23 loc) · 866 Bytes
/
process.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
#ifndef PROCESS
#define PROCESS
#include<pcl/point_cloud.h>
#include<pcl/point_types.h>
#include <vector>
#include "utility.h"
using namespace utility;
using namespace std;
class Process
{
public:
// pcd Îļþ¶Áд;
bool readPcdFileXYZ(const string &fileName, const pcXYZPtr &pointCloud);
bool writePcdFileXYZ(const string &fileName, const pcXYZPtr &pointCloud);
void display(const pcXYZPtr &cloudS, const pcXYZPtr &cloudT);
void quicksort(vector<double> &data, vector<int> &datakey, int left, int right);
void presort(const pcXYZPtr &pointCloud, int axis, vector<double> &cor, vector<int> &corkey);
void saveindices(vector<int> &corkey, const pcXYZPtr &pCOriginal, const pcXYZPtr &pCSort);
void cut(const pcXYZPtr &pointCloud, double IoU, const pcXYZPtr &pCSeg1, const pcXYZPtr &pCSeg2);
protected:
private:
};
#endif