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

Method depthToColor

src/openni2/Registration.cpp:82–90  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

80bool Registration::isEnabled() { return enabled; }
81
82void Registration::depthToColor(int dx, int dy, float dz, float& cx, float& cy)
83{
84 if (!reg)
85 {
86 reg = make_registration(dev);
87 }
88
89 reg->apply(dx, dy, dz, cx, cy);
90}

Callers 1

Calls 2

make_registrationFunction · 0.85
applyMethod · 0.80

Tested by

no test coverage detected