Skip Navigation Links.
Collapse <span class="m110 colortj mt20 fontw700">Volume 12 (2024)</span>Volume 12 (2024)
Collapse <span class="m110 colortj mt20 fontw700">Volume 11 (2023)</span>Volume 11 (2023)
Collapse <span class="m110 colortj mt20 fontw700">Volume 10 (2022)</span>Volume 10 (2022)
Collapse <span class="m110 colortj mt20 fontw700">Volume 9 (2021)</span>Volume 9 (2021)
Collapse <span class="m110 colortj mt20 fontw700">Volume 8 (2020)</span>Volume 8 (2020)
Collapse <span class="m110 colortj mt20 fontw700">Volume 7 (2019)</span>Volume 7 (2019)
Collapse <span class="m110 colortj mt20 fontw700">Volume 6 (2018)</span>Volume 6 (2018)
Collapse <span class="m110 colortj mt20 fontw700">Volume 5 (2017)</span>Volume 5 (2017)
Collapse <span class="m110 colortj mt20 fontw700">Volume 4 (2016)</span>Volume 4 (2016)
Collapse <span class="m110 colortj mt20 fontw700">Volume 3 (2015)</span>Volume 3 (2015)
Collapse <span class="m110 colortj mt20 fontw700">Volume 2 (2014)</span>Volume 2 (2014)
Collapse <span class="m110 colortj mt20 fontw700">Volume 1 (2013)</span>Volume 1 (2013)
American Journal of Applied Mathematics and Statistics. 2014, 2(4), 246-248
DOI: 10.12691/AJAMS-2-4-14
Original Research

Analyze JPEG File Size for Random Pictures Using Random Function in Mathematica

Tanvir Prince1,

1Mathematics, Hostos Community College, City University of New York, USA

Pub. Date: August 13, 2014

Cite this paper

Tanvir Prince. Analyze JPEG File Size for Random Pictures Using Random Function in Mathematica. American Journal of Applied Mathematics and Statistics. 2014; 2(4):246-248. doi: 10.12691/AJAMS-2-4-14

Abstract

Using the random function in Mathematica (a mathematical software), random numbers between 0 and 1 were generated which in turn used to create random pictures. The random values represent the gray scale of the black and white pictures. Thus hundreds of pictures were created randomly and compressed using JPEG algorithm. Then a directory list containing the file size is created and imported in the Microsoft excel worksheet to analyze. All the code is given in the paper that is used so that it can be carried out by any interested reader. As a byproduct, this can be used as a classroom activity or as a project for any college level mathematics courses.

Keywords

random pictures, mathematica, JPEG compression

Copyright

Creative CommonsThis work is licensed under a Creative Commons Attribution 4.0 International License. To view a copy of this license, visit http://creativecommons.org/licenses/by/4.0/

References

[1]  In Courtesy of en.wikipedia.org.
 
[2]  For more information about the software and to download the product the readers can visit www.wolfram.com.
 
[3]  Image Compression. (2011). Image Compression: How Math Led to the JPEG2000 Standard. Retrieved from Image Compression: How Math Led to the JPEG2000 Standard. (2011). Retriwww.whydomath.org/node/wavlets/basicjpg.html.
 
[4]  Group, S. (n.d.). JPEG Compression: What it is - when to use it - and when not to. Retrieved from Retrieved from the university of Oslo website: http://folk.uio.no/inf9540/SVD.pdf.
 
[5]  Rahman Z., J. D. (n.d.). Image enhancement, image quality, and noise, Photonic Devices and Algorithms for Computing., (pp. VII, Proc. SPIE 5907).
 
[6]  Prince, T., Franco, S., Salva, I., & Windolf, C. (2014). Mathematics Behind Image Compression. Journal of Student Research, 3(1), 46-62. Retrieved from http://www.jofsr.com/index.php/path.
 
[7]  Purdue University. (n.d.). A Brief Introduction to Mathematica. http://www.cs.purdue.edu/homes/ayg/CS590C/www/mathematica/math.html
 
[8]  Wolfram Mathematica. (2013). Hands-on Start to Mathematica. Retrieved from Wolfram: http://www.wolfram.com/broadcast/screencasts/handsonstart/.