pytextureanalysis
PyTextureAnalysis is a Python package for analyzing the texture of images. It includes functions for calculating local orientation, degree of coherence, and structure tensor of an image. This package is built using NumPy, SciPy and OpenCV.
Science Score: 67.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
✓CITATION.cff file
Found CITATION.cff file -
✓codemeta.json file
Found codemeta.json file -
✓.zenodo.json file
Found .zenodo.json file -
✓DOI references
Found 1 DOI reference(s) in README -
✓Academic publication links
Links to: zenodo.org -
○Academic email domains
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (14.4%) to scientific vocabulary
Keywords
Repository
PyTextureAnalysis is a Python package for analyzing the texture of images. It includes functions for calculating local orientation, degree of coherence, and structure tensor of an image. This package is built using NumPy, SciPy and OpenCV.
Basic Info
- Host: GitHub
- Owner: ajinkya-kulkarni
- License: gpl-3.0
- Language: Python
- Default Branch: main
- Homepage: https://textureinformation-package.streamlit.app/
- Size: 116 MB
Statistics
- Stars: 30
- Watchers: 3
- Forks: 7
- Open Issues: 0
- Releases: 3
Topics
Metadata Files
README.md
Texture Analysis using PyTextureAnalysis
PyTextureAnalysis is a Python package that contains tools to analyze the texture of images. This code contains functions to calculate the local orientation of fibers in an image, as well as the degree of coherence. A web application is also available for demonstrating the PyTextureAnalysis package, which allows users to analyze 2D grayscale images for texture analysis.
Features
- Upload a 2D grayscale image for texture analysis
- Adjust image filter sigma, Gaussian local window, and window size for evaluating local density
- Adjust threshold value for pixel evaluation, spacing between orientation vectors, and scaling for orientation vectors
- Calculates local density, coherence, and orientation of the image
- Provides a progress bar for each stage of the analysis
Demo
A web application developed using Streamlit is available at https://textureinformation-package.streamlit.app/. Check out the Example.ipynb file to learn how to use the package to extract and visualize local fiber orientation and organization.
App Overview

Requirements
- Python 3.8 or higher
- Streamlit
- NumPy
- scikit-image
- Matplotlib
Installation
- Clone the repository.
- Install the required packages via
pip install -r requirements.txt. - Run the web application via
streamlit run PyTextureAnalysis_StreamlitApp.py.
Usage
- Open the web application via
streamlit run PyTextureAnalysis_StreamlitApp.py. - Upload a 2D grayscale image for analysis.
- Adjust the various parameters using the sliders provided.
- Click the "Analyze" button to begin the analysis.
- View the progress of the analysis via the progress bar.
- View the results of the analysis.
Credits
This web application was developed, tested, and maintained by Ajinkya Kulkarni at the Max Planck Institute for Multidisciplinary Sciences, Göttingen.
Contact
For more information or to provide feedback, please visit the project repository or contact the developer directly.
Owner
- Name: Ajinkya Kulkarni
- Login: ajinkya-kulkarni
- Kind: user
- Location: Göttingen
- Company: Max Planck Institute for Multidisciplinary Sciences
- Website: https://orcid.org/0000-0003-1423-3676
- Twitter: kulkajinkya
- Repositories: 5
- Profile: https://github.com/ajinkya-kulkarni
Image Data Scientist @mpi_nat working in Translational Oncology
Citation (CITATION.cff)
cff-version: 1.2.0 message: "If you use this software, please cite it as below." authors: - family-names: "Kulkarni" given-names: "Ajinkya" orcid: "https://orcid.org/0000-0003-1423-3676" title: "PyTextureAnalysis" version: 1.0 doi: 10.5281/zenodo.7562833 date-released: 2023-01-23 url: "https://github.com/ajinkya-kulkarni/PyTextureAnalysis"
GitHub Events
Total
- Issues event: 3
- Watch event: 6
- Issue comment event: 1
Last Year
- Issues event: 3
- Watch event: 6
- Issue comment event: 1
Issues and Pull Requests
Last synced: 6 months ago
All Time
- Total issues: 2
- Total pull requests: 0
- Average time to close issues: 13 days
- Average time to close pull requests: N/A
- Total issue authors: 2
- Total pull request authors: 0
- Average comments per issue: 0.5
- Average comments per pull request: 0
- Merged pull requests: 0
- Bot issues: 0
- Bot pull requests: 0
Past Year
- Issues: 2
- Pull requests: 0
- Average time to close issues: 13 days
- Average time to close pull requests: N/A
- Issue authors: 2
- Pull request authors: 0
- Average comments per issue: 0.5
- Average comments per pull request: 0
- Merged pull requests: 0
- Bot issues: 0
- Bot pull requests: 0
Top Authors
Issue Authors
- Broccaaa (1)
- pravallika-kambhampati (1)
Pull Request Authors
- DragonflyRobotics (1)
Top Labels
Issue Labels
Pull Request Labels
Dependencies
- Pillow *
- matplotlib *
- numpy *
- opencv-python-headless *
- scikit-image *
- scipy *
- tqdm *