Skip to content

xbarray.transformations.pointcloud.pytorch

Functions:

Name Description
farthest_point_sampling

base.farthest_point_sampling, with a GPU kernel where it applies. Without a mask the start is random, drawn by the generic code.

ball_query

base.ball_query, with a GPU kernel where it applies. The kernel's distances carry no gradient.

Attributes:

Name Type Description
gather_pixel_value
bilinear_interpolate
pixel_coordinate_and_depth_to_world
depth_image_to_world
world_to_pixel_coordinate_and_depth
world_to_depth
random_point_sampling
pointcloud_jitter

gather_pixel_value module-attribute

gather_pixel_value = partial(base_impl.gather_pixel_value, BindingBackend)

bilinear_interpolate module-attribute

bilinear_interpolate = partial(base_impl.bilinear_interpolate, BindingBackend)

pixel_coordinate_and_depth_to_world module-attribute

pixel_coordinate_and_depth_to_world = partial(
    base_impl.pixel_coordinate_and_depth_to_world, BindingBackend
)

depth_image_to_world module-attribute

depth_image_to_world = partial(base_impl.depth_image_to_world, BindingBackend)

world_to_pixel_coordinate_and_depth module-attribute

world_to_pixel_coordinate_and_depth = partial(
    base_impl.world_to_pixel_coordinate_and_depth, BindingBackend
)

world_to_depth module-attribute

world_to_depth = partial(base_impl.world_to_depth, BindingBackend)

random_point_sampling module-attribute

random_point_sampling = partial(base_impl.random_point_sampling, BindingBackend)

pointcloud_jitter module-attribute

pointcloud_jitter = partial(base_impl.pointcloud_jitter, BindingBackend)

farthest_point_sampling

farthest_point_sampling(points, num_samples, rng, points_valid=None)

base.farthest_point_sampling, with a GPU kernel where it applies. Without a mask the start is random, drawn by the generic code.

ball_query

ball_query(
    query_points, points, num_neighbors, radius, query_valid=None, points_valid=None
)

base.ball_query, with a GPU kernel where it applies. The kernel's distances carry no gradient.