-
Notifications
You must be signed in to change notification settings - Fork 140
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
32090cb
commit cd0dc51
Showing
5 changed files
with
882 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
#ifndef _GUASSIANPROCESS_ | ||
#define _GUASSIANPROCESS_ | ||
|
||
#include <iostream> | ||
#include <vector> | ||
#include <math.h> | ||
#include <algorithm> | ||
#include <Eigen/Dense> | ||
#include <pcl/point_types.h> | ||
#include <malloc.h> | ||
#include "iterator" | ||
#include <omp.h> | ||
using namespace std; | ||
using namespace Eigen; | ||
|
||
#define mypi 3.14159 | ||
#define GP_M 72//72 | ||
#define GP_N 80//160 | ||
#define divider 1 | ||
#define R_limit 80 | ||
#define binlen 1//(R_limit/GP_N-1) | ||
|
||
namespace autosense { | ||
namespace segmenter { | ||
|
||
typedef Eigen::Matrix<float, Eigen::Dynamic, Eigen::Dynamic, Eigen::DontAlign> Mat; | ||
|
||
struct MyPoint | ||
{ | ||
float x; | ||
float y; | ||
float z; | ||
short intesity; | ||
short type = -1; | ||
int Index; | ||
short Isit = -1; | ||
}; | ||
|
||
struct VEC{ | ||
vector <MyPoint> Point; | ||
}; | ||
|
||
void GP_INSAC(const pcl::PointCloud<pcl::PointXYZI> &After, pcl::PointCloud<pcl::PointXYZI> &Ob, pcl::PointCloud<pcl::PointXYZI> &Gr); | ||
|
||
} | ||
} | ||
#endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.