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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file phovision-0.1.2.tar.gz.
File metadata
- Download URL: phovision-0.1.2.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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
59f2c6739c65f48a2aebd05dc7003f5866c5382980f182bf1116bb61fbfcf1c8
|
|
| MD5 |
092be1830495e8f3dbc41ba608e6714f
|
|
| BLAKE2b-256 |
6d13e1c783dfd56e17641b582390135e779685adbd7a92afb0ba27d483e924e2
|
File details
Details for the file phovision-0.1.2-py3-none-any.whl.
File metadata
- Download URL: phovision-0.1.2-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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
25a89cc2ca7d2108a5347297c291c24b9e0c61f1506f1b539a83b987c42fceb3
|
|
| MD5 |
5ecee7d47a8ffe9b7dc9faadbb0f214d
|
|
| BLAKE2b-256 |
66d083a255bf71ad14d91fcd8210c9cbbffbc22473c72683c5dd25e6cccbb068
|