No description
Find a file
Xiao Furen 4204d2cd4c feat(core): improve scoring logic and add X-ray projection rendering
Implement a more robust scoring mechanism for screw optimization and
add functionality to generate synthetic X-ray projections (AP and
lateral views) from CT data.

Key changes:
- core: add `generate_cylinder_butt_torch` to create a mask for the
  screw entrance (0.25mm) to exempt it from bone-breaching penalties.
- core: update `cl_score_torch_xfr` to include a diameter preference
  bonus and utilize the entrance mask.
- core: adjust optimizer bounds and scoring weights to favor larger
  diameter screws and improve convergence.
- xfr_cbt_native: implement `render_xray_projections` to generate
  synthetic AP and lateral X-ray images for visualization.
- visualization: enhance `render_bone_figure` with semi-transparent
  spinous process rendering and improved depth sorting for screws.
- xfr_debug: improve level detection to support arbitrary lumbar
  levels (L1-L9) and add safe volume-level cleanup for CBT writing.
- config: update allowed diameters and lengths constants.
2026-09-13 09:14:55 +08:00
.kilo/agents refactor(core): improve cylinder parameter snapping and optimization logic 2026-08-26 22:36:07 +08:00
.vscode refactor(core): improve cylinder parameter snapping and optimization logic 2026-08-26 22:36:07 +08:00
config feat(core): improve scoring logic and add X-ray projection rendering 2026-09-13 09:14:55 +08:00
core feat(core): improve scoring logic and add X-ray projection rendering 2026-09-13 09:14:55 +08:00
imaging feat(imaging): implement coordinate transformation pipeline and directory restructuring 2026-09-09 13:39:47 +08:00
references refactor(core): remove global state and implement OptimizationContext 2026-08-30 00:54:55 +08:00
results first commit 2026-04-10 13:25:27 +08:00
utils refactor(imaging): improve orientation detection and segmentation robustness 2026-09-07 18:46:06 +08:00
visualization feat(core): improve scoring logic and add X-ray projection rendering 2026-09-13 09:14:55 +08:00
.gitignore feat(core): implement vertebral body rewards and enhanced segmentation logic 2026-09-05 04:30:10 +08:00
__init__.py first commit 2026-04-10 13:25:27 +08:00
experiment.ipynb first commit 2026-04-10 13:25:27 +08:00
optimization_benchmark_results_DE.csv first commit 2026-04-10 13:25:27 +08:00
optimization_benchmark_results_NM.csv first commit 2026-04-10 13:25:27 +08:00
optimization_benchmark_results_PSO.csv first commit 2026-04-10 13:25:27 +08:00
progress.json refactor(core): improve cylinder parameter snapping and optimization logic 2026-08-26 22:36:07 +08:00
run_all_cases.py first commit 2026-04-10 13:25:27 +08:00
run_benchmark.py first commit 2026-04-10 13:25:27 +08:00
run_de.py first commit 2026-04-10 13:25:27 +08:00
run_pso.py first commit 2026-04-10 13:25:27 +08:00
structure.txt first commit 2026-04-10 13:25:27 +08:00
xfr_cbt_native.py feat(core): improve scoring logic and add X-ray projection rendering 2026-09-13 09:14:55 +08:00
xfr_check_spinous.py feat(imaging): implement coordinate transformation pipeline and directory restructuring 2026-09-09 13:39:47 +08:00
xfr_debug.py feat(core): improve scoring logic and add X-ray projection rendering 2026-09-13 09:14:55 +08:00
xfr_inverse_transform.py feat(imaging): implement coordinate transformation pipeline and directory restructuring 2026-09-09 13:39:47 +08:00
xfr_migrate_crop.py feat(imaging): implement coordinate transformation pipeline and directory restructuring 2026-09-09 13:39:47 +08:00
xfr_orig_labels.py feat(imaging): implement coordinate transformation pipeline and directory restructuring 2026-09-09 13:39:47 +08:00
xfr_plot_level.py feat(imaging): implement coordinate transformation pipeline and directory restructuring 2026-09-09 13:39:47 +08:00
xfr_preprocess.py feat(imaging): implement coordinate transformation pipeline and directory restructuring 2026-09-09 13:39:47 +08:00
xfr_reprocess_ap.py feat(imaging): implement coordinate transformation pipeline and directory restructuring 2026-09-09 13:39:47 +08:00
xfr_rerender_spinous.py feat(core): improve scoring logic and add X-ray projection rendering 2026-09-13 09:14:55 +08:00