#include <stdio.h>
#include <iostream>
namespace HDK_Sample {
static void
{
std::cerr << "Usage: " << program << " dsmfile\n";
std::cerr << "Prints out information about a deep camera/shadow image\n";
}
template <typename FTYPE> static void
printTuple(const FTYPE *pixel, int vsize)
{
int i;
for (i = 1; i < vsize; i++)
}
static void
{
{
printf(
"\tUnable to open pixel [%d,%d]!\n", x, y);
return;
}
printf(
"Pixel[%d,%d][%d]\n", x, y, depth);
{
if (depth)
{
for (d = 1; d <
depth; d++)
{
}
}
}
}
static void
{
if (opt)
{
opt->appendPyDictionary(wbuf);
}
}
}
using namespace HDK_Sample;
int
{
int xres, yres;
dumpOptions(fp);
printf(
"%s[%d,%d] (%d channels)\n",
printPixel(fp, 0, 0);
printPixel(fp, xres>>1, 0);
printPixel(fp, xres-1, 0);
printPixel(fp, 0, yres>>1);
printPixel(fp, xres>>1, yres>>1);
printPixel(fp, xres-1, yres>>1);
printPixel(fp, 0, yres-1);
printPixel(fp, xres>>1, yres-1);
printPixel(fp, xres-1, yres-1);
return 0;
}