This notebook aims to demonstrate the feasibility of implementing a comprehensive deep learning segmentation pipeline solely leveraging the capabilities offered by the `qim3d` library. Specifically, it highlights the use of the synthetic data generation functionalities to create a volumetric dataset with associated labels, and walks through the process of creating and training a 3D UNet model using this synthetic dataset.
%% Cell type:code id: tags:
``` python
importqim3d
importglob
importos
importnumpyasnp
```
%% Cell type:markdown id: tags:
### **1. Generate synthetic dataset**
%% Cell type:markdown id: tags:
#### 1.1 Example of data sample (probably should be after creating the dataset??)