STON: SofTware for petrOgraphic visualisatioN

STON: SofTware for petrOgraphic visualisatioN - Published in JOSS (2025)

https://github.com/romain-thomas-shef/ston

Science Score: 87.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
  • .zenodo.json file
  • DOI references
    Found 1 DOI reference(s) in JOSS metadata
  • Academic publication links
  • Academic email domains
  • Institutional organization owner
  • JOSS paper metadata
    Published in Journal of Open Source Software
Last synced: 3 months ago · JSON representation

Repository

SofTware for petrOgraphic visualisatioN

Basic Info
Statistics
  • Stars: 0
  • Watchers: 3
  • Forks: 1
  • Open Issues: 0
  • Releases: 0
Created over 1 year ago · Last pushed 4 months ago
Metadata Files
Readme

README.md

Welcome to STON

[![Python312](https://img.shields.io/badge/python-3.12%2B-blue)](https://www.python.org/) ![Pylint](https://github.com/Romain-Thomas-Shef/STON/actions/workflows/pylint.yml/badge.svg) [![License: GPLv3](https://img.shields.io/badge/License-GPLv3-blue.svg)](https://www.gnu.org/licenses/gpl-3.0)

Full documentation is available here.

What is STON?

STON (SofTware for petrOgraphic visualisatioN) is a tool designed to simplify the inspection of microscope images. Originally developed for petrography, specifically for analyzing mineral images, it can be used with any type of image. STON allows users to closely examine images, adjust parameters (contrast, brightness, sharpness), compare images side by side, combine multiple images and analyse features. Built with user-friendliness in mind, STON is fully customizable. It is developed in Python using the PySide6 library for the GUI, Pillow and matplotlib for image display and interactions and scikit-learn for deeper image processing.

While tailored for the specific requirements of petrographic analysis in archaeology, the software has broader applications for other research fields that rely on visual image analysis. By providing an efficient and scalable tool for comparative analysis, it enhances research processes across various disciplines. Designed to streamline researchers' work, STON provides a comprehensive suite of tools for image analysis and visual inspection. It offers a user-friendly interface and visualization features, STON simplifies the process of inspecting, comparing, and manipulating images. All these tools are accessible from the main window, enabling users to explore images in greater detail, extract meaningful insights, and conduct in-depth analyses with ease.


The graphical interface

STON is a graphical user interface consisting of a main window and multiple sub-windows for performing specific tasks. The main window serves as a central platform where images are loaded from disk and displayed as thumbnails.

  • Image detail and note-taking window: This window allows the user to inspect an image in greater detail. It also displays image metadata (currently supported for .tif files only) and provides options to adjust color, sharpness, brightness, and contrast. Additionally, it includes access to the analysis tool, enabling users to identify and study specific regions of interest.

  • Side-by-Side Comparison Tool: Allows users to directly compare two images, making it easier to identify differences or similarities between samples. This feature is particularly useful in petrography and other disciplines where visual distinctions play a crucial role during the analysis.

  • Image Cluster Tool: Facilitates the creation of image mashups by combining multiple images into a single composite. This is especially useful for merging images of the same material sample to create a unified visualization. Additionally, it supports the generation of meta-images, where all selected images are compiled into one comprehensive view, helping researchers analyze patterns and relationships across multiple images.

Feature identification

STON offers a fast and eqsy-to-use analysis tool for identifying regions of interest within an image. The underlying algorithm is based on the measure module from the scikit-image library. It defines a region as a group of connected pixels sharing the same value. To account for pixel-to-pixel variations in the image, STON generates a binary image using a threshold set at the image’s average.

Users can then inspect all detected regions simultaneously or examine them individually. Additionally, a catalog of region properties can be downloaded for further analysis.

Installation

For the moment, STON is available on the test server of Pypi. You can install it using the following command:

python -m pip install --extra-index-url https://test.pypi.org/simple/ STON


Contribute! STON is not perfect! If you have any comment or anything you would like to be added to STON, or, even better, if you want to modify you can

To implement your changes, the Development corner in the docs might give you further information and we are happy to help if you get in touch with us!


License

STON is a free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, version 3 of the License.

Owner

  • Name: Romain Thomas
  • Login: Romain-Thomas-Shef
  • Kind: user

Head of Research Software Engineering @ University of Sheffield

JOSS Publication

STON: SofTware for petrOgraphic visualisatioN
Published
November 27, 2025
Volume 10, Issue 115, Page 8144
Authors
Romain Thomas ORCID
RSE team, The University of Sheffield, Regent Court, The University of Sheffield, 211 Portobello St, Sheffield S1 4DP
Evgenia Dammer ORCID
Rathgen Research Laboratory, Staatliche Museen zu Berlin, Stiftung Preussischer Kulturbesitz, Schloßstrasse 1A, 14059 Berlin
Editor
Arfon Smith ORCID
Tags
Archaeology Image exploration Petrography

GitHub Events

Total
  • Create event: 2
  • Release event: 1
  • Issues event: 5
  • Delete event: 3
  • Issue comment event: 10
  • Public event: 1
  • Push event: 103
  • Pull request review event: 1
Last Year
  • Create event: 2
  • Release event: 1
  • Issues event: 5
  • Delete event: 3
  • Issue comment event: 10
  • Public event: 1
  • Push event: 103
  • Pull request review event: 1

Issues and Pull Requests

Last synced: 4 months ago

All Time
  • Total issues: 3
  • Total pull requests: 0
  • Average time to close issues: about 1 month
  • Average time to close pull requests: N/A
  • Total issue authors: 3
  • Total pull request authors: 0
  • Average comments per issue: 0.0
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 3
  • Pull requests: 0
  • Average time to close issues: about 1 month
  • Average time to close pull requests: N/A
  • Issue authors: 3
  • Pull request authors: 0
  • Average comments per issue: 0.0
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
  • steko (1)
  • Chilipp (1)
  • Romain-Thomas-Shef (1)
Pull Request Authors
Top Labels
Issue Labels
Pull Request Labels

Dependencies

.github/workflows/documentation.yml actions
  • actions/checkout v4 composite
  • actions/setup-python v5 composite
  • peaceiris/actions-gh-pages v3 composite
.github/workflows/pylint.yml actions
  • actions/checkout v4 composite
  • actions/setup-python v3 composite
.github/workflows/run_tests.yml actions
  • actions/checkout v4 composite
  • actions/setup-python v3 composite
STON.egg-info/requires.txt pypi
  • PySide6 >=6.7.1
  • matplotlib >=3.0
  • numpy >=2.2.1
  • pillow >=10.3
pyproject.toml pypi
  • PySide6 >= 6.7.1
  • matplotlib >= 3.0
  • numpy >=2.2.1
  • pillow >= 10.3
  • scikit-image >= 0.25.0
.github/workflows/draft-pdf.yml actions
  • actions/checkout v4 composite
  • actions/upload-artifact v4 composite
  • openjournals/openjournals-draft-action master composite