← Về thư mục
skills/pydicom/scripts/dicom_to_image.py
- _infer_format · function · L73-L86 — def _infer_format(path: str, explicit: str | None) -> str
- _normalize · function · L89-L112 — def _normalize(array: Any, *, numpy: Any, bit_depth: int) -> tuple[Any, dict[str, Any]]
- _apply_grayscale_transforms · function · L115-L157 — def _apply_grayscale_transforms( array: Any, dataset: Any, *, modality_transform: str, voi: str, voi_index: int, ) -> tuple[Any, list[str]]
- render_frame · function · L160-L349 — def render_frame(args: argparse.Namespace) -> dict[str, Any]
- build_parser · function · L352-L443 — def build_parser() -> argparse.ArgumentParser
- main · function · L446-L455 — def main(argv: list[str] | None = None) -> int