[WIP] No Dose3D patient creation enabled, better CT export - #89
Open
jhajduga wants to merge 2 commits into
Open
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Completed: Generic 3MF-based phantom and CT generation workflow
Implemented support for importing arbitrary 3MF/DB-based phantom geometries without constructing a patient object.
The new workflow allows geometry-only simulations to be run directly from imported 3MF models and supports generating synthetic CT data in both CSV and DICOM formats.
Completed changes:
GenericPhantomas anIPhysicalVolume-based geometry module,GenericPhantom_3mfenvelope/build mode,PatientGeometryto operate withm_patient == nullptr,MaterialsSvc,README.md.The documentation now includes:
This provides a complete geometry-only workflow for importing a 3MF model and generating synthetic CT output without requiring a conventional patient definition or sensitive detector configuration.
TODO: Generalized 3MF geometry and scoring configuration
The next step is to remove the remaining hard-coded assumptions from the geometry construction and scoring workflow.
Planned work:
add basic aliases for biological tissues and commonly used material names, (in material service)
add TOML-configurable sensitive-volume selection for geometries imported from 3MF/DB,
allow sensitive volumes to be selected using a list of element names, database keys, logical-volume names, or other stable identifiers,
extend the geometry-building loop so imported elements and their roles can be defined entirely in TOML,
distinguish explicitly between:
remove the current workarounds required to run simulations without a patient definition or sensitive volume,
make geometry-only CT export a first-class execution mode rather than a special case of the standard simulation workflow,
consider adding a dedicated executable or alternative
main.cppfocused exclusively on geometry import and synthetic CT generation.A possible target configuration could allow each imported element to define:
The final goal is to make arbitrary imported geometries fully configurable from TOML, without requiring source-code changes for each new phantom.