Skip to content

Latest commit

 

History

9 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 

Repository files navigation

Digital Image Processing

Overview

Each script aims to explore different aspects of image manipulation, analysis, and visualization. The goal is to implement intuitive and practical code for working with images, making it easier to understand and apply various digital image processing techniques.

Future Additions

More scripts will be added to cover a wide range of topics, including but not limited to:

  • Bitplane Slicing
  • Histogram Processing

Script Descriptions

SCRIPT 01 : image_matrix_reconstructor.py Open in Google Colab

This script takes an image and turns it into a grid of small squares that represent each pixel. Each square is filled with the color of the pixel it represents.

How It Works

  1. Load Image: The script loads an image.
  2. Extract Pixels: It gets the RGB values for each pixel.
  3. Create 3D Matrix: The pixel values are saved in a 3D matrix and written to a text file.
  4. Plot with Matplotlib: The script uses Matplotlib to create a plot where each square is filled with the corresponding pixel color.

What You See

The result "Matrix Plot RGB" is a colorful plot made of squares. It looks like the original image but is actually just a collection of squares representing the pixels.

Original Image

Image 1

Matrix to BGR

Image 2

Matrix Plot RGB

Image 3

About

This repository contains Python scripts focused on digital image processing. The goal is to implement intuitive and practical code for working with images, making it easier to understand and apply various digital image processing techniques.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages