|
Point Cloud Library (PCL)
1.6.0
|
Bilateral filtering implementation, based on the following paper: * Kopf, Johannes and Cohen, Michael F. More...
#include <pcl/surface/bilateral_upsampling.h>


Public Types | |
| typedef pcl::PointCloud < PointOutT > | PointCloudOut |
| typedef pcl::PointCloud< PointInT > | PointCloud |
| typedef PointCloud::Ptr | PointCloudPtr |
| typedef PointCloud::ConstPtr | PointCloudConstPtr |
| typedef PointIndices::Ptr | PointIndicesPtr |
| typedef PointIndices::ConstPtr | PointIndicesConstPtr |
Public Member Functions | |
| BilateralUpsampling () | |
| Constructor. | |
| void | setWindowSize (int window_size) |
| Method that sets the window size for the filter. | |
| int | getWindowSize () const |
| Returns the filter window size. | |
| void | setSigmaColor (const float &sigma_color) |
| Method that sets the sigma color parameter. | |
| float | getSigmaColor () const |
| Returns the current sigma color value. | |
| void | setSigmaDepth (const float &sigma_depth) |
| Method that sets the sigma depth parameter. | |
| float | getSigmaDepth () const |
| Returns the current sigma depth value. | |
| void | setProjectionMatrix (const Eigen::Matrix3f &projection_matrix) |
| Method that sets the projection matrix to be used when unprojecting the points in the depth image back to (x,y,z) positions. | |
| Eigen::Matrix3f | getProjectionMatrix () const |
| Returns the current projection matrix. | |
| void | process (pcl::PointCloud< PointOutT > &output) |
| Method that does the actual processing on the input cloud. | |
| virtual void | setInputCloud (const PointCloudConstPtr &cloud) |
| Provide a pointer to the input dataset. | |
| PointCloudConstPtr const | getInputCloud () |
| Get a pointer to the input point cloud dataset. | |
| void | setIndices (const IndicesPtr &indices) |
| Provide a pointer to the vector of indices that represents the input data. | |
| void | setIndices (const IndicesConstPtr &indices) |
| Provide a pointer to the vector of indices that represents the input data. | |
| void | setIndices (const PointIndicesConstPtr &indices) |
| Provide a pointer to the vector of indices that represents the input data. | |
| void | setIndices (size_t row_start, size_t col_start, size_t nb_rows, size_t nb_cols) |
| Set the indices for the points laying within an interest region of the point cloud. | |
| IndicesPtr const | getIndices () |
| Get a pointer to the vector of indices used. | |
| const PointInT & | operator[] (size_t pos) |
| Override PointCloud operator[] to shorten code. | |
Public Attributes | |
| Eigen::Matrix3f | KinectVGAProjectionMatrix |
| Eigen::Matrix3f | KinectSXGAProjectionMatrix |
Bilateral filtering implementation, based on the following paper: * Kopf, Johannes and Cohen, Michael F.
and Lischinski, Dani and Uyttendaele, Matt - Joint Bilateral Upsampling, * ACM Transations in Graphics, July 2007
Takes in a colored organized point cloud (i.e. PointXYZRGB or PointXYZRGBA), that might contain nan values for the depth information, and it will returned an upsampled version of this cloud, based on the formula:
where S is the depth image, I is the RGB image and f and g are Gaussian functions centered at 0 and with standard deviations
and
Definition at line 63 of file bilateral_upsampling.h.
typedef pcl::PointCloud<PointInT > pcl::PCLBase< PointInT >::PointCloud [inherited] |
Definition at line 74 of file pcl_base.h.
typedef PointCloud::ConstPtr pcl::PCLBase< PointInT >::PointCloudConstPtr [inherited] |
Reimplemented in pcl::NormalEstimation< PointInT, PointOutT >, and pcl::NormalEstimation< PointInT, pcl::Normal >.
Definition at line 76 of file pcl_base.h.
| typedef pcl::PointCloud<PointOutT> pcl::BilateralUpsampling< PointInT, PointOutT >::PointCloudOut |
Definition at line 72 of file bilateral_upsampling.h.
typedef PointCloud::Ptr pcl::PCLBase< PointInT >::PointCloudPtr [inherited] |
Reimplemented in pcl::OrganizedFastMesh< PointInT >.
Definition at line 75 of file pcl_base.h.
typedef PointIndices::ConstPtr pcl::PCLBase< PointInT >::PointIndicesConstPtr [inherited] |
Definition at line 79 of file pcl_base.h.
typedef PointIndices::Ptr pcl::PCLBase< PointInT >::PointIndicesPtr [inherited] |
Definition at line 78 of file pcl_base.h.
| pcl::BilateralUpsampling< PointInT, PointOutT >::BilateralUpsampling | ( | ) | [inline] |
Constructor.
Definition at line 77 of file bilateral_upsampling.h.
| IndicesPtr const pcl::PCLBase< PointInT >::getIndices | ( | ) | [inline, inherited] |
Get a pointer to the vector of indices used.
Definition at line 190 of file pcl_base.h.
| PointCloudConstPtr const pcl::PCLBase< PointInT >::getInputCloud | ( | ) | [inline, inherited] |
Get a pointer to the input point cloud dataset.
Definition at line 107 of file pcl_base.h.
| Eigen::Matrix3f pcl::BilateralUpsampling< PointInT, PointOutT >::getProjectionMatrix | ( | ) | const [inline] |
Returns the current projection matrix.
Definition at line 134 of file bilateral_upsampling.h.
| float pcl::BilateralUpsampling< PointInT, PointOutT >::getSigmaColor | ( | ) | const [inline] |
Returns the current sigma color value.
Definition at line 112 of file bilateral_upsampling.h.
| float pcl::BilateralUpsampling< PointInT, PointOutT >::getSigmaDepth | ( | ) | const [inline] |
Returns the current sigma depth value.
Definition at line 122 of file bilateral_upsampling.h.
| int pcl::BilateralUpsampling< PointInT, PointOutT >::getWindowSize | ( | ) | const [inline] |
Returns the filter window size.
Definition at line 102 of file bilateral_upsampling.h.
| const PointInT & pcl::PCLBase< PointInT >::operator[] | ( | size_t | pos | ) | [inline, inherited] |
Override PointCloud operator[] to shorten code.
| pos | position in indices_ vector |
Definition at line 197 of file pcl_base.h.
| void pcl::BilateralUpsampling< PointInT, PointOutT >::process | ( | pcl::PointCloud< PointOutT > & | output | ) | [virtual] |
Method that does the actual processing on the input cloud.
| [out] | output | the container of the resulting upsampled cloud |
Reimplemented from pcl::CloudSurfaceProcessing< PointInT, PointOutT >.
Definition at line 49 of file bilateral_upsampling.hpp.
| void pcl::PCLBase< PointInT >::setIndices | ( | const IndicesPtr & | indices | ) | [inline, inherited] |
Provide a pointer to the vector of indices that represents the input data.
| indices | a pointer to the vector of indices that represents the input data. |
Definition at line 113 of file pcl_base.h.
| void pcl::PCLBase< PointInT >::setIndices | ( | const IndicesConstPtr & | indices | ) | [inline, inherited] |
Provide a pointer to the vector of indices that represents the input data.
| indices | a pointer to the vector of indices that represents the input data. |
Definition at line 124 of file pcl_base.h.
| void pcl::PCLBase< PointInT >::setIndices | ( | const PointIndicesConstPtr & | indices | ) | [inline, inherited] |
Provide a pointer to the vector of indices that represents the input data.
| indices | a pointer to the vector of indices that represents the input data. |
Definition at line 135 of file pcl_base.h.
| void pcl::PCLBase< PointInT >::setIndices | ( | size_t | row_start, |
| size_t | col_start, | ||
| size_t | nb_rows, | ||
| size_t | nb_cols | ||
| ) | [inline, inherited] |
Set the indices for the points laying within an interest region of the point cloud.
| row_start | the offset on rows |
| col_start | the offset on columns |
| nb_rows | the number of rows to be considered row_start included |
| nb_cols | the number of columns to be considered col_start included |
Definition at line 151 of file pcl_base.h.
| virtual void pcl::PCLBase< PointInT >::setInputCloud | ( | const PointCloudConstPtr & | cloud | ) | [inline, virtual, inherited] |
Provide a pointer to the input dataset.
| cloud | the const boost shared pointer to a PointCloud message |
Definition at line 103 of file pcl_base.h.
| void pcl::BilateralUpsampling< PointInT, PointOutT >::setProjectionMatrix | ( | const Eigen::Matrix3f & | projection_matrix | ) | [inline] |
Method that sets the projection matrix to be used when unprojecting the points in the depth image back to (x,y,z) positions.
| [in] | projection_matrix | the new projection matrix to be set |
Definition at line 130 of file bilateral_upsampling.h.
| void pcl::BilateralUpsampling< PointInT, PointOutT >::setSigmaColor | ( | const float & | sigma_color | ) | [inline] |
Method that sets the sigma color parameter.
| [in] | sigma_color | the new value to be set |
Definition at line 108 of file bilateral_upsampling.h.
| void pcl::BilateralUpsampling< PointInT, PointOutT >::setSigmaDepth | ( | const float & | sigma_depth | ) | [inline] |
Method that sets the sigma depth parameter.
| [in] | sigma_depth | the new value to be set |
Definition at line 118 of file bilateral_upsampling.h.
| void pcl::BilateralUpsampling< PointInT, PointOutT >::setWindowSize | ( | int | window_size | ) | [inline] |
Method that sets the window size for the filter.
| [in] | window_size | the given window size |
Definition at line 98 of file bilateral_upsampling.h.
| Eigen::Matrix3f pcl::BilateralUpsampling< PointInT, PointOutT >::KinectSXGAProjectionMatrix |
Definition at line 74 of file bilateral_upsampling.h.
| Eigen::Matrix3f pcl::BilateralUpsampling< PointInT, PointOutT >::KinectVGAProjectionMatrix |
Definition at line 74 of file bilateral_upsampling.h.
1.7.6.1