-
Notifications
You must be signed in to change notification settings - Fork 0
Amira workflow
When loading directories of dicoms into Amira, it seems to get get confused for two reasons.
- CT scans were performed in stages, and
- these stages overlap, causing fragmentation and repetition of data.
consolidate.m attempts to overcome this by looping through directories, checking each .dcm file's SliceLocation, and copying the .dcm files to a new directory whose SliceLocation had not been checked.
The hope is, with this, Amira will be able to import this new directory as a single dicom stack with which to generate surface and volume information.
Unresolved Question: Is this code general enough to handle all stacks of dicoms? Should this code be expanded to handle other file formats?
Known Problems: Windows style filepaths cause consolidate.m to throw errors when attempting to copy files to a new directory on a non-Windows macine. Changes can be made to be made to automatically adopt the system's filepath convention.