itkwasm.cast_image
#
Module Contents#
Functions#
Cast an image to another pixel type and / or component type. |
API#
- itkwasm.cast_image.cast_image(input_image: itkwasm.image.Image, pixel_type: Optional[itkwasm.pixel_types.PixelTypes] = None, component_type: Optional[Union[itkwasm.int_types.IntTypes, itkwasm.float_types.FloatTypes]] = None) itkwasm.image.Image #
Cast an image to another pixel type and / or component type.