Documentation of the Highdicom Package
highdicom is a pure Python package built on top of pydicom to provide a higher-level application programming interface (API) for working with DICOM files. Its focus is on common operations required for machine learning, computer vision, and other similar computational analyses. Broadly speaking, the package helps with three types of task:
Reading existing DICOM image files of a wide variety of modalities (covering radiology, pathology, and more) and selecting and formatting its frames for computational analysis. This includes considerations such as spatial arrangements of frames, and application of pixel transforms, which are not handled by
pydicom.Storing image-derived information, for example from computational analyses or human annotation, in derived DICOM objects for communication and storage. This includes:
Annotations
Parametric Map images
Segmentation images
Structured Report documents (containing numerical results, qualitative evaluations, and/or vector graphic annotations)
Secondary Capture images
Key Object Selection documents
Legacy Converted Enhanced CT/PET/MR images (e.g., for single frame to multi-frame conversion)
Softcopy Presentation State instances (including Grayscale, Color, and Pseudo-Color)
Reading existing derived DICOM files of the above types and filtering and accessing the information contained within them.
For new users looking to get an overview of the library’s capabilities and perform basic tasks, we recommend starting with the Quick Start page. For a detailed introduction to many of the library’s capabilities, see the rest of the User Guide. Documentation of all classes and functions may be found in the API Documentation.
For questions, suggestions, or to report bugs, please use the issue tracker on our GitHub repository.
Contents:
- Overview and Design
- Installation Guide
- User Guide
- Quick Start
- Loading Images and Accessing Frames
- Constructing Total Pixel Matrices
- Working with Volumes
- Creating Segmentation (SEG) images
- Parsing Segmentation (SEG) images
- Creating Structured Report (SR) documents
- Parsing Structured Report (SR) documents
- Creating Microscopy Bulk Simple Annotation (ANN) objects
- Parsing Microscopy Bulk Simple Annotation (ANN) objects
- Creating Secondary Capture (SC) images
- Creating Grayscale Softcopy Presentation State (GSPS) Objects
- General Concepts
- Information Object Definitions (IODs)
- Quick Start
- Developer Guide
- Code of Conduct
- Conformance Statement
- Citation
- License
- Release Notes
- API Documentation
- highdicom package
AlgorithmIdentificationSequenceAnatomicalOrientationTypeValuesAxisHandednessChannelDescriptorContentCreatorIdentificationCodeSequenceContentQualificationValuesContributingEquipmentCoordinateSystemNamesDimensionOrganizationTypeValuesImageIssuerOfIdentifierLUTLateralityValuesModalityLUTModalityLUTTransformationPadModesPaletteColorLUTPaletteColorLUTTransformationPatientOrientationValuesBipedPatientOrientationValuesQuadrupedPatientSexValuesPhotometricInterpretationValuesPixelIndexDirectionsPixelMeasuresSequencePixelRepresentationValuesPlanarConfigurationValuesPlaneOrientationSequencePlanePositionSequencePresentationLUTPresentationLUTShapeValuesPresentationLUTTransformationRGBColorChannelsReferencedImageSequenceRescaleTypeValuesSOPClassSegmentedPaletteColorLUTSpecimenCollectionSpecimenDescriptionSpecimenPreparationStepSpecimenProcessingSpecimenSamplingSpecimenStainingUIDUniversalEntityIDTypeValuesVOILUTVOILUTFunctionValuesVOILUTTransformationVolumeVolumeGeometryVolumeToVolumeTransformerget_volume_from_series()imread()- highdicom.color module
- highdicom.frame module
- highdicom.io module
- highdicom.spatial module
- highdicom.valuerep module
- highdicom.utils module
- highdicom.pixels module
- highdicom.legacy package
- highdicom.ann package
- highdicom.ko package
- highdicom.pm package
- highdicom.pr package
AdvancedBlendingAdvancedBlendingPresentationStateAnnotationUnitsValuesBlendingDisplayBlendingDisplayInputBlendingModeValuesColorSoftcopyPresentationStateGraphicAnnotationGraphicGroupGraphicLayerGraphicObjectGraphicTypeValuesGrayscaleSoftcopyPresentationStatePseudoColorSoftcopyPresentationStateSoftcopyVOILUTTransformationTextJustificationValuesTextObject
- highdicom.seg package
- highdicom.sr package
AlgorithmIdentificationCodeContentItemCodedConceptCompositeContentItemComprehensive3DSRComprehensiveSRContainerContentItemContentItemContentSequenceCoordinatesForMeasurementCoordinatesForMeasurement3DDateContentItemDateTimeContentItemDeviceObserverIdentifyingAttributesEnhancedSRFindingSiteGraphicTypeValuesGraphicTypeValues3DImageContentItemImageLibraryImageLibraryEntryDescriptorsImageRegionImageRegion3DLanguageOfContentItemAndDescendantsLongitudinalTemporalOffsetFromEventMeasurementMeasurementPropertiesMeasurementReportMeasurementStatisticalPropertiesMeasurementsAndQualitativeEvaluationsNormalRangePropertiesNumContentItemObservationContextObserverContextPersonObserverIdentifyingAttributesPixelOriginInterpretationValuesPlanarROIMeasurementsAndQualitativeEvaluationsPnameContentItemQualitativeEvaluationRealWorldValueMapReferencedSegmentReferencedSegmentationFrameRelationshipTypeValuesScoord3DContentItemScoordContentItemSourceImageForMeasurementSourceImageForMeasurementGroupSourceImageForRegionSourceImageForSegmentationSourceSeriesForSegmentationSubjectContextSubjectContextDeviceSubjectContextFetusSubjectContextSpecimenTcoordContentItemTemporalRangeTypeValuesTextContentItemTimeContentItemTimePointContextTrackingIdentifierUIDRefContentItemValueTypeValuesVolumeSurfaceVolumetricROIMeasurementsAndQualitativeEvaluationsWaveformContentItemsrread()- highdicom.sr.utils module
- highdicom.sc package
- highdicom package