Skip to main content Link Search Menu Expand Document (external link)

skeltocolor method

🔌dp.kinect2
signature
skeltocolor X Y Z [X Y Z...]
values
skeltocolor COLOR_U COLOR_V
examples
skeltocolor 850 105

Transform real-world XYZ coordinates to color UV coordinates where U is column and V is row. The result is affected by the values of: @distmeter, @flipx, @align, @position, @quat, @rotate, @rotatexyz, and @scale.

Examples

# single real-world coordinate
skeltocolor -1.1 0.4 2.4    <- one XYZ real-world coordinate sent to inlet
skeltocolor 850 105         <- one UV color coordinate received from outlet

# multiple real-world coordinates
skeltocolor -1.1 0.4 2.4 3.1 5.0 3.7  <- multiple XYZ real-world coordinates sent to inlet
skeltocolor 850 105 1450 650          <- multiple UV color coordinates received from outlet