An open API service indexing awesome lists of open source software.

https://github.com/sulaimanniazi/image-histogram-generator

Python based image histogram generator and plotter
https://github.com/sulaimanniazi/image-histogram-generator

cv2 cv2-library histogram image image-processing numpy os pylab python python-script python3 random skimage

Last synced: 7 months ago
JSON representation

Python based image histogram generator and plotter

Awesome Lists containing this project

README

          

# Image Histogram Generator

A Python project that takes an image file path as input then generates and plots its histogram.

## Table of Contents
- [Features](#Features)
- [Installation](#Installation)
- [Usage](#Usage)
- [Requirements](#Requirements)

## Features

- **Image Input**: The program accepts an image file path.
- **Dynamic Processing**: Transformations or operations can be applied to the input image.
- **Interactive Prompt**: The script prompts the user for the file path.

## Installation

1. Clone the repository:
```bash
git clone https://github.com/SulaimanNiazi/Image-Histogram-Generator.git
```
2. Navigate to the project directory:
```bash
cd Image-Histogram-Generator
```
3. Install the required dependencies:
```bash
py -m pip install -r requirements.txt
```

## Usage

Run the Python script:
```bash
python '.\histogram generator.py'
```

The program will prompt for the file path to an image:
```
Enter the image file path: path/to/image.jpg
```

Provide the path, and the script will process the image.

## Requirements

- Python 3.7 or higher
- Required Python libraries (install using `requirements.txt`)

---
Feel free to reach out for collaboration or if you have any questions!