Skip to main content

Quantum-Inspired Computer Vision Framework (Edge Detection, Contrast Enhancement)

Project description

QuantumVision

Quantum-Inspired Computer Vision Framework
Version 0.1.0


Overview

QuantumVision is a Python research library that bridges quantum mechanics and classical computer vision.
It models image pixels as quantum states with amplitude and phase components, enabling quantum-inspired operations such as interference-based edge detection and fidelity-driven contrast enhancement.

This framework demonstrates how physical analogies—phase interference, coherence, and fidelity—can yield interpretable nonlinear transformations for visual perception and image analysis.

Currently implemented modules:

  1. qedge — Quantum-Inspired Edge Detection
  2. qcontrast — Quantum State Contrast Enhancement

Key Features

Module Function Quantum Analogy Outcome
qedge qedge_detect() Phase interference (sin²(Δθ)) Enhanced edge localization without convolution kernels
qcontrast qcontrast_enhance() Quantum state fidelity (ψ·ψ̄) Nonlinear brightness amplification preserving global luminance

Installation

From PyPI:

pip install quantumvision

Once installed, you can import and use the core functions:

from quantumvision import qedge_detect, qcontrast_enhance


## Scientific Motivation  

Traditional computer vision algorithms (e.g., Sobel, Laplacian) are based on linear spatial derivatives.  
In contrast, **QuantumVision** introduces a *nonlinear, phase-based formalism* inspired by quantum mechanics, where intensity variations are treated as phase differences in probability amplitudes.  

This yields algorithms that are:
- More robust to illumination and contrast changes,  
- Mathematically grounded in wave interference,  
- Intuitively interpretable as quantum probability fields.

## License  
MIT © 2025 Shambhavi Prasad

## Contact  
Author: Shambhavi Prasad  
Email: shambhaviprasad21@gmail.com  
GitHub: https://github.com/Shambhavi2112

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

quantumvision-0.1.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.

quantumvision-0.1.0-py3-none-any.whl (16.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: quantumvision-0.1.0.tar.gz
  • Upload date:
  • Size: 15.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.5

File hashes

Hashes for quantumvision-0.1.0.tar.gz
Algorithm Hash digest
SHA256 5d6b78717d25a7006909604e7aea6327e9c5659e52adae0e0e8eef911a8fc8d0
MD5 bd12a47667db14bd5260ee883724f6ba
BLAKE2b-256 bfdef9a00059c1fb51fce3f27e3c86fd7b528da97553262ea2dae8022af9a2ce

See more details on using hashes here.

File details

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

File metadata

  • Download URL: quantumvision-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 16.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.5

File hashes

Hashes for quantumvision-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 e15924db1184f3a68dcfd6a9dc245fb38d03eff485f5b51632f2cf1baf4fded7
MD5 c2dc232750d5ab996bb0d8f350ac09e9
BLAKE2b-256 b81d0aa92de38e6247fdd16e549a54706bdaac66b9e406089071cb4461b8d858

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