Skip to main content

Python transport based signal processing toolkit.

Project description

PyTransKit

Python Transport Based Signal Processing Toolkit

Website and documentation: https://pytranskit.readthedocs.io/

Introduction video

This python package provides signal/image representation software methods (i.e. mathematical transforms) based on the idea of matching signals & images to a reference by pixel displacement operations that are physically related to the concept of transport phenomena. You can think of and use the transforms described below just as one would with the Fourier or Wavelet Transforms. By solving signal/image analysis in transport transform (e.g. Wasserstein embedding) space, one can dramatically simplify and linearize statistical regression problems, enabling the straight forward (e.g. closed form) solution of signal/image detection, estimation, and classification problems with increased accuracy using few training samples, with mathematical understanding and interpretability, better generalization properties, and computationally efficiently.

pytranskit_figure

Installation

The library could be installed through pip

pip install pytranskit

Alternately, you could clone/download the repository and add the pytranskit directory to your Python path

import sys
sys.path.append('path/to/pytranskit')

from pytranskit.optrans.continuous.cdt import CDT

Introduction video

Low Level Functions

CDT, SCDT

R-CDT

RSCDT

  • RSCDT tutorial : Forward and Inverse Transform [10][notebook]
  • RSCDT based nearest subspace method for image classification [10]. [notebook]

CLOT

  • Continuous Linear Optimal Transport Transform (CLOT) tutorial [notebook] [nbviewer]

Classification Examples

  • CDT Nearest Subspace (CDT-NS) classifier for 1D data [notebook] [nbviewer]
  • SCDT Nearest Subspace (SCDT-NS) classifier for 1D data [8] [notebook] [nbviewer]
  • SCDT Nearest Local Subspace (SCDT-NLS) classifier for 1D data [9] [notebook] [nbviewer]
  • Radon-CDT Nearest Subspace (RCDT-NS) classifier for 2D data [4] [notebook] [nbviewer]
  • 3D Radon-CDT Nearest Subspace (3D-RCDT-NS) classifier for 3D data [notebook] [nbviewer]
  • Discrete Radon-CDT Nearest Subspace classifier for illumination-invariant Face Recognition [notebook]
  • RSCDT based nearest subspace method for image classification [10]. [notebook]

Estimation Examples

Transport-based Morphometry

  • Transport-based Morphometry to detect and visualize cell phenotype differences [7] [notebook] [nbviewer]

References

  1. The cumulative distribution transform and linear pattern classification, Applied and Computational Harmonic Analysis, November 2018
  2. The Radon Cumulative Distribution Transform and Its Application to Image Classification, IEEE Transactions on Image Processing, December 2015
  3. A continuous linear optimal transport approach for pattern analysis in image datasets, Pattern Recognition, March 2016
  4. Radon cumulative distribution transform subspace modeling for image classification, Journal of Mathematical Imaging and Vision, 2021
  5. Parametric Signal Estimation Using the Cumulative Distribution Transform, IEEE Transactions on Signal Processing, May 2020
  6. The Signed Cumulative Distribution Transform for 1-D Signal Analysis and Classification, ArXiv 2021
  7. Detecting and visualizing cell phenotype differences from microscopy images using transport-based morphometry, PNAS 2014
  8. Nearest Subspace Search in the Signed Cumulative Distribution Transform Space for 1D Signal Classification, IEEE International Conference on Acoustics, Speech and Signal Processing, May 2022
  9. End-to-End Signal Classification in Signed Cumulative Distribution Transform Space, arXiv 2022
  10. The Radon Signed Cumulative Distribution Transform and its applications in classification of Signed Images, arXiv 2023.
  11. System Identification Using the Signed Cumulative Distribution Transform In Structural Health Monitoring Applications, arXiv 2023

Resources

External website http://imagedatascience.com/transport/

Video [tutorials]

Authors

  • Abu Hasnat Mohammad Rubaiyat
  • Mohammad Shifat E Rabbi
  • Liam Cattell
  • Xuwang Yin
  • Shiying Li
  • Yan Zhuang
  • Gustavo K. Rohde
  • Soheil Kolouri
  • Serim Park

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

pytranskit-0.2.9.tar.gz (67.6 kB view details)

Uploaded Source

Built Distribution

pytranskit-0.2.9-py3-none-any.whl (88.5 kB view details)

Uploaded Python 3

File details

Details for the file pytranskit-0.2.9.tar.gz.

File metadata

  • Download URL: pytranskit-0.2.9.tar.gz
  • Upload date:
  • Size: 67.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.13

File hashes

Hashes for pytranskit-0.2.9.tar.gz
Algorithm Hash digest
SHA256 cbd4d27afca16441edb4aeb3b35cc2f8e18be0a33e99d20b391a327c32821a36
MD5 0ec44e36bcee2a561e930a6756819017
BLAKE2b-256 e2cd39c1b4fa62633938cb6a26426142e5c9f1ab513585f18b5c9fb189428a87

See more details on using hashes here.

File details

Details for the file pytranskit-0.2.9-py3-none-any.whl.

File metadata

  • Download URL: pytranskit-0.2.9-py3-none-any.whl
  • Upload date:
  • Size: 88.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.13

File hashes

Hashes for pytranskit-0.2.9-py3-none-any.whl
Algorithm Hash digest
SHA256 a5fa35d4c89fee9dcda1a7aae76ad5ee69f1b12f2271e192a7df9948341896ff
MD5 545fbe9dd56cc0254a550cfd35ff914a
BLAKE2b-256 7ba85b8ac01cad36a0680321d2ae3ca819d11c265ce66c5c95e5c2f262984dac

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page