Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pixrr-1.0.0.tar.gz (15.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pixrr-1.0.0-py3-none-any.whl (17.3 kB view details)

Uploaded Python 3

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

Hashes for pixrr-1.0.0.tar.gz
Algorithm Hash digest
SHA256 bbb28f70f4a2ca43c6e35d35f4cc83e6d77ff0712bb636ef4f3708485f55a067
MD5 da0bcefdc297f016ec33eccf52c48031
BLAKE2b-256 7e47985298ea8baba60f0053d1bd2dd5efd4fb8e860b2cda0f6559076a03ebcb

See more details on using hashes here.

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

Hashes for pixrr-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 7ce7503173d19ca8b0ae29c500fd66f602f5cd746c9326723bb8ac6a572162ab
MD5 d37ee66affee835a7cc7d2b0b507ac3d
BLAKE2b-256 1caf1a6727fae889299a3b888be8b8824ee224e23eec4e74ea73a98143722d3a

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page