anomalib.post_processing.normalization.cdf¶
Tools for CDF normalization.
Module Contents¶
Functions¶
|
Standardize the targets to the z-domain. |
|
Normalize the targets by using the cumulative density function. |
|
Normalize the targets by using the cumulative density function, PyTorch version. |
|
Normalize the targets by using the cumulative density function, Numpy version. |
- anomalib.post_processing.normalization.cdf.standardize(targets: Union[numpy.ndarray, torch.Tensor], mean: Union[numpy.ndarray, torch.Tensor, float], std: Union[numpy.ndarray, torch.Tensor, float], center_at: Optional[float] = None) Union[numpy.ndarray, torch.Tensor][source]¶
Standardize the targets to the z-domain.
- anomalib.post_processing.normalization.cdf.normalize(targets: Union[numpy.ndarray, torch.Tensor], threshold: Union[numpy.ndarray, torch.Tensor, float]) Union[numpy.ndarray, torch.Tensor][source]¶
Normalize the targets by using the cumulative density function.