Skip to content

API Reference

Normalizers

Base Classes

Backends

Common Interface

All normalizers implement:

  • fit(reference_images) - Compute normalization parameters
  • transform(images) - Apply normalization
  • fit_transform(images) - Fit and transform in one step

Parameters: - device (str | torch.device | None): Device ("cpu", "cuda", or torch.device) - backend (str | None): Backend ("torch", "torch_cuda", "cupy", or "cupy_cuda"). Auto-selects if None