Search this site
Embedded Files
Skip to main content
Skip to navigation
Phib 2017
Home
Development
Installation
Kinect-enabled App
Data Streams
Pixel Format
Summer 2017 Schedule
Week 0
Week 1 (5/15 - 5/21)
Week 2 (5/22 - 5/28)
Week 3 (5/29 - 6/4)
Week 4 (6/5 - 6/11)
Week 5 (6/12 - 6/18)
Fall 2017 Schedule
Week 0-1-2
Week 3 (10/13 - 10/19)
Week 4 (10/20 - 10/26)
Week 5 (10/27 - 11/2)
Week 6 (11/3 - 11/9)
Week 7 (11/10 - 11/16)
Week 8 & 9 (11/17 - 11/30)
Phib 2017
Home
Development
Installation
Kinect-enabled App
Data Streams
Pixel Format
Summer 2017 Schedule
Week 0
Week 1 (5/15 - 5/21)
Week 2 (5/22 - 5/28)
Week 3 (5/29 - 6/4)
Week 4 (6/5 - 6/11)
Week 5 (6/12 - 6/18)
Fall 2017 Schedule
Week 0-1-2
Week 3 (10/13 - 10/19)
Week 4 (10/20 - 10/26)
Week 5 (10/27 - 11/2)
Week 6 (11/3 - 11/9)
Week 7 (11/10 - 11/16)
Week 8 & 9 (11/17 - 11/30)
More
Home
Development
Installation
Kinect-enabled App
Data Streams
Pixel Format
Summer 2017 Schedule
Week 0
Week 1 (5/15 - 5/21)
Week 2 (5/22 - 5/28)
Week 3 (5/29 - 6/4)
Week 4 (6/5 - 6/11)
Week 5 (6/12 - 6/18)
Fall 2017 Schedule
Week 0-1-2
Week 3 (10/13 - 10/19)
Week 4 (10/20 - 10/26)
Week 5 (10/27 - 11/2)
Week 6 (11/3 - 11/9)
Week 7 (11/10 - 11/16)
Week 8 & 9 (11/17 - 11/30)
Week 5 (6/12 - 6/18)
Schedule
Mon, June 12
Meeting: 2:00 - 2:30 pm
Notes:
split up packets
concern: UDP is unreliable and packets can not arrive at all or arrive in different order
ensure ordering and reliable delivery
align depth and rgb frame:
coordinate mapper
Tues, June 13
Meeting: 2:00 - 2:10 pm
Notes:
complete serialization
Wed, June 14
Meeting: 10:00 - 10:45 am
Notes:
Ditch serialization
Just Append Data to Byte Array
Thurs, Jun. 15
Notes:
Appended data ( timestamp, count, serial number)
Fri, Jun. 16
Notes:
compression
Sat, Jun. 17
Notes:
Kinect shut down immediately
UDP packet
Sender:
packet class
id
data
serial number
amount
timestamp
Receiver
pool
dispose if overdue
check if complete
serialize an object into an array of bytes (Portable Class Library)
BinaryFormatter Class
Serializes and deserializes an object, or an entire graph of connected objects, in binary format.
BinaryFormatter()
MemoryStream Class
Creates a stream whose backing store is memory.
ToArray()
Writes the stream contents to a byte array, regardless of the
Position
property.
This method omits unused bytes in
MemoryStream
from the array. To get the entire buffer, use the
GetBuffer
method.
GetBuffer()
Returns the array of unsigned bytes from which this stream was created.
GetBuffer vs ToArray
When you create a
MemoryStream
without providing a byte array (
byte[]
) , it creates an expandable capacity initialized to zero.
To obtain only the data in the buffer, use the ToArray method; however, ToArray creates a copy of the data in memory.
Use the
GetBuffer
method of the MemoryStream to avoid copying the data to a new byte array before you compress it.
Report abuse
Report abuse