Skip to main content

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.


Metadata

Release files for pixrr 1.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pixrr 1.0.0
File Size Uploaded Provenance
pixrr-1.0.0.tar.gz 15.9 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for pixrr 1.0.0
File Interpreter ABI Platform
pixrr-1.0.0-py3-none-any.whl Python 3 none any Details

Total release size: 33.3 kB

Release files / pixrr-1.0.0.tar.gz

Download URL pixrr-1.0.0.tar.gz
Size 15.9 kB
Tags Source
SHA-256 checksum
How to use checksums
bbb28f70f4a2ca43c6e35d35f4cc83e6d77ff0712bb636ef4f3708485f55a067
BLAKE2b-256 checksum
How to use checksums
7e47985298ea8baba60f0053d1bd2dd5efd4fb8e860b2cda0f6559076a03ebcb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.4

Release files / pixrr-1.0.0-py3-none-any.whl

Download URL pixrr-1.0.0-py3-none-any.whl
Size 17.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
7ce7503173d19ca8b0ae29c500fd66f602f5cd746c9326723bb8ac6a572162ab
BLAKE2b-256 checksum
How to use checksums
1caf1a6727fae889299a3b888be8b8824ee224e23eec4e74ea73a98143722d3a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.4

Security for pixrr 1.0.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

Release history Release notifications | RSS feed

This release

1.0.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page