96 lines
1.8 KiB
JSON
96 lines
1.8 KiB
JSON
{
|
|
"subsystem": "nui_depth_to_skeleton",
|
|
"provenance": "kinect/core/mapping/mapping.cpp depth_image_to_skeleton; inputs from kinect/tests/test_mapping.cpp round-trip test",
|
|
"projection_scale": 0.003501,
|
|
"depth_width": 640,
|
|
"depth_height": 480,
|
|
"tolerance_abs": 1e-06,
|
|
"tuples": [
|
|
{
|
|
"input": {
|
|
"px": 0,
|
|
"py": 0,
|
|
"packed_depth": 6400
|
|
},
|
|
"expected": {
|
|
"x": -0.448128,
|
|
"y": 0.33609600000000006,
|
|
"z": 0.8
|
|
},
|
|
"roundtrip_pixel": {
|
|
"px": 0,
|
|
"py": 0,
|
|
"packed_depth": 6400
|
|
}
|
|
},
|
|
{
|
|
"input": {
|
|
"px": 137,
|
|
"py": 91,
|
|
"packed_depth": 10000
|
|
},
|
|
"expected": {
|
|
"x": -0.400426875,
|
|
"y": 0.326030625,
|
|
"z": 1.25
|
|
},
|
|
"roundtrip_pixel": {
|
|
"px": 137,
|
|
"py": 91,
|
|
"packed_depth": 10000
|
|
}
|
|
},
|
|
{
|
|
"input": {
|
|
"px": 320,
|
|
"py": 240,
|
|
"packed_depth": 20000
|
|
},
|
|
"expected": {
|
|
"x": 0.0,
|
|
"y": -0.0,
|
|
"z": 2.5
|
|
},
|
|
"roundtrip_pixel": {
|
|
"px": 320,
|
|
"py": 240,
|
|
"packed_depth": 20000
|
|
}
|
|
},
|
|
{
|
|
"input": {
|
|
"px": 434,
|
|
"py": 171,
|
|
"packed_depth": 20000
|
|
},
|
|
"expected": {
|
|
"x": 0.4988925,
|
|
"y": 0.30196125,
|
|
"z": 2.5
|
|
},
|
|
"roundtrip_pixel": {
|
|
"px": 434,
|
|
"py": 171,
|
|
"packed_depth": 20000
|
|
}
|
|
},
|
|
{
|
|
"input": {
|
|
"px": 630,
|
|
"py": 468,
|
|
"packed_depth": 32000
|
|
},
|
|
"expected": {
|
|
"x": 2.17062,
|
|
"y": -1.596456,
|
|
"z": 4.0
|
|
},
|
|
"roundtrip_pixel": {
|
|
"px": 630,
|
|
"py": 468,
|
|
"packed_depth": 32000
|
|
}
|
|
}
|
|
]
|
|
}
|