File tree Expand file tree Collapse file tree 1 file changed +4
-6
lines changed Expand file tree Collapse file tree 1 file changed +4
-6
lines changed Original file line number Diff line number Diff line change @@ -96,7 +96,7 @@ class Wrapper(object):
96
96
97
97
Methods:
98
98
99
- * get_affine()
99
+ * get_affine() (deprecated, use affine property instead)
100
100
* get_data()
101
101
* get_pixel_array()
102
102
* is_same_series(other)
@@ -105,6 +105,7 @@ class Wrapper(object):
105
105
106
106
Attributes and things that look like attributes:
107
107
108
+ * affine : (4, 4) array
108
109
* dcm_data : object
109
110
* image_shape : tuple
110
111
* image_orient_patient : (3,2) array
@@ -298,11 +299,8 @@ def get_affine(self):
298
299
def affine (self ):
299
300
""" Mapping between voxel and DICOM coordinate system
300
301
301
- Returns
302
- -------
303
- aff : (4,4) affine
304
- Affine giving transformation between voxels in data array and
305
- mm in the DICOM patient coordinate system.
302
+ (4, 4) affine matrix giving transformation between voxels in data array
303
+ and mm in the DICOM patient coordinate system.
306
304
"""
307
305
# rotation matrix already accounts for the ij transpose in the
308
306
# DICOM image orientation patient transform. So. column 0 is
You can’t perform that action at this time.
0 commit comments