Crawler
Crawler
dataclass
#
Crawler(
dicom_dir: pathlib.Path,
output_dir: pathlib.Path | None = None,
dataset_name: str | None = None,
n_jobs: int = 1,
force: bool = False,
)
Crawl a DICOM directory and extract metadata.
Methods:
Name | Description |
---|---|
crawl |
Crawl the DICOM directory and extract metadata. |
get_folder |
Get the folder for a given series UID. |
get_modality |
Get the modality for a given series UID. |
crawl_db_raw
property
#
crawl_db_raw: (
imgtools.dicom.crawl.parse_dicoms.SeriesMetaMap
)
Return the crawl database raw.
crawl_results
property
#
crawl_results: (
imgtools.dicom.crawl.parse_dicoms.ParseDicomDirResult
)
Get the crawl results, validating they're available first.
crawl
#
Crawl the DICOM directory and extract metadata.
Source code in src/imgtools/dicom/crawl/crawler.py
get_folder
#
Get the folder for a given series UID.
Source code in src/imgtools/dicom/crawl/crawler.py
get_modality
#
Get the modality for a given series UID.