Add your description here
Project description
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.
Project details
Release history Release notifications | RSS feed
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 iterastripe-2.0.0.tar.gz.
File metadata
- Download URL: iterastripe-2.0.0.tar.gz
- Upload date:
- Size: 3.9 MB
- Tags: Source
- Uploaded using 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}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2e8b57cf4e272066e930280624e935adfebe6bc0a9d2839a3cc4c6aa5038f5ea
|
|
| MD5 |
ec52b6d7b57894fd6826dd92d39c6873
|
|
| BLAKE2b-256 |
d2e980b6005ab8e54971efdb282b1e9cdd55ce586054b66e86ea32568964097b
|
File details
Details for the file iterastripe-2.0.0-py3-none-any.whl.
File metadata
- Download URL: iterastripe-2.0.0-py3-none-any.whl
- Upload date:
- Size: 34.3 kB
- Tags: Python 3
- Uploaded using 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}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7e3f3c10075e405624d40d5c32d5de78c29ccf769526bb2571c8e1dc8e5ab79c
|
|
| MD5 |
41e1c8a9978eb4d5213273aa74a8f288
|
|
| BLAKE2b-256 |
36c43cee9e969fe10287d3e821ba575d748a09cd4ffccdea84df6e1efcc2d744
|