itkwasm_downsample.gaussian_kernel_radius_async¶

Module Contents¶

Functions¶

gaussian_kernel_radius_async

Radius in pixels required for effective discrete gaussian filtering.

API¶

async itkwasm_downsample.gaussian_kernel_radius_async.gaussian_kernel_radius_async(size: List[int] = [], sigma: List[float] = [], max_kernel_width: int = 32, max_kernel_error: float = 0.01) Any¶

Radius in pixels required for effective discrete gaussian filtering.

Parameters:
  • size (int) – Size in pixels

  • sigma (float) – Sigma in pixel units

  • max_kernel_width (int) – Maximum kernel width in pixels.

  • max_kernel_error (float) – Maximum kernel error.

Returns:

Output kernel radius.

Return type:

Any