-
-
Notifications
You must be signed in to change notification settings - Fork 4
Image Processing
Communication between devices using the DICOM network protocol is done via TCP and IP. To establish a connection, devices or applications negotiate who is the client and who is the server and establish an association. Once associated, orders can be sent to copy, save, delete and move DICOM objects. DICOM objects are not limited to image data, it contains a data structure with a large amount of meta information. Each element within a DICOM object is classified according to a dictionary of identifying tags uniquely a data field. Among these labels, very numerous, there are fields that point to the patient's data (name, date of birth), data of the image and to what study and series the object belongs. To clarify what a series in DICOM is, we must refer to the hierarchy, present in the following diagram. In this standard one patient has multiple studies, one study has multiple series and a series has multiple instances (images, DICOM objects).
Example (DICOM Server)
numImages
=> counter(imageId)
http://localhost:8042/patients/
[
"59987d63-6e64998b-91d6bc45-dcc3fde7-7c7018d7",
"22613b84-c8ac2476-60023fb3-a589a865-e07265c2",
"355f107e-f63fb80f-949cf4e1-8af52885-ba7dc4e2"
]
http://localhost:8042/patients/59987d63-6e64998b-91d6bc45-dcc3fde7-7c7018d7
{
"AnonymizedFrom" : "4f9445d5-9c8f7a2f-2ac9e380-5d6b9dad-2fd05a2c",
"ID" : "59987d63-6e64998b-91d6bc45-dcc3fde7-7c7018d7",
"IsStable" : true,
"LastUpdate" : "20170410T181738",
"MainDicomTags" : {
"PatientID" : "5A7A314A-B881-4BEF-91AA-73258CA96675",
"PatientName" : "Anonymized1"
},
"Studies" : [ "350d284e-96867187-900a834d-331e9a21-5649a6b3" ],
"Type" : "Patient"
}
http://localhost:8042/studies/
[
"350d284e-96867187-900a834d-331e9a21-5649a6b3",
"5c40a82a-8ab286cb-c9c61cf8-b9dba753-f17cd1a2",
"07dd3594-488e148b-e9271431-f33cd93f-9033c76e",
"d4b31fdf-ffe6e986-29690225-11a62b07-6ec23b8f"
]
http://localhost:8042/studies/350d284e-96867187-900a834d-331e9a21-5649a6b3
{
"AnonymizedFrom" : "c484df4a-c48eafaa-64da950a-f520cfbb-69261acd",
"ID" : "350d284e-96867187-900a834d-331e9a21-5649a6b3",
"IsStable" : true,
"LastUpdate" : "20170410T181738",
"MainDicomTags" : {
"StudyDate" : "20160216",
"StudyDescription" : "Breast",
"StudyInstanceUID" : "1.2.276.0.7230010.3.1.2.0.895.1491844658.521377",
"StudyTime" : "102005.281000"
},
"ParentPatient" : "59987d63-6e64998b-91d6bc45-dcc3fde7-7c7018d7",
"PatientMainDicomTags" : {
"PatientID" : "5A7A314A-B881-4BEF-91AA-73258CA96675",
"PatientName" : "Anonymized1"
},
"Series" : [ "2cec964b-f70d3e7f-e44fb3cb-0ae31f0a-b1878b28" ],
"Type" : "Study"
}
http://localhost:8042/series/
[
"2cec964b-f70d3e7f-e44fb3cb-0ae31f0a-b1878b28",
"7181742c-675b0b86-d315151b-c1b290bd-145e993a",
"4b671ccb-b8ffa00f-06c2ac3a-e3113d98-32e1b104",
"8c4c35fc-95b8e876-caf0036d-9a10a725-9c3ad1c9",
"83c29127-2c2aaf56-9be8525b-5719eee8-af3960ce",
"75f6500b-53e966a9-f26e99a6-bf78ed76-274d6c80",
"8cf516c1-bd9062ac-e95f5df7-7886fbe7-8b302621"
]
http://localhost:8042/series/2cec964b-f70d3e7f-e44fb3cb-0ae31f0a-b1878b28
{
"AnonymizedFrom" : "0bc055c6-3d71bebe-157c67f5-80177166-7d2d03bd",
"ExpectedNumberOfInstances" : null,
"ID" : "2cec964b-f70d3e7f-e44fb3cb-0ae31f0a-b1878b28",
"Instances" : [ "26eb8b88-ff7afef9-e4d3ef85-5fbe799c-3082da71" ],
"IsStable" : true,
"LastUpdate" : "20170410T181738",
"MainDicomTags" : {
"Manufacturer" : "TOSHIBA_MEC",
"Modality" : "US",
"SeriesInstanceUID" : "1.2.276.0.7230010.3.1.3.0.895.1491844658.521378",
"SeriesNumber" : "1"
},
"ParentStudy" : "350d284e-96867187-900a834d-331e9a21-5649a6b3",
"Status" : "Unknown",
"Type" : "Series"
}
http://localhost:8042/instances/
[
"26eb8b88-ff7afef9-e4d3ef85-5fbe799c-3082da71",
"adf49420-c035cd33-64053e3c-fad3de69-ac9cead4",
"0e7c5fac-ef55ae7c-ec56e356-74ac42c2-f4f2a32a",
"89f90986-52a79581-81d5cfef-f0a594b3-f33df53c",
"3ea91193-d664157d-cdc5e876-fd2b7010-8b9f462f",
"fddde464-e57f3f55-fc5c0b82-5ee8ea9c-afa8acc4",
"7aae3a41-051f2909-3e1bc940-1b75e78a-55915f67",
"a1862117-6f30aebe-b104a727-59eb36c2-bf0f70c4"
]
http://localhost:8042/instances/26eb8b88-ff7afef9-e4d3ef85-5fbe799c-3082da71
{
"AnonymizedFrom" : "2805874b-c3e7a807-e0ecd8ca-fc359751-5ab3b99b",
"FileSize" : 776288,
"FileUuid" : "E95F9AA0-B981-4566-A698-3EE5DA175979",
"ID" : "26eb8b88-ff7afef9-e4d3ef85-5fbe799c-3082da71",
"IndexInSeries" : 9,
"MainDicomTags" : {
"ImagePositionPatient" : "0\\0\\0",
"InstanceCreationDate" : "20170203",
"InstanceCreationTime" : "193629",
"InstanceNumber" : "9",
"SOPInstanceUID" : "1.2.276.0.7230010.3.1.4.0.895.1491844658.521379"
},
"ParentSeries" : "2cec964b-f70d3e7f-e44fb3cb-0ae31f0a-b1878b28",
"Type" : "Instance"
}
{
"studyList": [
{
"patientName" : "Anonymized1",
"patientId" : "5A7A314A-B881-4BEF-91AA-73258CA96675",
"studyDate" : "20160216",
"modality" : "US",
"studyDescription" :"Breast",
"numImages" : 1,
"studyId" : "usbreaststudy"
},
{
"patientName" : "Anonymized2",
"patientId" : "9AF6DD70-51D7-457E-AF53-30CCDC5D7126",
"studyDate" : "20131101",
"modality" : "US",
"studyDescription" :"Breast",
"numImages" : 6,
"studyId" : "usmgbreaststudy"
},
{
"patientName" : "Anonymized3",
"patientId" : "1E60E211-42B6-4556-A1F6-223E85AD38A6",
"studyDate" : "20161205",
"modality" : "US",
"studyDescription" :"Breast",
"numImages" : 1,
"studyId" : "us2breaststudy"
}
]
}
{
"patientName" : "Anonymized5",
"patientId" : "ef05fc61-700f-4f2c-a00e-48cea2443063",
"studyDate" : "20160210",
"modality" : "US^MG",
"studyDescription" :"Breast^Mamografia",
"numImages" : 10,
"studyId" : "anonymized5",
"seriesList" : [
{
"seriesDescription": "US",
"seriesNumber" : "2",
"instanceList" : [
{"imageId" : "1.3.51.0.7.4246911301.9636.17487.37142.15423.63151.40726"},
{"imageId" : "1.3.51.0.7.4246911301.9636.17487.37142.15423.63151.94949"}
]
}
]
}