SlideShare une entreprise Scribd logo
1  sur  17
shijupk@gmail.com
igital maging and mmunication in edicine
DICOM File
Meta Info
DICOM
Dataset
File Preamble
Prefix
Data Element
Data Element
Data Element
Data Element
Data Element
*
*
*
128 Bytes (Set to 00H by default)
DICM
Attribute Name Tag Type
Group Length (0002, 0000) 1
File Meta InfoVersion (0002, 0001) 1
Media Storage SOP Class UID (0002, 0002) 1
Media Storage SOP Instance (0002, 0003) 1
Transfer Syntax UID (0002, 0010) 1
Implementation Class UID (0002, 0012) 1
ImplementationVersion Name (0002, 0013) 3
Source Application EntityTitle (0002, 0016) 3
Private Info Creator UID (0002, 0100) 3
Private Info (0002, 00102) 1C
Group 0002H elements are always encoded in ExplicitVR Little Endian
Data Element
Data Element
Data Element
Data Element
Data Element
*
*
*
Prefix
Preamble
ExplicitV R other than above
Element
Number
Group Number Value Length Value Field
2 bytes2 bytes 4bytes Value Length bytes
ImplicitV R
Element
Number
Group Number
Value
Representation
Value Length Value Field
2 bytes2 bytes 2 bytes 2 bytes Value Length bytes
ExplicitV R of OB, OW, OF, OD, SQ, UC, UR, UT or UN
Element
Number
Group Number
Value
Representation
Value Field
2 bytes2 bytes 2 bytes Value Length bytes
Reserved
2 bytes
Value Length
4 bytes
• Clinical data comes in a wide variety of formats.
• Ex. Distances measured in millimeters, time in seconds,
• patient names are typically written in alphabetic characters, and
so on.
• The DICOM standard defines 27 basic data types, known as value
representations (VRs),
• which are designed to encapsulate all possible clinical data types.
• EachVR has its own abbreviated two-letter name, a definition of
what it represents, a description of what characters are allowed in
its data, and a pre-scribed data length.
• Fixed FormatVR:
• DA: Date
• TM:Time
• DT: DateTime
• PN: Person Name
• OtherVR:
• OB: Other Byte
• OW: OtherWord
• OF: Other Float
• SQ: Sequence
• AE:Application Entity
• AS:Age String
• AT: AttributeTag
• OtherVR
•CS: Code String
•UI: Unique Identifier
•UN: Unknown
01001000 01100101
01101100 01101100
01101111 00100000
01000100 01001001
01000011 01001111
01001101 00001010
Hello DICOM
• Store the most significant byte in the smallest address
• store the least significant byte in the smallest address
Address Value
1000 90
1001 AB
1002 12
1003 cd
Address Value
1000 CD
1001 12
1002 AB
1003 90
Transfer Syntax UID Transfer Syntax Name
1.2.840.10008.1.2 ImplicitVR Endian: DefaultTransfer Syntax for DICOM
1.2.840.10008.1.2.1 ExplicitVR Little Endian
1.2.840.10008.1.2.1.99 Deflated ExplicitVR Little Endian
1.2.840.10008.1.2.2 ExplicitVR Big Endian
Transfer Syntax UID Transfer Syntax Name
1.2.840.10008.1.2.4.50 JPEG Baseline (Process 1):
Default Transfer Syntax for Lossy JPEG 8-bit Image Compression
1.2.840.10008.1.2.4.51 JPEG Baseline (Processes 2 & 4):
Default Transfer Syntax for Lossy JPEG 12-bit Image Compression
1.2.840.10008.1.2.4.57 JPEG Lossless, Nonhierarchical (Processes 14)
1.2.840.10008.1.2.4.70 JPEG Lossless, Nonhierarchical, First-Order Prediction
DefaultTransfer Syntax for Lossless JPEG Image Compression
1.2.840.10008.1.2.4.80 JPEG-LS Lossless Image Compression
1.2.840.10008.1.2.4.81 JPEG-LS Lossy (Near- Lossless) Image Compression
1.2.840.10008.1.2.4.90 JPEG 2000 Image Compression (Lossless Only)
1.2.840.10008.1.2.4.91 JPEG 2000 Image Compression
1.2.840.10008.1.2.4.92 JPEG 2000 Part 2 Multicomponent Image Compression (Lossless Only)
1.2.840.10008.1.2.4.93 JPEG 2000 Part 2 Multicomponent Image Compression
1.2.840.10008.1.2.5 RLE Lossless
1.2.840.10008.1.2.4.94 JPIP Referenced
1.2.840.10008.1.2.4.95 JPIP Referenced Deflate
1.2.840.10008.1.2.6.1 RFC 2557 MIME Encapsulation
1.2.840.10008.1.2.4.100 MPEG2 Main Profile Main Level
1.2.840.10008.1.2.4.103 MPEG-4 AVC/H.264 BD-compatible High Profile / Level 4.1
1.2.840.10008.1.2.4.102 MPEG-4 AVC/H.264 High Profile / Level 4.1
SOP Class UID
SOP Instance UID
Patient Name
Patient ID
Patient Birth Date
Patient Sex
Study UID
Study Date
Study ID
Referring Physician
Accession Number
Series UID
Series Number
ModalityType
Manufacturer
Institution Name
Image UID
Image Number
ImageType
Image Pixel Attributes
Window widthWindow
Center
Patient
Study
Series Series Series
Image
Image
Image
Image
Image
Image
Image
Image
Image
Other Studies
Patient Entity
Study Entity
Series Entity
Image Entity
General Image
Attributes
Image Pixel
Attributes
Samples per Pixel
Photometric Interpretation
Rows
Columns
BitsAllocated
Bits Stored
Pixel Representation
Pixel Data
Planar Configuration
Samples per Pixel
Photometric Interpretation
Rows
Columns
BitsAllocated
Bits Stored
Pixel Representation
Pixel Data
Planar Configuration
Un used
BitsAllocated
Pixel Cell
High Bit
High Bit
Un used Pixel Cell Un used Pixel Cell
Pixel Data Stream
Pixel Sample
0111215
BitsAllocated = 16
Bits Stored = 12
High bit = 11
Pixel Cell
Pixel sample
value
Pixel sample
value
Pixel sample
value
Pixel sample
value
Pixel sample
value
Pixel sample
value
….. …. …. …..
…. …. …. … …
…. …. …. …
…. …. …. … …
…. …. …. … …
Rows
Columns
Pixel data Apply LUT Render
WindowWidth /Window Center
where x is the input value, y is an output value with a range
from y min to y max
c isWindow Center (0028,1050) and w isWindow
Width (0028,1051):
If (x <= c - 0.5 - (w-1)/2), then y = y min
else if (x > c - 0.5 + (w-1)/2), then y = y max ,
else y = ((x - (c - 0.5)) / (w-1) + 0.5) * (y max - y min )+ y min
VOILUT Function
SIGMOID Descriptor
If the value ofVOI LUT Function (0028,1056) is SIGMOID, the function to be
used to convert the output of the (conceptual) Modality LUT values to the
input of the (conceptual) Presentation LUT is given by
OUT =
𝑜𝑢𝑡𝑝𝑢𝑡_𝑟𝑎𝑛𝑔𝑒
1+exp(−4
𝐼𝑁 −𝑊𝐶
𝑊𝑊
where
IN is the input value of the LUT (i.e., the output of the (conceptual) Modality LUT).
WC (resp. WW) is the Window Center (resp. Window Width) defined interactively by the user
or by using the values provided in (0028,1050) (resp. 0028,1051).
Output_range is the maximum output value
Questions are the answers!

Contenu connexe

Tendances

Digital fluoro
Digital fluoroDigital fluoro
Digital fluoroRad Tech
 
Pattern recognition in medical images
Pattern recognition in medical imagesPattern recognition in medical images
Pattern recognition in medical imagesJayabalanRajalakshmi
 
Introduction to digital radiography and pacs
Introduction to digital radiography and pacsIntroduction to digital radiography and pacs
Introduction to digital radiography and pacsRad Tech
 
Picture Archiving and Communication Systems (PACS)
Picture Archiving and Communication Systems (PACS)Picture Archiving and Communication Systems (PACS)
Picture Archiving and Communication Systems (PACS)Tanveer Abbas
 
Digital radiography physical principles and quality control by euclid seeram ...
Digital radiography physical principles and quality control by euclid seeram ...Digital radiography physical principles and quality control by euclid seeram ...
Digital radiography physical principles and quality control by euclid seeram ...Mohammad Al-Sakran Ayasrah, Ph.D.
 
Mobile c arm equip and dsa
Mobile c arm equip and dsaMobile c arm equip and dsa
Mobile c arm equip and dsaRad Tech
 
Digital Radiography PHYSICS
Digital Radiography PHYSICSDigital Radiography PHYSICS
Digital Radiography PHYSICSShubhankar Mitra
 
Radiology Information System (RIS)
Radiology Information System (RIS)Radiology Information System (RIS)
Radiology Information System (RIS)Ragesh R Nair
 
Emergency radiography
Emergency radiographyEmergency radiography
Emergency radiographyVignesh Viki
 
Direct digital radiography(1) (1)
Direct digital radiography(1) (1)Direct digital radiography(1) (1)
Direct digital radiography(1) (1)Tarun Kumar
 
Rad phy digital radiography
Rad phy digital radiographyRad phy digital radiography
Rad phy digital radiographyRad Tech
 
Mohannad hussain dicom and imaging tools
Mohannad hussain   dicom and imaging toolsMohannad hussain   dicom and imaging tools
Mohannad hussain dicom and imaging toolsDevDays
 

Tendances (20)

Digital fluoro
Digital fluoroDigital fluoro
Digital fluoro
 
Pacs system
Pacs systemPacs system
Pacs system
 
Integrated RIS PACS System
Integrated RIS PACS SystemIntegrated RIS PACS System
Integrated RIS PACS System
 
Pattern recognition in medical images
Pattern recognition in medical imagesPattern recognition in medical images
Pattern recognition in medical images
 
Teleradiology
TeleradiologyTeleradiology
Teleradiology
 
Introduction to digital radiography and pacs
Introduction to digital radiography and pacsIntroduction to digital radiography and pacs
Introduction to digital radiography and pacs
 
Picture Archiving and Communication Systems (PACS)
Picture Archiving and Communication Systems (PACS)Picture Archiving and Communication Systems (PACS)
Picture Archiving and Communication Systems (PACS)
 
Teleradiology: Concepts and Evolution
Teleradiology: Concepts and EvolutionTeleradiology: Concepts and Evolution
Teleradiology: Concepts and Evolution
 
Dr,system abhishek
Dr,system abhishekDr,system abhishek
Dr,system abhishek
 
Digital radiography physical principles and quality control by euclid seeram ...
Digital radiography physical principles and quality control by euclid seeram ...Digital radiography physical principles and quality control by euclid seeram ...
Digital radiography physical principles and quality control by euclid seeram ...
 
Mobile c arm equip and dsa
Mobile c arm equip and dsaMobile c arm equip and dsa
Mobile c arm equip and dsa
 
Digital Radiography
Digital RadiographyDigital Radiography
Digital Radiography
 
Pacs
PacsPacs
Pacs
 
Digital Radiography PHYSICS
Digital Radiography PHYSICSDigital Radiography PHYSICS
Digital Radiography PHYSICS
 
Radiology Information System (RIS)
Radiology Information System (RIS)Radiology Information System (RIS)
Radiology Information System (RIS)
 
Emergency radiography
Emergency radiographyEmergency radiography
Emergency radiography
 
Direct digital radiography(1) (1)
Direct digital radiography(1) (1)Direct digital radiography(1) (1)
Direct digital radiography(1) (1)
 
Rad phy digital radiography
Rad phy digital radiographyRad phy digital radiography
Rad phy digital radiography
 
Cr & dr
Cr & drCr & dr
Cr & dr
 
Mohannad hussain dicom and imaging tools
Mohannad hussain   dicom and imaging toolsMohannad hussain   dicom and imaging tools
Mohannad hussain dicom and imaging tools
 

Similaire à DICOM structure

How to process Flat Files documents (TXT, CSV …) in BizTalk Server
How to process Flat Files documents (TXT, CSV …) in BizTalk ServerHow to process Flat Files documents (TXT, CSV …) in BizTalk Server
How to process Flat Files documents (TXT, CSV …) in BizTalk ServerSandro Pereira
 
IP Addressing.ppt
IP Addressing.pptIP Addressing.ppt
IP Addressing.pptjAIREN1
 
MPEG-4 BIFS and MPEG-2 TS: Latest developments for digital radio services
MPEG-4 BIFS and MPEG-2 TS: Latest developments for digital radio servicesMPEG-4 BIFS and MPEG-2 TS: Latest developments for digital radio services
MPEG-4 BIFS and MPEG-2 TS: Latest developments for digital radio servicesCyril Concolato
 
Tablas y almacenamiento en windows azure
Tablas y almacenamiento en windows azureTablas y almacenamiento en windows azure
Tablas y almacenamiento en windows azureEduardo Castro
 
SignalFx Kafka Consumer Optimization
SignalFx Kafka Consumer OptimizationSignalFx Kafka Consumer Optimization
SignalFx Kafka Consumer OptimizationSignalFx
 
International Burmese democratic forces and friends of Burma who
International Burmese democratic forces and friends of Burma who International Burmese democratic forces and friends of Burma who
International Burmese democratic forces and friends of Burma who Burma Democratic Concern (BDC)
 
ADE UNIT-III (Digital Fundamentals).pptx
ADE UNIT-III (Digital Fundamentals).pptxADE UNIT-III (Digital Fundamentals).pptx
ADE UNIT-III (Digital Fundamentals).pptxKUMARS641064
 
Sqlmaterial 120414024230-phpapp01
Sqlmaterial 120414024230-phpapp01Sqlmaterial 120414024230-phpapp01
Sqlmaterial 120414024230-phpapp01Lalit009kumar
 
A Decompiler for Blackhain-Based Smart Contracts Bytecode
A Decompiler for Blackhain-Based Smart Contracts BytecodeA Decompiler for Blackhain-Based Smart Contracts Bytecode
A Decompiler for Blackhain-Based Smart Contracts BytecodeShakacon
 
Structure of DICOM Image
Structure of DICOM ImageStructure of DICOM Image
Structure of DICOM Imageisha saxena
 
Block Cipher.cryptography_miu_year5.pptx
Block Cipher.cryptography_miu_year5.pptxBlock Cipher.cryptography_miu_year5.pptx
Block Cipher.cryptography_miu_year5.pptxHodaAhmedBekhitAhmed
 
[Pgday.Seoul 2017] 3. PostgreSQL WAL Buffers, Clog Buffers Deep Dive - 이근오
[Pgday.Seoul 2017] 3. PostgreSQL WAL Buffers, Clog Buffers Deep Dive - 이근오[Pgday.Seoul 2017] 3. PostgreSQL WAL Buffers, Clog Buffers Deep Dive - 이근오
[Pgday.Seoul 2017] 3. PostgreSQL WAL Buffers, Clog Buffers Deep Dive - 이근오PgDay.Seoul
 
Subnetting Basics Tutorial
Subnetting Basics TutorialSubnetting Basics Tutorial
Subnetting Basics Tutorialmikem801
 
Kaizen cso002 l1
Kaizen cso002 l1Kaizen cso002 l1
Kaizen cso002 l1asslang
 

Similaire à DICOM structure (20)

How to process Flat Files documents (TXT, CSV …) in BizTalk Server
How to process Flat Files documents (TXT, CSV …) in BizTalk ServerHow to process Flat Files documents (TXT, CSV …) in BizTalk Server
How to process Flat Files documents (TXT, CSV …) in BizTalk Server
 
Data types in c++
Data types in c++ Data types in c++
Data types in c++
 
IP Addressing.ppt
IP Addressing.pptIP Addressing.ppt
IP Addressing.ppt
 
Mifare cards
Mifare cardsMifare cards
Mifare cards
 
MPEG-4 BIFS and MPEG-2 TS: Latest developments for digital radio services
MPEG-4 BIFS and MPEG-2 TS: Latest developments for digital radio servicesMPEG-4 BIFS and MPEG-2 TS: Latest developments for digital radio services
MPEG-4 BIFS and MPEG-2 TS: Latest developments for digital radio services
 
ICIECA 2014 Paper 12
ICIECA 2014 Paper 12ICIECA 2014 Paper 12
ICIECA 2014 Paper 12
 
Tablas y almacenamiento en windows azure
Tablas y almacenamiento en windows azureTablas y almacenamiento en windows azure
Tablas y almacenamiento en windows azure
 
SignalFx Kafka Consumer Optimization
SignalFx Kafka Consumer OptimizationSignalFx Kafka Consumer Optimization
SignalFx Kafka Consumer Optimization
 
Theory1&amp;2
Theory1&amp;2Theory1&amp;2
Theory1&amp;2
 
International Burmese democratic forces and friends of Burma who
International Burmese democratic forces and friends of Burma who International Burmese democratic forces and friends of Burma who
International Burmese democratic forces and friends of Burma who
 
ADE UNIT-III (Digital Fundamentals).pptx
ADE UNIT-III (Digital Fundamentals).pptxADE UNIT-III (Digital Fundamentals).pptx
ADE UNIT-III (Digital Fundamentals).pptx
 
Sqlmaterial 120414024230-phpapp01
Sqlmaterial 120414024230-phpapp01Sqlmaterial 120414024230-phpapp01
Sqlmaterial 120414024230-phpapp01
 
A Decompiler for Blackhain-Based Smart Contracts Bytecode
A Decompiler for Blackhain-Based Smart Contracts BytecodeA Decompiler for Blackhain-Based Smart Contracts Bytecode
A Decompiler for Blackhain-Based Smart Contracts Bytecode
 
Structure of DICOM Image
Structure of DICOM ImageStructure of DICOM Image
Structure of DICOM Image
 
Block Cipher.cryptography_miu_year5.pptx
Block Cipher.cryptography_miu_year5.pptxBlock Cipher.cryptography_miu_year5.pptx
Block Cipher.cryptography_miu_year5.pptx
 
[Pgday.Seoul 2017] 3. PostgreSQL WAL Buffers, Clog Buffers Deep Dive - 이근오
[Pgday.Seoul 2017] 3. PostgreSQL WAL Buffers, Clog Buffers Deep Dive - 이근오[Pgday.Seoul 2017] 3. PostgreSQL WAL Buffers, Clog Buffers Deep Dive - 이근오
[Pgday.Seoul 2017] 3. PostgreSQL WAL Buffers, Clog Buffers Deep Dive - 이근오
 
Subnetting Basics Tutorial
Subnetting Basics TutorialSubnetting Basics Tutorial
Subnetting Basics Tutorial
 
Kaizen cso002 l1
Kaizen cso002 l1Kaizen cso002 l1
Kaizen cso002 l1
 
Network Protocol
Network ProtocolNetwork Protocol
Network Protocol
 
microprocessors
microprocessorsmicroprocessors
microprocessors
 

Dernier

Install Stable Diffusion in windows machine
Install Stable Diffusion in windows machineInstall Stable Diffusion in windows machine
Install Stable Diffusion in windows machinePadma Pradeep
 
Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 3652toLead Limited
 
Commit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easyCommit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easyAlfredo García Lavilla
 
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Scott Keck-Warren
 
Vertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering TipsVertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering TipsMiki Katsuragi
 
Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Enterprise Knowledge
 
Streamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupStreamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupFlorian Wilhelm
 
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024BookNet Canada
 
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 3652toLead Limited
 
SAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptxSAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptxNavinnSomaal
 
Story boards and shot lists for my a level piece
Story boards and shot lists for my a level pieceStory boards and shot lists for my a level piece
Story boards and shot lists for my a level piececharlottematthew16
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsMark Billinghurst
 
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubKalema Edgar
 
Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Commit University
 
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr LapshynFwdays
 
APIForce Zurich 5 April Automation LPDG
APIForce Zurich 5 April  Automation LPDGAPIForce Zurich 5 April  Automation LPDG
APIForce Zurich 5 April Automation LPDGMarianaLemus7
 
My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024The Digital Insurer
 
costume and set research powerpoint presentation
costume and set research powerpoint presentationcostume and set research powerpoint presentation
costume and set research powerpoint presentationphoebematthew05
 
Understanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitectureUnderstanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitecturePixlogix Infotech
 

Dernier (20)

Install Stable Diffusion in windows machine
Install Stable Diffusion in windows machineInstall Stable Diffusion in windows machine
Install Stable Diffusion in windows machine
 
Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365
 
Commit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easyCommit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easy
 
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024
 
Vertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering TipsVertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering Tips
 
Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024
 
Streamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupStreamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project Setup
 
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
 
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
 
SAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptxSAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptx
 
Story boards and shot lists for my a level piece
Story boards and shot lists for my a level pieceStory boards and shot lists for my a level piece
Story boards and shot lists for my a level piece
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR Systems
 
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding Club
 
Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!
 
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
 
APIForce Zurich 5 April Automation LPDG
APIForce Zurich 5 April  Automation LPDGAPIForce Zurich 5 April  Automation LPDG
APIForce Zurich 5 April Automation LPDG
 
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptxE-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
 
My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024
 
costume and set research powerpoint presentation
costume and set research powerpoint presentationcostume and set research powerpoint presentation
costume and set research powerpoint presentation
 
Understanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitectureUnderstanding the Laravel MVC Architecture
Understanding the Laravel MVC Architecture
 

DICOM structure

  • 2.
  • 3. igital maging and mmunication in edicine
  • 4. DICOM File Meta Info DICOM Dataset File Preamble Prefix Data Element Data Element Data Element Data Element Data Element * * * 128 Bytes (Set to 00H by default) DICM Attribute Name Tag Type Group Length (0002, 0000) 1 File Meta InfoVersion (0002, 0001) 1 Media Storage SOP Class UID (0002, 0002) 1 Media Storage SOP Instance (0002, 0003) 1 Transfer Syntax UID (0002, 0010) 1 Implementation Class UID (0002, 0012) 1 ImplementationVersion Name (0002, 0013) 3 Source Application EntityTitle (0002, 0016) 3 Private Info Creator UID (0002, 0100) 3 Private Info (0002, 00102) 1C Group 0002H elements are always encoded in ExplicitVR Little Endian
  • 5. Data Element Data Element Data Element Data Element Data Element * * * Prefix Preamble ExplicitV R other than above Element Number Group Number Value Length Value Field 2 bytes2 bytes 4bytes Value Length bytes ImplicitV R Element Number Group Number Value Representation Value Length Value Field 2 bytes2 bytes 2 bytes 2 bytes Value Length bytes ExplicitV R of OB, OW, OF, OD, SQ, UC, UR, UT or UN Element Number Group Number Value Representation Value Field 2 bytes2 bytes 2 bytes Value Length bytes Reserved 2 bytes Value Length 4 bytes
  • 6. • Clinical data comes in a wide variety of formats. • Ex. Distances measured in millimeters, time in seconds, • patient names are typically written in alphabetic characters, and so on. • The DICOM standard defines 27 basic data types, known as value representations (VRs), • which are designed to encapsulate all possible clinical data types. • EachVR has its own abbreviated two-letter name, a definition of what it represents, a description of what characters are allowed in its data, and a pre-scribed data length.
  • 7. • Fixed FormatVR: • DA: Date • TM:Time • DT: DateTime • PN: Person Name • OtherVR: • OB: Other Byte • OW: OtherWord • OF: Other Float • SQ: Sequence • AE:Application Entity • AS:Age String • AT: AttributeTag • OtherVR •CS: Code String •UI: Unique Identifier •UN: Unknown
  • 8.
  • 9. 01001000 01100101 01101100 01101100 01101111 00100000 01000100 01001001 01000011 01001111 01001101 00001010 Hello DICOM
  • 10. • Store the most significant byte in the smallest address • store the least significant byte in the smallest address Address Value 1000 90 1001 AB 1002 12 1003 cd Address Value 1000 CD 1001 12 1002 AB 1003 90
  • 11. Transfer Syntax UID Transfer Syntax Name 1.2.840.10008.1.2 ImplicitVR Endian: DefaultTransfer Syntax for DICOM 1.2.840.10008.1.2.1 ExplicitVR Little Endian 1.2.840.10008.1.2.1.99 Deflated ExplicitVR Little Endian 1.2.840.10008.1.2.2 ExplicitVR Big Endian Transfer Syntax UID Transfer Syntax Name 1.2.840.10008.1.2.4.50 JPEG Baseline (Process 1): Default Transfer Syntax for Lossy JPEG 8-bit Image Compression 1.2.840.10008.1.2.4.51 JPEG Baseline (Processes 2 & 4): Default Transfer Syntax for Lossy JPEG 12-bit Image Compression 1.2.840.10008.1.2.4.57 JPEG Lossless, Nonhierarchical (Processes 14) 1.2.840.10008.1.2.4.70 JPEG Lossless, Nonhierarchical, First-Order Prediction DefaultTransfer Syntax for Lossless JPEG Image Compression 1.2.840.10008.1.2.4.80 JPEG-LS Lossless Image Compression 1.2.840.10008.1.2.4.81 JPEG-LS Lossy (Near- Lossless) Image Compression 1.2.840.10008.1.2.4.90 JPEG 2000 Image Compression (Lossless Only) 1.2.840.10008.1.2.4.91 JPEG 2000 Image Compression 1.2.840.10008.1.2.4.92 JPEG 2000 Part 2 Multicomponent Image Compression (Lossless Only) 1.2.840.10008.1.2.4.93 JPEG 2000 Part 2 Multicomponent Image Compression 1.2.840.10008.1.2.5 RLE Lossless 1.2.840.10008.1.2.4.94 JPIP Referenced 1.2.840.10008.1.2.4.95 JPIP Referenced Deflate 1.2.840.10008.1.2.6.1 RFC 2557 MIME Encapsulation 1.2.840.10008.1.2.4.100 MPEG2 Main Profile Main Level 1.2.840.10008.1.2.4.103 MPEG-4 AVC/H.264 BD-compatible High Profile / Level 4.1 1.2.840.10008.1.2.4.102 MPEG-4 AVC/H.264 High Profile / Level 4.1
  • 12. SOP Class UID SOP Instance UID Patient Name Patient ID Patient Birth Date Patient Sex Study UID Study Date Study ID Referring Physician Accession Number Series UID Series Number ModalityType Manufacturer Institution Name Image UID Image Number ImageType Image Pixel Attributes Window widthWindow Center Patient Study Series Series Series Image Image Image Image Image Image Image Image Image Other Studies
  • 13. Patient Entity Study Entity Series Entity Image Entity General Image Attributes Image Pixel Attributes Samples per Pixel Photometric Interpretation Rows Columns BitsAllocated Bits Stored Pixel Representation Pixel Data Planar Configuration
  • 14. Samples per Pixel Photometric Interpretation Rows Columns BitsAllocated Bits Stored Pixel Representation Pixel Data Planar Configuration Un used BitsAllocated Pixel Cell High Bit High Bit Un used Pixel Cell Un used Pixel Cell Pixel Data Stream Pixel Sample 0111215 BitsAllocated = 16 Bits Stored = 12 High bit = 11
  • 15. Pixel Cell Pixel sample value Pixel sample value Pixel sample value Pixel sample value Pixel sample value Pixel sample value ….. …. …. ….. …. …. …. … … …. …. …. … …. …. …. … … …. …. …. … … Rows Columns
  • 16. Pixel data Apply LUT Render WindowWidth /Window Center where x is the input value, y is an output value with a range from y min to y max c isWindow Center (0028,1050) and w isWindow Width (0028,1051): If (x <= c - 0.5 - (w-1)/2), then y = y min else if (x > c - 0.5 + (w-1)/2), then y = y max , else y = ((x - (c - 0.5)) / (w-1) + 0.5) * (y max - y min )+ y min VOILUT Function SIGMOID Descriptor If the value ofVOI LUT Function (0028,1056) is SIGMOID, the function to be used to convert the output of the (conceptual) Modality LUT values to the input of the (conceptual) Presentation LUT is given by OUT = 𝑜𝑢𝑡𝑝𝑢𝑡_𝑟𝑎𝑛𝑔𝑒 1+exp(−4 𝐼𝑁 −𝑊𝐶 𝑊𝑊 where IN is the input value of the LUT (i.e., the output of the (conceptual) Modality LUT). WC (resp. WW) is the Window Center (resp. Window Width) defined interactively by the user or by using the values provided in (0028,1050) (resp. 0028,1051). Output_range is the maximum output value
  • 17. Questions are the answers!