Skip to main content

A pure Python computer vision library

Project description

Phovision

A pure Python computer vision library implementing various image processing algorithms from scratch. This library provides implementations of common image processing operations without depending on other image processing libraries.

Features

Currently implemented algorithms:

  • Gaussian Blur
  • Median Filter (Noise Removal)
  • Mean Filter (Averaging)
  • Bilateral Filter (Edge-preserving smoothing)

Installation

pip install .

Usage

import numpy as np
from phovision.filters import gaussian_blur, median_filter, mean_filter, bilateral_filter

# Load your image as a numpy array
# image should be in grayscale or RGB format with values in range [0, 255]

# Apply Gaussian Blur
blurred = gaussian_blur(image, kernel_size=5, sigma=1.0)

# Apply Median Filter
denoised = median_filter(image, kernel_size=3)

# Apply Mean Filter
averaged = mean_filter(image, kernel_size=3)

# Apply Bilateral Filter
smoothed = bilateral_filter(image, kernel_size=5, sigma_spatial=1.0, sigma_intensity=50.0)

Requirements

  • Python >= 3.7
  • NumPy >= 1.21.0

License

MIT License

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

phovision-0.1.0.tar.gz (4.0 kB view details)

Uploaded Source

Built Distribution

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

phovision-0.1.0-py3-none-any.whl (4.2 kB view details)

Uploaded Python 3

File details

Details for the file phovision-0.1.0.tar.gz.

File metadata

  • Download URL: phovision-0.1.0.tar.gz
  • Upload date:
  • Size: 4.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.2

File hashes

Hashes for phovision-0.1.0.tar.gz
Algorithm Hash digest
SHA256 7d6f90c845fd7f36ab081119e2f44fa0b4a0d68a03442cdec8a91aea1935f350
MD5 646a4dfd81a7fe1244ef1599700381ce
BLAKE2b-256 441b4879d074fad4a8e78100b484bb1c3c0f055213722dce4660a3ee1cfac629

See more details on using hashes here.

File details

Details for the file phovision-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: phovision-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 4.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.2

File hashes

Hashes for phovision-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 64a8137041d972d0003b46afef95afa15e45bce31c2a6f50f7abe1dcf47dd61e
MD5 866fe15710841b7b9a238e78fd0a7871
BLAKE2b-256 7190de9e11771ca5f26fbadfefbc53451327b4a399215cf00e98180cac23dfc9

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