Functions | Variables
hai_sandbox::test11_surf_sm Namespace Reference


def csv_bag_names
def features_mat_compress


tuple bridge = CvBridge()
tuple colors = np.matrix(np.random.randint(0, 255, (3, features_db_reduced.shape[1])))
list coordinated_colors = colors[:, matching_idx]
tuple features_db = np.column_stack([ut.load_pickle(p[0]) for p in csv_bag_names(features_file)])
tuple features_db_reduced = features_mat_compress(features_db, 500)
list features_file = sys.argv[1]
tuple features_tree = sp.KDTree(np.array(features_db_reduced.T))
string forearm_cam_l = '/l_forearm_cam/image_rect_color'
int i = 0
tuple image = bridge.imgmsg_to_cv(msg, 'bgr8')
tuple image_gray = fea.grayscale(image)
list images_file = sys.argv[2]
list matching_idx = [features_tree.query(d)[1] for d in surf_descriptors]
tuple nimage = fea.draw_surf2(image, surf_keypoints, coordinated_colors)

Function Documentation

Definition at line 14 of file

Definition at line 20 of file

Variable Documentation

Definition at line 39 of file

tuple hai_sandbox::test11_surf_sm::colors = np.matrix(np.random.randint(0, 255, (3, features_db_reduced.shape[1])))

Definition at line 37 of file

Definition at line 57 of file

Definition at line 33 of file

Definition at line 34 of file

Definition at line 31 of file

Definition at line 38 of file

string hai_sandbox::test11_surf_sm::forearm_cam_l = '/l_forearm_cam/image_rect_color'

Definition at line 41 of file

Definition at line 46 of file

tuple hai_sandbox::test11_surf_sm::image = bridge.imgmsg_to_cv(msg, 'bgr8')

Definition at line 48 of file

Definition at line 50 of file

Definition at line 32 of file

list hai_sandbox::test11_surf_sm::matching_idx = [features_tree.query(d)[1] for d in surf_descriptors]

Definition at line 56 of file

tuple hai_sandbox::test11_surf_sm::nimage = fea.draw_surf2(image, surf_keypoints, coordinated_colors)

Definition at line 60 of file

Author(s): Hai Nguyen
autogenerated on Wed Nov 27 2013 11:46:56