|
IVALab Python Libraries
Collection of code for computer vision and robotics with specific API.
|


Public Member Functions | |
| def | __init__ (self, intrinsic) |
| def | apply (self, depth_frame) |
| def | calibrate (self, depth_map) |
Public Member Functions inherited from tabletopPlaneEstimator | |
| def | get_PCA_results (self) |
| def | get_plane_params (self) |
| def | measure_plane (self, depth_map) |
| def | vis_plane (self, rgb) |
Public Attributes | |
| R | |
| T | |
Public Attributes inherited from tabletopPlaneEstimator | |
| intrinsic | |
| p_cam_map | |
| -(H, W, 3). More... | |
| pca | |
| plane_params | |
Estimate the height towards the perceived tabletop surface
Assuming the visual field contains only one surface,
Given the depth map and the camera intrinsic matrix,
The height estimator derive the transformation to get the distance map of each pixel to the surface.
The transformation will be directly applied on the homogeneous pixel coordinates.
Args:
intrinsic (np.ndarray. (3,3)): The camera intrinsic matrix.
| def __init__ | ( | self, | |
| intrinsic | |||
| ) |
Reimplemented from tabletopPlaneEstimator.
| def apply | ( | self, | |
| depth_frame | |||
| ) |
apply the calibrated transformation to a new frame
| def calibrate | ( | self, | |
| depth_map | |||
| ) |
| R |
| T |