|
Mat | addNoisePC (Mat pc, double scale) |
|
void | computeBboxStd (Mat pc, Vec2f &xRange, Vec2f &yRange, Vec2f &zRange) |
|
int | computeNormalsPC3d (const Mat &PC, Mat &PCNormals, const int NumNeighbors, const bool FlipViewpoint, const Vec3f &viewpoint) |
| 计算任意点云的法线 computeNormalsPC3d 使用平面拟合方法平滑地计算局部法线。法线是通过协方差矩阵的特征向量获得的,对应于最小特征值。如果 PCNormals 提供为 Nx6 矩阵,则不会进行新的分配,而是覆盖现有内存。
|
|
void | destroyFlann (void *flannIndex) |
|
void | getRandomPose (Matx44d &Pose) |
|
hashtable_int * | hashtable_int_clone (hashtable_int *hashtbl) |
|
hashtable_int * | hashtableCreate (size_t size, size_t(*hashfunc)(uint)) |
|
void | hashtableDestroy (hashtable_int *hashtbl) |
|
void * | hashtableGet (hashtable_int *hashtbl, KeyType key) |
|
hashnode_i * | hashtableGetBucketHashed (hashtable_int *hashtbl, KeyType key) |
|
int | hashtableInsert (hashtable_int *hashtbl, KeyType key, void *data) |
|
int | hashtableInsertHashed (hashtable_int *hashtbl, KeyType key, void *data) |
|
void | hashtablePrint (hashtable_int *hashtbl) |
|
hashtable_int * | hashtableRead (FILE *f) |
|
int | hashtableRemove (hashtable_int *hashtbl, KeyType key) |
|
int | hashtableResize (hashtable_int *hashtbl, size_t size) |
|
int | hashtableWrite (const hashtable_int *hashtbl, const size_t dataSize, FILE *f) |
|
void * | indexPCFlann (Mat pc) |
|
Mat | loadPLYSimple (const char *fileName, int withNormals=0) |
| 加载 PLY 文件。
|
|
static uint | next_power_of_two (uint value) |
| 向上舍入到下一个最高 2 的幂。
|
|
Mat | normalizePCCoeff (Mat pc, float scale, float *Cx, float *Cy, float *Cz, float *MinVal, float *MaxVal) |
|
void | queryPCFlann (void *flannIndex, Mat &pc, Mat &indices, Mat &distances) |
|
void | queryPCFlann (void *flannIndex, Mat &pc, Mat &indices, Mat &distances, const int numNeighbors) |
|
Mat | samplePCByQuantization (Mat pc, Vec2f &xrange, Vec2f &yrange, Vec2f &zrange, float sample_step_relative, int weightByCenter=0) |
|
Mat | samplePCUniform (Mat PC, int sampleStep) |
|
Mat | samplePCUniformInd (Mat PC, int sampleStep, std::vector< int > &indices) |
|
Mat | transformPCPose (Mat pc, const Matx44d &Pose) |
|
Mat | transPCCoeff (Mat pc, float scale, float Cx, float Cy, float Cz, float MinVal, float MaxVal) |
|
void | writePLY (Mat PC, const char *fileName) |
| 将点云写入 PLY 文件。
|
|
void | writePLYVisibleNormals (Mat PC, const char *fileName) |
| 用于调试目的,将点云写入 PLY 文件,其中法向量的尖端显示为可见的红色点。
|
|