Namespaces | Functions | Variables
test11_surf_sm.py File Reference

Go to the source code of this file.

Namespaces

namespace  hai_sandbox::test11_surf_sm

Functions

def hai_sandbox::test11_surf_sm.csv_bag_names
def hai_sandbox::test11_surf_sm.features_mat_compress

Variables

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


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