Downloads · 30 days
15
3% of all-time downloads
amirmmahdavikia/pelvitect-seg
pelvitect-seg is a image segmentation model from amirmmahdavikia. Use it for the image segmentation task on the model card, and read the license before you ship it in a product. The card lists the license as mit.
Part of the Pelvitect framework for automated analysis of developmental dysplasia of the hip (DDH) from anteroposterior pelvic radiographs.
Downloads · 30 days
15
3% of all-time downloads
All-time downloads
453
Public
Parameters
47.2M
1.1 GB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors189 MB · 100%
From the Hugging Face model README
Part of the Pelvitect framework for automated analysis of developmental dysplasia of the hip (DDH) from anteroposterior pelvic radiographs.
SegFormer-B3 fine-tuned on PelviSet (10.5281/zenodo.20615290), a unified
dataset of 14,622 pediatric pelvic radiographs with 12-class anatomical
segmentation masks. The model predicts pixel-level anatomical structures used
downstream by the Pelvitect geometry engine to compute clinical measurements
(acetabular index, center-edge angle, Tönnis grade, IHDI grade, Shenton line).
| Index | Structure |
|---|---|
| 0 | Background |
| 1 | Right ilium |
| 3 | Right obturator foramen |
| 5 | Right pubis |
| 7 | Right ischium |
| 9 | Right femoral head |
| 11 | Right proximal femur |
# Via Pelvitect (recommended — handles full pipeline)
from pelvitect import Pelvitect
import numpy as np
from PIL import Image
img = np.array(Image.open("xray.png").convert("RGB"))
result = Pelvitect(image=img).analyze()
print(result.summary())
# Mask only (no keypoints)
from pelvitect.analyzer import SegmentationMasker
masker = SegmentationMasker() # downloads this repo automatically
mask = masker.predict_mask(img) # (H, W) uint8, values 0-12
lm, shenton = masker.derive_all(mask) # geometry landmarks + Shenton arcs
nvidia/segformer-b3-finetuned-ade-512-512@dataset{pelviset2025,
author = {Mahdavikia, Amir M.},
title = {PelviSet: A Unified Pediatric Pelvic Radiograph Dataset},
year = {2025},
doi = {10.5281/zenodo.20615290},
}