Looking inside depth image stream helpers
DepthImageFrame
and DepthImageStream
are the two classes that actually take care of all the depth data processing.
The following class diagram is a representation that will help you quickly understand the overall depth image frames and their associations, which we have discussed earlier. Each individual depth frame is represented by the DepthImageFrame
class. The DepthImageFrame
class is a sealed class and is derived from an ImageFrame
base class. Whenever there is a frame from the sensor, DepthFrameReady
events fire up with DepthImageFrameReadyEventArgs
, which has the OpenDepthImageFrame()
method exposed. OpenDepthImageFrame()
returns the type of DepthImageFrame
with the DepthImageFormat
type that was specified during stream channel initialization. The data that is returned from the sensor can be processed further inside the DepthFrameReady
event handler.
The depth image stream represents the succession of the depth image frame coming from Kinect...