Reading DICOM metadata properties The GroupDocs.Metadata API supports extracting format-specific information from DICOM images.
The following are the steps to read the native DICOM metadata.
Load a DICOM image Get the root metadata package Extract the native metadata package using the DicomRootPackage.getDicomPackage method Read the DICOM metadata properties examples.advanced_usage.managing_metadata_for_specific_formats.image.dicom.DicomReadNativeMetadataProperties
try (Metadata metadata = new Metadata(Constants.InputDicom)) { DicomRootPackage root = metadata.getRootPackageGeneric(); if (root.getDicomPackage() != null) { System.out.println(root.getDicomPackage().getBitsAllocated()); System.out.println(root.getDicomPackage().getReds()); System.out.println(root.getDicomPackage().getGreens()); System.out.println(root.getDicomPackage().getBlues()); System....Along with full featured Java library we provide simple, but powerful...
Review the step-by-step guide to add watermark annotation using Java and learn how to use these instructions to create annotation in Java....of the popular annotation libraries for adding watermark annotation...project with the required library and importing essential classes...
Easily transform documents without a third-party tool and discover how to convert Word to PDF in Java, as well as check sample code to convert DOCX to PDF in Java....transformation, simply add a library, initialize classes, set properties...
Easily understand the stepwise process to compare Text files in C# and learn how to implement the compare two Text files and highlight the differences in C#....of the document comparison library. You can also perform these...
Efficiently convert PDF to ODT using C# without installing extra tools. Enhance document processing in projects with this guide on how to export PDF to ODT using C#....After configuring your chosen library and adjusting file paths, the...
Discover the process of how to merge XLSX files using C#. Enhance document management efficiency by learning how to combine XLSX files in C# programming language....configured the recommended document library and adjusted the file paths...