itkwasm_downsample.gaussian_kernel_radius¶

Module Contents¶

Functions¶

gaussian_kernel_radius

Radius in pixels required for effective discrete gaussian filtering.

API¶

itkwasm_downsample.gaussian_kernel_radius.gaussian_kernel_radius(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