Skip to content
Permalink
Browse files

Clarify documentation for isVector from GetImageFromArray

  • Loading branch information...
blowekamp committed Jun 7, 2019
1 parent f6fb9a5 commit 4a5434d7ce6659112968295b9246901935730244
Showing with 1 addition and 1 deletion.
  1. +1 −1 Wrapping/Python/Python.i
@@ -762,7 +762,7 @@ def GetArrayFromImage(image):


def GetImageFromArray( arr, isVector=None):
"""Get a SimpleITK Image from a numpy array. If isVector is True, then the Image will have a Vector pixel type, and the last dimension of the array will be considered the component index. By default when isVector is None, 4D images are automatically considered 3D vector images."""
"""Get a SimpleITK Image from a numpy array. If isVector is True, then the Image will have a Vector pixel type, and the last dimension of the array will be considered the component index. By default when isVector is None, 4D arrays are automatically considered 3D vector images, but 3D arrays are 3D images."""

if not HAVE_NUMPY:
raise ImportError('Numpy not available.')

0 comments on commit 4a5434d

Please sign in to comment.
You can’t perform that action at this time.