ATTPCROOT
0.3.0-alpha
A ROOT-based framework for analyzing data from active target detectors
|
#include <pcl/common/common.h>
#include <pcl/filters/extract_indices.h>
#include <pcl/io/pcd_io.h>
#include <pcl/visualization/pcl_visualizer.h>
#include <fstream>
#include <iostream>
#include <sstream>
#include <vector>
#include "hc.h"
#include "msd.h"
#include "mst.h"
#include "smoothenCloud.h"
Go to the source code of this file.
Classes | |
struct | hc_params |
struct | rgb_t |
class | Point |
Functions | |
void | visualizeTriplets (pcl::visualization::PCLVisualizer &viewer, pcl::PointCloud< pcl::PointXYZI >::Ptr cloud, std::vector< hc::triplet > const &triplets) |
void | visualizeClusterAsMst (pcl::visualization::PCLVisualizer &viewer, pcl::PointCloud< pcl::PointXYZI >::Ptr cloud, Cluster const &cluster) |
Cluster | use_hc (pcl::PointCloud< pcl::PointXYZI >::Ptr cloud, std::vector< hc::triplet > triplets, float scale, float cdist, size_t cleanup_min_triplets, int opt_verbose=0) |
void | colorByIndex (pcl::PointCloud< pcl::PointXYZ >::ConstPtr cloud, pcl::PointCloud< pcl::PointXYZRGB >::Ptr cloud_rgb) |
void | colorByIntensity (pcl::PointCloud< pcl::PointXYZI >::ConstPtr cloud, pcl::PointCloud< pcl::PointXYZRGB >::Ptr cloud_rgb, float minIntensity=0.0f, float maxIntensity=4000.0f) |
void | colorByCluster (pcl::PointCloud< pcl::PointXYZ >::ConstPtr cloud, pcl::PointCloud< pcl::PointXYZRGB >::Ptr cloud_rgb, Cluster const cluster, std::vector< rgb_t > const cluster_rgb) |
std::vector< rgb_t > | createClusterColour (pcl::PointCloud< pcl::PointXYZ >::ConstPtr cloud, Cluster const cluster) |
void | clustersToGnuplot (pcl::PointCloud< pcl::PointXYZ >::Ptr cloud, Cluster const cluster, std::vector< rgb_t > cluster_rgb) |
void | clustersToGnuplot (pcl::PointCloud< pcl::PointXYZRGB >::Ptr cloud) |
void | debugGnuplot (pcl::PointCloud< pcl::PointXYZI >::Ptr cloud_smooth, pcl::PointCloud< pcl::PointXYZI >::Ptr cloud, const char *fname="debug_smoothed.gnuplot") |
void | clustersToCSV (pcl::PointCloud< pcl::PointXYZ >::Ptr cloud, Cluster const cluster) |
void | cloudToCSV (pcl::PointCloud< pcl::PointXYZI >::Ptr cloud, const char *fname="debug_smoothed.csv") |
int | main (int argc, char **argv) |
Variables | |
const char * | usage |
void cloudToCSV | ( | pcl::PointCloud< pcl::PointXYZI >::Ptr | cloud, |
const char * | fname = "debug_smoothed.csv" |
||
) |
void clustersToCSV | ( | pcl::PointCloud< pcl::PointXYZ >::Ptr | cloud, |
Cluster const | cluster | ||
) |
void clustersToGnuplot | ( | pcl::PointCloud< pcl::PointXYZRGB >::Ptr | cloud | ) |
void colorByIndex | ( | pcl::PointCloud< pcl::PointXYZ >::ConstPtr | cloud, |
pcl::PointCloud< pcl::PointXYZRGB >::Ptr | cloud_rgb | ||
) |
void colorByIntensity | ( | pcl::PointCloud< pcl::PointXYZI >::ConstPtr | cloud, |
pcl::PointCloud< pcl::PointXYZRGB >::Ptr | cloud_rgb, | ||
float | minIntensity = 0.0f , |
||
float | maxIntensity = 4000.0f |
||
) |
void debugGnuplot | ( | pcl::PointCloud< pcl::PointXYZI >::Ptr | cloud_smooth, |
pcl::PointCloud< pcl::PointXYZI >::Ptr | cloud, | ||
const char * | fname = "debug_smoothed.gnuplot" |
||
) |
Cluster use_hc | ( | pcl::PointCloud< pcl::PointXYZI >::Ptr | cloud, |
std::vector< hc::triplet > | triplets, | ||
float | scale, | ||
float | cdist, | ||
size_t | cleanup_min_triplets, | ||
int | opt_verbose = 0 |
||
) |
void visualizeClusterAsMst | ( | pcl::visualization::PCLVisualizer & | viewer, |
pcl::PointCloud< pcl::PointXYZI >::Ptr | cloud, | ||
Cluster const & | cluster | ||
) |
void visualizeTriplets | ( | pcl::visualization::PCLVisualizer & | viewer, |
pcl::PointCloud< pcl::PointXYZI >::Ptr | cloud, | ||
std::vector< hc::triplet > const & | triplets | ||
) |
const char* usage |