Documentation for Optic Flow Project

Overview
This project is divided into two main modules, the Edge Filter and the Optic Flow. The data (image) comes in as the payload of a UDP packet. If the packet is the proper size (0408 hex for a 32x32 image), then the packet is processed by the Edge Filter module, which outputs a UDP packet (keeping the same header and trailer information), with a smaller (1/8 size) payload of edge data, 1 bit per pixel. The edge data is then captured by the Optic Flow module as the reference frame, and then subsequent frames are compared to the reference frame (and become the next reference frame). The comparison results in 1 byte vectors, consisting of 2 4-bit one's-complement numbers. For example 01001110 would represent the vector (4,-6), which is 4 pixels to the right, and 6 pixels upwards. This makes the final payload 1/64 of the original payload size (0018 hex for the 32x32 case).
Limitations Modules Sample Inputs
  1.    
Sample Edge Filtered Output
  1.    
Sample Output Vectors
  1. Hex Version
    (N/A)(N/A)(N/A)(N/A)
    (2,-1)(2,-1)(2,-1)(N/A)
    (2,-1)(2,-1)(2,-1)(N/A)
    (2,-1)(2,-1)(2,-1)(N/A)
Waveforms References