Skip to content

code-with-ayyan/Numpy-image-studio

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

2 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

๐Ÿ“ธ NumPy Image Studio

A lightweight image processing project built entirely with Python and NumPy. This project demonstrates how to manipulate digital images at the pixel level using array operations instead of high-level AI libraries.

๐Ÿ› ๏ธ Features Implemented

  • Grayscale: Converts RGB images using Channel Mean Aggregation.
  • Image Flipping: Horizontal mirroring via NumPy Slicing ([::-1]).
  • Brightness: Intensity control using NumPy Broadcasting and Clipping.
  • Smart Cropping: Region extraction through Array Indexing.

๐Ÿง  Key Concepts Used

  • 3D Array Slicing: Manipulating Height, Width, and Color channels.
  • Broadcasting: Applying scalar math across entire image matrices.
  • Axis Operations: Performing calculations across specific dimensions (RGB axis).
  • Data Visualization: Rendering processed arrays using Matplotlib.

๐Ÿš€ How to Run

  1. Ensure you have Python installed.
  2. Install dependencies: pip install numpy matplotlib pillow.
  3. Place your image as photo.jpeg in the project folder.
  4. Run main.py.

About

A NumPy-based image manipulation engine that performs Grayscale conversion, Flipping, Brightness adjustment, and Cropping using raw Matrix Math and Slicing

Topics

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages