itkwasm_compare_images.vector_magnitude

Module Contents

Functions

vector_magnitude

Generate a scalar magnitude image based on the input vector’s norm.

API

itkwasm_compare_images.vector_magnitude.vector_magnitude(vector_image: itkwasm.Image) itkwasm.Image

Generate a scalar magnitude image based on the input vector’s norm.

Parameters:

vector_image (Image) – Input vector image

Returns:

Output magnitude image

Return type:

Image