Write a program to place a red cross in the middle of an RGB image stored in memory
Ask Expert

Be Prepared For The Toughest Questions

Practice Problems

Write a program to place a red cross in the middle of an RGB image stored in memory

Q2

Mark centre: Write a program to place a red cross in the middle of an RGB image stored in memory, as shown in figure 2. The centre of the image is define as co ordinate position (11,11). This image is stored in memory using the packed RGB data type shown in figure 3. For more information on this data type refer to practical 9. This program must be named : markCentre.asm and submitted as a plain text file. 


The memory model ram 4Kx16 sim has already been configured to automatically load the tested image: bug24x24.ppm and store it at base address 1024. When your program has finished processing this image it must store the value 0x00 to address OxFFF to trigger the generation of the output image file: output.ppm. 

Submission: for this question you should submit: 

• markCentre.asm: a plain text file, assembly language program used to 

implement the mark centre functionality. You may also submit a single macro file : simpleCPUvid.m4 if used. Any ISE schematics (.sch files) that have been modified to implement this system. Any new ISE schematics (.sch files) and symbols (.sym files) that have been created to implement this system. 

• The file decoder.vhd if you have implement any new instructions.

Appendix

Hint
EngineeringOne of the most common formats for an image on a computer is in RGB. The three colors that make up one pixel are red, green, and blue. Computer screens use light to display color images through pixels: Red Green Blue (RGB). These represent each different hue; combining these produces all other shades or tints such as pink or purple....

Know the process

Students succeed in their courses by connecting and communicating with
an expert until they receive help on their questions

1
img

Submit Question

Post project within your desired price and deadline.

2
img

Tutor Is Assigned

A quality expert with the ability to solve your project will be assigned.

3
img

Receive Help

Check order history for updates. An email as a notification will be sent.

img
Unable to find what you’re looking for?

Consult our trusted tutors.

Developed by Versioning Solutions.