Skip to content

Commit

Permalink
Add additional testfiles (#139)
Browse files Browse the repository at this point in the history
Adding some more testfiles inline in the repository for smoke tests to prevent regressions. Longer term, we can explore a large cloud bucket of testfiles that we can iterate over in a test if we want a more expansive set of files (and larger files).

This is somewhat associated with #84
  • Loading branch information
suyashkumar committed Nov 2, 2020
1 parent 6ebe9ca commit a4a05dd
Show file tree
Hide file tree
Showing 5 changed files with 79 additions and 7 deletions.
Binary file added testfiles/3.dcm
Binary file not shown.
Binary file added testfiles/4.dcm
Binary file not shown.
Binary file added testfiles/5.dcm
Binary file not shown.
55 changes: 48 additions & 7 deletions testfiles/data_details.md
Original file line number Diff line number Diff line change
@@ -1,22 +1,63 @@
# Testfiles Details

This document contains citations and further details for the test DICOMs used here.
This document contains citations and further details for the test DICOMs used
here. Eventually I would like to store a way more expansive set of test DICOMs
in a cloud bucket that we can pull down for testing (this would allow for more
DICOMs and larger files). This would, however add some complexity to testing
this repository.


## Files from The Cancer Imaging Archive
* [1.dcm](1.dcm) (from [#77](https://github.com/suyashkumar/dicom/issues/77))
* [2.dcm](1.dcm) (from [#77](https://github.com/suyashkumar/dicom/issues/77))

### Notable attributes
* Contain multiple sequences (including doubly nested sequences)
* Contain both core image PixelData and Icon PixelData
The sub-bullets mention potentially interesting characteristics of the test file.
Some of the interesting characteristics may apply to more than one file, but may only
be mentioned in one of them for brevity.

* [1.dcm](1.dcm) (from [#77](https://github.com/suyashkumar/dicom/issues/77))
* Modality: PET
* Native Pixel Data
* Doubly Nested Sequences
* Icon pixel data in addition to typical pixel data
* [2.dcm](2.dcm) (from [#77](https://github.com/suyashkumar/dicom/issues/77))
* Modality: PET
* Other items similar to 1.dcm
* [3.dcm](3.dcm)
* Modality: MRI
* Native pixel data
* [4.dcm](4.dcm)
* Modality: X-Ray
* Native pixel data
* COVID-19 positive
* [5.dcm](5.dcm)
* Modality: CT
* Multiple frames
* Native pixel data
### Relevant Citations
#### For files 1.dcm, 2.dcm:
##### Data Citation:
Kinahan, Paul; Muzi, Mark; Bialecki, Brian; Coombs, Laura. (2017). Data from ACRIN-FLT-Breast. The Cancer Imaging Archive. http://doi.org/10.7937/K9/TCIA.2017.ol20zmxg

##### Publication Citation
Kostakoglu L , Duan F , Idowu MO , Jolles PR , Bear HD , Muzi M , Cormack J , Muzi JP , Pryma DA , Specht JM , Hovanessian-Larsen L , Miliziano J , Mallett S , Shields AF , Mankoff DA ; ACRIN 668 Investigative Team . A Phase II Study of 3'-Deoxy-3'-18F-Fluorothymidine PET in the Assessment of Early Response of Breast Cancer to Neoadjuvant Chemotherapy: Results from ACRIN 6688. J Nucl Med. 2015 Nov;56(11):1681-9. doi: 10.2967/jnumed.115.160663. Epub 2015 Sep 10.

##### TCIA Citation

#### For file 3.dcm

##### Data Citation:
Choyke P, Turkbey B, Pinto P, Merino M, Wood B. (2016). Data From PROSTATE-MRI. The Cancer Imaging Archive. http://doi.org/10.7937/K9/TCIA.2016.6046GUDv


#### TCIA Citation
Clark K, Vendt B, Smith K, Freymann J, Kirby J, Koppel P, Moore S, Phillips S, Maffitt D, Pringle M, Tarbox L, Prior F. The Cancer Imaging Archive (TCIA): Maintaining and Operating a Public Information Repository, Journal of Digital Imaging, Volume 26, Number 6, December, 2013, pp 1045-1057.

#### For file 4.dcm

##### Data Citation:
Desai, S., Baghal, A., Wongsurawat, T., Al-Shukri, S., Gates, K., Farmer, P., Rutherford, M., Blake, G.D., Nolan, T., Powell, T., Sexton, K., Bennett, W., Prior, F. (2020). Data from Chest Imaging with Clinical and Genomic Correlates Representing a Rural COVID-19 Positive Population [Data set]. The Cancer Imaging Archive. DOI: https://doi.org/10.7937/tcia.2020.py71-5978.

#### TCIA Citation
Clark K, Vendt B, Smith K, Freymann J, Kirby J, Koppel P, Moore S, Phillips S, Maffitt D, Pringle M, Tarbox L, Prior F. The Cancer Imaging Archive (TCIA): Maintaining and Operating a Public Information Repository, Journal of Digital Imaging, Volume 26, Number 6, December, 2013, pp 1045-1057. DOI: 10.1007/s10278-013-9622-7

#### File 5.dcm
This file was sourced from [cornerstone](https://github.com/cornerstonejs/dicomParser/blob/master/testImages/encapsulated/multi-frame/CT0012.explicit_little_endian.dcm)
(which is MIT licensed, see the license reproduced in included_licenses.md)
31 changes: 31 additions & 0 deletions testfiles/included_licenses.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
# Included Licenses

This is where licenses related to some of the testfiles are included as per the
clause in some licenses that require them to be reproduced in redistributions of
portions of the software

## For file 5.dcm
Obtained from: https://github.com/cornerstonejs/dicomParser/blob/master/testImages/encapsulated/multi-frame/CT0012.explicit_little_endian.dcm


The MIT License (MIT)

Copyright (c) 2014 Chris Hafey ([email protected])

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

0 comments on commit a4a05dd

Please sign in to comment.