Stripe Begone
Stripe Begone is a GUI-based tool designed to remove stripe artifacts from microscopy images (specifically SEM/FIB-SEM) using Fourier space masking and advanced reconstruction algorithms.
Features
- Interactive Fourier Masking: Define wedges to mask specific frequency components corresponding to stripes.
- Automated Angle Detection: Uses Radon transform variance analysis to automatically detect stripe orientation.
- Advanced Reconstruction Methods:
- FISTA (Fast Iterative Shrinkage-Thresholding Algorithm)
- POCS (Projection Onto Convex Sets)
- Total Variation (TV) Denoising
- Weighted L1 Minimization
- KNN Imputation
- Zero Fill
- Texture Recovery: Restore non-stripe high-frequency details lost during reconstruction.
- Contrast Enhancement: Built-in tools for histogram adjustment.
- GPU Acceleration: Utilizes PyTorch for accelerated reconstruction if CUDA is available.
Requirements
- Python 3.8+
- PySide6
- NumPy
- SciPy
- scikit-image
- scikit-learn
- Matplotlib
- PyTorch
Installation
Prerequisites
- Python 3.14 or higher recommended (Though it is not tested it should run with earlier version of Python 3).
- uv (optional, but recommended for building).
Installation
Quick Start with uv
The fastest way to try pyTRACTnmr without installation is:
uvx IteraStripe
Using pip
pip install IteraStripe
From Source
-
Clone the repository:
git clone https://github.com/debadutta-patra/IteraStripe cd pyTRACTnmr
-
Install the package:
Using
uv(fastest):uv pip install .
Using standard
pip:pip install .
Usage
-
Launch the Application:
python src/IteraStripe/main.py -
Load an Image:
- Click
File -> Open Imageor drag and drop an image file onto the window.
- Click
-
Configure Masks:
- Use the Wedge Parameters controls to define the stripe angle and width.
- Click Auto to attempt automatic angle detection.
- Click Add Wedge to register the mask.
-
Remove Stripes:
- Select a method from the Processing panel (Default: FISTA Reconstruction).
- Click Remove Stripes.
-
Refine and Save:
- Use the tabs to view the Reconstruction, Difference map, or FFT.
- Apply Texture Recovery if the result is too smooth.
- Save the final image.
Metadata
Release files for IteraStripe 2.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| iterastripe-2.1.0.tar.gz | 3.9 MB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| iterastripe-2.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 4.0 MB
Release files / iterastripe-2.1.0.tar.gz
| Download URL | iterastripe-2.1.0.tar.gz |
|---|---|
| Size | 3.9 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
027c93577b05c2bab6ebe4f7273b01b933e032cc7d744a6b9ec4ecb202d9c190
|
|
BLAKE2b-256 checksum How to use checksums |
1ec3a8d9d471a61f5433de3b29b28999d66d1d3ee6a9310b6e9430391d02bc5e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.9.26 {"installer":{"name":"uv","version":"0.9.26","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|
Release files / iterastripe-2.1.0-py3-none-any.whl
| Download URL | iterastripe-2.1.0-py3-none-any.whl |
|---|---|
| Size | 34.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
c0f1e7fa85721eed02daae6f75dbc0e56fcd0e356701b9c2f5e2965c74b33ab0
|
|
BLAKE2b-256 checksum How to use checksums |
587cbf0aaf7b7605ad6df9e42430ced460cf76f8c1ee99c7a2a8ef36e1e327cb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.9.26 {"installer":{"name":"uv","version":"0.9.26","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|