Public Member Functions | Public Attributes
object_recognition_clusters.cluster_bounding_box_finder.ClusterBoundingBoxFinder Class Reference

class for using PCA to find the principal directions and bounding box for a point cluster More...

List of all members.

Public Member Functions

def __init__
def find_object_frame_and_bounding_box
 find the object frame and bounding box for a PointCloud or PointCloud2 use the local rosparam z_up_frame to specify the desired frame to use where the z-axis is special (box z will be frame z) if not specified, the point cloud's frame is assumed to be the desired z_up_frame
def mean_shift_xy
 shift the points to be around the mean for x and y (matrix is 4xn)
def pca
 run eigenvector PCA for a 2xn scipy matrix, return the directions (list of 2x1 scipy arrays)
def remove_outliers
 remove outliers from the cluster (4xn scipy matrix)

Public Attributes

 base_frame
 tf_broadcaster
 tf_listener

Detailed Description

class for using PCA to find the principal directions and bounding box for a point cluster

Definition at line 52 of file cluster_bounding_box_finder.py.


Constructor & Destructor Documentation

def object_recognition_clusters.cluster_bounding_box_finder.ClusterBoundingBoxFinder.__init__ (   self,
  tf_listener,
  tf_broadcaster,
  base_frame = "" 
)

Definition at line 54 of file cluster_bounding_box_finder.py.


Member Function Documentation

find the object frame and bounding box for a PointCloud or PointCloud2 use the local rosparam z_up_frame to specify the desired frame to use where the z-axis is special (box z will be frame z) if not specified, the point cloud's frame is assumed to be the desired z_up_frame

Definition at line 135 of file cluster_bounding_box_finder.py.

shift the points to be around the mean for x and y (matrix is 4xn)

Definition at line 79 of file cluster_bounding_box_finder.py.

run eigenvector PCA for a 2xn scipy matrix, return the directions (list of 2x1 scipy arrays)

Definition at line 67 of file cluster_bounding_box_finder.py.

remove outliers from the cluster (4xn scipy matrix)

Definition at line 89 of file cluster_bounding_box_finder.py.


Member Data Documentation

Definition at line 54 of file cluster_bounding_box_finder.py.

Definition at line 54 of file cluster_bounding_box_finder.py.

Definition at line 54 of file cluster_bounding_box_finder.py.


The documentation for this class was generated from the following file:


object_recognition_clusters
Author(s): Bence Magyar , Kaijen Hsiao
autogenerated on Wed Aug 26 2015 14:58:56