JerryX's picture
Publish all-view cine ONNX models and reference assets
d5d23f9 verified
Raw
History Blame Contribute Delete
871 Bytes
"""Versioned presets recovered from the historical tuning studies."""
from .types import AdaptiveContourConfig, SplineContourConfig
LAX_EDITABLE_CONTOUR_V1 = AdaptiveContourConfig(
min_control_points=8,
max_control_points=10,
tolerance_mm=1.5,
min_spacing_mm=4.0,
tension=0.95,
samples_per_segment=20,
name="lax_editable_contour_v1",
)
# Historical SAX inference compared s=[0, 10, 30, 40, 50, 100] at 1 mm and
# retained s=40 with 100 output samples. The January editable-contour pass then
# tried 6, 8, and 10 curvature-selected anchors at a 0.985 IoU target.
SAX_MYOCARDIUM_BSPLINE_V1 = SplineContourConfig(
smoothing=40.0,
n_points=100,
control_point_counts=(6, 8, 10),
control_point_iou_threshold=0.985,
reconstruction_smoothing=0.0,
simplification_method="curvature",
name="sax_myocardium_bspline_v1",
)