Thursday, August 7, 2008

Background Subtraction in the Projected Space











USB Connection

USBs must be connected in a very specific manner:

back: 1 keyb
23

front: 5
4

ImAcq & Detection

-Code:

  • 5camdisplay.m - displays from 5 cameras
  • MCrectangle.m - Multiple camera, bgnd subtraction, projection, draws rectangle around detected object.

Wednesday, August 6, 2008

Notes

"Starfield" Problem: Cameras and transform matrices dont always coincide.

Threshold value T is very important to compare to individual camera results. (for MCBSTransform)

The order of doing Background subtraction and Transform matters. Do Transform first, then BS.

The order the background is subtracted also matters. image-backgnd or backgnd-image.

Transform & Background Subtraction

Which should be done first? Background subtraction or Projective Transform?

-Code:
MCBSTransform.m- 5 cameras, background subtract then transform DOESNT WORK!
MCTransformBS.m- 5 cameras, transform then background subtract
transformbackgndsub.m - still image transform then background subtract
backgndsubtransform.m - still image background subtract, then transform

GLCM Gray Level CoOccurrence Matrix

-Code:
  • blockimage.m - displays image by blocks, good for block processing
  • blockGLCM.m - calculates GLCM features for each block in an image
  • GLCMbackground.m - calculates GLCM features locally and compares them to the background features

Thursday, July 31, 2008

Projective Transformations!!

Projective Transformations

-Code:

  • transformimage5.m - takes still images from 4 cameras and applies a projective transformation. Returns an image on the ground plane, comparable to the top view camera.

    Note: calibration.m must be run beforehand in order to generate the transform.mat which contains the transform matrices.