Science Score: 44.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
  • Academic publication links
  • Academic email domains
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (10.5%) to scientific vocabulary
Last synced: 7 months ago · JSON representation ·

Repository

Basic Info
  • Host: GitHub
  • Owner: Schimek
  • License: mit
  • Language: Jupyter Notebook
  • Default Branch: main
  • Size: 2.5 MB
Statistics
  • Stars: 0
  • Watchers: 1
  • Forks: 0
  • Open Issues: 0
  • Releases: 0
Created over 1 year ago · Last pushed 9 months ago
Metadata Files
Readme License Citation

README.md

Pittingfactor calculation for degraded wire's

Usage: Used to calculate the Pittingfactor of degraded wires for micro-CT image data

Input: 2D-Tif Image data

Output: 2D/3D Pittingfactor, Mean Degradation Depth and Deepest Pit

Written by: Sven Schimek, André Lopes Marinho

Contact. sven.schimek@hereon.de

Update: 08.07.24

Copyright: Helmholtz-Zentrum Hereon

What is the pitting factor?

The pittingfactor (PF) describes the homogenity of the degradation and the occurrence of localised surface degradations. The pittingfactor is calculated as the deepest pit (DP) divided by the mean degradation depth (MDD):

$PF=DP/MDD$

The following code will use the segmentation of the non degraded and degraded wire to calculate the distances between the bulk material layers in order to generate the DP and MDD information. A illustration of the workflow is shown in the following image:

image

Workflow of the code

To run the script the segmentated images of the non degraded wire (pre-image) and the degraded wire (target-image) are required as 2D-tif data.

  1. In the first step, the bulk material of the pre-images will be loaded and transformed into a 3D NumPy array.
image
  1. After this, the midpoint of the wire will be calculated, and a distance map will be generated. This distance map will later on be used to link the distances with the corresponding pixels of the surfaces.
image
  1. To determine the distances of the surface of the non-degraded wire, the surface of the bulk material must be extracted. This involves isolating the bulk label that are in contact with the background label. Subsequently, these surface pixels are combined with the distance map to create the surface_distance map
image
  1. This workflow will be repeated for the target image. To ensure the comparability of the distances and account for effects such as material loss, the distance map of the pre-image will be used to generate the surfacedistancetarget map.

  2. Based on the extracted surface pixels and distance information, the distances between the surfaces can be calculated. This is done by combining each pixel of the target image surface with the closest pixel of the pre-image surface. Using the distance information of these pixels, the distance between the surfaces can be determined.

In order to calculate the 2D-PF, the deepest pit (the greatest distance) and the mean degradation depth (the average value of the detected distances) will be used, based on every slide/image of the sample.

$2D~PF=DPi/MDDi$, i is the value of the slide

The 3D-PF assess the overall deepest pit along with the overall mean degradation depth.

$3D~PF=DP{i-max}/MDD{i-mean}$

Owner

  • Login: Schimek
  • Kind: user

Citation (Citation.cff)

cff-version: 1.2.0
message: "If you use this software, please cite it as below."
authors:
- family-names: "Schimek"
  given-names: "Sven"
- family-names: "Marinho-Lopez"
  given-names: "André"
 
title: "Pittingfactor calculation for degraded wire's"
version: 2.0.4
date-released: 2024-07-08
url: "https://github.com/Schimek/Pittingfactor-calculation"

GitHub Events

Total
  • Push event: 1
Last Year
  • Push event: 1