4cf108365d726e33b9364b65221fd04759221398,invesalius/reader/dicom_reader.py,,LoadImages,#,30

Before Change


    
    if (flag):
        img_app.Update()
        img_axial.DeepCopy(img_app.GetOutput())
        
        //TODO: Code challenge (imagedata_utils.ResampleMatrix), 
        //it is necessary to know the new spacing. 
        //spacing = read.GetOutput().GetSpacing()

After Change


    img_axial = vtk.vtkImageData()
    
    if (reduce_matrix):
        img_axial.DeepCopy(img_app.GetOutput())
        img_axial.SetSpacing(img_axial.GetSpacing()[0],\
                             img_axial.GetSpacing()[1],\
                             spacing_z)
    else:
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 2

Instances


Project Name: invesalius/invesalius3
Commit Name: 4cf108365d726e33b9364b65221fd04759221398
Time: 2009-07-22
Author: paulojamorim@gmail.com
File Name: invesalius/reader/dicom_reader.py
Class Name:
Method Name: LoadImages


Project Name: invesalius/invesalius3
Commit Name: f464a5141e012340ead827101519f114a527e955
Time: 2009-07-28
Author: tatiana.alchueyr@gmail.com
File Name: invesalius/reader/dicom_reader.py
Class Name:
Method Name: LoadImages


Project Name: invesalius/invesalius3
Commit Name: 5eff9593bc0f1624d248583e5342a9da2e98ef35
Time: 2009-07-29
Author: totonixsame@gmail.com
File Name: invesalius/reader/dicom_reader.py
Class Name:
Method Name: LoadImages