public KinectData(SerializationInfo info, StreamingContext ctxt) { _depth = (short[])info.GetValue("depth", typeof(short[])); _color = (byte[])info.GetValue("color", typeof(byte[])); _mapped = new ColorImagePoint[_width * _height]; }