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.

GLCM

Gray Level CoOccurrance Matrix

-Code:
  • graylevelcomatrix.m -plots Contrast, Correlation, Energy and Homogeneity for still images. Done for Camouflage and non-camouflage.
  • RealTimeGLCM.m -plots Contrast, Correlation, Energy and Homogeneity for a single camera input.
  • RealTimeGLCM5.m -plots Contrast, Correlation, Energy and Homogeneity for 5 cameras.

USB Bandwidth Issues Strike Again!

USB bandwidth issues were experienced using the desktop PC.

Solution:
Make sure the Logitech Cameras are connected to the two front USB ports.
Three other cameras can be connected in the back USB ports.

Wednesday, July 30, 2008

Centroids & Transformations

Code:

  • MCDemo5.m -5 Camera image subtraction demo
  • MCDemo5Calibration.m -5 camera image subtraction n transform using T matrix from calibration code
  • MCDemoCentroid.m - 5 Camera image subtraction and centroid display
  • Calibration.m - Code to select points and calibrate cameras. Use a checkerboard or any object and use the resulting transform.mat

Note: Image5 must be from the topview camera. All other images will be transformed to this plane of view.

Friday, July 18, 2008

ImAcq and Detection: 4 Cameras

Happy Bday!! :D

-Code:
  • 4avidiffimproved.m - displays result of frame differencing on 4 RGB videos at once
  • 4aviplay.m - displays 4 RGB videos on a single figure
  • 4avidiffgray.m - displays result of frame differencing on 4 grayscale videos at once
  • 4aviplaygray.m - displays 4 grayscale videos on a single figure
  • 4avidiffbw.m -displays result of frame differencing and thresholding in B&W

Wednesday, July 16, 2008

ImAcq & Frame differencing

Image data was successfully acquired from 4 cameras with the scenario setup. Camouflage makes detection less obvious, but movement breaks the camouflage.

-Code:

Friday, July 11, 2008

Projective Transformation #2: Select Points

-Code:
  • selectptstransform.m - calculates and applies a transform matrix by selecting correpsondence points from an image and a transformed version of it.

Thursday, July 10, 2008

Projective Transformations

This will be necessary when changing from one camera view to another.

Code:
  • transforms.m - translation, scale, shearing and rotation examples in matlab

Wednesday, July 2, 2008

ImAcq #5: Same Cameras

Using the same camera models allows the same frame rate and better synchronization.

-Code: