Abstract
This article will supply background and usage information about the new specification for eXtensible Device Metadata (XDM). There are also sample XDM files attached, which you can use when working with depth data from the Intel® RealSenseTM camera.
Overview
The eXtensible Device Metadata (XDM) specification supports the capture of images, which are also embedded with depth and other metadata including camera orientation and location. XDM 1.0 supports the JPEG image container but also applies to PNG, TIFF, GIF, and more.
XDM provides additional data while maintaining backward compatibility with common existing image viewers. XDM files are very useful when working with camera image captures that include depth data. The depth data is added as a separate depth map.
Data Collection

Figure 1: Intel® RealSense™ Camera R200
Attached to this article is a zip of sample XDM files that are reference images from an Intel® RealSense™ R200 camera, the first generation of world-facing 3D cameras based on active stereoscopic depth technology. You can order a developer kit directly from Intel Corporation at http://click.intel.com/intel-realsense-developer-kit-r200.html or use a PC or tablet with an integrated Intel RealSense R200 camera.
The Intel RealSense SDK allows saving depth data as well as camera location and orientation from all of the Intel RealSense cameras into XDM format. This metadata is very useful to get context for images.
Getting started with XDM files

The attached data includes a wide variety of images taken using the Intel RealSense R200 and saved using the Intel RealSense SDK. Scenes are varied to provide different perspectives and different usages.
The source code for reading/writing XDM files is available from https://github.com/IntelRealSense/.
The source code shows how to get access in various languages e.g. C++, Java and JavaScript.
More Information
To find out more about XDM and Intel® RealSense™ technology, refer to the following references:.
- The Intel® RealSense™ R200 Camera (world facing) :
- https://software.intel.com/en-us/realsense/r200camera
https://software.intel.com/en-us/articles/realsense-r200-camera - The XDM specification:
- https://software.intel.com/en-us/articles/the-extensible-device-metadata-xdm-specification-version-10
- Working with Depth Data
- https://software.intel.com/en-us/articles/realsense-depth-data
About the Authors
| Houman Alagha is a software architect at Intel focusing on Enhanced depth photography. He has been working on the various depth file formats in the past several years and is working on creating a multiplatform ecosystem to support XDM. | |
| Teri Morrison is a software architect at Intel focusing on Intel® RealSense™ SDK. She has worked on NASA projects, graphics driver products and physics, graphics and perception computing samples. She received her M.S. in Applied Mathematics with minor in Computer Science from the University of Colorado. |