/Histogram

Relative Frequency Histogram applied to images using Python

Primary LanguageJupyter NotebookMIT LicenseMIT

Histogram

GitHub language count GitHub top language GitHub repo size GitHub

Converts all the images found in a directory to grayscale and plots the Relative Frequency Histogram for each image.

Overview

This Jupyter Notebook shows step by step, the process of visualizing the Histogram of the Relative Frequency of images using Python.

Histogram Example Image

Dependencies

  • PIL
  • glob
  • matplotlib
  • numpy
  • os

You can install missing dependencies with pip.

Usage

  1. Install the dependencies;
  2. Run Jupyter Notebook in terminal to see the code in your browser.

Credits

License

Code released under the MIT license.