Published August 3, 2026 | Version v1

Accompanying data for the paper "Automatic Segmentation of Porcine Lung Tensile Specimens for Mechanical Characterization"

  • 1. ROR icon IMT Mines Alès
  • 2. ROR icon Laboratoire de Mécanique et Génie Civil
  • 3. Université Paris Cité, 75013 Paris, France
  • 4. ROR icon EuroMov Digital Health in Motion

Description

(Wild et al, 2026) - Supplementary material

This repository contains the notebook used for the analyses presented in the paper 

Wild et al. (2026), Automatic Segmentation of Porcine Lung Tensile Specimens for Mechanical Characterization

📓 Code
- Wild_et_al_2026_pipeline.ipynb: Contains the pipeline for model training and testing. It can be executed without modification on Google Colab. 
- Pytorch-UNet.zip: Contains the source code and the dataset. The arborescence is detailed in the notebook. This .zip file shoud remain compressed, and uploaded together with the notebook on Google Colab. 
 
🚀 Getting Started

You can run the notebook directly on Google Colab.
 
🔁 Reproducibility

The analysis is designed to be fully reproducible.
 
📄 License

Creative Commons Attribution 4.0.
 
📄 Detailed description

Tensile testing is commonly used to characterize the mechanical behavior of soft materials and biological tissues. 
However, for highly deformable materials, the specimen cross-section changes significantly during the experiment, making stress estimation challenging. 
Current biomechanical approaches generally rely on indirect assumptions such as incompressibility or material homogeneity, which are not always valid for heterogeneous tissues.
This work presents a hybrid framework combining hand-crafted image-processing techniques and deep learning for tracking specimen geometry during uniaxial tensile tests performed on porcine lungs.
A top-view camera was used to continuously record specimen deformation in order to estimate sample width throughout the experiment. A U-Net convolutional neural network was trained on 110 annotated image–mask pairs from 15 tensile tests, with on-the-fly data augmentation.
The proposed pipeline achieved a mean Dice coefficient of 0.899 and a mean Intersection over Union (IoU) of 0.835, with inference times below 5 seconds per image. 
These results demonstrate the ability of the model to accurately detect specimen boundaries under challenging experimental conditions. 
Extending the method to lateral-view imaging could additionally enable thickness estimation and dynamic cross-sectional area reconstruction, paving the way toward real-time stress assessment in soft tissue mechanics.

Keywords: biomechanics, intensity profile, semantic segmentation,  data augmentation, U-Net
 

Files

Pytorch-UNet.zip

Files (65.0 MB)

Name Size Download all
md5:e394cd6f29ebf0d8aef5a91bbb7f6dd6
64.0 MB Preview Download
md5:47efad86a76a4c16825824943647844b
1.1 MB Preview Download