9. Using Matlab or C, write a program to convert a color bitmap into a *.mif file

Question:

9. Using Matlab or C, write a program to convert a color bitmap into a *.mif file with runlength encoding. Design a state machine to read out the memory and generate the RGB color signals to display the bitmap. Use a reduced resolution pixel size such as 160 by 120. Find a bitmap to display or create one with a paint program. It will work best if the bitmap is already 160 by 120 pixels or smaller. A school mascot or your favorite cartoon character might make an interesting choice. Limited internal memory is available in the FPGA, so a 12-bit RLE format with nine bits for length and three bits for color can be used with up to 7,600 locations on the UP3. Some boards have more slightly more memory as seen in Table 2.1. This means that the bitmap can only have several thousand color changes as the image is scanned across the display. Simple images such as cartoons have fewer color changes. A Matlab example is on the DVD.

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Related Book For  book-img-for-question

Rapid Prototyping Of Digital Systems

ISBN: 9780387726700

2nd Edition

Authors: James O Hamblen, Tyson S Hall, Michael D Furman

Question Posted: