You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+2-45Lines changed: 2 additions & 45 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -22,54 +22,16 @@ A DICOM tag reference can be found [here](https://dicom.innolitics.com/ciods/cr-
22
22
23
23
### Requirements
24
24
25
-
Since we run this tool on MacOS, it requires docker (see below)
25
+
Since we run this tool on MacOS, it requires docker (see below) and the 'make' command from HomeBrew or MacOS command line tools: `xcode-select --install`
26
26
27
27
### Installation
28
28
29
-
First ensure you have the [Oracle JDK v.8](http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html) installed.
30
-
31
29
Create a clone of this repository on your workstation:
If you do not have the `ant` program installed, install it with [HomeBrew](https://brew.sh/) (which will need to be installed if you haven't done so already)
37
-
38
-
```
39
-
$ brew install ant
40
-
```
41
-
42
-
Compile the included DicomAnonymizerTool by typing `ant` at the command prompt:
[mkdir] Created dir: /Users/jdoe/Projects/mirc-ctp/DicomAnonymizerTool/build
54
-
...
55
-
56
-
```
57
-
58
-
You should now have a directory called `DAT` which contains the `DicomAnonymizerTool`. You can try running it:
59
-
60
-
```
61
-
$ java -jar DAT/DAT.jar
62
-
Usage: java -jar DAT {parameters}
63
-
where:
64
-
-in {input} specifies the file or directory to be anonymized
65
-
If {input} is a directory, all files in it and its subdirectories are processed.
66
-
-out {output} specifies the file or directory in which to store the anonymized file or files.
67
-
...
68
-
```
69
-
70
-
Now the application needs to be placed in a Docker image. To create the image:
71
-
72
-
`docker build -f Dockerfile --pull -t mirc-ctp .`
34
+
Type `make` and the Docker image should build.
73
35
74
36
You can now place some test DICOM studies in the directory `DICOM` and run the shell script which will anonymize the studies (all to the same anonymous MRN and Accession Number) and place them in `DICOM-ANON`
75
37
@@ -87,8 +49,3 @@ Elapsed time: 0.634
87
49
88
50
You can now open the DICOM files in `DICOM-ANON` to make sure they work with your intended application.
89
51
90
-
### Pixel filtering and MacOS
91
-
92
-
In order to read DICOM encoded with the JPEG Lossless syntax, you need to have the Java Advanced Imaging ImageIO libraries.
93
-
Unfortunately, these are not available for Mac. To get around this limitation, this application executes within Docker.
0 commit comments