Skip to main content

GPU-accelerated image filtering operations for pixtreme

Project description

pixtreme-filter

GPU-accelerated image filtering operations for pixtreme

Overview

pixtreme-filter provides high-performance image filtering operations running on CUDA-enabled GPUs. All operations are optimized for real-time performance and work directly on GPU memory.

Features

  • Gaussian Blur: GPU-accelerated Gaussian blur with separable kernels
  • Zero-Copy Operations: Direct GPU memory processing via CuPy
  • Flexible Interface: Functional API and class-based API

Installation

Requirements:

  • Python >= 3.12
  • CUDA Toolkit 12.x
  • NVIDIA GPU with compute capability >= 6.0
pip install pixtreme-filter

Requires pixtreme-core and CUDA Toolkit 12.x.

Quick Start

import pixtreme_filter as pf
import pixtreme_core as px

# Read image
img = px.imread("input.jpg")

# Apply Gaussian blur
blurred = pf.gaussian_blur(img, ksize=15, sigma=3.0)

# Save result
px.imwrite("output.jpg", blurred)

API

Gaussian Blur

# Functional API
blurred = pf.gaussian_blur(image, ksize=15, sigma=3.0)

# Class-based API (for repeated operations with same parameters)
blur = pf.GaussianBlur()
blurred = blur.get(image, ksize=15, sigma=3.0)

# Get kernel for custom operations
kernel = pf.get_gaussian_kernel(ksize=15, sigma=3.0)

License

MIT License - see LICENSE file for details.

Links

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

pixtreme_filter-0.8.0.tar.gz (16.1 kB view details)

Uploaded Source

Built Distribution

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

pixtreme_filter-0.8.0-py3-none-any.whl (9.2 kB view details)

Uploaded Python 3

File details

Details for the file pixtreme_filter-0.8.0.tar.gz.

File metadata

  • Download URL: pixtreme_filter-0.8.0.tar.gz
  • Upload date:
  • Size: 16.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.8.18

File hashes

Hashes for pixtreme_filter-0.8.0.tar.gz
Algorithm Hash digest
SHA256 2e7b84c0dfd8b377e1b0b07dd74a013ff994dbf0228c19d8fc7d05b3ca78f7ec
MD5 1611f38c4fcb47cf88f4aba0962c11c6
BLAKE2b-256 b58aff7bcf01ffdab2ad0efc6e1818613fdf4acb3f6b0ab1677deade47811fc9

See more details on using hashes here.

File details

Details for the file pixtreme_filter-0.8.0-py3-none-any.whl.

File metadata

File hashes

Hashes for pixtreme_filter-0.8.0-py3-none-any.whl
Algorithm Hash digest
SHA256 78477e6298f266d3853a3fe2018b07a7dd203f78a800daf5073176b6dadc98a3
MD5 ce86c9d5ad444ef53ddc1f84660d6266
BLAKE2b-256 075c886fc1c375d9f36e007cd811db784bc27316c1c487495865603e23408a86

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