itkwasm_dicom.read_dicom_encapsulated_pdf
ΒΆ
Module ContentsΒΆ
FunctionsΒΆ
Extract PDF file from DICOM encapsulated PDF. |
APIΒΆ
- itkwasm_dicom.read_dicom_encapsulated_pdf.read_dicom_encapsulated_pdf(dicom_file: os.PathLike, read_file_only: bool = False, read_dataset: bool = False, read_xfer_auto: bool = False, read_xfer_detect: bool = False, read_xfer_little: bool = False, read_xfer_big: bool = False, read_xfer_implicit: bool = False, accept_odd_length: bool = False, assume_even_length: bool = False, enable_cp246: bool = False, disable_cp246: bool = False, retain_un: bool = False, convert_un: bool = False, enable_correction: bool = False, disable_correction: bool = False) bytes ΒΆ
Extract PDF file from DICOM encapsulated PDF.
- Parameters:
dicom_file (os.PathLike) β Input DICOM file
read_file_only (bool) β read file format only
read_dataset (bool) β read data set without file meta information
read_xfer_auto (bool) β use TS recognition (default)
read_xfer_detect (bool) β ignore TS specified in the file meta header
read_xfer_little (bool) β read with explicit VR little endian TS
read_xfer_big (bool) β read with explicit VR big endian TS
read_xfer_implicit (bool) β read with implicit VR little endian TS
accept_odd_length (bool) β accept odd length attributes (default)
assume_even_length (bool) β assume real length is one byte larger
enable_cp246 (bool) β read undefined len UN as implicit VR (default)
disable_cp246 (bool) β read undefined len UN as explicit VR
retain_un (bool) β retain elements as UN (default)
convert_un (bool) β convert to real VR if known
enable_correction (bool) β enable automatic data correction (default)
disable_correction (bool) β disable automatic data correction
- Returns:
Output pdf file
- Return type: