MCPcopy Create free account
hub / github.com/OpenKinect/libfreenect2 / colorFrameRGB888

Method colorFrameRGB888

src/openni2/Registration.cpp:66–76  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

64}
65
66void Registration::colorFrameRGB888(libfreenect2::Frame* colorFrame, libfreenect2::Frame* registeredFrame)
67{
68 if (!reg)
69 {
70 reg = make_registration(dev);
71 }
72
73 libfreenect2::Frame undistorted(lastDepthFrame->width, lastDepthFrame->height, lastDepthFrame->bytes_per_pixel);
74
75 reg->apply(colorFrame, lastDepthFrame, &undistorted, registeredFrame);
76}
77
78void Registration::setEnable(bool enable) { enabled = enable; }
79

Callers 1

populateFrameMethod · 0.80

Calls 2

make_registrationFunction · 0.85
applyMethod · 0.80

Tested by

no test coverage detected