Package boofcv.alg.depth
Class VisualDepthOps
java.lang.Object
boofcv.alg.depth.VisualDepthOps
Various functions and operations specific to visual depth sensors.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
depthTo3D
(CameraPinholeBrown param, GrayU16 depth, DogArray<Point3D_F64> cloud) Creates a point cloud from a depth image.static void
depthTo3D
(CameraPinholeBrown param, Planar<GrayU8> rgb, GrayU16 depth, DogArray<Point3D_F64> cloud, DogArray<int[]> cloudColor) Creates a point cloud from a depth image and saves the color information.
-
Constructor Details
-
VisualDepthOps
public VisualDepthOps()
-
-
Method Details
-
depthTo3D
Creates a point cloud from a depth image.- Parameters:
param
- Intrinsic camera parameters for depth imagedepth
- depth image. each value is in millimeters.cloud
- Output point cloud
-
depthTo3D
public static void depthTo3D(CameraPinholeBrown param, Planar<GrayU8> rgb, GrayU16 depth, DogArray<Point3D_F64> cloud, DogArray<int[]> cloudColor) Creates a point cloud from a depth image and saves the color information. The depth and color images are assumed to be aligned.- Parameters:
param
- Intrinsic camera parameters for depth imagedepth
- depth image. each value is in millimeters.rgb
- Color image that's aligned to the depth.cloud
- Output point cloudcloudColor
- Output color for each point in the cloud
-