Serialized Form
|
Class HelloVideo extends javax.swing.JFrame implements Serializable |
threshold
int threshold
mic
vxp.SoundSource mic
startX
int startX
startY
int startY
subImage
java.awt.image.BufferedImage subImage
|
Class WebCam extends javax.swing.JFrame implements Serializable |
ps
vxp.PixelSource ps
- This is reference to a PixelSource object from vxp.jar
elapsedTime
long elapsedTime
- This is handy for testing performance
kWidth
int kWidth
- Width and Height are set in one place.
Using 320,240 instead of 640,480 will make all your programming and transers faster
When you want to get fancy bump it up
kHeight
int kHeight
liveImage
java.awt.image.BufferedImage liveImage
- BufferedImage is now the the basic image format within java. Learn it, love it
freezeFrame
java.awt.image.BufferedImage freezeFrame
backgroundReference
int[] backgroundReference
- For frame differencing we will need an array to store the pixels from some previous frame.
This may be a frame from the very start of the program when the cameras view was clear (background removal)
or it may be from the previous froma (movement detection).
|
Class WebCamDisplay extends javax.swing.JApplet implements Serializable |
pictures
java.util.ArrayList pictures