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.1.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.1-py3-none-any.whl (4.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: phovision-0.1.1.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.1.tar.gz
Algorithm Hash digest
SHA256 a4a9eb3c71c97a634868eed5b6f1719383f3d40b975d70d43738eff09bb66f3e
MD5 d711a5df89145437e1f898aeb0af21ee
BLAKE2b-256 5de54563614db7ac897ee8ed0d6a23ebf81dbf90db66cc41c210dd8b75b1aca5

See more details on using hashes here.

File details

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

File metadata

  • Download URL: phovision-0.1.1-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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 55b9951eecfc3e2d9a9a50772ccf303e7b5b932b7e09e809448d8a7bef8f5c64
MD5 6236126fe71b25648dc2c925b08fa3a8
BLAKE2b-256 3384e1418cead9009208225057b0ec5a7be978458a953d8778b61b5397d646ab

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