Acquire Images with Kinect V1
The Kinect adaptor lets you acquire images using a Kinect for Windows V1 or V2 device. The Kinect V1 sensor runs on Windows 7 and above.
|Acquired image frames to MATLAB workspace|
|Most recently acquired image data|
|Immediately return single image frame|
|Obtain exclusive use of image acquisition device|
|Determine whether video input object is logging|
|Determine whether video input object is running|
|Determine whether image acquisition object is associated with image acquisition device|
|Wait until image acquisition object stops running or logging|
|Stop video input object|
|Clear image acquisition object from MATLAB workspace|
|Remove image acquisition object from memory|
|Remove data from memory buffer used to store acquired image frames|
|Convert video input objects to MATLAB code|
|Sequence of image frames as montage|
|Load image acquisition object into MATLAB workspace|
|Save image acquisition objects to MAT-file|
|Initiate data logging|
|Configure video input object trigger properties|
|Provide information about available trigger configurations|
|Image Acquisition Tool||(Removed) Acquire images and video from hardware|
Examples and How To
- Detect the Kinect V1 Devices
Because the Kinect for Windows camera has two separate sensors, the color sensor and the depth sensor, the toolbox lists two
imaqhwinfoon the adaptor to display the two device IDs.
- Acquire Image and Skeletal Data Using Kinect V1
This example shows how to create a
videoinputobject for the color sensor to acquire RGB images and then for the depth sensor to acquire skeletal data. It also outlines the properties of each sensor, and the skeletal metadata.
- Acquire Data from Kinect V1 Color and Depth Devices Simultaneously
You can synchronize the data from the Kinect for Windows color stream and the depth stream using software manual triggering.
- Use Skeleton Viewer for Kinect V1 Skeletal Data
You can acquire skeletal data and view the skeleton joints in a viewer. This example uses the viewer function to display the RGB image with skeleton joint locations overlaid on the image.
- Key Features and Differences in the Kinect V1 Support
Doing image acquisition with a Kinect for Windows camera is similar to using other cameras and adaptors, but has some key differences.
- Data Streams Returned by the Kinect V1 Adaptor in MATLAB
The Kinect for Windows V1 device returns these data streams in MATLAB®. The formats of the image and depth streams are outlined here.