Deinterlacing
This python module can be used to correct the misalignment between forward and backward-scanned lines collected by resonance-scanning microscopes.
Features
- GPU Acceleration: Optional CuPy backend for increased performance
- Batch Processing: Supports block-wise processing to reduce memory constraints.
- Pooling Noisy Data: Deinterlacing can be applied to pooled-pixels for improved performance on noisy or sparse images.
- Handles Instability: Supports processing individual frames while autocorrection methods applied during acquisition stabilize
- Sub-Pixel: Pixel & Sub-Pixel registration available
Installation
The repository is available on PyPI and can be installed using your preferred package manager. For example: pip
pip install deinterlacing
uv
uv add deinterlacing
Dependencies
- Boltons
- CuPy (Optional)
- NumPy
- Pydantic
- TQDM
Example
from deinterlacing import deinterlace
import numpy as np
# Load your images
images = np.load("my_images.npy")
# Deinterlace the images
deinterlace(images)
Metadata
Release files for deinterlacing 1.0.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| deinterlacing-1.0.5.tar.gz | 15.2 kB | Without provenance | Details for deinterlacing-1.0.5.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| deinterlacing-1.0.5-py3-none-any.whl | Python 3 | none | any | Details for deinterlacing-1.0.5-py3-none-any.whl |
Total release size: 27.1 kB
Release files / deinterlacing-1.0.5.tar.gz
| Download URL | deinterlacing-1.0.5.tar.gz |
|---|---|
| Size | 15.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
693689625ef996f90b4dbb7e33f8a68dbc82fde717f47186b4b33534c345c6c3
|
|
BLAKE2b-256 checksum How to use checksums |
27797dad338a7c71636a62e0e25657d1341b5b06ec9fa847f91361f2efadeef2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.6.13
|
Release files / deinterlacing-1.0.5-py3-none-any.whl
| Download URL | deinterlacing-1.0.5-py3-none-any.whl |
|---|---|
| Size | 11.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
aee84c31810ae0c01fd3df7fb9e33a380e158c2282eedeeb7c3cff706d31049c
|
|
BLAKE2b-256 checksum How to use checksums |
9f8bb2d73162bceb9be38797ac81de70c5a918b09b27083036ea3a632f95b439
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.6.13
|
Security for deinterlacing 1.0.5
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.