Hi, about usage of kinect2, I was checking how to calculate the distance of a joint from floor.
As far as i know it can be calculated knowing the floor plane representation ( FloorClipPlane), is there any node of controbution retrieving that value ?
I know it can be just measured manually, but I was exploring Kinect2 nodes, and I found out camera intrinsincs, wondering if it can be useful for this operation.
My idea is to use the following formula once i know sensor phisycal height :
float distance = (Math.Abs((x * floorPlane.X) + (y * floorPlane.Y) + (z * floorPlane.Z) + floorPlane.W))/((float)Math.Sqrt((Math.Pow(floorPlane.X,2)) + (Math.Pow(floorPlane.Y, 2)) + (Math.Pow(floorPlane.Z, 2))));
Where x,y,z are values for a joint vector3
Any hints ?