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 phovision

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.3.tar.gz (5.9 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.3-py3-none-any.whl (6.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: phovision-0.1.3.tar.gz
  • Upload date:
  • Size: 5.9 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.3.tar.gz
Algorithm Hash digest
SHA256 a56108f2fd557a459bbcef925022dda634eb97e503d868ae011553daed6bae40
MD5 399aa492ad07a95c7e6eef5b863aa56d
BLAKE2b-256 b7e0914532caff6efeeb750c647b733b098e6f9cbc13654dd1ebc53ec34b4945

See more details on using hashes here.

File details

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

File metadata

  • Download URL: phovision-0.1.3-py3-none-any.whl
  • Upload date:
  • Size: 6.3 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.3-py3-none-any.whl
Algorithm Hash digest
SHA256 d6f5bd011d509b0c1cef2f9c80780f4371be1d5139ea18b782d4e46c8b47ef09
MD5 d80fc6e841617cddf37e044744ef082c
BLAKE2b-256 2c6ca7c398ce662cd217479634d61943eee158a68c07d858a909369ab73557c5

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