C H A P T E R  6

Voxelization

In this chapter, we’ll discuss voxelization and develop a people tracking system. We’ll cover the following:

  • What a voxel is
  • Why you would want to voxelize your data
  • How to make, manipulate, and use voxels
  • Why people are rectangles

What Is a Voxel?

A voxel is the three-dimensional equivalent of a pixel—a box, rather than a point, in space that has a volume. Imagine taking an object and then decomposing into cubes, all of the same size. Or, if you’d prefer, building an object out of LEGOs or in Minecraft, much like a cubist painting. See Figure 6-1 for an example of a voxelized scene.

images

Figure 6-1. A voxelized ...

Get Hacking the Kinect now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.