Skip to main content

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

  1. Clone the repository:

    git clone https://github.com/debadutta-patra/IteraStripe
    cd pyTRACTnmr
    
  2. Install the package:

    Using uv (fastest):

    uv pip install .
    

    Using standard pip:

    pip install .
    

Usage

  1. Launch the Application:

    python src/IteraStripe/main.py
    
  2. Load an Image:

    • Click File -> Open Image or drag and drop an image file onto the window.
  3. 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.
  4. Remove Stripes:

    • Select a method from the Processing panel (Default: FISTA Reconstruction).
    • Click Remove Stripes.
  5. 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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

iterastripe-2.1.0.tar.gz (3.9 MB view details)

Uploaded Source

Built Distribution

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

iterastripe-2.1.0-py3-none-any.whl (34.4 kB view details)

Uploaded Python 3

File details

Details for the file iterastripe-2.1.0.tar.gz.

File metadata

  • Download URL: iterastripe-2.1.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

Hashes for iterastripe-2.1.0.tar.gz
Algorithm Hash digest
SHA256 027c93577b05c2bab6ebe4f7273b01b933e032cc7d744a6b9ec4ecb202d9c190
MD5 8962369227bc3e5c8f28e5b52a4056c2
BLAKE2b-256 1ec3a8d9d471a61f5433de3b29b28999d66d1d3ee6a9310b6e9430391d02bc5e

See more details on using hashes here.

File details

Details for the file iterastripe-2.1.0-py3-none-any.whl.

File metadata

  • Download URL: iterastripe-2.1.0-py3-none-any.whl
  • Upload date:
  • Size: 34.4 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

Hashes for iterastripe-2.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 c0f1e7fa85721eed02daae6f75dbc0e56fcd0e356701b9c2f5e2965c74b33ab0
MD5 92b7591fbf8a52a0fcbe51e3f90798ea
BLAKE2b-256 587cbf0aaf7b7605ad6df9e42430ced460cf76f8c1ee99c7a2a8ef36e1e327cb

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