@Namespace(value="libfreenect2")
@NoOffset
public static class freenect2.Registration
extends org.bytedeco.javacpp.Pointer
| Constructor and Description |
|---|
Registration(freenect2.Freenect2Device.IrCameraParams depth_p,
freenect2.Freenect2Device.ColorCameraParams rgb_p) |
Registration(org.bytedeco.javacpp.Pointer p)
Pointer cast constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
apply(freenect2.Frame rgb,
freenect2.Frame depth,
freenect2.Frame undistorted,
freenect2.Frame registered) |
void |
apply(freenect2.Frame rgb,
freenect2.Frame depth,
freenect2.Frame undistorted,
freenect2.Frame registered,
boolean enable_filter,
freenect2.Frame bigdepth,
int[] color_depth_map) |
void |
apply(freenect2.Frame rgb,
freenect2.Frame depth,
freenect2.Frame undistorted,
freenect2.Frame registered,
boolean enable_filter,
freenect2.Frame bigdepth,
IntBuffer color_depth_map) |
void |
apply(freenect2.Frame rgb,
freenect2.Frame depth,
freenect2.Frame undistorted,
freenect2.Frame registered,
boolean enable_filter,
freenect2.Frame bigdepth,
org.bytedeco.javacpp.IntPointer color_depth_map)
Map color images onto depth images
|
void |
apply(int dx,
int dy,
float dz,
float[] cx,
float[] cy) |
void |
apply(int dx,
int dy,
float dz,
FloatBuffer cx,
FloatBuffer cy) |
void |
apply(int dx,
int dy,
float dz,
org.bytedeco.javacpp.FloatPointer cx,
org.bytedeco.javacpp.FloatPointer cy)
Undistort and register a single depth point to color camera.
|
void |
getPointXYZ(freenect2.Frame undistorted,
int r,
int c,
float[] x,
float[] y,
float[] z) |
void |
getPointXYZ(freenect2.Frame undistorted,
int r,
int c,
FloatBuffer x,
FloatBuffer y,
FloatBuffer z) |
void |
getPointXYZ(freenect2.Frame undistorted,
int r,
int c,
org.bytedeco.javacpp.FloatPointer x,
org.bytedeco.javacpp.FloatPointer y,
org.bytedeco.javacpp.FloatPointer z)
Construct a 3-D point in a point cloud.
|
void |
getPointXYZRGB(freenect2.Frame undistorted,
freenect2.Frame registered,
int r,
int c,
float[] x,
float[] y,
float[] z,
float[] rgb) |
void |
getPointXYZRGB(freenect2.Frame undistorted,
freenect2.Frame registered,
int r,
int c,
FloatBuffer x,
FloatBuffer y,
FloatBuffer z,
FloatBuffer rgb) |
void |
getPointXYZRGB(freenect2.Frame undistorted,
freenect2.Frame registered,
int r,
int c,
org.bytedeco.javacpp.FloatPointer x,
org.bytedeco.javacpp.FloatPointer y,
org.bytedeco.javacpp.FloatPointer z,
org.bytedeco.javacpp.FloatPointer rgb)
Construct a 3-D point with color in a point cloud.
|
void |
undistortDepth(freenect2.Frame depth,
freenect2.Frame undistorted)
Undistort depth
|
address, asBuffer, asByteBuffer, availablePhysicalBytes, calloc, capacity, capacity, close, deallocate, deallocate, deallocateReferences, deallocator, deallocator, equals, fill, formatBytes, free, hashCode, isNull, limit, limit, malloc, maxBytes, maxPhysicalBytes, memchr, memcmp, memcpy, memmove, memset, offsetof, parseBytes, physicalBytes, position, position, put, realloc, setNull, sizeof, toString, totalBytes, totalPhysicalBytes, withDeallocator, zeropublic Registration(org.bytedeco.javacpp.Pointer p)
Pointer.Pointer(Pointer).public Registration(@ByVal
freenect2.Freenect2Device.IrCameraParams depth_p,
@ByVal
freenect2.Freenect2Device.ColorCameraParams rgb_p)
depth_p - Depth camera parameters. You can use the factory values, or use your own.rgb_p - Color camera parameters. Probably use the factory values for now.public void apply(int dx,
int dy,
float dz,
@ByRef
org.bytedeco.javacpp.FloatPointer cx,
@ByRef
org.bytedeco.javacpp.FloatPointer cy)
dx - Distorted depth coordinate x (pixel)dy - Distorted depth coordinate y (pixel)dz - Depth value (millimeter)[out] - cx Undistorted color coordinate x (normalized)[out] - cy Undistorted color coordinate y (normalized)public void apply(int dx,
int dy,
float dz,
@ByRef
FloatBuffer cx,
@ByRef
FloatBuffer cy)
public void apply(int dx,
int dy,
float dz,
@ByRef
float[] cx,
@ByRef
float[] cy)
public void apply(@Const
freenect2.Frame rgb,
@Const
freenect2.Frame depth,
freenect2.Frame undistorted,
freenect2.Frame registered,
@Cast(value="const bool")
boolean enable_filter,
freenect2.Frame bigdepth,
org.bytedeco.javacpp.IntPointer color_depth_map)
rgb - Color image (1920x1080 BGRX)depth - Depth image (512x424 float)[out] - undistorted Undistorted depth image[out] - registered Color image for the depth image (512x424)enable_filter - Filter out pixels not visible to both cameras.[out] - bigdepth If not NULL, return mapping of depth onto colors (1920x1082 float). **1082** not 1080, with a blank top and bottom row.[out] - color_depth_map Index of mapped color pixel for each depth pixel (512x424).public void apply(@Const
freenect2.Frame rgb,
@Const
freenect2.Frame depth,
freenect2.Frame undistorted,
freenect2.Frame registered)
public void apply(@Const
freenect2.Frame rgb,
@Const
freenect2.Frame depth,
freenect2.Frame undistorted,
freenect2.Frame registered,
@Cast(value="const bool")
boolean enable_filter,
freenect2.Frame bigdepth,
IntBuffer color_depth_map)
public void apply(@Const
freenect2.Frame rgb,
@Const
freenect2.Frame depth,
freenect2.Frame undistorted,
freenect2.Frame registered,
@Cast(value="const bool")
boolean enable_filter,
freenect2.Frame bigdepth,
int[] color_depth_map)
public void undistortDepth(@Const
freenect2.Frame depth,
freenect2.Frame undistorted)
depth - Depth image (512x424 float)[out] - undistorted Undistorted depth imagepublic void getPointXYZRGB(@Const
freenect2.Frame undistorted,
@Const
freenect2.Frame registered,
int r,
int c,
@ByRef
org.bytedeco.javacpp.FloatPointer x,
@ByRef
org.bytedeco.javacpp.FloatPointer y,
@ByRef
org.bytedeco.javacpp.FloatPointer z,
@ByRef
org.bytedeco.javacpp.FloatPointer rgb)
undistorted - Undistorted depth frame from apply().registered - Registered color frame from apply().r - Row (y) index in depth image.c - Column (x) index in depth image.[out] - x X coordinate of the 3-D point (meter).[out] - y Y coordinate of the 3-D point (meter).[out] - z Z coordinate of the 3-D point (meter).[out] - rgb Color of the 3-D point (BGRX). To unpack the data, use
const uint8_t *p = reinterpret_castpublic void getPointXYZRGB(@Const
freenect2.Frame undistorted,
@Const
freenect2.Frame registered,
int r,
int c,
@ByRef
FloatBuffer x,
@ByRef
FloatBuffer y,
@ByRef
FloatBuffer z,
@ByRef
FloatBuffer rgb)
public void getPointXYZRGB(@Const
freenect2.Frame undistorted,
@Const
freenect2.Frame registered,
int r,
int c,
@ByRef
float[] x,
@ByRef
float[] y,
@ByRef
float[] z,
@ByRef
float[] rgb)
public void getPointXYZ(@Const
freenect2.Frame undistorted,
int r,
int c,
@ByRef
org.bytedeco.javacpp.FloatPointer x,
@ByRef
org.bytedeco.javacpp.FloatPointer y,
@ByRef
org.bytedeco.javacpp.FloatPointer z)
undistorted - Undistorted depth frame from apply().r - Row (y) index in depth image.c - Column (x) index in depth image.[out] - x X coordinate of the 3-D point (meter).[out] - y Y coordinate of the 3-D point (meter).[out] - z Z coordinate of the 3-D point (meter).public void getPointXYZ(@Const
freenect2.Frame undistorted,
int r,
int c,
@ByRef
FloatBuffer x,
@ByRef
FloatBuffer y,
@ByRef
FloatBuffer z)
public void getPointXYZ(@Const
freenect2.Frame undistorted,
int r,
int c,
@ByRef
float[] x,
@ByRef
float[] y,
@ByRef
float[] z)
Copyright © 2018. All rights reserved.