Download WIRELESS DIGITAL VIDEO CAMERA
Transcript
Wireless Digital Video Camera (1 byte) and blue intensity (1 byte) and reserved (1 byte). Therefore, for 256 colors (8 bits per pixel configuration) in our case, the size of the ColorTable section is 4x256=1024 bytes with the intensity of each color adjusted accordingly. 2.2.7.4 RasterData RasterData contains raw data from the camera. Since image compression is not used, the size of this section is equivalent to the size of the image itself. Figure 15 - One frame captured by the camera 2.3 Host software architecture The host software is programmed in Java. The host software is capable of displaying streams of images on its display panel, recording, playing back or deleting any recordings selected by the user. It receives incoming data from the PC-side embedded system via UART and analyzes it. When a full frame of image is received, it updates the display panel with the latest image and if the recording function is enabled, it stores a copy of the image in local memory. The application organizes a main thread which executes from program start up and two minor threads that handle auto-reconnect of serial connection and recording playback respectively. Figure 16 - Host software state machine for main thread 18