The Virtual Cockroach Project (VCP) Page

3 black & white frames in each RGB channel RGB, each channel from the corresponding channel of 3 different frames Same as the middle one, just using black background


500-frame,20 fps random loop generated from 46 frames footage.

uncompressed avi version (~35MByte)
compressed mpeg version (~3MByte) Not much quality degradation (this is 24fps due to the compression standard)
The log file


  • Output log file with date & time of process, and process parameters.
  • Reconstructed the cockroach movie with original background subtracted (new background is white).
  • Verified centroid and orientation angle calculated by making a "stick cockroach" movie and compared it with the original.
  • Using orientation angle as a starting point to exclude non-similar frames for frame-by-frame comparison.
  • Implemented frame-by-frame comprison using following simple methods to find some good looping points:
    • simple absolute value of pixel-by-pixel difference in RGB space.
    • B&W silhouette pixel-by-pixel comparion
  • The comparison results did not yield as a very good guide to visually smooth transition...

Week 16 (7/7-13/7)

  • Adding structural comments, batch processing trouble shooting, image output as png file with transparency layer
  • Trying to output log files that record program parameters and processed result.

Week 15 (30/6-6/7)

Tidying up code and display - Break up the code into smaller modules for better management. Help from Peter:-
  • Hue, Saturation, Value color space
  • Learnt batch process
  • Direction of research might go towards similarity measurement of images

Week 12 (9/6-15/6)

Working on the video frames
  • Desequence video into .bmp frames using Virtual-dub
  • Background subtraction, finding centroid and orientation. (moments.m)
  • All codings are in MATLAB 6.5

Week 11 (2/6-8/6)

Preparation...

Week 10 (26/5-1/6)

Obtaining video footage to validate video rewrite methods - the born of this project.

Week 9 (19/5-25/5)