nvidia.dali.fn.experimental.equalize — NVIDIA DALI (original) (raw)
nvidia.dali.fn.experimental.equalize(__input, /, *, bytes_per_sample_hint=[0], preserve=False, device=None, name=None)#
Performs grayscale/per-channel histogram equalization.
The supported inputs are images and videos of uint8_t type.
This operator allows sequence inputs.
Supported backends
- ‘cpu’
- ‘gpu’
Parameters:
__input¶ (TensorList ( 'HW' , 'HWC' , 'CHW' , 'FHW' , 'FHWC' , 'FCHW' )) – Input to the operator.
Keyword Arguments:
- bytes_per_sample_hint¶ (int or list of int, optional, default = [0]) –
Output size hint, in bytes per sample.
If specified, the operator’s outputs residing in GPU or page-locked host memory will be preallocated to accommodate a batch of samples of this size. - preserve¶ (bool, optional, default = False) – Prevents the operator from being removed from the graph even if its outputs are not used.