File size: 871 Bytes
d5d23f9
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
"""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",
)