Features

Aspose.Medical for .NET Features

Aspose.Medical for .NET is a powerful cross-platform class library that enables your applications to perform a wide variety of DICOM processing tasks. Below is a comprehensive overview of the features available.


DICOM File Operations

Open DICOM Files

  • Open DICOM files from file paths or streams
  • Support for fallback character encoding for non-ASCII text
  • Memory-optimized reading strategies for large files:
    • ReadAll: Load all data into memory (default)
    • ReadLargeOnDemand: Large tags loaded on-demand
    • SkipLargeTags: Skip tags exceeding threshold

Create DICOM Files

  • Create new DICOM files from scratch
  • Copy existing DICOM files as templates
  • Build DICOM files from datasets and metadata

Save DICOM Files

  • Save to disk or streams
  • Customizable save options for group lengths and sequence handling

DICOM Data Management

Reading Data Elements

  • Check data availability before retrieval
  • Get single or multiple values from tags
  • Safe retrieval with default fallback values
  • Support for all DICOM Value Representations (VR)

Modifying Data Elements

  • Add new DICOM tags
  • Update existing tag values
  • Remove individual or bulk data elements
  • Conditional removal based on criteria

Private Tags Support

  • Add custom private tags to tag dictionary
  • Work with vendor-specific DICOM extensions

Text Encoding

  • Multi-charset support for international characters
  • Custom encoding configuration
  • Automatic encoding detection

DICOM Imaging Operations

Frame Rendering

  • Render individual frames from DICOM files
  • Support for multi-frame modalities (CT, MRI scans)
  • Access frame count and dimensions
  • Output in BGRA-32 pixel format

Custom Rendering Options

  • Control overlay visibility
  • Configure overlay colors
  • Access individual pixel values

Raw Pixel Data Access

  • Direct access to pixel data arrays
  • Support for image analysis workflows

DICOM Transcoding

Transfer Syntax Conversion

  • Convert between different DICOM transfer syntaxes
  • Supported syntaxes:
    • Implicit VR Little Endian
    • Explicit VR Little Endian
    • JPEG Baseline (Process 1)
    • JPEG Lossless
    • JPEG-LS Lossless/Near-Lossless
    • JPEG 2000 Lossless/Lossy
    • RLE Lossless

DICOM Anonymization

Privacy Compliance

  • HIPAA and GDPR compliant anonymization
  • Remove or modify personally identifiable information (PII)
  • Preserve medical image integrity

Anonymization Profiles

  • Predefined confidentiality profiles:
    • Basic Profile
    • Retain Safe Private Option
    • Retain UIDs Option
    • Retain Device/Institution Ident
    • Retain Patient Characteristics
    • Clean Descriptions/Structured Content/Graphics

Custom Profiles

  • Load custom profiles from CSV, JSON, or XML files
  • Define custom anonymization rules per tag
  • Configurable actions: Remove, Zero, Replace, Keep

Advanced Anonymization

  • Custom patient name and ID replacement
  • In-place anonymization without creating new files

DICOM Serialization

JSON Serialization

  • Convert DICOM to JSON format
  • DICOM Web Services (PS3.18) compliance
  • Deserialize JSON back to DICOM

XML Serialization

  • Convert DICOM to XML format
  • Full round-trip support
  • Custom serialization options

Platform Support

  • Operating Systems: Windows, Linux, macOS
  • Architectures: x64, ARM64 (macOS)
  • Frameworks: .NET 8.0+
  • Thread Safety: Safe for multi-threaded applications (one thread per file)

Performance and Scalability

  • Memory-optimized processing for large DICOM files
  • Stream-based I/O for reduced disk operations
  • Configurable memory thresholds
  • Suitable for server and client deployments
 English