Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Kinect for Windows SDK Programming Guide

You're reading from   Kinect for Windows SDK Programming Guide

Arrow left icon
Product type Paperback
Published in Dec 2012
Publisher Packt
ISBN-13 9781849692380
Length 392 pages
Edition 1st Edition
Languages
Tools
Arrow right icon
Author (1):
Arrow left icon
Abhijit Jana Abhijit Jana
Author Profile Icon Abhijit Jana
Abhijit Jana
Arrow right icon
View More author details
Toc

Table of Contents (19) Chapters Close

Kinect for Windows SDK Programming Guide
Credits
About the Author
Acknowledgement
About the Reviewers
www.PacktPub.com
Preface
1. Understanding the Kinect Device 2. Getting Started FREE CHAPTER 3. Starting to Build Kinect Applications 4. Getting the Most out of Kinect Camera 5. The Depth Data – Making Things Happen 6. Human Skeleton Tracking 7. Using Kinect's Microphone Array 8. Speech Recognition 9. Building Gesture-controlled Applications 10. Developing Applications Using Multiple Kinects 11. Putting Things Together Index

Seeing in low light


As we all know, IR is invisible to the human eye as it has a longer wavelength than the highest wavelength that a human eye can see in a spectrum. This same disadvantage of human beings is used as an advantage by using an IR light to see in the dark. The Kinect SDK provides an API that can help us read the same data.

Capturing IR stream data is as simple as capturing a color image stream, as the SDK returns the infrared stream as a part of the color image stream data. The only changes are ColorImageFormat and PixelFormats. You can simply change the following two sections in the code block that we have discussed in the Capturing color image from the Kinect camera section.

  1. Enable the ColorStream with InfraredResolution640x480Fps30:

    this.sensor.ColorStream.Enable(ColorImageFormat.InfraredResolution640x480Fps30);
  2. Set the PixelFormats to Gray16 while creating the bitmap source as assigning it to image control:

    this.VideoControl.Source = BitmapSource.Create(
    imageFrame.Width, imageFrame...
lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime
Banner background image