trabecular-bone / README.md
SunnydayTech's picture
v0.2.0: one 3MF per entry in micrometres (B2 grey-relocated vertices; Cp for labelled bone), no print-scale file (D40-D42)
ffce0d5 verified
|
Raw History Blame Contribute Delete
9.78 kB
---
pretty_name: "Evolved Microstructure Atlas: trabecular-bone"
license: cc-by-4.0
size_categories:
- n<1K
tags:
- 3d
- mesh
- micro-ct
- microstructure
- biological-materials
- bone
- trabecular-bone
configs:
- config_name: default
data_files: metadata.jsonl
---
# Evolved Microstructure Atlas: trabecular-bone
Version 0.2.0. Publisher: Sunnyday Technologies, Wisconsin, USA.
Evolved Microstructure Atlas is a curated, licensed, provenance-tracked set of 3D structures of natural microstructures, intended as training data for micro-architected structural design. This set holds 7 entries from one source record (trabecular bone (species not stated in the record); trabecular bone, segmented micro-CT sample), all grade A, method V (volumetric source).
## Source
- Title as recorded: MicroCT Trabecular Bone Samples for Trabecular Thickness and Separation Measures
- DOI: https://doi.org/10.5281/zenodo.11061947
- Licence: CC-BY-4.0 (https://creativecommons.org/licenses/by/4.0/). Every entry in this set carries this licence.
- Attribution: Kuczynski, Michael (2024). MicroCT Trabecular Bone Samples for Trabecular Thickness and Separation Measures. https://doi.org/10.5281/zenodo.11061947. Licence: CC-BY-4.0.
Changes made: for every entry, the segmented volume shipped with the source was cleaned and meshed whole (no cropping). The meshes and renders are new works made from the source, not the original data. Per-entry source file, panel and SHA-256 of the original are in `metadata.jsonl`.
## How entries are made
- Region rule `whole`: the whole volume (largest centred cube if not a cube).
- Segmentation: shipped segmentation labels (label > 0 is solid).
- Cleaning: the largest 6-connected solid component is kept and void components that do not reach the region's faces are filled, so no entry is hollow by construction. The cube is meshed with marching cubes (level 0.5) with one empty voxel of padding, so crop faces are capped. Mesh method: sources with shipped labels (Cp): marching cubes on the cleaned binary labels, then a gentle smoothing of the vertex positions (Taubin filter, 10 iterations) with the vertices on the cube's cut faces held in their planes; there is no grey level to follow, and the triangles are not changed. Closed, one component and genus are those of the plain marching-cubes mesh and were checked again on the 3MF file reloaded from disk.
- Limits on flat cut faces and solid blocks: D29: keep a cube only if its final (cleaned) solid fraction is at most 0.6 and its cut-face share (mesh area lying in the six crop planes, all three vertices within 0.01 of the smallest voxel size of a plane, divided by the total mesh area) is at most 0.35. The 0.01 in that rule is a fraction: the tolerance is 1 % of the smallest voxel size (`cut_face_tolerance_um` in `params.json`). Both values are stored per entry (`solid_fraction_final`, `cut_face_share`).
- Every mesh was reloaded from the file on disk and checked; only entries whose mesh is closed (watertight) and a single component ship.
Grade and method: every entry is grade A (volumetric source), method V: a volumetric re-mesh (marching cubes on a licensed volume). Each mesh is computed from a licensed micro-CT volume (the scan named in its row); none is a parametric or image-to-3D model.
## Contents
7 entries, scans: 7, zones: whole.
| scan | entries | zones | voxel size (um) | cube side (um) |
|---|---|---|---|---|
| `BMLPL_001_REF_17_SEG_SUB.nii` | 1 | whole 1 | 17.41 (measured) | 1741 |
| `BMLPL_002_REF_17_SEG_SUB.nii` | 1 | whole 1 | 17.59 (measured) | 1759 |
| `BMLPL_003_BML_17_SEG_SUB.nii` | 1 | whole 1 | 17.41 (measured) | 1741 |
| `BMLPL_004_REF_17_SEG_SUB.nii` | 1 | whole 1 | 16.89 (measured) | 1689 |
| `BMLPL_005_REF_17_SEG_SUB.nii` | 1 | whole 1 | 16.56 (measured) | 1656 |
| `BMLPL_007_REF_17_SEG_SUB.nii` | 1 | whole 1 | 17.59 (measured) | 1759 |
| `BMLPL_009_BML_17_SEG_SUB.nii` | 1 | whole 1 | 17.59 (measured) | 879.5 |
Value ranges over the set:
| quantity | range |
|---|---|
| final solid fraction | 0.098 to 0.518 |
| cut-face share | 0.127 to 0.323 |
| voxel size (um) | 16.56 to 17.59 |
| cube side (um) | 879.5 to 1759 |
| triangles | 42332 to 374068 |
| suggested print scale | 20 to 50 |
## Units and suggested print scale
Each entry is one 3MF, `mesh_um.3mf`, in micrometres (the 3MF unit is `micron`). There is no separate print file. `suggested_print_scale` in `metadata.jsonl` and in the 3MF metadata is the factor (printed length / true length) that gives a part no larger than 60 mm (for example x20 turns 1 760 um into 35 mm); apply it in your slicer. Meshes are 3MF only (no STL); to convert, load each file with a mesh library (for example `trimesh.load(path, force="mesh")`, then `mesh.export("out.stl")`). STL has no unit field; the units are micrometres.
## Kept flags
These entries carry a flag that the curator's batch decision allowed. The flag is stated here and in the `kept_flags` column; no entry was dropped for it.
- `zenodo-11061947-BMLPL-004-REF-17-whole-x0y0z0-n100`: solid fraction 0.193 (raw) is outside the 0.25-0.85 window for rule 'whole'; kept and flagged, not dropped
- `zenodo-11061947-BMLPL-005-REF-17-whole-x0y0z0-n100`: solid fraction 0.098 (raw) is outside the 0.25-0.85 window for rule 'whole'; kept and flagged, not dropped
Median wall thickness (t_ref, in voxels) was measured on each cleaned sample; the wall floor is 12 voxels across a wall. Entries below the floor, kept and not dropped: `zenodo-11061947-BMLPL-002-REF-17-whole-x0y0z0-n100` (10.8), `zenodo-11061947-BMLPL-003-BML-17-whole-x0y0z0-n100` (8.9), `zenodo-11061947-BMLPL-004-REF-17-whole-x0y0z0-n100` (11.5), `zenodo-11061947-BMLPL-005-REF-17-whole-x0y0z0-n100` (8.2), `zenodo-11061947-BMLPL-007-REF-17-whole-x0y0z0-n100` (10.2). Wall thickness is informational here.
## Files and download parts
Per entry, in `entries/<part>/<entry_id>/`: `mesh_um.3mf` (the one 3MF), `params.json` (every parameter tagged `measured`, `literature` or `estimated`; `curator_decision` is the approved batch; the `export` block records the format, licence mode and version) and `renders/` (four simulated-SEM renders of the mesh, 8-bit greyscale). `metadata.jsonl` has one row per entry with its `part`. `SHA256SUMS` lists every file.
The set is divided only to keep downloads manageable (parts of at most about 1 GB, each scan in its own parts). Download one part, with `metadata.jsonl` for the rows (MB = 10^6 bytes):
| part | scan | entries | MB | download |
|---|---|---|---|---|
| `bmlpl-001-ref-17-seg-sub-p01` | `BMLPL_001_REF_17_SEG_SUB.nii` | 1 | 3.7 | `hf download evolved-microstructure-atlas/trabecular-bone --repo-type dataset --include "entries/bmlpl-001-ref-17-seg-sub-p01/*" --include "metadata.jsonl" --local-dir ./trabecular-bone` |
| `bmlpl-002-ref-17-seg-sub-p01` | `BMLPL_002_REF_17_SEG_SUB.nii` | 1 | 3.4 | `hf download evolved-microstructure-atlas/trabecular-bone --repo-type dataset --include "entries/bmlpl-002-ref-17-seg-sub-p01/*" --include "metadata.jsonl" --local-dir ./trabecular-bone` |
| `bmlpl-003-bml-17-seg-sub-p01` | `BMLPL_003_BML_17_SEG_SUB.nii` | 1 | 5.1 | `hf download evolved-microstructure-atlas/trabecular-bone --repo-type dataset --include "entries/bmlpl-003-bml-17-seg-sub-p01/*" --include "metadata.jsonl" --local-dir ./trabecular-bone` |
| `bmlpl-004-ref-17-seg-sub-p01` | `BMLPL_004_REF_17_SEG_SUB.nii` | 1 | 2.5 | `hf download evolved-microstructure-atlas/trabecular-bone --repo-type dataset --include "entries/bmlpl-004-ref-17-seg-sub-p01/*" --include "metadata.jsonl" --local-dir ./trabecular-bone` |
| `bmlpl-005-ref-17-seg-sub-p01` | `BMLPL_005_REF_17_SEG_SUB.nii` | 1 | 1.6 | `hf download evolved-microstructure-atlas/trabecular-bone --repo-type dataset --include "entries/bmlpl-005-ref-17-seg-sub-p01/*" --include "metadata.jsonl" --local-dir ./trabecular-bone` |
| `bmlpl-007-ref-17-seg-sub-p01` | `BMLPL_007_REF_17_SEG_SUB.nii` | 1 | 5.0 | `hf download evolved-microstructure-atlas/trabecular-bone --repo-type dataset --include "entries/bmlpl-007-ref-17-seg-sub-p01/*" --include "metadata.jsonl" --local-dir ./trabecular-bone` |
| `bmlpl-009-bml-17-seg-sub-p01` | `BMLPL_009_BML_17_SEG_SUB.nii` | 1 | 0.8 | `hf download evolved-microstructure-atlas/trabecular-bone --repo-type dataset --include "entries/bmlpl-009-bml-17-seg-sub-p01/*" --include "metadata.jsonl" --local-dir ./trabecular-bone` |
Whole set: `hf download evolved-microstructure-atlas/trabecular-bone --repo-type dataset --local-dir ./trabecular-bone`
## Other sets of the atlas
- [evolved-microstructure-atlas/cidaris-stereom](https://huggingface.co/datasets/evolved-microstructure-atlas/cidaris-stereom): Micro-CT data from the skeleton of the sea urchin Cidaris rugosa at four different resolutions
- [evolved-microstructure-atlas/coral-polyp-tomography](https://huggingface.co/datasets/evolved-microstructure-atlas/coral-polyp-tomography): How do stony corals build their skeleton? 4D insights into coral growth under ocean acidification - Raw Data 1
- [evolved-microstructure-atlas/coral-microct-dryad](https://huggingface.co/datasets/evolved-microstructure-atlas/coral-microct-dryad): Coral growth, retraction, defense, and regenerative strategies revealed by live microCT
## Known limits
- Entries are the whole segmented samples as shipped with the source, not cut from a larger specimen.
- The `atlas:licence` field inside each 3MF file records the licence of the input volume; the entry's licence is the one in `metadata.jsonl` and `params.json`.
- Each voxel size in `params.json` carries its source (file header, record text or literature).
Publisher: Sunnyday Technologies, Wisconsin, USA.