InfraredFrame Class

Represents a frame that provides a view of the scene that looks just like a black and white photograph, but is actively lit, so brightness is consistent regardless of location and room brightness.

Syntax

public ref class InfraredFrame sealed : IClosable
public sealed class InfraredFrame : IDisposable
var infraredFrame = WindowsPreview.Kinect.InfraredFrame;

Members

InfraredFrame has the following members.

Properties

Name Description
FrameDescription Gets the description of the infrared frame.
InfraredFrameSource Gets the source of the infrared frame.
RelativeTime Gets the timestamp of the infrared frame.

Methods

Name Description
Close Releases system resources associated with the infrared frame.
CopyFrameDataToArray Copies the infrared frame data into the array provided.
CopyFrameDataToBuffer Copies the infrared frame data into the memory location provided.
LockImageBuffer Gives an app access to the underlying buffer used by the system to store this frame's data.

Remarks

The infrared frame is great for computer vision algorithms where texture is important, such as facial recognition. Data is stored as 16-bit unsigned integers. The infrared frame is also great for green screening, tracking reflective markers, and filtering out low-return (and therefore jittery) depth pixels. Note that the infrared frame is derived from the same sensor as depth, so the images are perfectly aligned. For example, the infrared pixel at row 5 col 9 goes with the depth pixel at row 5 col 9.

Requirements

Namespace: WindowsPreview.Kinect

Metadata: windowspreview.kinect.winmd

See also

Reference

WindowsPreview.Kinect Namespace