4d9d2a1fc4e0d9289000a235340235802d51a97a,app/grandchallenge/cases/image_builders/dicom.py,,_create_itk_from_dcm,#,262

Before Change


        temp.seek(0)
        temp.write(dcm_array.tobytes())
        temp.flush()
        temp.seek(0)

        del dcm_array

        img = SimpleITK.Image(shape, sitk_dtype, 1)

After Change


    else:
        np_dtype = np.short
    if samples_per_pixel > 1:
        pixel_dims += (samples_per_pixel,)
    dcm_array = None
    use_pixel_array = False

    for index, partial in enumerate(dicom_ds.headers):
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 3

Instances


Project Name: comic/grand-challenge.org
Commit Name: 4d9d2a1fc4e0d9289000a235340235802d51a97a
Time: 2021-02-12
Author: 57257130+MikeOverkamp-diag@users.noreply.github.com
File Name: app/grandchallenge/cases/image_builders/dicom.py
Class Name:
Method Name: _create_itk_from_dcm


Project Name: biocore/scikit-bio
Commit Name: 694f03f655c1a06259989177ca5ab976ce747e7d
Time: 2014-08-11
Author: ebolyen@gmail.com
File Name: skbio/io/_registry.py
Class Name:
Method Name: read


Project Name: GoogleCloudPlatform/PerfKitBenchmarker
Commit Name: 1cefa5d9cc50bfeb367aca01e2c9ff01e7ca316b
Time: 2020-03-03
Author: ssabhaya@google.com
File Name: perfkitbenchmarker/vm_util.py
Class Name:
Method Name: IssueCommand


Project Name: senarvi/theanolm
Commit Name: 189819853d6c8afcff68df77b60a4f5f89527036
Time: 2016-11-14
Author: seppo.git@marjaniemi.com
File Name: theanolm/iterators/linearbatchiterator.py
Class Name: LinearBatchIterator
Method Name: __init__