No description
Introduces a new scoring component for vertebral body (VBODY) rewards to improve optimization accuracy. The update includes: - Added `vbody_tensor` to `OptimizationContext` and scoring functions to reward screw placement within the vertebral body. - Enhanced `segment_spinous_process` with diagnostic capabilities to detect spinous process absence (e.g., post-laminectomy). - Improved `resample_img` to prevent physical boundary clipping and handle interpolation more robustly for CT and label data. - Implemented a metadata cache using TinyDB in the preprocessing pipeline to skip low-resolution or insufficient scans efficiently. - Added robust error handling for NFS-based file operations and directory creation. - Added new visualization tools for bone figures and level plotting. refactor(imaging): improve segmentation and resampling precision - Refactored `seg_bone` to support original resolution binary masks and Signed Maurer Distance Maps (SMD) for more accurate boundary handling. - Updated `resample_img` to use `ceil` for output size calculation to ensure full physical coverage. - Optimized `process_single_image` to utilize metadata for skipping processing of invalid or low-quality scans. |
||
|---|---|---|
| .kilo/agents | ||
| .vscode | ||
| config | ||
| core | ||
| imaging | ||
| references | ||
| results | ||
| utils | ||
| visualization | ||
| .gitignore | ||
| __init__.py | ||
| experiment.ipynb | ||
| optimization_benchmark_results_DE.csv | ||
| optimization_benchmark_results_NM.csv | ||
| optimization_benchmark_results_PSO.csv | ||
| progress.json | ||
| run_all_cases.py | ||
| run_benchmark.py | ||
| run_de.py | ||
| run_pso.py | ||
| structure.txt | ||
| xfr_check_spinous.py | ||
| xfr_debug.py | ||
| xfr_plot_level.py | ||
| xfr_preprocess.py | ||