Windows desktop application which allows to change contrast of any photo.
The goal of this application was to implement an alghoritm, which changes image contrast, in both c# and asm and compares their execution times. So as to examine alghoritms execution times a comparison was made between images of diffrent quality. Each alghoritm (asm, c#, optimized c#) performed image contrast processing on the same photos using the same contrast factor value. Immediately, it turned out that the fastest alghoritm was the one written in assembly. Alghoritm implemented in c# with Microsoft optimization turned on was almost two times slower. Shockingly, when optimization was turned off, it took almost 10 times more time for c# alghoritm to perform the same image processing compared to asm. Detailed results of the comparison are below in images section.
- Start the program.
- Choose which implementation of image contrast changing alghoritm you desire (by default its asm).
- Choose an image which contrast you want to change.
- Choose value of contrast factor.
- Click calculate button.
- Optionally, you can save your photo.
- c#
- asm
- xml
- Visual studio
Finished