A lightweight image processing toolkit for Python
Project description
Pixrr : A lightweight image processing toolkit for python
pixrr is a lightweight, beginner-friendly image processing library built for fast experimentation and teaching.
It focuses on simplicity, clean function names, and easy-to-understand code, making it useful both for quick image tasks and for pedagogical environments such as introductory image processing courses.
Features (Planned & Implemented)
Core Utilities
- Convert color images to grayscale and binary
- Basic I/O helpers (read, write, display)
- Plot and analyze histograms
- Image thresholding
- Image Cropping and Rotation (planned)
Filtering & Enhancement
- Convolution using masks
- Convolution using FFT (planned)
- Contrast enhancement
- Histogram equalization
- Smoothing filters (Gaussian, median, weighted median)
- Sharpening and Laplacian operators
Edge and Gradient Detection
- Prewitt and Sobel (horizontal & vertical)
- Second-order derivatives
- Canny edge detector (planned)
Segmentation & Classification
- Otsu thresholding
- K-means clustering for image segmentation
- Mean-Shift clustering (planned)
- EM/Bayesian pixel classification (planned)
Project Roadmap
| Stage | Goal |
|---|---|
| Part 1 | Basic conversions, contour extraction, histogram tools |
| Part 2 | Convolution, enhancement techniques, gradient operators |
| Part 3 | Automatic segmentation & clustering |
| Part 4 | Advanced edge detection and EM classification |
Installation (when it’s live)
pip install pixrr
(Currently under development. Not on PyPI yet.)
Usage Example
import pixrr as pix
# Example
img = pix.handle_image("peda_img/test_images/test2.png")
grey = pix.convert_to_gray(img)
# Applying gaussian
pix.show_image(pix.gaussian_smoothing(grey, kernel_size=3))
Contribution
This library is early-stage but open to improvements, bug reports, and algorithm implementations. Ideal for students learning image processing or developers wanting simple utilities without heavy dependencies.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pixrr-1.0.0.tar.gz.
File metadata
- Download URL: pixrr-1.0.0.tar.gz
- Upload date:
- Size: 15.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
bbb28f70f4a2ca43c6e35d35f4cc83e6d77ff0712bb636ef4f3708485f55a067
|
|
| MD5 |
da0bcefdc297f016ec33eccf52c48031
|
|
| BLAKE2b-256 |
7e47985298ea8baba60f0053d1bd2dd5efd4fb8e860b2cda0f6559076a03ebcb
|
File details
Details for the file pixrr-1.0.0-py3-none-any.whl.
File metadata
- Download URL: pixrr-1.0.0-py3-none-any.whl
- Upload date:
- Size: 17.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7ce7503173d19ca8b0ae29c500fd66f602f5cd746c9326723bb8ac6a572162ab
|
|
| MD5 |
d37ee66affee835a7cc7d2b0b507ac3d
|
|
| BLAKE2b-256 |
1caf1a6727fae889299a3b888be8b8824ee224e23eec4e74ea73a98143722d3a
|