Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ENH: Improve DICOM reading performance
- Improve tag caching performance. There were unnecessary database queries due to looking up cache entries twice and looking up SOP instance UID for file. Also reduced some code duplication by factoring out reading of DICOM tags from files into a new helper function (readValueFromFile). - Add API to get first file or instance of a series. - Cache DatabaseDirectory to avoid recomputing it each time a file path is converted between relative and absolute.
- Loading branch information