Skip to content

Commit 8681486

Browse files
authored
Merge pull request #364 from thewtex/vectorimage
Vectorimage
2 parents a7ce9f5 + c7bd4ae commit 8681486

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

itkwidgets/__init__.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
'compare',
55
'line_profile',
66
'cm',
7+
'lut',
78
'_jupyter_nbextension_paths']
89

910
from ._version import version_info, __version__
@@ -12,7 +13,7 @@
1213
from .widget_compare import compare
1314
from .widget_checkerboard import checkerboard
1415
from .widget_line_profiler import line_profile
15-
from . import cm
16+
from . import cm, lut
1617

1718

1819
def _jupyter_nbextension_paths():

itkwidgets/_transform_types.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -232,7 +232,7 @@ def _numpy_array_to_point_set(point_set_like):
232232

233233
def to_itk_image(image_like):
234234

235-
if isinstance(image_like, itk.Image):
235+
if isinstance(image_like, (itk.Image, itk.VectorImage)):
236236
return image_like
237237

238238
if is_arraylike(image_like):

0 commit comments

Comments
 (0)