Skip to content

This program will read a bmp image and process according the user choice. MIPS assembly language and Mars 4.5 was used to achieve this task. Fully working.

License

Notifications You must be signed in to change notification settings

gdinn/mips_image_processing

Repository files navigation

mips_image_processing

Language used to comment in the whole code is english.

This program will read a bmp image and process according the user choice. MIPS assembly language and Mars 4.5 was used to achieve this task. To get the thing working, just put mars into the same folder as the main.asm file and img.bmp as well. It should work fine.

The implemented filters are:

  • Color Rotation
  • Rotation 90 degree left and right
  • Horizontal and vertical image flip
  • Color invertion
  • Grayscale
  • Greenscale
  • First byte histogram (for grayscale images)
  • Pixel average
  • Contrast adjust for grayscale images (better performance) and for colored ones

To print the image go in Tools>Bitmap Display. Choose 512 on width, 512 on height, connect to mips and then build and execute the code.

The result

If your bitmap display is configured like the above you are all set.

Author: Igor Godinho Debastiani

It was made as a college work to the grade Microprocessors at Instituto Federal de Santa Catarina (IFSC). Florianópolis, Brazil.

About

This program will read a bmp image and process according the user choice. MIPS assembly language and Mars 4.5 was used to achieve this task. Fully working.

Topics

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published