
Kinect Chapter 2.3. Changing the Background

From the website:

  Kinect Open Source Programming Secrets
  http://fivedots.coe.psu.ac.th/~ad/kinect/

  Dr. Andrew Davison
  Dept. of Computer Engineering
  Prince of Songkla University
  Hat yai, Songkhla 90112, Thailand
  E-mail: ad@fivedots.coe.psu.ac.th


If you use this code, please mention my name, and include a link
to the website.

Thanks,
  Andrew

============================


This directory contains 2 Java files:
  *  ChangeBG.java, 
     ViewerPanel.java


Three background images:
  * city.png
    parkBench.jpg
    snowyRoad.jpg
      - you can add more, but make sure they are 640x480 pixels large,
        which matches the size of the Kinect camera image

      - I recommend crouching on a chair with the city background -- 
        the chair will disappear into the background, and you'll end up on the mat.


Two batch files:
  *  compile.bat
  *  run.bat
     - make sure they refer to the correct location for OpenNI;


----------------------------
Before Compilation/Execution:

You need to download and install:
    1.	OpenNI
    2.	SensorKinect driver
    3.	NITE

For details, read section 3 of Chapter 2, or installInfo.txt
in this directory.


----------------------------
Compilation/Execution:

> compile *.java
    // you must have OpenNI, the SensorKinect driver, and NITE installed;

> run ChangeBG  <background image file name>
e.g.
> run ChangeBG parkBench.png
    // you must have OpenNI, the SensorKinect driver, and NITE installed;

----------------------------
Last updated: 19th April 2012
